Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mov al, 12h ; set the key
- mov edi, codeEnd ; starting address
- mov ecx, codeEnd - codeStart ; length of encrypted block
- ; now decrypt the code, starting from the last byte
- decryptLoop:
- xor byte [edi], al ; decrypt byte
- dec edi ; move to the next byte
- loop decryptLoop
- codeStart:
- ; put encrypted code here
- codeEnd:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement