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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4059bd
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x408008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push eax
mov dword [ebp - 0x44], eax
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
push 2
push ebx
call dword [sym.imp.GDI32.dll_SetGraphicsMode]
push 0x1a
push 0x41
call dword [sym.imp.USER32.dll_SetPhysicalCursorPos]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0
mov edx, ebx
mov ecx, 1
mov dword [0x408420], 0x64
mov dword [0x408430], 0x64
mov dword [0x439170], 0x64
mov dword [0x4398a8], 0x64
call fcn.00403480
mov ecx, ebx
call fcn.00403820
push 0
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [0x4398a4]
add eax, 0x10
push eax
mov eax, dword [0x46a5e8]
add eax, 0xd
push eax
push 0xa
push 0xa
push ebx
call dword [sym.imp.GDI32.dll_Rectangle]
mov esi, dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
xor ecx, ecx
xor edi, edi
mov dword [0x43989c], 0xa
mov dword [0x439188], 0
mov dword [0x439898], 1
mov dword [ebp - 0x3c], edi
inc ecx
mov eax, 0x51eb851f
imul ecx
mov dword [ebp - 0x40], ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [0x40842c], eax
cmp eax, edi
je 0x403c1b
mov ecx, ebx
call fcn.00403820
mov eax, dword [0x40842c]
mov dword [ebp - 0x3c], eax
mov eax, 0x2d
mov word [ebp - 0x2c], ax
mov eax, dword [0x4398a4]
cdq
and edx, 0xf
add eax, edx
sar eax, 4
add eax, 2
mov word [ebp - 0x2a], ax
push dword [ebp - 0x2c]
push dword [0x46a650]
call esi
push dword [0x40842c]
mov edx, 0x406704
push ecx
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00404860
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___int_]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__kbhit]
test eax, eax
je case.0x403c44.28
call dword [sym.imp.api_ms_win_crt_conio_l1_1_0.dll__getch]
add eax, 0xffffffe5
cmp eax, 0xe0
ja case.0x403c44.28
movzx eax, byte [eax + 0x404070]
jmp dword [eax*4 + 0x404050]
cmp dword [0x43989c], 0xfffffff6
jne 0x403ca1
jmp case.0x403c44.28
cmp dword [0x439188], 0xfffffff6
jne 0x403ce9
jmp case.0x403c44.28
cmp dword [0x43989c], 0xa
je case.0x403c44.28
mov dword [0x43989c], 0xfffffff6
mov dword [0x439188], 0
mov dword [0x439174], 0
jmp case.0x403c44.28
cmp dword [0x43989c], 0xfffffff6
je case.0x403c44.28
mov dword [0x43989c], 0xa
mov dword [0x439188], 0
mov dword [0x439174], 1
jmp case.0x403c44.28
cmp dword [0x439188], 0xa
je case.0x403c44.28
mov dword [0x439188], 0xfffffff6
mov dword [0x439174], 2
jmp 0x403cfd
cmp dword [0x439188], 0xfffffff6
je case.0x403c44.28
mov dword [0x439188], 0xa
mov dword [0x439174], 3
mov dword [0x43989c], 0
mov eax, dword [0x408420]
add eax, dword [0x43989c]
mov edx, dword [0x46a5e8]
mov ecx, eax
cmp eax, 0x14
jge 0x403d24
lea eax, [edx - 0xa]
mov ecx, eax
cmp ecx, edx
mov edi, 0x14
mov ecx, dword [0x439170]
cmovg eax, edi
add ecx, dword [0x439188]
mov dword [0x408420], eax
mov edx, ecx
mov eax, dword [0x4398a4]
cmp ecx, edi
jge 0x403d4f
lea ecx, [eax - 0xc]
mov edx, ecx
add eax, 0xfffffff4
cmp edx, eax
push ebx
cmovg ecx, edi
mov dword [0x439170], ecx
call fcn.004038f0
add esp, 4
cmp byte [0x439180], 1
jne 0x403dcc
mov edx, ebx
mov ecx, 1
call fcn.00403480
inc dword [0x439184]
mov eax, 0x1e
mov word [ebp - 0x30], ax
mov eax, dword [0x4398a4]
cdq
and edx, 0xf
add eax, edx
sar eax, 4
add eax, 2
mov word [ebp - 0x2e], ax
push dword [ebp - 0x30]
push dword [0x46a650]
call esi
push dword [0x439184]
mov edx, 0x406710
push ecx
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00404860
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___int_]
mov edx, ebx
xor ecx, ecx
call fcn.00403480
mov edx, dword [0x439898]
xor eax, eax
mov edi, dword [0x408420]
mov esi, dword [0x439170]
mov dword [edx*4 + 0x408430], edi
mov dword [edx*4 + 0x4398a8], esi
test edx, edx
js 0x403e3e
nop dword [eax + eax]
cmp edi, dword [eax*4 + 0x408430]
jne 0x403e1d
cmp esi, dword [eax*4 + 0x4398a8]
jne 0x403e1d
lea ecx, [edx - 1]
cmp eax, ecx
jle 0x403f13
mov ecx, dword [eax*4 + 0x408434]
mov dword [eax*4 + 0x408430], ecx
mov ecx, dword [eax*4 + 0x4398ac]
mov dword [eax*4 + 0x4398a8], ecx
inc eax
cmp eax, edx
jle 0x403e00
mov esi, dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
mov eax, 0x14
mov word [ebp - 0x34], ax
mov eax, dword [0x4398a4]
cdq
and edx, 0xf
add eax, edx
sar eax, 4
add eax, 2
mov word [ebp - 0x32], ax
push dword [ebp - 0x34]
push dword [0x46a650]
call esi
mov eax, 0x66666667
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
imul dword [0x439170]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
mov eax, 0x66666667
imul dword [0x408420]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push 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___int_]
push ecx
mov edx, 0x406778
mov ecx, eax
call fcn.00404860
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___int_]
mov eax, 0x41
mov word [ebp - 0x38], ax
mov eax, dword [0x4398a4]
cdq
and edx, 0xf
add eax, edx
sar eax, 4
add eax, 2
mov word [ebp - 0x36], ax
push dword [ebp - 0x38]
push dword [0x46a650]
call esi
mov eax, 0x32
sub eax, dword [0x40842c]
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x40]
cmp ecx, 0x2710
jge 0x403f82
mov edi, dword [ebp - 0x3c]
jmp 0x403ba3
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov esi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
push 0x40671c
call esi
add esp, 4
mov edx, 0x406750
push 0x404aa0
push dword [0x439184]
push ecx
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00404860
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___int_]
push ecx
mov edx, 0x406720
mov ecx, eax
call fcn.00404860
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_____]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push 0x404aa0
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
jmp 0x404032
cmp dword [0x439184], 0x64
mov esi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
push 0x40671c
jg 0x403fc9
call esi
add esp, 4
mov edx, 0x4067b0
push 0x404aa0
push dword [0x439184]
push ecx
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00404860
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___int_]
mov edx, 0x40677c
jmp 0x403ffa
call esi
add esp, 4
mov edx, 0x4067e4
push 0x404aa0
push dword [0x439184]
push ecx
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00404860
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___int_]
mov edx, 0x4067cc
push ecx
mov ecx, eax
call fcn.00404860
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_____]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push 0x404aa0
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 ebx
push dword [ebp - 0x44]
call dword [sym.imp.USER32.dll_ReleaseDC]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00404acf
mov esp, ebp
pop ebp
ret