Function at 0x11200
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x12800
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
push esi
push 4
mov dword [ebp - 0x10], 0
call fcn.00011a51
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], eax
add esp, 4
mov dword [eax], ecx
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x11a30
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [ebp - 0x24], eax
test eax, eax
je 0x1140d
mov dword [ebp - 4], 1
cmp dword [ebp - 0x20], 0
jne 0x11275
push 1
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
mov esi, dword [sym.imp.MSVCP140.dll__Thrd_id]
call esi
mov ecx, dword [ebp - 0x20]
cmp ecx, eax
jne 0x1128c
push 5
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
push 0
push ecx
push dword [ebp - 0x24]
call dword [sym.imp.MSVCP140.dll__Thrd_join]
add esp, 0xc
test eax, eax
je 0x112a7
push 2
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
mov eax, dword [ebp - 0x10]
xorps xmm0, xmm0
movlpd qword [ebp - 0x24], xmm0
nop
cmp eax, 1
je 0x113f2
lea eax, [ebp - 0x84]
push 2
push eax
call dword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 2
push eax
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0
call dword [sym.imp.MSVCP140.dll__Mtx_lock]
add esp, 0xc
test eax, eax
je 0x112f1
push eax
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
mov byte [ebp - 0x28], 1
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.MSVCP140.dll__Cnd_init_in_situ]
add esp, 4
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 4
push eax
call dword [sym.imp.MSVCP140.dll__Cnd_broadcast]
add esp, 4
push 4
call fcn.00011a51
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], eax
add esp, 4
mov dword [eax], ecx
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
push ecx
push 0
push eax
push 0x11a30
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x113fe
mov byte [ebp - 4], 6
cmp dword [ebp - 0x18], 0
jne 0x1135f
push 1
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
call esi
mov ecx, dword [ebp - 0x18]
cmp ecx, eax
jne 0x11370
push 5
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
push 0
push ecx
push dword [ebp - 0x1c]
call dword [sym.imp.MSVCP140.dll__Thrd_join]
add esp, 0xc
test eax, eax
je 0x1138b
push 2
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
mov eax, dword [ebp - 0x10]
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
nop
test eax, eax
je 0x113b9
mov esi, dword [sym.imp.MSVCP140.dll__Cnd_wait]
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x54]
push eax
call esi
mov eax, dword [ebp - 0x10]
add esp, 8
nop
test eax, eax
jne 0x113a1
cmp dword [ebp - 0x18], 0
je 0x113c5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.MSVCP140.dll__Cnd_destroy_in_situ]
add esp, 4
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.MSVCP140.dll__Mtx_unlock]
add esp, 4
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.MSVCP140.dll__Mtx_destroy_in_situ]
add esp, 4
cmp dword [ebp - 0x20], 0
je 0x1141c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
push 6
mov dword [ebp - 0x18], 0
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_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret