Bottom line:
You're not going to know what it needs for sure without tearing it down first.
Can you do it? Sure you can, it's not that hard and there's plenty of shop manuals that
will help you and show you how.
Here's a few pictures of my 98 Civic rebuild
http://s51.photobucket.com/albums/f386/jcquack/BODY AND PAINT/ENGINE REBUILDS/98 CIVIC/
How much will depend on what you need of course but a basic engine kit with all
gaskets and bearing/rings-about $300.00 add another $100.00 for a valve job
(do a valve job while the head is off) plus whatever is broke.
It may not be salvageable depending the condition of the block.
Next option: Buy a remanufactured short block and use your head (if good) and the rest of
engine components.
Or
The cheapest way out, and easiest, find a junk yard with a low milage engine that will
also install it for you. They'll even guarantee it.
Or
the expensive way-Pay someone to rebuild it for you.