The State's General Assembly (legislative branch) approves and appropriates the State's budget.
The process in general goes as follows
Each Agency/Office submits a budget request based on need/previous year. Agencies are punished for not spending these budgets, so requests must be specific.
After the General Assembly approves the fiscal year budget, the State Budget Agency appropriates the funds to each Agency's fund/centers (accounts).
The State expenses are unrelated to the income coming in, as not all agencies even receive income (IRS vs. Social Security Administration).
So all revenue funds are deposited into the 'black hole' of the General Fund, then the Legislators approve how much can be taken out, and the State Budget Agency literally delegates it out, in general on the quarters.
Any appropriated dollars not spent are returned to the 'black hole' of the General Fund.
The project manager
The budget of United States Secret Service is 1,515,000,000 dollars.
The budget of United States Department of the Treasury is 13,361,000,000 dollars.
The budget of United States Department of the Interior is 20,000,000,000 dollars.
The budget of United States Department of Energy is 24,100,000,000 dollars.
The budget of United States Geological Survey is 1,100,000,000 dollars.
The budget of United States Department of Commerce is 10,200,000,000 dollars.
The budget of United States Department of Defense is 530,100,000,000 dollars.
The budget of United States Department of Agriculture is 129,300,000,000 dollars.
The budget of United States Census Bureau is 3,100,000,000 dollars.
The budget of United States Assay Commission is 2,500 dollars.
The budget of United States Department of Justice is 27,700,000,000 dollars.