If you've lost your instruction manual but need your CD key, the right move is to contact the game's manufacturer or publisher directly. They can often help you recover the key tied to your purchase.
Any other method of obtaining a key generally isn't legal, and it's not something that should be pursued. Reaching out to the maker is both the safe and legitimate solution.