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 0x405bcd
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 edi, eax
push 0x64
push edi
mov dword [ebp - 0x34], edi
call dword [sym.imp.GDI32.dll_SetGraphicsMode]
push 0x1a
push 0x41
call dword [sym.imp.USER32.dll_SetPhysicalCursorPos]
mov ecx, edi
call fcn.00403c80
mov ecx, edi
call fcn.00403c80
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
xor esi, esi
mov edx, edi
mov dword [0x408430], 0x64
mov dword [0x408440], 0x64
mov dword [0x439180], 0x64
lea ecx, [esi + 1]
mov dword [0x4398c0], 0x64
mov dword [0x4398b0], 0xa
mov dword [0x439198], 0
mov dword [0x4398ac], 1
call fcn.004038e0
xor ecx, ecx
mov dword [ebp - 0x48], ecx
nop dword [eax + eax]
inc esi
mov eax, 0x51eb851f
imul esi
mov dword [ebp - 0x4c], esi
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [0x40843c], eax
cmp eax, ecx
je 0x403ead
mov ecx, edi
call fcn.00403c80
mov eax, dword [0x40843c]
push 0xfffffffffffffff5
mov dword [ebp - 0x48], eax
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [ebp - 0x38], 0x1a002d
mov ecx, 0x1a
push dword [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
push dword [0x40843c]
mov edx, 0x4066e4
push ecx
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00404a90
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.0x403ed6.98
call dword [sym.imp.api_ms_win_crt_conio_l1_1_0.dll__getch]
add eax, 0xffffff9f
cmp eax, 0x9a
ja case.0x403ed6.98
movzx eax, byte [eax + 0x4044e0]
jmp dword [eax*4 + 0x4044bc]
cmp dword [0x4398b0], 0xa
jne 0x403f26
jmp case.0x403ed6.98
cmp dword [0x4398b0], 0xfffffff6
jne 0x403f4f
jmp case.0x403ed6.98
cmp dword [0x439198], 0xa
jne 0x403f78
jmp case.0x403ed6.98
cmp dword [0x439198], 0xfffffff6
jne 0x403f97
jmp case.0x403ed6.98
cmp dword [0x4398b0], 0xa
je case.0x403ed6.98
mov dword [0x4398b0], 0xfffffff6
mov dword [0x439198], 0
mov dword [0x439184], 0
jmp case.0x403ed6.98
cmp dword [0x4398b0], 0xfffffff6
je case.0x403ed6.98
mov dword [0x4398b0], 0xa
mov dword [0x439198], 0
mov dword [0x439184], 1
jmp case.0x403ed6.98
cmp dword [0x439198], 0xa
je case.0x403ed6.98
mov dword [0x439198], 0xfffffff6
mov dword [0x439184], 2
jmp 0x403fab
cmp dword [0x439198], 0xfffffff6
je case.0x403ed6.98
mov dword [0x439198], 0xa
mov dword [0x439184], 3
mov dword [0x4398b0], 0
mov eax, dword [0x408430]
mov ecx, 0x14
add eax, dword [0x4398b0]
cmp eax, ecx
jge 0x403fd5
mov dword [0x408430], 0x32a
jmp 0x403fe2
cmp eax, 0x32a
cmovg eax, ecx
mov dword [0x408430], eax
mov eax, dword [0x439180]
add eax, dword [0x439198]
cmp eax, 0x14
jge 0x403ffe
mov dword [0x439180], 0x186
jmp 0x40400b
cmp eax, 0x186
cmovg eax, ecx
mov dword [0x439180], eax
xor edi, edi
cmp dword [0x408440], edi
je 0x404093
mov edx, dword [0x4398c0]
test edx, edx
je 0x404093
mov ecx, 0xfffffff6
mov dword [ebp - 0x30], ecx
nop word [eax + 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 [0x4398c0]
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 edi, edi
mov byte [0x439190], 0
mov dword [ebp - 0x30], 0xfffffff6
mov esi, 0xfffffff6
nop dword [eax + eax]
mov eax, dword [0x439184]
lea eax, [eax + eax*2]
mov ecx, dword [eax*8 + 0x46a614]
lea eax, [eax*8 + 0x46a600]
mov edx, eax
cmp ecx, 0x10
jb 0x4040cf
mov edx, dword [eax]
cmp byte [edx + edi], 0x30
jne 0x404123
mov eax, dword [0x439180]
add eax, dword [ebp - 0x30]
push eax
mov eax, dword [0x408430]
add eax, esi
mov dword [0x43989c], 0xffffff
push eax
push dword [ebp - 0x34]
call dword [sym.imp.GDI32.dll_GetPixel]
push dword [0x43989c]
mov dword [0x408434], eax
mov eax, dword [0x439180]
add eax, dword [ebp - 0x30]
push eax
mov eax, dword [0x408430]
add eax, esi
push eax
push dword [ebp - 0x34]
call dword [sym.imp.GDI32.dll_SetPixel]
jmp 0x4041b6
mov edx, eax
cmp ecx, 0x10
jb 0x40412c
mov edx, dword [eax]
cmp byte [edx + edi], 0x31
jne 0x40415d
mov eax, dword [0x439180]
add eax, dword [ebp - 0x30]
push 0xffff
push eax
mov eax, dword [0x408430]
add eax, esi
mov dword [0x43989c], 0xffff
push eax
push dword [ebp - 0x34]
call dword [sym.imp.GDI32.dll_SetPixel]
jmp 0x4041b6
cmp ecx, 0x10
jb 0x404164
mov eax, dword [eax]
cmp byte [eax + edi], 0x32
jne 0x4041ac
movzx ecx, byte [0x4398bc]
movzx eax, byte [0x439898]
shl ecx, 8
or ecx, eax
movzx eax, byte [0x43919c]
shl ecx, 8
or ecx, eax
mov eax, dword [0x439180]
add eax, dword [ebp - 0x30]
push ecx
push eax
mov eax, dword [0x408430]
add eax, esi
mov dword [0x43989c], ecx
push eax
push dword [ebp - 0x34]
call dword [sym.imp.GDI32.dll_SetPixel]
jmp 0x4041b6
mov dword [0x43989c], 0
movzx ecx, byte [0x4398a8]
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 esi
inc edi
mov byte [0x439190], al
cmp esi, 0xa
jle 0x4040b0
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp eax, 0xa
jle 0x4040a3
mov edi, dword [ebp - 0x34]
xor ecx, ecx
mov edx, edi
call fcn.004038e0
cmp byte [0x439190], 1
jne 0x404268
mov edx, edi
mov ecx, 1
call fcn.004038e0
inc dword [0x439194]
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [ebp - 0x3c], 0x1a001e
mov ecx, 0x1a
push dword [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
push dword [0x439194]
mov edx, 0x4066f0
push ecx
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00404a90
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 [0x4398ac]
xor ecx, ecx
mov eax, dword [0x408430]
mov esi, dword [0x439180]
mov dword [edx*4 + 0x408440], eax
mov dword [edx*4 + 0x4398c0], esi
test edx, edx
js 0x4042d3
nop dword [eax]
cmp eax, dword [ecx*4 + 0x408440]
jne 0x4042ad
cmp esi, dword [ecx*4 + 0x4398c0]
jne 0x4042ad
lea eax, [edx - 1]
cmp ecx, eax
jle 0x40437d
mov eax, dword [ecx*4 + 0x408444]
mov dword [ecx*4 + 0x408440], eax
mov eax, dword [ecx*4 + 0x4398c4]
mov dword [ecx*4 + 0x4398c0], eax
inc ecx
mov eax, dword [0x408430]
cmp ecx, edx
jle 0x404290
mov esi, dword [sym.imp.KERNEL32.dll_GetStdHandle]
push 0xfffffffffffffff5
call esi
mov dword [ebp - 0x40], 0x1a0014
push dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
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, 0x406758
mov ecx, eax
call fcn.00404a90
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 esi
mov dword [ebp - 0x44], 0x1a0041
mov ecx, 0x1a
push dword [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
mov eax, 0x32
sub eax, dword [0x40843c]
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, dword [ebp - 0x4c]
cmp esi, 0x2710
jge 0x4043ec
mov ecx, dword [ebp - 0x48]
jmp 0x403e40
mov esi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
push 0x4066fc
call esi
add esp, 4
mov edx, 0x406730
push 0x404cb0
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.00404a90
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, 0x406700
mov ecx, eax
call fcn.00404a90
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 0x404cb0
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 0x40449c
cmp dword [0x439194], 0x64
mov esi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
push 0x4066fc
jg 0x404433
call esi
add esp, 4
mov edx, 0x406790
push 0x404cb0
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.00404a90
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, 0x40675c
jmp 0x404464
call esi
add esp, 4
mov edx, 0x4067c4
push 0x404cb0
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.00404a90
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, 0x4067ac
push ecx
mov ecx, eax
call fcn.00404a90
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 0x404cb0
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 edi
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.00404cdf
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret