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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x88
mov eax, dword [ebp + 0x10]
mov edi, ecx
mov cl, 1
mov dword [ebp - 0x14], eax
movzx eax, byte [ebp + 0xc]
mov esi, dword [ebp + 8]
mov byte [ebp - 0x20], al
xor eax, eax
lock cmpxchg byte [edx + 0x28], cl
lea eax, [edx + 0x28]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x24], eax
je 0x53e83a
mov ecx, dword [ebp - 0x24]
call sym.parking_lot::raw_mutex::RawMutex::lock_slow::h63e89a5c0a375d8b
mov ebx, dword [ebp - 0x10]
cmp byte [ebx + 0x78], 0
je 0x53e864
lock sub dword [esi], 0x40
jb 0x53eaca
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x18]
push esi
mov esi, dword [ebp - 0x24]
call eax
add esp, 4
mov byte [edi], 4
jmp 0x53ef1c
mov ecx, dword [ebx + 0x30]
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0x44], edi
cmp eax, ecx
jne 0x53e87f
lea ecx, [ebx + 0x30]
call sym.alloc::collections::vec_deque::VecDeque_LT_T_C_A_GT_::grow::h1c028dcae797cf00
mov ecx, dword [ebx + 0x30]
mov eax, dword [ebx + 0x3c]
mov edx, dword [ebx + 0x38]
xor edi, edi
add edx, eax
cmp edx, ecx
cmovae edi, ecx
movzx ecx, byte [ebp - 0x20]
inc eax
sub edx, edi
mov edi, dword [ebx + 0x34]
mov dword [edi + edx*8], esi
mov byte [edi + edx*8 + 4], cl
mov dword [ebx + 0x3c], eax
lock inc dword [ebx + 0xa0]
mov eax, dword [ebx + 0x9c]
test eax, eax
je 0x53e8ea
lock dec dword [ebx + 0x9c]
mov eax, dword [ebx + 0x60]
mov esi, dword [ebp - 0x24]
mov edi, dword [ebp - 0x44]
inc eax
je 0x53eae6
mov dword [ebx + 0x60], eax
mov edx, dword [ebx + 0x90]
test edx, edx
je 0x53ef19
add ebx, 0x90
mov ecx, ebx
call sym.parking_lot::condvar::Condvar::notify_one_slow::hdaf55eba2c6509c2
jmp 0x53ef19
mov eax, dword [ebx + 0x98]
mov esi, dword [ebp - 0x24]
mov edi, dword [ebp - 0x44]
cmp eax, dword [ebx + 0x94]
je 0x53ef19
mov eax, dword [ebx + 0x64]
test eax, eax
je 0x53eaf2
lock inc dword [eax]
jle 0x53eb68
mov ecx, dword [ebx + 0x64]
mov eax, dword [ebx + 0x74]
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebx + 0x24]
mov edx, dword [ebx + 0x20]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0x14]
dec ecx
and ecx, 0xfffffff8
lea ecx, [edx + ecx + 8]
mov edx, dword [ebp - 0x14]
mov edi, dword [edx]
mov esi, dword [edx + 4]
lea edx, [ebp - 0x78]
push ecx
push edx
call eax
add esp, 8
mov eax, dword [ebx + 8]
cmp eax, 1
jne 0x53e95c
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x78]
mov edx, 1
mov ebx, dword [ebp - 0x74]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x14], ecx
mov ecx, edi
lock xadd dword [esi], edx
test cl, 1
mov ecx, 1
jne 0x53e982
xor ecx, ecx
test edx, edx
js 0x53eb68
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x90], esi
mov esi, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x44]
test al, al
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x8c], edx
jne 0x53e9bc
mov eax, dword [0x5e1158]
test eax, eax
je 0x53e9db
dec eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
neg eax
jno 0x53ea69
mov dword [ebp - 0x40], 2
lea ecx, [ebp - 0x40]
call sym.std::thread::Thread::new_inner::h8355cd776b7e609e
jmp 0x53eb9c
mov edx, str.RUST_MIN_STACK_rustc_f6e511eec7342f59a25f7c0534f1dbea00d01b14librarycore_src_nummod.rs
lea ecx, [ebp - 0x40]
push 0xe
call sym.std::env::_var_os::h51f55a83741f426c
add esp, 4
mov esi, dword [ebp - 0x40]
mov eax, esi
neg eax
jno 0x53e9fd
mov eax, 0x200000
jmp 0x53ea55
mov edx, dword [ebp - 0x3c]
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x1c], edx
push dword [ebp - 0x38]
call sym.core::str::converts::from_utf8::h614587554aa91dbb
add esp, 4
cmp dword [ebp - 0x5c], 1
jne 0x53ea1e
mov eax, 0x200000
jmp 0x53ea3d
mov edx, dword [ebp - 0x58]
lea ecx, [ebp - 0x5c]
push dword [ebp - 0x54]
call sym.core::num::__LT_impl_u20_core..str..traits..FromStr_u20_for_u20_usize_GT_::from_str::h6ecfc50e8fd372f9
add esp, 4
cmp byte [ebp - 0x5c], 0
mov eax, 0x200000
jne 0x53ea3d
mov eax, dword [ebp - 0x58]
test esi, esi
je 0x53ea55
push dword [ebp - 0x1c]
push 0
push dword [0x5e1120]
mov esi, eax
call sub.kernel32.dll_HeapFree
mov eax, esi
mov dword [ebp - 0x28], eax
inc eax
mov dword [0x5e1158], eax
mov eax, dword [ebp - 0x18]
neg eax
jo 0x53e9c7
mov eax, dword [ebp - 0x14]
cmp eax, 7
ja 0x53ea95
test eax, eax
je 0x53f1cb
xor ecx, ecx
nop dword [eax + eax]
cmp byte [ebx + ecx], 0
je 0x53f1fe
inc ecx
cmp dword [ebp - 0x14], ecx
jne 0x53ea80
jmp 0x53f1cb
lea eax, [ebx + 3]
and eax, 0xfffffffc
sub eax, ebx
jne 0x53eaac
mov eax, dword [ebp - 0x14]
lea ecx, [eax - 8]
xor eax, eax
jmp 0x53f183
xor ecx, ecx
nop
cmp byte [ebx + ecx], 0
je 0x53f1fe
inc ecx
cmp eax, ecx
jne 0x53eab0
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff8
jmp 0x53f17f
mov edx, 0x27
mov ecx, str.assertion_failed:_prev.ref_count_____1
push 0x5b5e24
call sym.core::panicking::panic::hf6244c8fb5815825
add esp, 4
jmp 0x53eb68
mov ecx, 0x5b5fd4
call sym.core::panicking::panic_const::panic_const_add_overflow::hf3b41c4c75c49a6d
jmp 0x53eb68
mov edx, 0x2e
mov ecx, str.assertion_failed:_shared.shutdown_tx.is_some__
push 0x5b5fc4
call sym.core::panicking::panic::hf6244c8fb5815825
add esp, 4
jmp 0x53eb68
ud2
mov dword [ebp - 0x14], eax
lock inc dword [eax]
jle 0x53eb68
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
movzx eax, byte [0x5e1184]
xor ecx, ecx
mov edx, 0x18
call sym.std::sys::alloc::windows::process_heap_alloc::hc2bfe060f1f208f4
test eax, eax
je 0x53efac
movsd xmm0, qword [ebp - 0x30]
mov esi, eax
movsd qword [eax + 0x10], xmm0
movq xmm0, qword [ebp - 0x40]
movq xmm1, qword [ebp - 0x38]
movq qword [eax + 8], xmm1
movq qword [eax], xmm0
lock inc dword [eax]
jle 0x53eb68
movzx eax, byte [0x5e1088]
mov dword [ebp - 0x18], esi
test al, al
je 0x53ec3e
mov byte [0x5e1088], 1
call sym.std::io::stdio::OUTPUT_CAPTURE::__u7b__u7b_closure_u7d__u7d_::h7ee91a60466d0b47
test eax, eax
je 0x53f00e
mov ebx, dword [eax]
mov dword [eax], 0
test ebx, ebx
je 0x53ec3e
lock inc dword [ebx]
jle 0x53eb68
xor ecx, ecx
jmp 0x53ec4d
movzx eax, byte [0x5e1088]
xor ebx, ebx
mov cl, 1
test al, al
je 0x53ec76
mov dword [ebp - 0x1c], ecx
mov byte [0x5e1088], 1
call sym.std::io::stdio::OUTPUT_CAPTURE::__u7b__u7b_closure_u7d__u7d_::h7ee91a60466d0b47
test eax, eax
je 0x53efd7
mov ecx, dword [eax]
mov dword [eax], ebx
test ecx, ecx
je 0x53ec76
lock dec dword [ecx]
jne 0x53ec76
call sym.alloc::sync::Arc_LT_T_C_A_GT_::drop_slow::h270c972412bfc9d1
mov eax, dword [ebp - 0x14]
movq xmm0, qword [ebp - 0x94]
movq xmm1, qword [ebp - 0x8c]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x70], ebx
movq qword [ebp - 0x64], xmm1
movq qword [ebp - 0x6c], xmm0
mov dword [ebp - 0x74], esi
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x53ecad
lock inc dword [ecx + 0xc]
jle 0x53f033
movzx eax, byte [0x5e1184]
xor ecx, ecx
mov edx, 0x1c
call sym.std::sys::alloc::windows::process_heap_alloc::hc2bfe060f1f208f4
mov ebx, dword [ebp - 0x10]
test eax, eax
je 0x53efc3
mov ecx, dword [ebp - 0x60]
mov dword [eax + 0x18], ecx
movsd xmm0, qword [ebp - 0x68]
movsd qword [eax + 0x10], xmm0
movq xmm0, qword [ebp - 0x78]
movq xmm1, qword [ebp - 0x70]
movq qword [eax + 8], xmm1
movq qword [eax], xmm0
mov edx, dword [ebp - 0x28]
lea ecx, [ebp - 0x40]
push 0x5b39c0
push eax
call sym.std::sys::pal::windows::thread::Thread::new::h6486d337021797ce
add esp, 8
movzx esi, byte [ebp - 0x40]
cmp esi, 4
jne 0x53ee46
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x48], eax
lock inc dword [ebx + 0x98]
mov eax, dword [ebx + 0x74]
inc eax
je 0x53f040
mov dword [ebx + 0x74], eax
mov edi, ebx
mov ecx, dword [ebx + 0x50]
mov edx, dword [ebx + 0x54]
mov eax, dword [ebx + 0x58]
mov ebx, dword [ebx + 0x5c]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
push dword [ebp - 0x20]
push ebx
mov dword [ebp - 0x1c], eax
push eax
call sym.core::hash::BuildHasher::hash_one::h5df0f5c7db1534c4
add esp, 0xc
cmp dword [edi + 0x48], 0
mov esi, eax
jne 0x53ed76
lea ecx, [edi + 0x40]
mov edx, dword [ebp - 0x18]
push ebx
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
call sym.hashbrown::raw::RawTable_LT_T_C_A_GT_::reserve_rehash::hdf0ef9b00a16cee8
add esp, 0xc
mov eax, esi
mov ebx, dword [edi + 0x40]
mov edi, dword [edi + 0x44]
pcmpeqd xmm1, xmm1
xor ecx, ecx
shr eax, 0x19
movd xmm0, eax
mov dword [ebp - 0x7c], eax
punpcklbw xmm0, xmm0
pshuflw xmm0, xmm0, 0
lea eax, [ebx - 0x10]
pshufd xmm0, xmm0, 0
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x28], ebx
and esi, edi
mov dword [ebp - 0x1c], ecx
movdqu xmm2, xmmword [ebx + esi]
movdqa xmm3, xmm2
pcmpeqb xmm3, xmm0
pmovmskb ebx, xmm3
test ebx, ebx
je 0x53edfb
nop word cs:[eax + eax]
tzcnt eax, ebx
mov ecx, dword [ebp - 0x14]
mov edx, edi
add eax, esi
and eax, edi
mov edi, eax
shl edi, 4
sub ecx, edi
mov edi, dword [ebp - 0x20]
cmp dword [ecx], edi
je 0x53eeb9
lea eax, [ebx - 1]
mov edi, edx
and ax, bx
mov ebx, eax
jne 0x53edd0
cmp dword [ebp - 0x18], 1
mov edx, 1
je 0x53ee1c
pmovmskb eax, xmm2
xor edx, edx
test eax, eax
setne dl
tzcnt eax, eax
add eax, esi
and eax, edi
mov dword [ebp - 0x80], eax
pcmpeqb xmm2, xmm1
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x28]
pmovmskb eax, xmm2
test eax, eax
mov eax, dword [ebp - 0x1c]
jne 0x53ef42
lea esi, [esi + eax + 0x10]
add eax, 0x10
mov dword [ebp - 0x18], edx
mov ecx, eax
jmp 0x53edac
mov ecx, dword [ebp - 0x18]
movzx ebx, byte [ebp - 0x3d]
movzx edx, word [ebp - 0x3f]
mov eax, dword [ebp - 0x3c]
lock dec dword [ecx]
jne 0x53ee6a
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], edx
call sym.alloc::sync::Arc_LT_T_C_A_GT_::drop_slow::h8cd4b74f60c80118
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
shl edx, 8
shl ebx, 0x18
or ebx, edx
or ebx, esi
lock dec dword [ecx]
jne 0x53ee85
mov esi, eax
call sym.alloc::sync::Arc_LT_T_C_A_GT_::drop_slow::h19d68d7e22e18a44
mov eax, esi
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], eax
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x50], 0
call sym.std::io::error::Error::kind::hed2cab29b561864c
cmp al, 0xd
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x10]
jne 0x53eeae
mov eax, dword [eax + 0x98]
test eax, eax
jne 0x53ef0d
movq xmm0, qword [ebp - 0x4c]
movq qword [edi], xmm0
jmp 0x53ef1c
mov ebx, dword [ebp - 0x28]
movq xmm0, qword [ebp - 0x50]
neg eax
shl eax, 4
mov edi, dword [ebx + eax - 0xc]
mov esi, dword [ebx + eax - 8]
mov ecx, dword [ebx + eax - 4]
movq qword [ebx + eax - 0xc], xmm0
mov edx, dword [ebp - 0x48]
test edi, edi
mov dword [ebx + eax - 4], edx
je 0x53ef01
push ecx
call sub.kernel32.dll_CloseHandle
lock dec dword [edi]
jne 0x53eef5
mov ecx, edi
call sym.alloc::sync::Arc_LT_T_C_A_GT_::drop_slow::h19d68d7e22e18a44
lock dec dword [esi]
jne 0x53ef01
mov ecx, esi
call sym.alloc::sync::Arc_LT_T_C_A_GT_::drop_slow::h8cd4b74f60c80118
cmp dword [ebp - 0x50], 0
mov esi, dword [ebp - 0x24]
mov edi, dword [ebp - 0x44]
jne 0x53ef19
lea eax, [ebp - 0x4c]
push eax
call sym.core::ptr::drop_in_place_LT_std..io..error..Error_GT_::h521c7a97d3bd2b25
add esp, 4
mov byte [edi], 5
xor ecx, ecx
mov al, 1
lock cmpxchg byte [esi], cl
jne 0x53ef31
add esp, 0x88
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, esi
add esp, 0x88
pop esi
pop edi
pop ebx
pop ebp
jmp sym.parking_lot::raw_mutex::RawMutex::unlock_slow::hbfa53ea6d3774a41
mov esi, dword [ebp - 0x80]
movzx eax, byte [ebx + esi]
test al, al
js 0x53ef5d
movdqa xmm0, xmmword [ebx]
pmovmskb eax, xmm0
tzcnt esi, eax
movzx eax, byte [ebx + esi]
and al, 1
mov edx, dword [ebp - 0x7c]
movzx eax, al
sub dword [ecx + 0x48], eax
lea eax, [esi - 0x10]
and eax, edi
mov byte [ebx + esi], dl
mov byte [ebx + eax + 0x10], dl
inc dword [ecx + 0x4c]
mov ecx, dword [ebp - 0x20]
shl esi, 4
mov eax, ebx
sub eax, esi
neg esi
mov dword [eax - 0x10], ecx
movq xmm0, qword [ebp - 0x50]
movq qword [ebx + esi - 0xc], xmm0
mov ecx, dword [ebp - 0x48]
mov dword [eax - 4], ecx
cmp dword [ebp - 0x50], 0
mov esi, dword [ebp - 0x24]
mov edi, dword [ebp - 0x44]
jne 0x53ef19
jmp 0x53ef0d
lea esi, [ebp - 0x38]
mov ecx, 4
mov edx, 0x18
call sym.alloc::alloc::handle_alloc_error::h3ca6a9ac69c8e3db
jmp 0x53eb68
mov ecx, 4
mov edx, 0x1c
call sym.alloc::alloc::handle_alloc_error::h3ca6a9ac69c8e3db
jmp 0x53eb68
cmp byte [ebp - 0x1c], 0
jne 0x53efe9
lock dec dword [ebx]
jne 0x53efe9
mov ecx, ebx
call sym.alloc::sync::Arc_LT_T_C_A_GT_::drop_slow::h270c972412bfc9d1
lea eax, [ebp - 0x40]
mov edx, 0x46
mov ecx, str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destruction_rustc_f6e511eec7342f59a25f7c0534f1dbea00d01b14library_std_src_threadlocal.rs
push 0x5b19c4
push 0x5b3a3c
push eax
call sym.core::result::unwrap_failed::h534a40e08cfe968a
add esp, 0xc
jmp 0x53eb68
lea eax, [ebp - 0x40]
mov edx, 0x46
mov ecx, str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destruction_rustc_f6e511eec7342f59a25f7c0534f1dbea00d01b14library_std_src_threadlocal.rs
push 0x5b19c4
push 0x5b3a3c
push eax
call sym.core::result::unwrap_failed::h534a40e08cfe968a
add esp, 0xc
jmp 0x53eb68
add ecx, 8
call sym.std::thread::scoped::ScopeData::overflow::h8ab5bb6cc55a9a1b
jmp 0x53eb68
mov ecx, 0x5b5f84
call sym.core::panicking::panic_const::panic_const_add_overflow::hf3b41c4c75c49a6d
jmp 0x53eb68
cmp eax, ecx
ja 0x53f1ad
mov esi, dword [ebx + eax + 4]
mov edx, dword [ebx + eax]
mov edi, 0x1010100
sub edi, esi
or edi, esi
mov esi, 0x1010100
sub esi, edx
or esi, edx
and esi, edi
not esi
test esi, 0x80808080
jne 0x53f1ad
add eax, 8
jmp 0x53f17f
mov edx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x44]
sub edx, eax
je 0x53f1cb
lea esi, [ebx + eax]
xor ecx, ecx
nop dword [eax]
cmp byte [esi + ecx], 0
je 0x53f1fc
inc ecx
cmp edx, ecx
jne 0x53f1c0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x40]
call sym.alloc::ffi::c_str::CString::_from_vec_unchecked::hf2008e32a538d265
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x40], 1
lea ecx, [ebp - 0x40]
call sym.std::thread::Thread::new_inner::h8355cd776b7e609e
jmp 0x53eb9c
add ecx, eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ecx
lea eax, [ebp - 0x40]
mov edx, 0x2f
mov ecx, str.thread_name_may_not_contain_interior_null_bytes
push 0x5b15a4
push 0x5b0970
push eax
call sym.core::result::unwrap_failed::h534a40e08cfe968a
add esp, 0xc
jmp 0x53eb68