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