Start here:
Somewhere in that site they detail the step by step process of decapping, delayering photographing and identifying the logic.
There's also a JavaScript simulator, check it out.
The CCC also had a few lectures about decapping. The most interesting one is about backside scanning the die to bypass the safety features.