Hello. I recently started reading about anti debug, found great reference with tons of great ideas, but i cant get one to work.
http://anti-reversing.com/Downloads/Anti-Reversing/The_Ultimate_Anti-Reversing_Reference.pdf
The one i want to try is "Instruction counting", page 30. Most of them work simply by copying asm code int __declspec(naked) but this oen is different, and i couldnt get it to work this way, and i dont have experience in using structured exceptin handlers.
Could someone try to rewrite this small piece of code? Please?
Thanks in advance