Function at 0x1015fd60
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], 0x10160eb0
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 0x1015fdcd
mov byte [ebp - 0x1d], 1
mov dword [ebp - 0x10], 0
push dword [ebp - 0x34]
call fcn.101cb6e0
mov esi, dword [ebp - 0x24]
add esp, 4
mov eax, dword [0x10284a20]
mov eax, dword [eax]
test eax, 0x7fffffff
je 0x1015fe84
mov byte [ebp - 0x1d], 1
mov dword [ebp - 0x10], 0
call fcn.101cb650
mov esi, dword [ebp - 0x24]
xor al, 1
mov dword [ebp - 0x3c], eax
movzx eax, byte [esi + 0x29]
cmp byte [esi + 0x78], 0
je 0x1015fe99
mov ecx, dword [ebp - 0x50]
lock sub dword [ecx], 0x40
jb 0x101601b5
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 0x1015fe5a
mov eax, dword [0x10284a20]
mov eax, dword [eax]
test eax, 0x7fffffff
je 0x1015fe5a
mov byte [ebp - 0x1d], 0
mov dword [ebp - 0x10], 0
call fcn.101cb650
mov ecx, dword [ebp - 0x24]
test al, al
jne 0x1015fe5a
mov byte [ecx + 0x29], 1
mov ecx, dword [ebp - 0x34]
xor eax, eax
xchg byte [ecx], al
cmp al, 2
jne 0x10160186
mov byte [ebp - 0x1d], 0
mov dword [ebp - 0x10], 0
push dword [ebp - 0x34]
call fcn.101cb780
add esp, 4
jmp 0x10160186
mov dword [ebp - 0x3c], 0
movzx eax, byte [esi + 0x29]
cmp byte [esi + 0x78], 0
jne 0x1015fe05
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 0x1015fed5
lea ecx, [esi + 0x30]
mov byte [ebp - 0x2c], bl
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x10], 4
call fcn.10161260
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 0x1015ff24
lock dec dword [esi + 0x9c]
lea eax, [esi + 0x90]
inc dword [esi + 0x60]
mov dword [ebp - 0x10], 1
push eax
call fcn.1019cac0
add esp, 4
jmp 0x10160130
mov eax, dword [esi + 0x98]
cmp eax, dword [esi + 0x94]
je 0x10160130
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x64]
test eax, eax
je 0x101601d5
lock inc dword [eax]
jle 0x101601f0
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.10195690
add esp, 0xc
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x88]
cmp dword [eax + 8], 1
jne 0x1015ffd3
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 0x101601f0
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.10150b90
add esp, 0xc
cmp dword [ebp - 0x48], 0
mov ecx, dword [ebp - 0x24]
je 0x101600ba
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.10151e60
add esp, 0x10
mov esi, dword [ebp - 0x78]
test esi, esi
je 0x101600b2
push dword [ebp - 0x70]
call dword [sym.imp.kernel32.dll_CloseHandle]
lock dec dword [esi]
jne 0x10160097
lea eax, [ebp - 0x78]
mov dword [ebp - 0x10], 6
push eax
call fcn.100069c0
add esp, 4
mov eax, dword [ebp - 0x74]
lock dec dword [eax]
jne 0x101600b2
lea eax, [ebp - 0x74]
mov dword [ebp - 0x10], 5
push eax
call fcn.10159eb0
add esp, 4
cmp dword [ebp - 0x48], 0
jne 0x10160130
jmp 0x101600db
lea ecx, [ebp - 0x44]
call fcn.1009a480
cmp al, 0xd
jne 0x1016019a
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x98]
test eax, eax
je 0x1016019a
cmp byte [ebp - 0x44], 3
jne 0x10160130
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 0x10160107
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 0x10160121
push dword [edx + 8]
push eax
push ecx
call fcn.10013460
add esp, 0xc
push 4
push 0xc
push dword [ebp - 0x38]
call fcn.10013460
add esp, 0xc
mov eax, dword [ebp + 8]
cmp byte [ebp - 0x3c], 0
mov byte [eax], 5
jne 0x10160165
mov eax, dword [0x10284a20]
mov eax, dword [eax]
test eax, 0x7fffffff
je 0x10160165
mov byte [ebp - 0x1d], 0
mov dword [ebp - 0x10], 0
call fcn.101cb650
test al, al
jne 0x10160165
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 0x10160186
mov byte [ebp - 0x1d], 0
mov dword [ebp - 0x10], 0
push dword [ebp - 0x34]
call fcn.101cb780
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 0x1015fe31
jmp 0x1015fe5a
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x10], 3
push 0x1020b188
push 0x27
push str.assertion_failed:_prev.ref_count_____1
call fcn.101cc600
add esp, 0xc
jmp 0x101601f0
mov dword [ebp - 0x10], 1
push 0x1020cf4c
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.101cc600
add esp, 0xc
ud2