Function at 0x403d50
Capabilities:
Execute command
Manipulate console buffer

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x405c1d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x40
mov eax, dword [0x408008]
xor eax, ebp
mov dword [ebp - 0x14], eax
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 - 0x50], eax
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push 0x64
push esi
mov dword [ebp - 0x34], esi
call dword [sym.imp.GDI32.dll_SetGraphicsMode]
push 0x1a
push 0x41
call dword [sym.imp.USER32.dll_SetPhysicalCursorPos]
mov ecx, esi
call fcn.00403c70
mov ecx, esi
call fcn.00403c70
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov dword [ebp - 4], 0
mov edx, esi
mov ecx, 1
mov dword [0x408430], 0x64
mov dword [0x408440], 0x64
mov dword [0x439180], 0x64
mov dword [0x4398b8], 0x64
call fcn.004038e0
mov edi, dword [sym.imp.KERNEL32.dll_GetStdHandle]
xor ecx, ecx
mov dword [0x4398ac], 0xa
mov dword [0x439198], 0
mov dword [0x4398a8], 1
mov dword [ebp - 0x38], ecx
inc ecx
mov eax, 0x51eb851f
imul ecx
mov dword [ebp - 0x4c], ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [0x40843c], eax
cmp eax, dword [ebp - 0x38]
je 0x403eab
mov ecx, esi
call fcn.00403c70
mov eax, dword [0x40843c]
push 0xfffffffffffffff5
mov dword [ebp - 0x38], eax
call edi
mov dword [ebp - 0x3c], 0x1a002d
mov ecx, 0x1a
push dword [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
push dword [0x40843c]
mov edx, 0x4066fc
push ecx
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00404ae0
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.0x403ed4.98
call dword [sym.imp.api_ms_win_crt_conio_l1_1_0.dll__getch]
add eax, 0xffffff9f
cmp eax, 0x9a
ja case.0x403ed4.98
movzx eax, byte [eax + 0x4044ac]
jmp dword [eax*4 + 0x404488]
cmp dword [0x4398ac], 0xa
jne 0x403f24
jmp case.0x403ed4.98
cmp dword [0x4398ac], 0xfffffff6
jne 0x403f4d
jmp case.0x403ed4.98
cmp dword [0x439198], 0xa
jne 0x403f76
jmp case.0x403ed4.98
cmp dword [0x439198], 0xfffffff6
jne 0x403f95
jmp case.0x403ed4.98
cmp dword [0x4398ac], 0xa
je case.0x403ed4.98
mov dword [0x4398ac], 0xfffffff6
mov dword [0x439198], 0
mov dword [0x439184], 0
jmp case.0x403ed4.98
cmp dword [0x4398ac], 0xfffffff6
je case.0x403ed4.98
mov dword [0x4398ac], 0xa
mov dword [0x439198], 0
mov dword [0x439184], 1
jmp case.0x403ed4.98
cmp dword [0x439198], 0xa
je case.0x403ed4.98
mov dword [0x439198], 0xfffffff6
mov dword [0x439184], 2
jmp 0x403fa9
cmp dword [0x439198], 0xfffffff6
je case.0x403ed4.98
mov dword [0x439198], 0xa
mov dword [0x439184], 3
mov dword [0x4398ac], 0
mov eax, dword [0x408430]
mov ecx, 0x14
add eax, dword [0x4398ac]
cmp eax, ecx
jge 0x403fd3
mov dword [0x408430], 0x32a
jmp 0x403fe0
cmp eax, 0x32a
cmovg eax, ecx
mov dword [0x408430], eax
mov eax, dword [0x439180]
add eax, dword [0x439198]
cmp eax, 0x14
jge 0x403ffc
mov dword [0x439180], 0x186
jmp 0x404009
cmp eax, 0x186
cmovg eax, ecx
mov dword [0x439180], eax
xor edi, edi
cmp dword [0x408440], edi
je 0x404093
mov edx, dword [0x4398b8]
test edx, edx
je 0x404093
mov ecx, 0xfffffff6
mov dword [ebp - 0x30], ecx
nop dword [eax]
mov esi, 0xfffffff6
nop word [eax + eax]
cmp dword [0x408048], 0x10
mov eax, 0x408034
cmovae eax, dword [0x408034]
cmp byte [eax + edi], 0x30
jne 0x404083
push 0
lea eax, [edx + ecx]
mov dword [0x43989c], 0
push eax
mov eax, dword [0x408440]
add eax, esi
push eax
push dword [ebp - 0x34]
call dword [sym.imp.GDI32.dll_SetPixel]
mov edx, dword [0x4398b8]
mov ecx, dword [ebp - 0x30]
inc esi
inc edi
cmp esi, 0xa
jle 0x404040
inc ecx
mov dword [ebp - 0x30], ecx
cmp ecx, 0xa
jle 0x404030
xor esi, esi
mov byte [0x439190], 0
mov dword [ebp - 0x30], 0xfffffff6
mov edi, 0xfffffff6
nop dword [eax + eax]
mov eax, dword [0x439184]
lea eax, [eax + eax*2]
mov ecx, dword [eax*8 + 0x46a60c]
lea eax, [eax*8 + 0x46a5f8]
mov edx, eax
cmp ecx, 0x10
jb 0x4040cf
mov edx, dword [eax]
cmp byte [edx + esi], 0x30
jne 0x404100
mov eax, dword [0x439180]
add eax, dword [ebp - 0x30]
push eax
mov eax, dword [0x408430]
add eax, edi
mov dword [0x43989c], 0xffffff
push eax
push dword [ebp - 0x34]
call dword [sym.imp.GDI32.dll_GetPixel]
mov dword [0x408434], eax
jmp 0x40414d
mov edx, eax
cmp ecx, 0x10
jb 0x404109
mov edx, dword [eax]
cmp byte [edx + esi], 0x31
jne 0x40411b
mov dword [0x43989c], 0xffff
jmp 0x40414d
cmp ecx, 0x10
jb 0x404122
mov eax, dword [eax]
cmp byte [eax + esi], 0x32
jne 0x40414d
movzx ecx, byte [0x4398b4]
movzx eax, byte [0x439898]
shl ecx, 8
or ecx, eax
movzx eax, byte [0x43919c]
shl ecx, 8
or ecx, eax
mov dword [0x43989c], ecx
mov eax, dword [0x439184]
lea eax, [eax + eax*2]
cmp dword [eax*8 + 0x46a60c], 0x10
lea eax, [eax*8 + 0x46a5f8]
jb 0x404168
mov eax, dword [eax]
cmp byte [eax + esi], 0x20
je 0x40418e
push dword [0x43989c]
mov eax, dword [0x439180]
add eax, dword [ebp - 0x30]
push eax
mov eax, dword [0x408430]
add eax, edi
push eax
push dword [ebp - 0x34]
call dword [sym.imp.GDI32.dll_SetPixel]
movzx ecx, byte [0x4398a4]
movzx eax, byte [0x439188]
shl ecx, 8
or ecx, eax
movzx eax, byte [0x439190]
shl ecx, 8
cmp dword [0x408434], ecx
mov ecx, 1
cmove eax, ecx
inc edi
inc esi
mov byte [0x439190], al
cmp edi, 0xa
jle 0x4040b0
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp eax, 0xa
jle 0x4040a3
mov esi, dword [ebp - 0x34]
xor ecx, ecx
mov edx, esi
call fcn.004038e0
cmp byte [0x439190], 1
jne 0x404240
mov edx, esi
mov ecx, 1
call fcn.004038e0
inc dword [0x439194]
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [ebp - 0x40], 0x1a001e
mov ecx, 0x1a
push dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
push dword [0x439194]
mov edx, 0x406708
push ecx
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00404ae0
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, dword [0x4398a8]
xor ecx, ecx
mov edi, dword [0x408430]
mov esi, dword [0x439180]
mov dword [edx*4 + 0x408440], edi
mov dword [edx*4 + 0x4398b8], esi
test edx, edx
js 0x4042a4
cmp edi, dword [ecx*4 + 0x408440]
jne 0x404283
cmp esi, dword [ecx*4 + 0x4398b8]
jne 0x404283
lea eax, [edx - 1]
cmp ecx, eax
jle 0x404347
mov eax, dword [ecx*4 + 0x408444]
mov dword [ecx*4 + 0x408440], eax
mov eax, dword [ecx*4 + 0x4398bc]
mov dword [ecx*4 + 0x4398b8], eax
inc ecx
cmp ecx, edx
jle 0x404266
mov edi, dword [sym.imp.KERNEL32.dll_GetStdHandle]
push 0xfffffffffffffff5
call edi
mov esi, dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
mov dword [ebp - 0x44], 0x1a0014
push dword [ebp - 0x44]
push eax
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 [0x439180]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
mov eax, 0x66666667
imul dword [0x408430]
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, 0x406770
mov ecx, eax
call fcn.00404ae0
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 0xfffffffffffffff5
call edi
mov dword [ebp - 0x48], 0x1a0041
push dword [ebp - 0x48]
push eax
call esi
mov eax, 0x32
sub eax, dword [0x40843c]
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0x2710
jge 0x4043b6
mov esi, dword [ebp - 0x34]
jmp 0x403e41
mov esi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
push 0x406714
call esi
add esp, 4
mov edx, 0x406748
push 0x404d00
push dword [0x439194]
push ecx
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00404ae0
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, 0x406718
mov ecx, eax
call fcn.00404ae0
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 0x404d00
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 0x404468
cmp dword [0x439194], 0x64
mov esi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
push 0x406714
jg 0x4043fd
call esi
add esp, 4
mov edx, 0x4067a8
push 0x404d00
push dword [0x439194]
push ecx
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00404ae0
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, 0x406774
jmp 0x40442e
call esi
add esp, 4
mov edx, 0x4067dc
push 0x404d00
push dword [0x439194]
push ecx
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00404ae0
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, 0x4067c4
push ecx
mov ecx, eax
call fcn.00404ae0
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 0x404d00
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 dword [ebp - 0x34]
push dword [ebp - 0x50]
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
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00404d2f
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret