I feel certain the answer will be different from state to state, but in Oklahoma the buyer pays for the title work to include title insurance and title search, as well as attorney's opinion if needed. The buyer also pays their lender fees which range greatly from lender to lender and is one of the things that you should consider when choosing a lender. You will also pay your first year of home owner's insurance in advance and if you are going to pay your insurance and taxes through escrow (as a part of your monthly payment) you will prepay approximately three months of your estimated taxes and home owner's insurance to set up the escrow account. The company that is representing you may charge a transaction fee and depending on the situation, you may have to pay a buyer's commission, though this is not common. Usually the commission is paid by the seller but there are legitimate reasons a buyer would pay some or all of the commission. In Oklahoma, again depending on the lender, the buyer usually pays between 3%-4% of the sales price in closing costs in addition to any down payment being paid on the loan itself.
The good news is that if you need help with closing costs, there are ways to minimize these fees. Typically you can ask the seller to contribute to your closing costs and depending on your loan program may even be able to get them all paid by the seller or even through a first time home buyer bond money program (again, that infomation is available through your local lenders). Bear in mind when asking a seller to contribute to your closing costs that their concern will be net dollars, so if you make a reduced offer AND want them to contribute to your closing costs, you are even further reducing the amount of money they will net on the sale and your offer won't appear that desirable to them.
The best way to find out what your actual closing costs would be is to contact a Realtor and a lender. Get an idea of the general price of homes that meet the criteria you are looking for and then get prequalified with a lender and have them put together a "Good Faith Estimate" for you based on the sales price you would expect to pay for a home that you would be interested in paying. A Realtor can also put together an "Estimated Cost to Buyer" sheet so that you would have a much better idea what expenses you would actually incur at closing. Additionally, they will calculate your monthly payment for you at that time as well.
Good luck and happy home hunting! :)