Checking if the current process is being debugged and shows an example of how an attacker can manipulate the flow of the program to avoid being reverse engineered. This is a uncommon technique using the juiciest part of user land, of course the PEB. -
View it on GitHub