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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x7c
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x10156b80
mov eax, dword [ebp + 0xc]
lea esi, [ebp - 0x18]
movzx ecx, byte [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov edi, dword fs:[0]
mov dword [ebp - 0x18], edi
mov dword fs:[0], esi
mov dword [ebp - 0x50], edx
mov byte [ebp - 0x4c], cl
mov cl, 1
mov esi, dword [eax]
lea eax, [esi + 0x28]
mov dword [ebp - 0x34], eax
xor eax, eax
lock cmpxchg byte [esi + 0x28], cl
mov dword [ebp - 0x24], esi
je 0x10155a8d
mov byte [ebp - 0x1d], 1
mov dword [ebp - 0x10], 0
push dword [ebp - 0x34]
call fcn.101ca940
mov esi, dword [ebp - 0x24]
add esp, 4
mov eax, dword [0x10283a20]
mov eax, dword [eax]
test eax, 0x7fffffff
je 0x10155b44
mov byte [ebp - 0x1d], 1
mov dword [ebp - 0x10], 0
call fcn.101ca8b0
mov esi, dword [ebp - 0x24]
xor al, 1
mov dword [ebp - 0x3c], eax
movzx eax, byte [esi + 0x29]
cmp byte [esi + 0x78], 0
je 0x10155b59
mov ecx, dword [ebp - 0x50]
lock sub dword [ecx], 0x40
jb 0x10155e75
mov eax, dword [ecx + 8]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x10], 1
push ecx
call eax
add esp, 4
mov eax, dword [ebp + 8]
mov byte [eax], 4
cmp byte [ebp - 0x3c], 0
jne 0x10155b1a
mov eax, dword [0x10283a20]
mov eax, dword [eax]
test eax, 0x7fffffff
je 0x10155b1a
mov byte [ebp - 0x1d], 0
mov dword [ebp - 0x10], 0
call fcn.101ca8b0
mov ecx, dword [ebp - 0x24]
test al, al
jne 0x10155b1a
mov byte [ecx + 0x29], 1
mov ecx, dword [ebp - 0x34]
xor eax, eax
xchg byte [ecx], al
cmp al, 2
jne 0x10155e46
mov byte [ebp - 0x1d], 0
mov dword [ebp - 0x10], 0
push dword [ebp - 0x34]
call fcn.101ca9e0
add esp, 4
jmp 0x10155e46
mov dword [ebp - 0x3c], 0
movzx eax, byte [esi + 0x29]
cmp byte [esi + 0x78], 0
jne 0x10155ac5
mov edi, dword [ebp - 0x50]
movzx ebx, byte [ebp - 0x4c]
mov dword [ebp - 0x64], edi
mov byte [ebp - 0x60], bl
mov ecx, dword [esi + 0x30]
mov eax, dword [esi + 0x3c]
cmp eax, ecx
jne 0x10155b95
lea ecx, [esi + 0x30]
mov byte [ebp - 0x2c], bl
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x10], 4
call fcn.10159a00
mov esi, dword [ebp - 0x24]
mov edi, dword [ebp - 0x30]
movzx ebx, byte [ebp - 0x2c]
mov ecx, dword [esi + 0x30]
mov eax, dword [esi + 0x3c]
add eax, dword [esi + 0x38]
xor edx, edx
cmp eax, ecx
cmovae edx, ecx
sub eax, edx
mov edx, dword [esi + 0x34]
mov dword [edx + eax*8], edi
mov byte [edx + eax*8 + 4], bl
inc dword [esi + 0x3c]
lock inc dword [esi + 0xa0]
mov eax, dword [esi + 0x9c]
test eax, eax
je 0x10155be4
lock dec dword [esi + 0x9c]
lea eax, [esi + 0x90]
inc dword [esi + 0x60]
mov dword [ebp - 0x10], 1
push eax
call fcn.1019a6e0
add esp, 4
jmp 0x10155df0
mov eax, dword [esi + 0x98]
cmp eax, dword [esi + 0x94]
je 0x10155df0
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x64]
test eax, eax
je 0x10155e95
lock inc dword [eax]
jle 0x10155eb0
mov eax, dword [edx + 0x64]
mov ecx, dword [edx + 0x74]
mov dword [ebp - 0x5c], 0x80000000
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov eax, dword [edx + 0x24]
mov ecx, dword [edx + 0x20]
mov edx, dword [eax + 8]
mov byte [ebp - 0x25], 1
mov dword [ebp - 0x10], 8
dec edx
and edx, 0xfffffff8
lea ecx, [ecx + edx + 8]
mov edx, dword [ebp + 0x18]
mov edx, dword [edx]
mov dword [ebp - 0x38], edx
lea edx, [ebp - 0x88]
push ecx
push edx
call dword [eax + 0x14]
add esp, 8
lea edx, [ebp - 0x88]
mov byte [ebp - 0x25], 0
lea ecx, [ebp - 0x64]
lea eax, [ebp - 0x78]
push edx
push ecx
push eax
call fcn.10192b50
add esp, 0xc
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x88]
cmp dword [eax + 8], 1
jne 0x10155c93
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x78], 1
mov dword [ebp - 0x74], eax
mov esi, dword [ebp - 0x38]
lock inc dword [esi]
mov ecx, dword [ebp - 0x2c]
jle 0x10155eb0
mov eax, dword [ebp - 0x68]
movsd xmm0, qword [ebp - 0x78]
movsd xmm1, qword [ebp - 0x70]
mov dword [ebp - 0x88], esi
mov byte [ebp - 0x1e], 0
mov dword [ebp - 0x10], 7
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x30]
movsd qword [ebp - 0x5c], xmm1
movsd qword [ebp - 0x64], xmm0
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x84], ecx
lea eax, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x64]
push ecx
push eax
call fcn.1014d9a0
add esp, 0xc
cmp dword [ebp - 0x48], 0
mov ecx, dword [ebp - 0x24]
je 0x10155d7a
mov eax, dword [ebp - 0x40]
movsd xmm0, qword [ebp - 0x48]
mov dword [ebp - 0x5c], eax
movsd qword [ebp - 0x64], xmm0
lea eax, [ecx + 0x40]
lock inc dword [ecx + 0x98]
inc dword [ecx + 0x74]
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x10], 5
push ecx
push dword [ebp - 0x30]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.1014ee20
add esp, 0x10
mov esi, dword [ebp - 0x78]
test esi, esi
je 0x10155d72
push dword [ebp - 0x70]
call dword [sym.imp.kernel32.dll_CloseHandle]
lock dec dword [esi]
jne 0x10155d57
lea eax, [ebp - 0x78]
mov dword [ebp - 0x10], 6
push eax
call fcn.10007330
add esp, 4
mov eax, dword [ebp - 0x74]
lock dec dword [eax]
jne 0x10155d72
lea eax, [ebp - 0x74]
mov dword [ebp - 0x10], 5
push eax
call fcn.1015b180
add esp, 4
cmp dword [ebp - 0x48], 0
jne 0x10155df0
jmp 0x10155d9b
lea ecx, [ebp - 0x44]
call fcn.10084920
cmp al, 0xd
jne 0x10155e5a
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x98]
test eax, eax
je 0x10155e5a
cmp byte [ebp - 0x44], 3
jne 0x10155df0
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
mov dword [ebp - 0x38], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x2c], eax
mov eax, dword [eax]
mov dword [ebp - 0x30], ecx
test eax, eax
je 0x10155dc7
mov dword [ebp - 0x10], 2
push dword [ebp - 0x30]
call eax
add esp, 4
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
mov eax, dword [edx + 4]
test eax, eax
je 0x10155de1
push dword [edx + 8]
push eax
push ecx
call fcn.10013870
add esp, 0xc
push 4
push 0xc
push dword [ebp - 0x38]
call fcn.10013870
add esp, 0xc
mov eax, dword [ebp + 8]
cmp byte [ebp - 0x3c], 0
mov byte [eax], 5
jne 0x10155e25
mov eax, dword [0x10283a20]
mov eax, dword [eax]
test eax, 0x7fffffff
je 0x10155e25
mov byte [ebp - 0x1d], 0
mov dword [ebp - 0x10], 0
call fcn.101ca8b0
test al, al
jne 0x10155e25
mov eax, dword [ebp - 0x24]
mov byte [eax + 0x29], 1
mov ecx, dword [ebp - 0x34]
xor eax, eax
xchg byte [ecx], al
cmp al, 2
jne 0x10155e46
mov byte [ebp - 0x1d], 0
mov dword [ebp - 0x10], 0
push dword [ebp - 0x34]
call fcn.101ca9e0
add esp, 4
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
add esp, 0x7c
pop esi
pop edi
pop ebx
pop ebp
ret
movsd xmm0, qword [ebp - 0x44]
mov eax, dword [ebp + 8]
movsd qword [eax], xmm0
cmp byte [ebp - 0x3c], 0
je 0x10155af1
jmp 0x10155b1a
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x10], 3
push 0x10209c30
push 0x27
push str.assertion_failed:_prev.ref_count_____1
call fcn.101cb950
add esp, 0xc
jmp 0x10155eb0
mov dword [ebp - 0x10], 1
push 0x1020ac4c
push 0x2e
push str.assertion_failed:_shared.shutdown_tx.is_some__C:UsersPC_HUK.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.39.2_src_runtime_blockingpool.rs
call fcn.101cb950
add esp, 0xc
ud2