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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xcc
lea eax, [ebp - 0x18]
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x2c], edx
mov dword [eax - 4], esp
or dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x506b60
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
and dword [eax + 8], 0
lea ecx, [edx + 0x28]
mov byte [ebp - 0x21], 1
mov dword [ebp - 0x64], ecx
call fcn.004eaff1
mov edi, dword [ebp - 0x2c]
cmp byte [edi + 0x78], 0
je 0x4f21f8
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x10], 1
call fcn.004ec34b
mov eax, dword [ebp - 0x60]
mov byte [eax], 4
mov ecx, dword [ebp - 0x64]
and dword [ebp - 0x10], 0
mov byte [ebp - 0x21], 0
call fcn.00471357
jmp 0x4f270f
mov ecx, dword [edi + 0x30]
mov eax, dword [edi + 0x3c]
cmp eax, ecx
jne 0x4f221a
lea ecx, [edi + 0x30]
mov dword [ebp - 0x10], 3
call fcn.004f11b5
mov edi, dword [ebp - 0x2c]
mov ecx, dword [edi + 0x30]
mov eax, dword [edi + 0x3c]
mov edx, dword [edi + 0x38]
xor esi, esi
mov ebx, dword [ebp + 8]
add edx, eax
cmp edx, ecx
cmovae esi, ecx
mov ecx, dword [edi + 0x34]
inc eax
sub edx, esi
mov dword [ecx + edx*8], ebx
mov byte [ecx + edx*8 + 4], 1
mov dword [edi + 0x3c], eax
lock inc dword [edi + 0xa0]
mov eax, dword [edi + 0x9c]
test eax, eax
je 0x4f226e
lock dec dword [edi + 0x9c]
inc dword [edi + 0x60]
add edi, 0x90
mov dword [ebp - 0x10], 1
mov ecx, edi
call fcn.004ec3b4
jmp 0x4f26f9
mov eax, dword [edi + 0x98]
cmp eax, dword [edi + 0x94]
je 0x4f26f9
mov ecx, dword [edi + 0x64]
test ecx, ecx
je 0x4f27c4
lock inc dword [ecx]
jle 0x4f2858
mov eax, dword [edi + 0x74]
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0x88], ecx
mov ecx, dword [edi + 0x24]
mov dword [ebp - 0x40], eax
mov eax, dword [edi + 0x20]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x10], 0x11
dec edx
and edx, 0xfffffff8
lea eax, [edx + eax + 8]
lea edx, [ebp - 0x5c]
push eax
push edx
call dword [ecx + 0x14]
add esp, 8
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp + 0xc]
mov esi, dword [ecx + 8]
test esi, esi
je 0x4f22de
mov ecx, dword [ecx + 0xc]
mov dword [ebp - 0x34], ecx
jmp 0x4f22de
mov ecx, dword [ebp - 0x58]
mov edx, dword [eax + 4]
mov ebx, dword [ebp - 0x5c]
mov dword [ebp - 0xc0], ecx
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x30], ecx
mov ecx, dword [eax]
call fcn.004ecbdd
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], edx
mov edx, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x88]
and dword [ebp - 0x94], 0
test esi, esi
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0xa4], edx
mov dword [ebp - 0xa8], ecx
jne 0x4f2346
mov al, 1
mov dword [ebp - 0x10], 6
mov byte [ebp - 0x1d], al
mov byte [ebp - 0x1e], al
mov byte [ebp - 0x1f], al
call fcn.004e34e0
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x38]
cmp ebx, 0x80000000
jne 0x4f2352
xor ecx, ecx
jmp 0x4f23b4
mov edi, dword [ebp - 0x30]
mov esi, dword [ebp - 0xc0]
cmp edi, 7
ja 0x4f2374
xor eax, eax
xor ecx, ecx
xor edx, edx
inc ecx
cmp edi, edx
je 0x4f2381
cmp byte [esi + edx], 0
je 0x4f2385
inc edx
jmp 0x4f2367
mov edx, esi
xor ecx, ecx
push edi
call fcn.004315c0
pop ecx
jmp 0x4f2387
mov edx, edi
jmp 0x4f2387
mov eax, ecx
test eax, eax
jne 0x4f2827
lea ecx, [ebp - 0x5c]
mov al, 1
mov byte [ebp - 0x1d], 0
mov dword [ebp - 0x10], 6
mov dword [ecx], ebx
mov dword [ecx + 4], esi
mov dword [ecx + 8], edi
mov byte [ebp - 0x1e], al
mov byte [ebp - 0x1f], al
call fcn.00421420
mov ecx, eax
mov al, 1
mov byte [ebp - 0x1d], 0
mov dword [ebp - 0x10], 6
mov byte [ebp - 0x1e], al
mov byte [ebp - 0x1f], al
call fcn.004cda90
mov dword [ebp - 0x68], eax
lock inc dword [eax]
jle 0x4f2858
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x10], 0xe
and dword [ecx], 0
and dword [ecx + 4], 0
xor eax, eax
inc eax
mov dword [ecx - 8], eax
mov dword [ecx - 4], eax
push 0x18
pop ecx
push 4
pop edx
call fcn.004eca76
movsd xmm0, qword [ebp - 0x4c]
movsd qword [eax + 0x10], xmm0
movq xmm0, qword [ebp - 0x5c]
movq xmm1, qword [ebp - 0x54]
movq qword [eax + 8], xmm1
movq qword [eax], xmm0
mov dword [ebp - 0x78], eax
lock inc dword [eax]
jle 0x4f2858
xor ecx, ecx
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x9c], eax
mov byte [ebp - 0x24], 1
mov dword [ebp - 0x10], 0xa
call fcn.004da4a0
test eax, eax
mov dword [ebp - 0xa0], eax
je 0x4f2460
lock inc dword [eax]
jle 0x4f2858
mov ecx, eax
mov byte [ebp - 0x25], 0
mov byte [ebp - 0x26], 1
mov dword [ebp - 0x10], 0xb
mov dword [ebp - 0x3c], eax
call fcn.004da4a0
lea esi, [ebp - 0x5c]
mov ecx, esi
mov dword [esi], eax
call fcn.004f0c63
movq xmm0, qword [ebp - 0xb0]
movq xmm1, qword [ebp - 0xa8]
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x88]
movq qword [esi + 0x14], xmm1
movq qword [esi + 0xc], xmm0
mov dword [esi], eax
mov dword [esi + 8], edx
mov dword [esi + 4], ecx
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x4f24c4
lock inc dword [ecx + 0xc]
jle 0x4f27e0
mov dword [ebp - 0x10], 0xd
push 0x1c
pop ecx
push 4
pop edx
call fcn.004eca76
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x34]
mov dword [eax + 0x18], ecx
lea ecx, [ebp - 0xd8]
movsd xmm0, qword [ebp - 0x4c]
movsd qword [eax + 0x10], xmm0
movq xmm0, qword [ebp - 0x5c]
movq xmm1, qword [ebp - 0x54]
movq qword [eax + 8], xmm1
movq qword [eax], xmm0
mov byte [ebp - 0x20], 0
mov dword [ebp - 0x10], 0xc
push 0x591584
push eax
call fcn.004e3840
pop eax
pop ecx
movzx edx, byte [ebp - 0xd8]
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x88]
cmp edx, 4
jne 0x4f253a
mov edx, dword [ebp - 0xd4]
mov edi, dword [ebp - 0x2c]
jmp 0x4f2592
mov ecx, dword [ebp - 0xd4]
mov dword [ebp - 0x34], edx
movzx eax, byte [ebp - 0xd5]
movzx edx, word [ebp - 0xd7]
mov dword [ebp - 0x10], 0x10
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x88], edx
call fcn.004ea707
mov eax, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x88]
lea ecx, [ebp - 0x68]
shl eax, 0x10
or esi, eax
shl esi, 8
add esi, dword [ebp - 0x34]
call fcn.004ea6fa
mov edi, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
xor eax, eax
mov ecx, esi
test eax, eax
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x74], eax
je 0x4f2723
lock inc dword [edi + 0x98]
inc dword [edi + 0x74]
mov ecx, dword [edi + 0x50]
mov edx, dword [edi + 0x54]
push dword [ebp - 0x40]
push dword [edi + 0x5c]
push dword [edi + 0x58]
call fcn.004ec5c5
add esp, 0xc
cmp dword [edi + 0x48], 0
jne 0x4f25e5
lea ecx, [edi + 0x40]
lea edx, [edi + 0x50]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x10], 2
call fcn.0053a5fa
mov eax, dword [ebp - 0x38]
mov edi, dword [ebp - 0x2c]
mov esi, dword [edi + 0x44]
mov ecx, dword [edi + 0x40]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x34], 0
mov ebx, esi
lea edi, [ecx - 0x10]
mov dword [ebp - 0x30], ecx
and ebx, eax
shr eax, 0x19
movd xmm0, eax
mov dword [ebp - 0x38], eax
punpcklbw xmm0, xmm0
pshuflw xmm0, xmm0, 0
pshufd xmm0, xmm0, 0
movdqu xmmword [ebp - 0xc0], xmm0
movdqu xmm1, xmmword [ecx + ebx]
pcmpeqb xmm0, xmm1
movdqu xmmword [ebp - 0x88], xmm1
pmovmskb eax, xmm0
mov word [ebp - 0x5c], ax
lea ecx, [ebp - 0x5c]
call fcn.00408cd0
test eax, eax
je 0x4f265e
add edx, ebx
mov ecx, edi
and edx, esi
mov eax, edx
shl eax, 4
sub ecx, eax
mov eax, dword [ebp - 0x40]
cmp dword [ecx], eax
jne 0x4f263c
jmp 0x4f26be
cmp dword [ebp - 0x34], 1
mov eax, 1
je 0x4f2680
movdqu xmm0, xmmword [ebp - 0x88]
mov ecx, esi
mov edx, ebx
call fcn.00408ee6
mov dword [ebp - 0x8c], edx
movdqu xmm1, xmmword [ebp - 0x88]
pcmpeqd xmm0, xmm0
pcmpeqb xmm1, xmm0
pmovmskb ecx, xmm1
test ecx, ecx
jne 0x4f2760
mov ecx, dword [ebp - 0x3c]
movdqu xmm0, xmmword [ebp - 0xc0]
mov dword [ebp - 0x34], eax
lea ebx, [ecx + ebx + 0x10]
add ecx, 0x10
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x30]
and ebx, esi
jmp 0x4f2623
mov ecx, dword [ebp - 0x30]
neg edx
movq xmm1, qword [ebp - 0x74]
shl edx, 4
mov eax, dword [ecx + edx - 4]
mov dword [ebp - 0x54], eax
movsd xmm0, qword [ecx + edx - 0xc]
movsd qword [ebp - 0x5c], xmm0
movq qword [ecx + edx - 0xc], xmm1
mov eax, dword [ebp - 0x6c]
mov dword [ecx + edx - 4], eax
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x10], 1
call fcn.004ea5ac
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x64]
and dword [ebp - 0x10], 0
mov byte [ebp - 0x21], 0
mov byte [eax], 5
call fcn.00471357
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0xcc
pop esi
pop edi
pop ebx
pop ebp
ret
lea esi, [ebp - 0x70]
mov ecx, esi
call fcn.004eb880
cmp al, 0xd
jne 0x4f274b
mov eax, dword [edi + 0x98]
test eax, eax
je 0x4f274b
mov dword [ebp - 0x10], 1
push esi
call fcn.004e9f96
pop eax
jmp 0x4f26f9
movq xmm0, qword [ebp - 0x70]
mov eax, dword [ebp - 0x60]
and dword [ebp - 0x10], 0
movq qword [eax], xmm0
jmp 0x4f21e3
mov edx, dword [ebp - 0x30]
mov edi, dword [ebp - 0x8c]
mov al, byte [edx + edi]
test al, al
js 0x4f277e
movdqa xmm0, xmmword [edx]
pmovmskb eax, xmm0
bsf edi, eax
mov al, byte [edx + edi]
mov ecx, dword [ebp - 0x2c]
and al, 1
mov ebx, dword [ebp - 0x38]
movzx eax, al
sub dword [ecx + 0x48], eax
lea eax, [edi - 0x10]
mov byte [edx + edi], bl
shl edi, 4
and eax, esi
mov byte [eax + edx + 0x10], bl
inc dword [ecx + 0x4c]
mov ecx, dword [ebp - 0x40]
mov eax, edx
sub eax, edi
neg edi
mov dword [eax - 0x10], ecx
movsd xmm0, qword [ebp - 0x74]
movsd qword [edx + edi - 0xc], xmm0
mov ecx, dword [ebp - 0x6c]
mov dword [eax - 4], ecx
and dword [ebp - 0x5c], 0
jmp 0x4f26ea
mov dword [ebp - 0x10], 1
push 0x2e
pop edx
mov ecx, str.assertion_failed:_shared.shutdown_tx.is_some__C:UsersMark.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.32.0_src_runtime_blockingpool.rs
push 0x5939f0
call fcn.005373b0
pop eax
jmp 0x4f2858
add ecx, 8
xor edx, edx
mov byte [ebp - 0x20], 1
mov dword [ebp - 0x10], 0xc
call fcn.004d0780
lea ecx, [ebp - 0xd8]
mov edx, 0x58eddc
mov byte [ebp - 0x20], 1
mov dword [ecx], str.too_many_running_threads_in_thread_scope
mov dword [ecx + 4], 1
and dword [ecx + 0x10], 0
mov dword [ecx + 8], 0x5b9dc0
and dword [ecx + 0xc], 0
call fcn.00537260
jmp 0x4f2858
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x10], 0xf
push 0x2f
pop edx
mov ecx, str.thread_name_may_not_contain_interior_null_bytes
push 0x591574
push 0x591848
lea eax, [ebp - 0x5c]
push eax
call fcn.00537670
add esp, 0xc
ud2