Function at 0x100029b0
Capabilities:
Execute command
Manipulate console buffer
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000b42d
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push esi
push edi
mov eax, dword [0x10010040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0x83b0]
mov eax, 0x4ec4ec4f
mov edi, dword [esi + 0x83ac]
sub ecx, edi
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x100036d3
imul ebx, dword [ebp + 8], 0x34
mov dword [ebp - 0x20], ebx
mov eax, dword [edi + ebx + 0x1c]
imul ecx, eax, 0x32
mov dword [esi + 0x83bc], eax
mov eax, 0x3e8
cdq
idiv ecx
lea ecx, [esi + 0x28]
push ecx
push esi
mov dword [esi + 0x83b8], eax
mov edi, dword [edi + ebx + 0x20]
push ecx
lea ecx, [esi + 0x34]
mov dword [ebp - 0x18], edi
call fcn.10006dd0
lea ebx, [esi + 0x83c4]
mov dword [esi + 0x83c0], 0
mov eax, dword [ebx]
cmp eax, dword [ebx + 4]
je 0x10002a50
mov dword [ebx + 4], eax
mov ecx, esi
mov byte [esi + 0x83d0], 1
call fcn.10004430
mov ecx, dword [esi + 0x2c]
mov eax, 0x2aaaaaab
sub ecx, dword [esi + 0x28]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
je 0x10002abc
mov esi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
push 0x1000c300
call esi
add esp, 4
mov edx, 0x1000c4a8
push 0x10004ae0
push ecx
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.100048c0
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push str.pause
call esi
add esp, 4
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
lea eax, [edi + 1]
xor ecx, ecx
mov dword [ebp - 0x24], eax
mov edx, 4
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1000a54d
add esp, 4
mov dword [ebp - 0x1c], eax
mov ecx, esi
call fcn.10003b70
mov eax, dword [esi + 0x83ac]
xor edx, edx
add eax, dword [ebp - 0x20]
mov ecx, dword [esi + 0x83c0]
imul ecx, dword [ebp - 0x24]
mov edi, dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + ecx*4]
mov dword [ebp + 8], eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x18], edx
jle 0x10002b72
mov edi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x24]
nop dword [eax]
mov ecx, dword [esi + 0x83c0]
mov eax, dword [esi + 0x83ac]
add eax, dword [ebp - 0x20]
imul ecx, ebx
mov eax, dword [eax + 0x28]
add ecx, edx
mov eax, dword [eax + ecx*4 + 4]
mov dword [edi + edx*4], eax
inc edx
cmp edx, dword [ebp - 0x18]
jl 0x10002b20
xor edi, edi
xor ebx, ebx
mov ecx, dword [esi + 0x28]
lea eax, [esi + 0x34]
add ecx, ebx
push ecx
push eax
mov eax, dword [ebp - 0x1c]
push dword [eax + edi*4]
call fcn.100052d0
inc edi
add ebx, 0x30
cmp edi, dword [ebp - 0x18]
jl 0x10002b48
mov edi, dword [sym.imp.KERNEL32.dll_GetStdHandle]
lea ebx, [esi + 0x83c4]
mov eax, dword [esi + 0x83a4]
test eax, eax
je 0x10002bf4
dec eax
xor edx, edx
mov dword [esi + 0x83a4], eax
mov ecx, 5
mov eax, dword [0x10010bb8]
inc eax
div ecx
mov dword [0x10010bb8], edx
mov eax, dword [edx*4 + 0x1000c6d4]
push eax
push 0xfffffffffffffff5
mov dword [esi + 0x20], eax
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
add eax, eax
mov word [ebp - 0x28], ax
mov word [ebp - 0x26], cx
push dword [ebp - 0x28]
push 0xfffffffffffffff5
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
cmp dword [esi + 0x14], 0xf
mov edx, esi
jbe 0x10002bd6
mov edx, dword [esi]
push dword [esi + 0x10]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.10004b80
add esp, 4
push 0xf
push 0xfffffffffffffff5
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea eax, [esi + 0x34]
mov ecx, esi
push eax
push dword [ebp + 8]
call fcn.10007e70
mov eax, dword [esi + 0x2c]
mov edi, dword [esi + 0x28]
cmp edi, eax
je 0x10002c29
mov ebx, eax
nop
lea eax, [esi + 0x34]
mov ecx, edi
push eax
push esi
call fcn.10005460
add edi, 0x30
cmp edi, ebx
jne 0x10002c10
lea ebx, [esi + 0x83c4]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__kbhit]
test eax, eax
je 0x10003501
mov edi, dword [sym.imp.api_ms_win_crt_conio_l1_1_0.dll__getch]
call edi
cmp al, 0xe0
je 0x10002d0c
cmp al, 0x1b
je 0x100036d3
cmp al, 0x20
jne 0x10003501
mov edi, dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [ebp - 0x2c], 0x1d004c
push dword [ebp - 0x2c]
push 0xfffffffffffffff5
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
cmp byte [esi + 0x83d0], 0
je 0x10002c8f
push 0x3f
push 0xfffffffffffffff5
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov edx, 0x1000c534
jmp 0x10002ca1
push 0x4f
push 0xfffffffffffffff5
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov edx, 0x1000c540
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.100048c0
push 0xf
push 0xfffffffffffffff5
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
nop dword [eax]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__kbhit]
test eax, eax
je 0x10002cd8
call dword [sym.imp.api_ms_win_crt_conio_l1_1_0.dll__getch]
cmp al, 0x1b
je 0x10002ce2
cmp al, 0x20
je 0x10002ce2
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10002cc0
mov dword [ebp - 0x30], 0x1d004c
push dword [ebp - 0x30]
push 0xfffffffffffffff5
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x1000c54c
call fcn.100048c0
jmp 0x10003501
call edi
movsx eax, al
add eax, 0xffffffb8
cmp eax, 8
ja case.0x10002d1d.73
jmp dword [eax*4 + 0x100036e8]
mov eax, dword [esi + 0x18]
sub esp, 0x18
mov dword [ebp + 8], eax
mov ecx, esp
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x14], eax
dec eax
push 0x1000c664
mov dword [esi + 0x1c], eax
call fcn.10004700
mov ecx, esi
call fcn.100080e0
mov edx, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
test edx, edx
js 0x10002eaa
test ecx, ecx
js 0x10002eaa
cmp edx, 0x1d
jge 0x10002eaa
cmp ecx, 0x1d
jge 0x10002eaa
imul eax, edx, 0x1d
lea edi, [esi + 0x34]
add eax, ecx
lea eax, [eax + eax*4]
lea edi, [edi + eax*8]
mov eax, dword [edi + 0x24]
cmp eax, 1
je 0x10002eaa
cmp eax, 2
jne 0x10002de9
inc dword [esi + 0x839c]
lea edi, [esi + 0x34]
imul eax, edx, 0x1d
sub esp, 0x18
add eax, ecx
mov ecx, esp
push 0x1000c3e0
lea eax, [eax + eax*4]
lea edi, [edi + eax*8]
mov dword [edi + 0x24], 0
call fcn.10004700
mov ecx, edi
call fcn.100080e0
push dword [edi + 0x20]
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x1c]
add eax, eax
mov word [ebp - 0x34], ax
mov word [ebp - 0x32], cx
push dword [ebp - 0x34]
jmp 0x10002e4c
imul eax, edx, 0x1d
add eax, ecx
lea ecx, [esi + 0x34]
lea eax, [eax + eax*4]
cmp dword [ecx + eax*8 + 0x24], 3
jne 0x10002e9b
mov eax, dword [0x1000c72c]
sub esp, 0x18
mov dword [ecx + 0x8370], eax
mov ecx, esp
mov dword [edi + 0x24], 0
push 0x1000c3e0
call fcn.10004700
mov ecx, edi
call fcn.100080e0
push dword [edi + 0x20]
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x1c]
add eax, eax
mov word [ebp - 0x38], ax
mov word [ebp - 0x36], cx
push dword [ebp - 0x38]
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
cmp dword [edi + 0x14], 0xf
mov edx, edi
jbe 0x10002e65
mov edx, dword [edi]
push dword [edi + 0x10]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.10004b80
mov edi, dword [sym.imp.KERNEL32.dll_GetStdHandle]
add esp, 4
push 0xf
push 0xfffffffffffffff5
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov eax, dword [ebp - 0x14]
lea ecx, [esi + 0x34]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.10004f80
jmp 0x10002ebc
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.10004f80
jmp 0x10002eb6
mov eax, dword [ebp + 8]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x1c], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetStdHandle]
push dword [esi + 0x20]
push 0xfffffffffffffff5
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
add eax, eax
mov word [ebp - 0x3c], ax
mov word [ebp - 0x3a], cx
push dword [ebp - 0x3c]
push 0xfffffffffffffff5
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
cmp dword [esi + 0x14], 0xf
mov edx, esi
jbe 0x10002ef2
mov edx, dword [esi]
push dword [esi + 0x10]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.10004b80
add esp, 4
push 0xf
push 0xfffffffffffffff5
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
xor eax, eax
jmp 0x100034f4
mov eax, dword [esi + 0x18]
sub esp, 0x18
mov dword [ebp + 8], eax
mov ecx, esp
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x14], eax
inc eax
push 0x1000c8c0
mov dword [esi + 0x1c], eax
call fcn.10004700
mov ecx, esi
call fcn.100080e0
mov edx, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
test edx, edx
js 0x1000309d
test ecx, ecx
js 0x1000309d
cmp edx, 0x1d
jge 0x1000309d
cmp ecx, 0x1d
jge 0x1000309d
imul eax, edx, 0x1d
lea edi, [esi + 0x34]
add eax, ecx
lea eax, [eax + eax*4]
lea edi, [edi + eax*8]
mov eax, dword [edi + 0x24]
cmp eax, 1
je 0x1000309d
cmp eax, 2
jne 0x10002fdc
inc dword [esi + 0x839c]
lea edi, [esi + 0x34]
imul eax, edx, 0x1d
sub esp, 0x18
add eax, ecx
mov ecx, esp
push 0x1000c3e0
lea eax, [eax + eax*4]
lea edi, [edi + eax*8]
mov dword [edi + 0x24], 0
call fcn.10004700
mov ecx, edi
call fcn.100080e0
push dword [edi + 0x20]
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x1c]
add eax, eax
mov word [ebp - 0x40], ax
mov word [ebp - 0x3e], cx
push dword [ebp - 0x40]
jmp 0x1000303f
imul eax, edx, 0x1d
add eax, ecx
lea ecx, [esi + 0x34]
lea eax, [eax + eax*4]
cmp dword [ecx + eax*8 + 0x24], 3
jne 0x1000308e
mov eax, dword [0x1000c72c]
sub esp, 0x18
mov dword [ecx + 0x8370], eax
mov ecx, esp
mov dword [edi + 0x24], 0
push 0x1000c3e0
call fcn.10004700
mov ecx, edi
call fcn.100080e0
push dword [edi + 0x20]
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x1c]
add eax, eax
mov word [ebp - 0x44], ax
mov word [ebp - 0x42], cx
push dword [ebp - 0x44]
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
cmp dword [edi + 0x14], 0xf
mov edx, edi
jbe 0x10003058
mov edx, dword [edi]
push dword [edi + 0x10]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.10004b80
mov edi, dword [sym.imp.KERNEL32.dll_GetStdHandle]
add esp, 4
push 0xf
push 0xfffffffffffffff5
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov eax, dword [ebp - 0x14]
lea ecx, [esi + 0x34]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.10004f80
jmp 0x100030af
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.10004f80
jmp 0x100030a9
mov eax, dword [ebp + 8]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x1c], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetStdHandle]
push dword [esi + 0x20]
push 0xfffffffffffffff5
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
add eax, eax
mov word [ebp - 0x48], ax
mov word [ebp - 0x46], cx
push dword [ebp - 0x48]
push 0xfffffffffffffff5
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
cmp dword [esi + 0x14], 0xf
mov edx, esi
jbe 0x100030e5
mov edx, dword [esi]
push dword [esi + 0x10]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.10004b80
add esp, 4
push 0xf
push 0xfffffffffffffff5
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov eax, 1
jmp 0x100034f4
mov eax, dword [esi + 0x18]
sub esp, 0x18
mov ecx, dword [esi + 0x1c]
mov dword [ebp + 8], eax
dec eax
mov dword [ebp - 0x14], ecx
mov ecx, esp
push 0x1000c8c4
mov dword [esi + 0x18], eax
call fcn.10004700
mov ecx, esi
call fcn.100080e0
mov edx, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
test edx, edx
js 0x10003293
test ecx, ecx
js 0x10003293
cmp edx, 0x1d
jge 0x10003293
cmp ecx, 0x1d
jge 0x10003293
imul eax, edx, 0x1d
lea edi, [esi + 0x34]
add eax, ecx
lea eax, [eax + eax*4]
lea edi, [edi + eax*8]
mov eax, dword [edi + 0x24]
cmp eax, 1
je 0x10003293
cmp eax, 2
jne 0x100031d2
inc dword [esi + 0x839c]
lea edi, [esi + 0x34]
imul eax, edx, 0x1d
sub esp, 0x18
add eax, ecx
mov ecx, esp
push 0x1000c3e0
lea eax, [eax + eax*4]
lea edi, [edi + eax*8]
mov dword [edi + 0x24], 0
call fcn.10004700
mov ecx, edi
call fcn.100080e0
push dword [edi + 0x20]
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x1c]
add eax, eax
mov word [ebp - 0x4c], ax
mov word [ebp - 0x4a], cx
push dword [ebp - 0x4c]
jmp 0x10003235
imul eax, edx, 0x1d
add eax, ecx
lea ecx, [esi + 0x34]
lea eax, [eax + eax*4]
cmp dword [ecx + eax*8 + 0x24], 3
jne 0x10003284
mov eax, dword [0x1000c72c]
sub esp, 0x18
mov dword [ecx + 0x8370], eax
mov ecx, esp
mov dword [edi + 0x24], 0
push 0x1000c3e0
call fcn.10004700
mov ecx, edi
call fcn.100080e0
push dword [edi + 0x20]
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x1c]
add eax, eax
mov word [ebp - 0x50], ax
mov word [ebp - 0x4e], cx
push dword [ebp - 0x50]
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
cmp dword [edi + 0x14], 0xf
mov edx, edi
jbe 0x1000324e
mov edx, dword [edi]
push dword [edi + 0x10]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.10004b80
mov edi, dword [sym.imp.KERNEL32.dll_GetStdHandle]
add esp, 4
push 0xf
push 0xfffffffffffffff5
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov eax, dword [ebp - 0x14]
lea ecx, [esi + 0x34]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.10004f80
jmp 0x100032a5
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.10004f80
jmp 0x1000329f
mov eax, dword [ebp + 8]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x1c], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetStdHandle]
push dword [esi + 0x20]
push 0xfffffffffffffff5
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
add eax, eax
mov word [ebp - 0x54], ax
mov word [ebp - 0x52], cx
push dword [ebp - 0x54]
push 0xfffffffffffffff5
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
cmp dword [esi + 0x14], 0xf
mov edx, esi
jbe 0x100032db
mov edx, dword [esi]
push dword [esi + 0x10]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.10004b80
add esp, 4
push 0xf
push 0xfffffffffffffff5
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov eax, 2
jmp 0x100034f4
mov eax, dword [esi + 0x18]
sub esp, 0x18
mov ecx, dword [esi + 0x1c]
mov dword [ebp + 8], eax
inc eax
mov dword [ebp - 0x14], ecx
mov ecx, esp
push 0x1000c8c8
mov dword [esi + 0x18], eax
call fcn.10004700
mov ecx, esi
call fcn.100080e0
mov edx, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
test edx, edx
js 0x10003489
test ecx, ecx
js 0x10003489
cmp edx, 0x1d
jge 0x10003489
cmp ecx, 0x1d
jge 0x10003489
imul eax, edx, 0x1d
lea edi, [esi + 0x34]
add eax, ecx
lea eax, [eax + eax*4]
lea edi, [edi + eax*8]
mov eax, dword [edi + 0x24]
cmp eax, 1
je 0x10003489
cmp eax, 2
jne 0x100033c8
inc dword [esi + 0x839c]
lea edi, [esi + 0x34]
imul eax, edx, 0x1d
sub esp, 0x18
add eax, ecx
mov ecx, esp
push 0x1000c3e0
lea eax, [eax + eax*4]
lea edi, [edi + eax*8]
mov dword [edi + 0x24], 0
call fcn.10004700
mov ecx, edi
call fcn.100080e0
push dword [edi + 0x20]
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x1c]
add eax, eax
mov word [ebp - 0x58], ax
mov word [ebp - 0x56], cx
push dword [ebp - 0x58]
jmp 0x1000342b
imul eax, edx, 0x1d
add eax, ecx
lea ecx, [esi + 0x34]
lea eax, [eax + eax*4]
cmp dword [ecx + eax*8 + 0x24], 3
jne 0x1000347a
mov eax, dword [0x1000c72c]
sub esp, 0x18
mov dword [ecx + 0x8370], eax
mov ecx, esp
mov dword [edi + 0x24], 0
push 0x1000c3e0
call fcn.10004700
mov ecx, edi
call fcn.100080e0
push dword [edi + 0x20]
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x1c]
add eax, eax
mov word [ebp - 0x5c], ax
mov word [ebp - 0x5a], cx
push dword [ebp - 0x5c]
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
cmp dword [edi + 0x14], 0xf
mov edx, edi
jbe 0x10003444
mov edx, dword [edi]
push dword [edi + 0x10]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.10004b80
mov edi, dword [sym.imp.KERNEL32.dll_GetStdHandle]
add esp, 4
push 0xf
push 0xfffffffffffffff5
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov eax, dword [ebp - 0x14]
lea ecx, [esi + 0x34]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.10004f80
jmp 0x1000349b
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.10004f80
jmp 0x10003495
mov eax, dword [ebp + 8]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x1c], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetStdHandle]
push dword [esi + 0x20]
push 0xfffffffffffffff5
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
add eax, eax
mov word [ebp - 0x60], ax
mov word [ebp - 0x5e], cx
push dword [ebp - 0x60]
push 0xfffffffffffffff5
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
cmp dword [esi + 0x14], 0xf
mov edx, esi
jbe 0x100034d1
mov edx, dword [esi]
push dword [esi + 0x10]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.10004b80
add esp, 4
push 0xf
push 0xfffffffffffffff5
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov eax, 3
mov dword [ebp - 0x14], eax
mov dword [ebp + 8], eax
mov byte [esi + 0x83d0], 0
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
je 0x10003514
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
add dword [ebx + 4], 4
jmp 0x10003520
lea ecx, [ebp - 0x14]
push ecx
push eax
mov ecx, ebx
call fcn.10004d70
mov eax, dword [ebp - 0x18]
test eax, eax
jle 0x10003554
mov edi, dword [ebp - 0x1c]
mov dword [ebp + 8], eax
nop dword [eax]
mov ecx, dword [ebx + 4]
cmp ecx, dword [ebx + 8]
je 0x10003542
mov eax, dword [edi]
mov dword [ecx], eax
add dword [ebx + 4], 4
jmp 0x1000354b
push edi
push ecx
mov ecx, ebx
call fcn.10004d70
add edi, 4
sub dword [ebp + 8], 1
jne 0x10003530
cmp byte [esi + 0x83d0], 0
mov ecx, esi
je 0x100036ce
call fcn.100037e0
inc dword [esi + 0x83c0]
mov ecx, dword [esi + 0x83c0]
mov eax, dword [esi + 0x83ac]
imul ecx, dword [ebp - 0x24]
add eax, dword [ebp - 0x20]
cmp ecx, dword [eax + 0x24]
jge 0x10003593
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10002ae7
push 0x1000c518
lea ecx, [ebp - 0x7c]
call fcn.10004700
lea eax, [ebp - 0x7c]
mov dword [ebp - 4], 0
cmp esi, eax
je 0x100035c1
cmp dword [ebp - 0x68], 0xf
mov ecx, esi
push dword [ebp - 0x6c]
cmova eax, dword [ebp - 0x7c]
push eax
call fcn.10008170
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x68]
cmp ecx, 0xf
jbe 0x100035fe
mov edx, dword [ebp - 0x7c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100035f4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100035f4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1000a53f
add esp, 8
push dword [esi + 0x20]
mov ebx, dword [sym.imp.KERNEL32.dll_GetStdHandle]
push 0xfffffffffffffff5
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0xf
mov byte [ebp - 0x7c], 0
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
push eax
call edi
movzx eax, word [esi + 0x18]
add ax, ax
mov word [ebp + 8], ax
movzx eax, word [esi + 0x1c]
mov word [ebp + 0xa], ax
push dword [ebp + 8]
push 0xfffffffffffffff5
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
cmp dword [esi + 0x14], 0xf
mov edx, esi
jbe 0x10003651
mov edx, dword [esi]
push dword [esi + 0x10]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.10004b80
add esp, 4
push 0xf
push 0xfffffffffffffff5
call ebx
push eax
call edi
mov dword [ebp + 8], 0x200000
push dword [ebp + 8]
push 0xfffffffffffffff5
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
push 0x10004ae0
push ecx
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x1000c51c
call fcn.100048c0
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push str.pause
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add esp, 4
push dword [ebp - 0x1c]
call fcn.1000a47a
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.10001e70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4