Function at 0x404b50
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x407de5
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x419040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 4
call fcn.00406b4f
mov dword [ebp - 0x14], eax
mov dword [eax], 0x401f90
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
mov edi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
push ecx
push 0
push eax
push 0x404f90
push 0
push 0
call edi
add esp, 0x1c
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x404f38
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x404f21
mov esi, dword [sym.imp.MSVCP140.dll__Thrd_detach]
push ecx
push eax
call esi
add esp, 8
test eax, eax
jne 0x404f21
push 4
mov dword [ebp - 4], 0xffffffff
call fcn.00406b4f
mov dword [ebp - 0x14], eax
mov dword [eax], 0x401600
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 2
push ecx
push 0
push eax
push 0x404f90
push 0
push 0
call edi
add esp, 0x1c
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x404f38
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x404f21
push ecx
push eax
call esi
add esp, 8
test eax, eax
jne 0x404f21
push 4
mov dword [ebp - 4], 0xffffffff
call fcn.00406b4f
mov dword [ebp - 0x14], eax
mov dword [eax], 0x406230
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 4
push ecx
push 0
push eax
push 0x404f90
push 0
push 0
call edi
add esp, 0x1c
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x404f38
mov dword [ebp - 4], 5
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x404f21
push ecx
push eax
call esi
add esp, 8
test eax, eax
jne 0x404f21
push 4
mov dword [ebp - 4], 0xffffffff
call fcn.00406b4f
mov dword [ebp - 0x14], eax
mov dword [eax], 0x401120
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 6
push ecx
push 0
push eax
push 0x404f90
push 0
push 0
call edi
add esp, 0x1c
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x404f38
mov dword [ebp - 4], 7
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x404f21
push ecx
push eax
call esi
add esp, 8
test eax, eax
jne 0x404f21
push 4
mov dword [ebp - 4], 0xffffffff
call fcn.00406b4f
mov dword [ebp - 0x14], eax
mov dword [eax], 0x4018d0
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 8
push ecx
push 0
push eax
push 0x404f90
push 0
push 0
call edi
add esp, 0x1c
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x404f38
mov dword [ebp - 4], 9
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x404f21
push ecx
push eax
call esi
add esp, 8
test eax, eax
jne 0x404f21
push 4
mov dword [ebp - 4], 0xffffffff
call fcn.00406b4f
mov dword [ebp - 0x14], eax
mov dword [eax], 0x401a70
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xa
push ecx
push 0
push eax
push 0x404f90
push 0
push 0
call edi
add esp, 0x1c
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x404f38
mov dword [ebp - 4], 0xb
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x404f21
push ecx
push eax
call esi
add esp, 8
test eax, eax
jne 0x404f21
push 4
mov dword [ebp - 4], 0xffffffff
call fcn.00406b4f
mov dword [ebp - 0x14], eax
mov dword [eax], 0x401330
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xc
push ecx
push 0
push eax
push 0x404f90
push 0
push 0
call edi
add esp, 0x1c
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x404f38
mov dword [ebp - 4], 0xd
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x404f21
push ecx
push eax
call esi
add esp, 8
test eax, eax
jne 0x404f21
push 4
mov dword [ebp - 4], 0xffffffff
call fcn.00406b4f
mov dword [ebp - 0x14], eax
mov dword [eax], 0x402510
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xe
push ecx
push 0
push eax
push 0x404f90
push 0
push 0
call edi
add esp, 0x1c
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x404f38
mov dword [ebp - 4], 0xf
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x404f21
push ecx
push eax
call esi
add esp, 8
test eax, eax
jne 0x404f21
push 4
mov dword [ebp - 4], 0xffffffff
call fcn.00406b4f
mov dword [ebp - 0x14], eax
mov dword [eax], 0x402ef0
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0x10
push ecx
push 0
push eax
push 0x404f90
push 0
push 0
call edi
add esp, 0x1c
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x404f38
mov dword [ebp - 4], 0x11
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x404f21
push ecx
push eax
call esi
add esp, 8
test eax, eax
jne 0x404f21
push 4
mov dword [ebp - 4], 0xffffffff
call fcn.00406b4f
mov dword [ebp - 0x14], eax
mov dword [eax], 0x404970
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0x12
push ecx
push 0
push eax
push 0x404f90
push 0
push 0
call edi
add esp, 0x1c
mov dword [ebp - 0x24], eax
test eax, eax
je 0x404f29
mov dword [ebp - 4], 0x13
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x404f21
push ecx
push eax
call esi
add esp, 8
test eax, eax
je 0x404f47
push 1
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
push 6
mov dword [ebp - 0x20], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
push 6
mov dword [ebp - 0x18], 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 edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00406b41
mov esp, ebp
pop ebp
ret