Function at 0x414250
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45b36d
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x48e080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
push section..data
mov dword [ebp - 4], 0
call fcn.00410dc0
lea eax, [ebp - 0x28]
xorps xmm0, xmm0
mov dword [ebp - 0x64], eax
movq qword [ebp - 0x5c], xmm0
push 0x14
mov byte [ebp - 4], 1
call fcn.00458c72
mov edi, eax
add esp, 8
test edi, edi
je 0x4142ea
mov dword [edi], 1
mov dword [edi + 4], 2
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
jmp 0x4142ec
xor edi, edi
mov dword [ebp - 0x54], edi
test edi, edi
je 0x4142fc
mov eax, 1
lock xadd dword [edi], eax
mov esi, edi
mov dword [ebp - 0x68], esi
push 0xc
mov byte [ebp - 4], 3
call fcn.00458c72
add esp, 4
test eax, eax
je 0x41432d
mov dword [eax], edi
lea ecx, [ebp - 0x28]
xor esi, esi
mov dword [eax + 4], ecx
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x68], esi
mov dword [eax + 8], ecx
xor edi, edi
mov dword [ebp - 0x60], esi
jmp 0x414332
xor eax, eax
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x6c], eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 4
push ecx
push 0
push eax
push 0x403660
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x4144b6
test edi, edi
je 0x41437f
mov ecx, dword [ebp - 0x60]
or edi, 0xffffffff
mov eax, edi
lock xadd dword [ecx], eax
cmp eax, 1
jne 0x414382
push 0x14
push esi
call fcn.00458ca2
add esp, 8
jmp 0x414382
or edi, 0xffffffff
lea eax, [ebp - 0x28]
mov dword [ebp - 0x50], vtable.std::_Func_impl_no_alloc_class__int___cdecl_main_int__char___::_2::_lambda_3___void___.0
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x50]
mov dword [ebp - 0x2c], eax
push eax
mov byte [ebp - 4], 6
call fcn.00414a40
mov ecx, dword [ebp - 0x2c]
add esp, 4
mov byte [ebp - 4], 5
test ecx, ecx
je 0x4143bd
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x50]
cmp ecx, eax
setne al
push eax
call edx
push section..data
call fcn.00413680
mov edx, dword [ebp - 0x54]
add esp, 4
test edx, edx
je 0x4143db
mov ecx, edx
call fcn.0040c6e0
mov edx, dword [ebp - 0x54]
cmp dword [ebp - 0x58], 0
mov byte [ebp - 4], 7
je 0x41442b
test edx, edx
je 0x4143f0
mov ecx, edx
call fcn.0040c6e0
cmp dword [ebp - 0x58], 0
je 0x4144c4
call sub.MSVCP140.dll__Thrd_id
mov ecx, dword [ebp - 0x58]
cmp ecx, eax
je 0x4144cb
push 0
push ecx
push dword [ebp - 0x5c]
call sub.MSVCP140.dll__Thrd_join
add esp, 0xc
test eax, eax
jne 0x4144d2
mov edx, dword [ebp - 0x54]
xorps xmm0, xmm0
movlpd qword [ebp - 0x5c], xmm0
test edx, edx
je 0x414457
lea eax, [edx + 4]
mov ecx, 0xfffffffe
lock xadd dword [eax], ecx
and ecx, 0xfffffffe
cmp ecx, 2
jne 0x414457
lock xadd dword [edx], edi
cmp edi, 1
jne 0x414457
push 0x14
push edx
call fcn.00458ca2
add esp, 8
cmp dword [ebp - 0x58], 0
je 0x414463
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x414499
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41448f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41448f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00458ca2
add esp, 8
xor eax, eax
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.00458f01
mov esp, ebp
pop ebp
ret
push 6
mov dword [ebp - 0x58], 0
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
push 1
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
push 5
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
push 2
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3