Function at 0x10005900
Capabilities:
Create thread
Execute command
Hide graphical window

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 0x1000b620
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x8410
call fcn.1000b3a0
mov eax, dword [0x10010040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [sym.imp.MSVCP140.dll__Thrd_hardware_concurrency]
cmp eax, 2
jge 0x1000598d
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, 0x1000c76c
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_____]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1000a46c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 4
call fcn.1000a47f
add esp, 4
lea ecx, [ebp - 0x8414]
mov dword [eax], 0x10005670
push ecx
push 0
push eax
push 0x10006d70
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [ebp - 0x8418], eax
test eax, eax
je 0x10005ba8
cmp dword [ebp - 0x8414], 0
jne 0x100059e7
push 1
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
call dword [sym.imp.MSVCP140.dll__Thrd_id]
mov ecx, dword [ebp - 0x8414]
cmp ecx, eax
jne 0x100059ff
push 5
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
push 0
push ecx
push dword [ebp - 0x8418]
call dword [sym.imp.MSVCP140.dll__Thrd_join]
add esp, 0xc
test eax, eax
je 0x10005a1d
push 2
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
push 0x100013d0
push 0x100013a0
push 0x349
xorps xmm0, xmm0
mov dword [ebp - 0x8400], 0
push 0x28
lea eax, [ebp - 0x83dc]
movlpd qword [ebp - 0x8418], xmm0
movups xmmword [ebp - 0x8410], xmm0
push eax
mov dword [ebp - 0x83fc], 0xf
mov byte [ebp - 0x8410], 0
mov dword [ebp - 0x83f0], 0xb
mov dword [ebp - 0x83e8], 0
mov dword [ebp - 0x83e4], 0
mov dword [ebp - 0x83e0], 0
call fcn.1000a579
push str.title_PacManX
mov dword [ebp - 0x68], 0x1000c2ec
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add esp, 4
lea eax, [ebp - 0x34]
push 0x22
push 0x65
push str.mode_con_cols_d_lines_d
push eax
call fcn.1000a3b0
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add esp, 0x14
push 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
add esp, 4
push eax
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
add esp, 4
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
lea ecx, [ebp - 0x8420]
mov dword [ebp - 0x841c], 0
push ecx
push eax
mov dword [ebp - 0x8420], 1
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorInfo]
nop dword [eax]
call fcn.10001420
test eax, eax
jne 0x10005b85
lea ecx, [ebp - 0x8410]
call fcn.10001a30
test al, al
je 0x10005b30
lea eax, [ebp - 0x83e8]
push eax
lea eax, [ebp - 0x8410]
push eax
push ecx
lea ecx, [ebp - 0x83dc]
call fcn.10006dd0
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], 0
cmp eax, dword [ebp - 0x48]
je 0x10005b74
mov dword [ebp - 0x48], eax
lea ecx, [ebp - 0x8410]
mov byte [ebp - 0x40], 0
call fcn.10001e70
jmp 0x10005b30
cmp eax, 1
jne 0x10005b30
lea ecx, [ebp - 0x8410]
call fcn.10001cd0
cmp eax, 0xffffffff
je 0x10005b30
push eax
lea ecx, [ebp - 0x8410]
call fcn.100029b0
jmp 0x10005b30
push 6
mov dword [ebp - 0x8414], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3