Function at 0x100249b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xa0
mov esi, esp
mov dword [esi + 0x88], ebp
mov dword [esi + 0x8c], esp
mov dword [esi + 0x98], 0xffffffff
lea eax, [esi + 0x90]
mov dword [esi + 0x94], 0x100338a0
mov edx, dword fs:[0]
mov dword [esi + 0x90], edx
mov dword fs:[0], eax
cmp byte [ecx + 0x189], 0
jne 0x10024ea5
mov dword [esi + 0x70], ecx
mov eax, 0x9af01cbc
mov ecx, 0x59bb358c
mov dword [esi + 0x34], ecx
mov dword [esi + 0x30], eax
mov eax, 0x81bd9df2
mov ecx, 0xa439fd9b
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x38], eax
mov eax, 0x42b29f1f
mov ebx, 0xfe46d055
mov dword [esi + 0x1c], eax
mov dword [esi + 0x44], ebx
mov edx, 0xb5a82988
mov ecx, 0xdfd95678
mov edi, 0xf59c70fd
mov eax, 0x3ccf54ef
mov dword [esi + 0xc], eax
mov dword [esi + 0x14], edi
mov dword [esi + 0x54], eax
mov dword [esi + 0x50], edi
mov eax, 0xe4cff5a6
mov edi, 0xe07099fa
mov dword [esi + 0x10], eax
mov dword [esi + 0x5c], edi
mov dword [esi + 0x58], eax
mov dword [esi + 0x64], ebx
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x40], eax
mov dword [esi + 0x60], eax
mov dword [esi + 0x4c], ecx
mov dword [esi + 0x6c], ecx
mov dword [esi + 0x48], edx
mov dword [esi + 0x68], edx
lea ebx, [esi + 0x50]
xor eax, eax
mov ecx, ebx
movaps xmm0, xmmword [esi + 0x30]
xorps xmm0, xmmword [ecx]
movaps xmmword [esi + 0x30], xmm0
movaps xmm0, xmmword [esi + 0x40]
xorps xmm0, xmmword [ecx + 0x10]
mov eax, 0x87f91989
mov ecx, 0x50ab7adf
mov dword [esi + 0x24], ecx
mov dword [esi + 0x20], eax
mov eax, 0xe07099fa
mov ecx, 0xe4cff5ca
mov dword [esi + 0x2c], eax
mov dword [esi + 0x28], ecx
mov eax, dword [esi + 0xc]
mov dword [esi + 0x54], eax
mov eax, dword [esi + 0x14]
mov dword [esi + 0x50], eax
mov dword [esi + 0x5c], edi
mov eax, dword [esi + 0x10]
mov dword [esi + 0x58], eax
xor eax, eax
movaps xmmword [esi + 0x40], xmm0
movaps xmm0, xmmword [esi + 0x20]
xorps xmm0, xmmword [ebx]
xor edi, edi
movaps xmmword [esi + 0x20], xmm0
lea eax, [esi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [esi + 0x30]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x7c], eax
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
call sub.MSVCP140.dll__Thrd_hardware_concurrency
test eax, eax
jne 0x10024b8a
call sub.MSVCP140.dll__Thrd_hardware_concurrency
test eax, eax
je 0x10024e80
xor edi, edi
jmp 0x10024b47
lea eax, [esi + 0x20]
push eax
call sub.MSVCP140_ATOMIC_WAIT.dll___std_atomic_notify_all_direct
inc edi
call sub.MSVCP140.dll__Thrd_hardware_concurrency
cmp edi, eax
jae 0x10024e80
mov eax, 1
lock xadd dword [esi + 0x20], eax
cmp eax, 0x7fffffff
jae 0x10024eb9
mov eax, dword [esi + 0x24]
test eax, eax
je 0x10024b39
cmp eax, 2
jl 0x10024b30
lea eax, [esi + 0x20]
push eax
call sub.MSVCP140_ATOMIC_WAIT.dll___std_atomic_notify_one_direct
jmp 0x10024b39
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
nop dword [eax + eax]
inc edi
call sub.MSVCP140.dll__Thrd_hardware_concurrency
cmp edi, eax
jae 0x10024b16
mov dword [esi + 0x1c], edi
mov eax, dword [0x102a22a4]
mov dword [esi + 0x14], eax
mov dword [esi + 0x98], 0xffffffff
push 0x18
call fcn.100e9fad
add esp, 4
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov dword [esi + 0xc], eax
mov dword [eax], vtable.std::_Ref_count_obj2_class_std::packaged_task_void____cdecl___void___.0
mov dword [esi + 0x98], 0
push 0xa8
call fcn.100e9fad
add esp, 4
mov edi, eax
mov ebx, dword [esi + 0xc]
mov eax, ebx
add eax, 0xc
mov dword [esi + 0x10], eax
mov dword [edi], vtable.std::_Associated_state_int_.0
movaps xmm0, xmmword [0x10147a50]
movups xmmword [edi + 4], xmm0
lea eax, [edi + 0xc]
push eax
call sub.MSVCP140.dll_void___cdecl___ExceptionPtrCreate_void__
add esp, 4
xorps xmm0, xmm0
movups xmmword [edi + 0x28], xmm0
movups xmmword [edi + 0x18], xmm0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0xffffffff
mov dword [edi + 0x14], 2
mov dword [edi + 0x40], 0
lea eax, [edi + 0x44]
push eax
call sub.MSVCP140.dll__Cnd_init_in_situ
add esp, 4
mov byte [edi + 0x6c], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x73], 0
mov dword [edi + 0x78], 0
mov dword [edi], vtable.std::_Packaged_state_void____cdecl___void__.0
mov eax, edi
sub eax, 0xffffff80
mov dword [edi + 0x80], 0x10148114
lea ecx, [esi + 0x20]
mov dword [edi + 0x84], ecx
mov ecx, dword [esi + 0x7c]
mov dword [edi + 0x88], ecx
mov dword [edi + 0xa4], eax
mov eax, dword [esi + 0x10]
mov dword [esi + 0x50], eax
mov dword [ebx + 0xc], edi
mov byte [ebx + 0x10], 0
mov dword [esi + 0x54], ebx
mov byte [ebx + 0x14], 1
mov dword [esi + 0x80], edi
mov byte [esi + 0x84], 1
lock inc dword [edi + 4]
mov ebx, dword [esi + 0x14]
lea eax, [ebx + 4]
mov dword [esi + 0x10], eax
push eax
call sub.MSVCP140.dll__Mtx_lock
add esp, 4
test eax, eax
jne 0x10024ebf
cmp dword [ebx + 0x30], 0x7fffffff
je 0x10024ed3
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov eax, dword [esi + 0x54]
test eax, eax
je 0x10024cf0
lock inc dword [eax + 4]
mov edi, dword [esi + 0x54]
jmp 0x10024cf2
xor edi, edi
mov eax, dword [esi + 0x50]
mov dword [esi + 0xc], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], edi
mov edx, dword [ebx + 0x44]
mov eax, dword [ebx + 0x4c]
lea ecx, [eax + 1]
cmp edx, ecx
mov ecx, edx
ja 0x10024d30
mov dword [esi + 0x18], edi
lea ecx, [ebx + 0x3c]
mov dword [esi + 0x98], 2
push 1
call fcn.10030960
mov ebx, dword [esi + 0x14]
mov ecx, dword [ebx + 0x44]
mov eax, dword [ebx + 0x4c]
mov edi, dword [esi + 0x18]
dec ecx
mov edx, dword [ebx + 0x48]
and edx, ecx
mov dword [ebx + 0x48], edx
add edx, eax
and ecx, edx
mov eax, dword [ebx + 0x40]
mov eax, dword [eax + ecx*4]
test eax, eax
jne 0x10024d80
mov dword [esi + 0x74], edx
mov dword [esi + 0x78], ecx
mov dword [esi + 0x18], edi
mov dword [esi + 0x98], 2
push 0x28
call fcn.100e9fad
add esp, 4
mov ebx, dword [esi + 0x14]
mov ecx, dword [ebx + 0x40]
mov edx, dword [esi + 0x78]
mov dword [ecx + edx*4], eax
mov eax, dword [ebx + 0x44]
dec eax
and eax, dword [esi + 0x74]
mov ecx, dword [ebx + 0x40]
mov eax, dword [ecx + eax*4]
mov edi, dword [esi + 0x18]
mov dword [eax + 0x24], 0
mov dword [eax], 0x101482d4
mov dword [eax + 4], 0
mov dword [eax + 8], 0
test edi, edi
je 0x10024db0
lock inc dword [edi + 4]
mov ecx, dword [esi + 0x30]
mov dword [esi + 0xc], ecx
mov edi, dword [esi + 0x34]
jmp 0x10024db2
xor edi, edi
mov ecx, dword [esi + 0xc]
mov dword [eax + 4], ecx
mov dword [eax + 8], edi
mov dword [eax + 0x24], eax
inc dword [ebx + 0x4c]
test edi, edi
je 0x10024de0
lock dec dword [edi + 4]
jne 0x10024de0
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock dec dword [edi + 8]
jne 0x10024de0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
nop
push dword [esi + 0x10]
call sub.MSVCP140.dll__Mtx_unlock
add esp, 4
lock inc dword [ebx + 0x50]
mov eax, 1
lock xadd dword [ebx + 0x34], eax
cmp eax, 0x7fffffff
jae 0x10024eb9
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x10024e26
add ebx, 0x34
cmp eax, 2
jl 0x10024e20
push ebx
call sub.MSVCP140_ATOMIC_WAIT.dll___std_atomic_notify_one_direct
jmp 0x10024e26
push ebx
call sub.MSVCP140_ATOMIC_WAIT.dll___std_atomic_notify_all_direct
mov edi, dword [esi + 0x54]
test edi, edi
je 0x10024e50
lock dec dword [edi + 4]
jne 0x10024e50
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock dec dword [edi + 8]
jne 0x10024e50
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
nop word cs:[eax + eax]
mov eax, dword [esi + 0x80]
test eax, eax
mov edi, dword [esi + 0x1c]
je 0x10024b80
lock dec dword [eax + 4]
jne 0x10024b80
mov ecx, dword [eax + 0x78]
test ecx, ecx
je 0x10024b73
mov edx, dword [ecx]
push eax
call dword [edx]
jmp 0x10024b80
mov edi, dword [0x102a22a4]
cmp dword [edi + 0x50], 0
je 0x10024e9b
nop dword [eax]
call sub.MSVCP140.dll__Thrd_yield
cmp dword [edi + 0x50], 0
jne 0x10024e90
mov eax, dword [esi + 0x70]
mov byte [eax + 0x189], 1
mov eax, dword [esi + 0x90]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov dword [esi + 0x98], 1
push 5
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
add esp, 4
mov dword [ebx + 0x30], Ordinal_2
mov dword [esi + 0x98], 1
push 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
add esp, 4
nop
push ebp
sub esp, 8
lea esi, [ebp - 0x9c]
mov ebp, dword [esi + 0x88]
push dword [esi + 0xc]
call fcn.100ea08b
add esp, 0xc
pop ebp
ret