Function at 0x4143d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45b78d
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.00410e60
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.00458e21
mov edi, eax
add esp, 8
test edi, edi
je 0x41446a
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 0x41446c
xor edi, edi
mov dword [ebp - 0x54], edi
test edi, edi
je 0x41447c
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.00458e21
add esp, 4
test eax, eax
je 0x4144ad
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 0x4144b2
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 0x414636
test edi, edi
je 0x4144ff
mov ecx, dword [ebp - 0x60]
or edi, 0xffffffff
mov eax, edi
lock xadd dword [ecx], eax
cmp eax, 1
jne 0x414502
push 0x14
push esi
call fcn.00458e51
add esp, 8
jmp 0x414502
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.00414c00
mov ecx, dword [ebp - 0x2c]
add esp, 4
mov byte [ebp - 4], 5
test ecx, ecx
je 0x41453d
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.004137e0
mov edx, dword [ebp - 0x54]
add esp, 4
test edx, edx
je 0x41455b
mov ecx, edx
call fcn.0040c780
mov edx, dword [ebp - 0x54]
cmp dword [ebp - 0x58], 0
mov byte [ebp - 4], 7
je 0x4145ab
test edx, edx
je 0x414570
mov ecx, edx
call fcn.0040c780
cmp dword [ebp - 0x58], 0
je 0x414644
call sub.MSVCP140.dll__Thrd_id
mov ecx, dword [ebp - 0x58]
cmp ecx, eax
je 0x41464b
push 0
push ecx
push dword [ebp - 0x5c]
call sub.MSVCP140.dll__Thrd_join
add esp, 0xc
test eax, eax
jne 0x414652
mov edx, dword [ebp - 0x54]
xorps xmm0, xmm0
movlpd qword [ebp - 0x5c], xmm0
test edx, edx
je 0x4145d7
lea eax, [edx + 4]
mov ecx, 0xfffffffe
lock xadd dword [eax], ecx
and ecx, 0xfffffffe
cmp ecx, 2
jne 0x4145d7
lock xadd dword [edx], edi
cmp edi, 1
jne 0x4145d7
push 0x14
push edx
call fcn.00458e51
add esp, 8
cmp dword [ebp - 0x58], 0
je 0x4145e3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x414619
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41460f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41460f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00458e51
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.004590b0
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