aboutsummaryrefslogtreecommitdiff
path: root/crypter
diff options
context:
space:
mode:
Diffstat (limited to 'crypter')
-rw-r--r--crypter/xor_decoder.asm19
1 files changed, 19 insertions, 0 deletions
diff --git a/crypter/xor_decoder.asm b/crypter/xor_decoder.asm
new file mode 100644
index 0000000..3aa6f59
--- /dev/null
+++ b/crypter/xor_decoder.asm
@@ -0,0 +1,19 @@
+BITS 32
+
+
+jmp short go
+next:
+pop esi
+xor ecx,ecx
+xor eax,eax
+mov cl,0
+change:
+mov byte al,0
+xor byte al,[esi + ecx - 1]
+
+dec cl
+jnz change
+jmp short ok
+go:
+call next
+ok: