Function at 0x100256d0
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], 0x10036f40
mov edx, dword fs:[0]
mov dword [esi + 0x90], edx
mov dword fs:[0], eax
cmp byte [ecx + 0x189], 0
jne 0x10025bc5
mov dword [esi + 0x70], ecx
mov eax, 0x8ec40784
mov ecx, 0x23477626
mov dword [esi + 0x34], ecx
mov dword [esi + 0x30], eax
mov eax, 0x6cded652
mov ecx, 0xa1404051
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x38], eax
mov eax, 0xb3e264f
mov ebx, 0xfc7715a3
mov dword [esi + 0x1c], eax
mov dword [esi + 0x44], ebx
mov edx, 0x4c154288
mov ecx, 0x4dd8bbbe
mov edi, 0xe1a86bc5
mov eax, 0x46331745
mov dword [esi + 0xc], eax
mov dword [esi + 0x14], edi
mov dword [esi + 0x54], eax
mov dword [esi + 0x50], edi
mov eax, 0x9acbe06
mov edi, 0xe5092430
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, 0x93cd02b1
mov ecx, 0x2a573975
mov dword [esi + 0x24], ecx
mov dword [esi + 0x20], eax
mov eax, 0xe5092430
mov ecx, 0x9acbe6a
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.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleHandleA]
lea ecx, [esi + 0x30]
push ecx
push eax
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.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 0x100258aa
call sub.MSVCP140.dll__Thrd_hardware_concurrency
test eax, eax
je 0x10025ba0
xor edi, edi
jmp 0x10025867
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 0x10025ba0
mov eax, 1
lock xadd dword [esi + 0x20], eax
cmp eax, 0x7fffffff
jae 0x10025bd9
mov eax, dword [esi + 0x24]
test eax, eax
je 0x10025859
cmp eax, 2
jl 0x10025850
lea eax, [esi + 0x20]
push eax
call sub.MSVCP140_ATOMIC_WAIT.dll___std_atomic_notify_one_direct
jmp 0x10025859
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 0x10025836
mov dword [esi + 0x1c], edi
mov eax, dword [0x1026fc64]
mov dword [esi + 0x14], eax
mov dword [esi + 0x98], 0xffffffff
push 0x18
call fcn.100f13cd
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.100f13cd
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 [0x10141290]
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], 0x10142884
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 0x10025bdf
cmp dword [ebx + 0x30], 0x7fffffff
je 0x10025bf3
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov eax, dword [esi + 0x54]
test eax, eax
je 0x10025a10
lock inc dword [eax + 4]
mov edi, dword [esi + 0x54]
jmp 0x10025a12
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 0x10025a50
mov dword [esi + 0x18], edi
lea ecx, [ebx + 0x3c]
mov dword [esi + 0x98], 2
push 1
call fcn.100330e0
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 0x10025aa0
mov dword [esi + 0x74], edx
mov dword [esi + 0x78], ecx
mov dword [esi + 0x18], edi
mov dword [esi + 0x98], 2
push 0x28
call fcn.100f13cd
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], 0x10142a44
mov dword [eax + 4], 0
mov dword [eax + 8], 0
test edi, edi
je 0x10025ad0
lock inc dword [edi + 4]
mov ecx, dword [esi + 0x30]
mov dword [esi + 0xc], ecx
mov edi, dword [esi + 0x34]
jmp 0x10025ad2
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 0x10025b00
lock dec dword [edi + 4]
jne 0x10025b00
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock dec dword [edi + 8]
jne 0x10025b00
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 0x10025bd9
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x10025b46
add ebx, 0x34
cmp eax, 2
jl 0x10025b40
push ebx
call sub.MSVCP140_ATOMIC_WAIT.dll___std_atomic_notify_one_direct
jmp 0x10025b46
push ebx
call sub.MSVCP140_ATOMIC_WAIT.dll___std_atomic_notify_all_direct
mov edi, dword [esi + 0x54]
test edi, edi
je 0x10025b70
lock dec dword [edi + 4]
jne 0x10025b70
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock dec dword [edi + 8]
jne 0x10025b70
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 0x100258a0
lock dec dword [eax + 4]
jne 0x100258a0
mov ecx, dword [eax + 0x78]
test ecx, ecx
je 0x10025893
mov edx, dword [ecx]
push eax
call dword [edx]
jmp 0x100258a0
mov edi, dword [0x1026fc64]
cmp dword [edi + 0x50], 0
je 0x10025bbb
nop dword [eax]
call sub.MSVCP140.dll__Thrd_yield
cmp dword [edi + 0x50], 0
jne 0x10025bb0
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], 0x7ffffffe
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.100f14ab
add esp, 0xc
pop ebp
ret