A mechanical pencil also works pretty well.
An empty 0.5mm mech.pencil* lowered gently onto the pin, as far down as possible without having to bend, then slowly bending it. Preferrably trying to get the pencil to cover the whole pin before starting bending, or bend as much as possible of the pin to a slightly better angle first, then lower pencil more, bend again, etc etc...
*: 0.5mm seems to be right size for pentium1 to pentium4-ish, I think... and it should have a long thin end piece, like the one on the left in the first picture, perhaps even longer:
Of course, if the pin is heavily bent(45deg or more), chances are very high it will break, so...
Testing and re-testing with the socket as I go - gently letting gravity do the work, no pushing(!), to see if that fixed area now will fit nicely before moving on to a different part.
Only tried it on cpus with a minor part of the pins bent, and at a non-severe angle. Would be quite time consuming with 100 bent pins I assume.
If you hold the cpu at a flat horisontal angle, close to your eyes, with a proper lightsource nearby, it makes it much easier to spot the ones that are slightly out of 'order'. Looking horisontally at long rows of pins, you can usually see where the culprits are, and then have the pencil in the other hand to lower onto it, and bend while still looking at the row... Makes it easier to control how much bending is needed. Although aiming to hit the correct pin can be a challenge for your depth perception when so close to the eye. Takes a few hit-and-misses...
Or something like that 🤣