diff options
author | toni <toni@devlap.local> | 2014-11-24 17:06:47 +0100 |
---|---|---|
committer | toni <toni@devlap.local> | 2014-11-24 17:06:47 +0100 |
commit | 33e88ac80ac4a4f992168c0f327c04dba910569a (patch) | |
tree | e08d63e990799308fcb5203f77b3d04aa556eee1 | |
parent | 2957353c34508c74c7366ea8ab87267dee2f9674 (diff) |
- xor2 crypter update
-rw-r--r-- | crypter/xor2_decoder.asm | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/crypter/xor2_decoder.asm b/crypter/xor2_decoder.asm index 87c248f..0545405 100644 --- a/crypter/xor2_decoder.asm +++ b/crypter/xor2_decoder.asm @@ -6,11 +6,20 @@ next: pop esi xor ecx,ecx xor eax,eax -mov cl,0 +xor edx,edx +mov cl,0 ; buffer length +mov dl,4 ; xor padding change: xor byte [esi + ecx - 1],0 + dec cl +jnz done ; no more bytes left +dec dh jnz change +mov dh,dl +jmp change + +done: jmp short ok go: call next |