Function at 0x10015ff0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100471d5
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x10080180]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [0x10080074], 4
jl 0x100160eb
mov eax, dword [0x1004fe58]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], eax
sub esp, 8
mov eax, esp
mov dword [ebp - 0x18], 0xb0000000
mov dword [ebp - 4], 0xffffffff
push 0x18
mov dword [eax], 1
mov dword [eax + 4], ecx
lea eax, [ebp - 0x30]
push str.Initializing__version_
push eax
call fcn.1000c8c0
add esp, 0x14
cmp dword [eax + 0x14], 0xf
mov ecx, eax
mov dword [ebp - 4], 1
jbe 0x10016074
mov ecx, dword [eax]
push dword [eax + 0x10]
mov edx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push ecx
sub esp, 8
lea ecx, [esi + 0x150]
mov eax, esp
sub esp, 8
mov dword [eax], str.e_37m
mov dword [eax + 4], 5
mov eax, esp
push edx
mov dword [eax], str.Info
mov dword [eax + 4], 4
call fcn.100120c0
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0xf
jbe 0x100160eb
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100160e1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100160e1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10044f67
add esp, 8
lea ecx, [esi + 0xa4]
mov byte [esi + 0x13d], 1
call fcn.1002a580
xorps xmm0, xmm0
movq qword [ebp - 0x3c], xmm0
push 0x14
mov dword [ebp - 4], 2
call fcn.10044f37
add esp, 4
test eax, eax
je 0x1001613e
mov dword [eax], 1
mov dword [eax + 4], 2
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
jmp 0x10016140
xor eax, eax
mov dword [ebp - 0x34], eax
push 8
mov byte [ebp - 4], 3
call fcn.10044f37
add esp, 4
test eax, eax
je 0x10016160
mov dword [eax], esi
mov dword [eax + 4], 0x100163e0
jmp 0x10016162
xor eax, eax
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
push ecx
push 0
push eax
push 0x10014840
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x100162b3
add esi, 0x118
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x3c]
mov edi, 0xfffffffe
cmp esi, eax
je 0x10016203
mov ecx, esi
call fcn.1000f630
cmp dword [esi + 4], 0
jne 0x1001627d
mov eax, dword [ebp - 0x3c]
xor edx, edx
mov ecx, dword [ebp - 0x38]
xorps xmm0, xmm0
mov dword [esi + 4], ecx
mov ecx, dword [ebp - 0x34]
mov dword [esi], eax
mov eax, dword [esi + 8]
movlpd qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x34], edx
mov dword [esi + 8], ecx
test eax, eax
je 0x10016206
lea ecx, [eax + 4]
mov edx, edi
lock xadd dword [ecx], edx
and edx, edi
cmp edx, 2
jne 0x10016203
or ecx, 0xffffffff
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x10016203
push 0x14
push eax
call fcn.10044f67
add esp, 8
mov edx, dword [ebp - 0x34]
cmp dword [ebp - 0x38], 0
mov dword [ebp - 4], 5
je 0x1001624d
test edx, edx
je 0x1001621e
mov ecx, edx
call fcn.1000f350
cmp dword [ebp - 0x38], 0
je 0x1001629e
call sub.MSVCP140.dll__Thrd_id
mov ecx, dword [ebp - 0x38]
cmp ecx, eax
je 0x100162a5
push 0
push ecx
push dword [ebp - 0x3c]
call sub.MSVCP140.dll__Thrd_join
add esp, 0xc
test eax, eax
jne 0x100162ac
mov edx, dword [ebp - 0x34]
xorps xmm0, xmm0
movlpd qword [ebp - 0x3c], xmm0
test edx, edx
je 0x10016277
lea eax, [edx + 4]
lock xadd dword [eax], edi
and edi, 0xfffffffe
cmp edi, 2
jne 0x10016277
or eax, 0xffffffff
lock xadd dword [edx], eax
cmp eax, 1
jne 0x10016277
push 0x14
push edx
call fcn.10044f67
add esp, 8
cmp dword [ebp - 0x38], 0
je 0x10016283
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
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.10044f75
mov esp, ebp
pop ebp
ret
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_
push 6
mov dword [ebp - 0x38], 0
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3