diff options
Diffstat (limited to 'bots')
-rw-r--r-- | bots/amaterasu.x86-32.asm | 35 | ||||
-rw-r--r-- | bots/pancake.x86-32.asm | 7 |
2 files changed, 42 insertions, 0 deletions
diff --git a/bots/amaterasu.x86-32.asm b/bots/amaterasu.x86-32.asm new file mode 100644 index 0000000..55d38df --- /dev/null +++ b/bots/amaterasu.x86-32.asm @@ -0,0 +1,35 @@ +start: + mov ebp, 0x3e0 + mov esp, 0x3e0 + ; lea eax, [end + 0x20] + ; lea ebx, [start - 0x20] + mov eax, 0xffffffff + mov ebx, 0xffffffff + mov ecx, 0xffffffff + mov edx, 0xffffffff + mov edi, 0xffffffff + mov esi, 0xffffffff + +bot_loop: + ; cmp esp, eax + ; cmovbe esp, ebx + + ; push 128 bytes at once + pushad + pushad + pushad + pushad + + ; push again + pushad + pushad + pushad + pushad + + ; jmp to beginning once again + cmp esp, 0x10 + cmovz esp, ebp + jmp bot_loop + +end: + nop \ No newline at end of file diff --git a/bots/pancake.x86-32.asm b/bots/pancake.x86-32.asm new file mode 100644 index 0000000..25eda04 --- /dev/null +++ b/bots/pancake.x86-32.asm @@ -0,0 +1,7 @@ +call rest +rest: + pop esp +rep: + add esp, 64 + pusha + jmp rep |