Share Pastebin
Guest
Public paste!

h7labscom

By: a guest | Nov 8th, 2009 | Syntax: ASM (NASM) | Size: 0.29 KB | Hits: 99 | Expires: Never
Copy text to clipboard
  1. xor eax, eax
  2. xor ebx, ebx
  3. mov esi, *start adress of your code to crypt*
  4. mov edi, esi
  5.  
  6. start:
  7. lodsb
  8. add bl, 25  ; changeable!
  9. add bh, 33 ; changeable!!
  10. add ah, 23 ; changeable!!
  11. add al, ah
  12. xor al, bl
  13. sub al, bh
  14. stosb
  15. cmp esi, *end adress of your code to crypt*
  16. jle start
  17. jmp OEP