Function at 0x404860
Capabilities:
Create thread

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45cc95
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xcc
mov eax, dword [0x470400]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov esi, eax
test esi, esi
jne 0x404adf
mov dword [ebp - 0x20], 0xc241ad44
mov dword [ebp - 0x1c], 0xb17e0fbc
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0x8c], edx
mov dword [ebp - 0x20], 0xaabd7e5b
mov dword [ebp - 0x1c], 0x3c84048b
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x20], 0x80a6d6a3
mov dword [ebp - 0x1c], 0xa9d965d3
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x20], 0x8a638f60
mov dword [ebp - 0x1c], 0xd53cf45c
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x20], 0x3911e3ac
mov dword [ebp - 0x1c], 0xd48c5407
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x20], 0xe17e6bc6
mov dword [ebp - 0x1c], 0xee9bb7d8
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x20], 0x560319cb
mov dword [ebp - 0x1c], 0x2c1164eb
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x20], 0x5e14b9b8
mov dword [ebp - 0x1c], 0x23858096
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x20], 0xae31dd05
mov dword [ebp - 0x1c], 0xc51f6cd5
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x8ad31132
mov dword [ebp - 0x1c], 0x50f16bc8
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xcc], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0xefc8f6c7
mov dword [ebp - 0x1c], 0xccbe45a7
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xc4], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0xe500af14
mov dword [ebp - 0x1c], 0xb9538732
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xbc], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x5066c3c9
mov dword [ebp - 0x1c], 0xa3e33069
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xb4], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x8f1f03e6
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0x1c], 0xc0fedbbc
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xac], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x560319cb
mov dword [ebp - 0x1c], 0x2c1164eb
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xa4], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x20], 0x5e14b9b8
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0x1c], 0x23858096
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
movaps xmm1, xmmword [ebp - 0x90]
xorps xmm1, xmmword [ebp - 0xd0]
movaps xmmword [ebp - 0x90], xmm1
movaps xmm1, xmmword [ebp - 0x80]
xorps xmm1, xmmword [ebp - 0xc0]
movaps xmmword [ebp - 0x80], xmm1
movaps xmm1, xmmword [ebp - 0x70]
xorps xmm1, xmmword [ebp - 0xb0]
push 0x10
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0x90]
movaps xmmword [ebp - 0x70], xmm1
movaps xmm1, xmmword [ebp - 0x60]
push esi
mov dword [ebp - 0x94], ecx
xorps xmm1, xmmword [ebp - 0xa0]
push eax
push esi
movaps xmmword [ebp - 0x60], xmm1
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongA]
and eax, 0xfffaffff
push eax
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
lea eax, [ebp - 0x30]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleCursorInfo]
lea eax, [ebp - 0x30]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorInfo]
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
lea ecx, [ebp - 0x48]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
push 4
call fcn.0045b639
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [eax], 0x404720
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x404e90
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [ebp - 0x28], eax
test eax, eax
je 0x404b89
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x404b81
push ecx
push eax
call dword [sym.imp.MSVCP140.dll__Thrd_detach]
add esp, 8
test eax, eax
je 0x404b98
push 1
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
push 6
mov dword [ebp - 0x24], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0045b626
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret