Sorry to hear of your misfortune... I did the same thing when I took my A+ classes. Dove right into my computer, took off the heat sink to clean it, and the chip was stuck to the heat sink! But I made sure to put it back carefully enough. I feel your pain though, because i just spent hours and hours trying to replace my motherboard in my HPm9350f with no luck. The system is 3 years old, and it's not worth it. I concluded that I'd be better off just building a whole new system, with upgradeable parts.
Many valid points here from others, and it being an HP/Compaq is not any better news. They "tattoo" the recovery discs to their motherboard. I am not 100% sure this will affect your model though I am 95% sure, but it will be something that you should research when replacing it the motherboard. Google it. Most of the time, you can get away with it if you buy the EXACT model of mobo with the EXACT bios since the bios and os are "tattooed". Then the OS should install fine. As far as the CPU goes... you bent the pins, and i don't know how bad you bent them, but you might be buying that too.
How bad is the cpu bent?
What is the exact model number on your mobo? Is it an ASUS K8S-LA ? (Salmon-GL6E)
What operating system?
I will try to help a little. I have been researching this stuff intensly the past few weeks and it's still pretty fresh to me.