Is the problem in the bent pins? If it is, what is the best way to unbent them?
Maybe, or maybe not...
If you're lucky, and very careful (slow!) you might succeed bending them back.
And if you're even more lucky, you didn't cause any more damage to it... (e.g. ESD! and breaking the on chip circuitry)