I believe they end up reducing the federal deficit in a roundabout way. The SEC has a budget of about $2.2 billion from Congress. But the money it collects from registration fees and enforcement activities is normally more than what it received, so it pays back with extra at the end of the fiscal year.