PeSentry is nothing more than a companion src included with a tutorial on PE
encryption that i've written some time ago for RingZ3r0 (a great site for 
italians R.E. http://ringzer0.cjb.net ;).
The code is based on Hayras SPEC b3 so it's only a simple crypter, anyway
now it handles correctly relocations,imports,resources and can either append 
a new section (this method is not very usefull at all but this code has an 
educational intent ;) ) or resize the last one.
The encryption is done on per section basis (not the best method with
non standard PE.. i mean ET,TLS in .text,.rdata,ecc..). The only interesting 
parts are the flexible resource emumerator (i still use this code in my latest 
encryptor to relocate res outside exe mapping) and the export scanner. As in 
the original Stone/Hayras code no anti stuff or compression are included.
There is neither crc adjusting (refer to Rudeboy PE crc code or reverse 
imagehlp.dll/ntoskrnl.exe ;) if u want to add it) nor support for "unconventional"
PE structs (deffered dll,forwarding, bound imports,ecc.). 
I hope comments are clear 'coz my english is _very_ poor :)

Credits:
 
 - Stone & Hayras  : i've started spelunking PE format studing your sources 
 - 29/A     : the most skilled win32 virii coderz that i've seen around 
 - Iczelion : for his great win32asm page&forum (and his kindness to let Ring0
   host the italian versions of his tuts) 
 - +Fravia & all +HCU - no comment , simply the best

Greetings:
along3x, deamon, furbet, genius, insanity, +malattia, metalhead, neural_noise, pusillus,
suby, sorrow, t3x, kry0, war-lock, YanOrel and all #crack-it & RingZ3r0 crew.


