Lots of variables.
You will have to weigh all your options. Fix/sell/scrap.
You have a big paperweight right now.
Most people aren't going to pay much for a dead car, the most you can really expect is scrap value unless you can part it out.
Replacing the engine could cost as much as the car is worth.....but you will have to do your own math.
All shops have different rates and will probably quote prices that are all over the map. Quotes may not be the actual reality either when all is done.
Beware of lowball quotes that get you in the door, then hold your car hostage for more money.
(The wrong person doing the work can be a complete waste of more money than you paid him so be careful. I have seen plenty of stuff ruined by people over the years.)
The cost of a used engine may vary a lot too.
Start here to get some idea of possible engine prices: www.car-part.com