From c685cc8f25adc5b2b72e4bda185fef7ec8dd6592 Mon Sep 17 00:00:00 2001 From: Emile Date: Fri, 8 Nov 2024 11:39:04 +0100 Subject: push all, yolo --- bots/amaterasu.x86-32.asm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 bots/amaterasu.x86-32.asm (limited to 'bots/amaterasu.x86-32.asm') 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 -- cgit 1.4.1