This plugin helps you to debug the program with a simple protection against debugging. Because the second version of OllyDbg does not support plug-ins, you have to implement the code in the debugger to load the plugin. The archive has already patched exe version 2.01 (Alfa 2). When you start the debugger plug-in adds a menu Options -> OllyExt, where there is scarce (yet) settings.
* Hide from PEB - PEB flags are reset at BeingDebugged and NtGlobalFlag
* Protect debug registers - hides and protects against modification of debug registers by SEH and Get / SetThreadContext