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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x268
mov eax, dword [ebp + 0x10]
mov dword [esp + 0xc], ecx
mov ecx, dword [ebp + 0x1c]
mov edi, dword [ebp + 0x18]
mov dword [esp + 0x78], edx
shr edx, 1
cmp edx, eax
mov dword [esp + 0x84], eax
jae 0x1005d944
test edi, edi
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 8
mov dword [esp + 0x28], 0
je 0x1005d9ea
mov edx, dword [ebp + 0x14]
mov esi, dword [ecx + 4]
lea eax, [edx + edi*4]
mov edi, dword [ecx]
mov dword [esp + 0x6c], esi
mov esi, dword [ecx + 0xc]
mov dword [esp + 0x68], eax
mov dword [esp + 0x70], edi
mov edi, dword [ecx + 8]
mov ecx, dword [ecx + 0x10]
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], ecx
jmp 0x1005d2c6
mov edx, dword [esp + 0x38]
lea ecx, [ecx + esi - 0xe8]
movzx eax, byte [edx + 8]
mov byte [esp + 0x90], al
movsd xmm0, qword [edx]
lea edx, [esp + 0x88]
movsd qword [esp + 0x88], xmm0
push dword [esp + 0x48]
push dword [esp + 0x50]
mov eax, dword [esp + 0x44]
push dword [eax + 4]
push dword [eax]
mov eax, dword [esp + 0x44]
push dword [eax + 4]
push dword [eax]
call sym.sysinfo::windows::process::ProcessInner::update::h27fd69d6b64194c7
add esp, 0x18
mov eax, dword [esp + 0x40]
mov dword [edi - 0xe8], eax
mov eax, dword [esp + 0x44]
mov dword [edi - 0xe4], eax
lea eax, [esp + 0x20]
mov edx, dword [esp + 0x74]
mov ecx, dword [eax + 8]
movq xmm0, qword [eax]
add edx, 4
movq qword [esp + 0x20], xmm0
mov dword [esp + 0x28], ecx
cmp edx, dword [esp + 0x68]
je 0x1005d978
mov ecx, dword [esp + 0x70]
mov eax, dword [edx]
mov dword [esp + 0x74], edx
lock inc dword [ecx]
movzx ecx, word [eax + 0x38]
mov edx, dword [eax + 0x48]
mov ebx, dword [eax + 0x44]
mov dword [esp + 0x14], ecx
mov ecx, dword [eax + 0x3c]
mov dword [esp + 0x44], edx
mov dword [esp + 0x10], ecx
mov ecx, dword [eax + 0x5c]
mov eax, dword [eax + 0x68]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x48], eax
xor eax, eax
test edx, edx
setne al
mov dword [esp + 0x40], eax
mov esi, dword [ecx]
cmp dword [esi + 0xc], 0
je 0x1005d480
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
push ebx
push dword [esi + 0x1c]
push dword [esi + 0x18]
call sym.core::hash::BuildHasher::hash_one::h475afa8831dd7d10
add esp, 0xc
mov ecx, dword [esi + 4]
mov edi, dword [esi]
mov dword [esp + 4], 0
mov edx, ecx
mov dword [esp + 8], edi
and edx, eax
shr eax, 0x19
movd xmm0, eax
lea eax, [edi - 0xf0]
punpcklbw xmm0, xmm0
pshuflw xmm0, xmm0, 0
pshufd xmm0, xmm0, 0
movdqu xmm1, xmmword [edi + edx]
movdqa xmm2, xmm1
pcmpeqb xmm2, xmm0
pmovmskb edi, xmm2
test edi, edi
je 0x1005d38f
nop
tzcnt esi, edi
add esi, edx
and esi, ecx
neg esi
imul esi, esi, 0xf0
cmp dword [eax + esi], ebx
je 0x1005d3c0
lea esi, [edi - 1]
and si, di
mov edi, esi
jne 0x1005d370
pcmpeqd xmm2, xmm2
mov edi, dword [esp + 8]
pcmpeqb xmm1, xmm2
pmovmskb esi, xmm1
test esi, esi
jne 0x1005d480
mov esi, dword [esp + 4]
lea edx, [edx + esi + 0x10]
add esi, 0x10
mov dword [esp + 4], esi
and edx, ecx
jmp 0x1005d35a
mov ecx, dword [esp + 8]
mov eax, dword [ecx + esi - 0x10]
lea edi, [ecx + esi]
test eax, eax
je 0x1005d240
mov eax, dword [eax + 8]
lea ecx, [esp + 0x88]
mov dword [esp + 0x170], 0
mov dword [esp + 0x88], 0
mov dword [esp + 4], edi
mov dword [esp + 0x174], 0
mov dword [esp + 0x8c], 0
push ecx
push ecx
push ecx
lea ecx, [esp + 0x17c]
push ecx
push eax
call sub.kernel32.dll_GetProcessTimes
test eax, eax
jne 0x1005d427
call sub.kernel32.dll_GetLastError
mov eax, dword [esp + 0x170]
mov ecx, dword [esp + 0x174]
mov edx, 0xd53e8000
mov edi, 0x19db1de
cmp eax, edx
mov edx, ecx
sbb edx, edi
jb 0x1005dc40
push 0
push 0x989680
push ecx
push eax
call sym.___udivdi3
add esp, 0x10
mov edi, dword [esp + 4]
mov ecx, 0x49ef6f00
add eax, ecx
mov ecx, 0xfffffffd
adc edx, ecx
mov ecx, dword [esp + 8]
xor eax, dword [edi - 0x68]
xor edx, dword [edi - 0x64]
or edx, eax
je 0x1005d240
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x7c], ebx
test ecx, ecx
je 0x1005d4b0
mov eax, dword [esp + 0x14]
shr eax, 1
push eax
push ecx
lea eax, [esp + 0x58]
push eax
call sym.__LT_std..ffi..os_str..OsString_u20_as_u20_std..os..windows..ffi..OsStringExt_GT_::from_wide::h63b25de594ca01f2
add esp, 0xc
jmp 0x1005d5c5
test ebx, ebx
je 0x1005d503
cmp ebx, 4
jne 0x1005d540
mov eax, dword [0x100f2e44]
movzx eax, byte [eax]
sub esp, 0xc
mov dword [esp + 8], 6
mov dword [esp + 4], 0
call sym.std::sys::alloc::windows::process_heap_alloc::hc2bfe060f1f208f4
add esp, 0xc
test eax, eax
je 0x1005dc53
mov ecx, 6
mov edx, 6
mov word [eax + 4], 0x6d65
mov dword [eax], 0x74737953
jmp 0x1005d5b4
mov eax, dword [0x100f2e44]
movzx eax, byte [eax]
sub esp, 0xc
mov dword [esp + 8], 4
mov dword [esp + 4], 0
call sym.std::sys::alloc::windows::process_heap_alloc::hc2bfe060f1f208f4
add esp, 0xc
test eax, eax
je 0x1005dc5c
mov dword [eax], 0x656c6449
mov ecx, 4
mov edx, 4
jmp 0x1005d5b4
lea eax, [esp + 0x7c]
mov dword [esp + 0x88], 0x100f2584
mov dword [esp + 0x8c], 1
mov dword [esp + 0x98], 0
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x1c], sym.__LT_sysinfo..common..system..Pid_u20_as_u20_core..fmt..Display_GT_::fmt::h75e2d3736b2c8240
mov dword [esp + 0x90], eax
lea eax, [esp + 0x88]
mov dword [esp + 0x94], 1
push eax
lea eax, [esp + 0x174]
push eax
call sym.alloc::fmt::format::format_inner::h615817f0e0a04e8e
add esp, 8
mov ecx, dword [esp + 0x170]
mov eax, dword [esp + 0x174]
mov edx, dword [esp + 0x178]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], edx
mov byte [esp + 0x5c], 1
mov eax, dword [esp + 0x3c]
test ebx, ebx
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov dword [esp + 4], esi
je 0x1005d71a
push ebx
push 0
push 0x410
call sub.kernel32.dll_OpenProcess
mov ecx, eax
dec eax
cmp eax, 0xfffffffe
jb 0x1005d60d
call sub.kernel32.dll_GetLastError
push ebx
push 0
push 0x1000
call sub.kernel32.dll_OpenProcess
mov ecx, eax
dec eax
cmp eax, 0xfffffffe
jae 0x1005d715
lea eax, [esp + 0x170]
mov dword [esp + 0x18], 0
mov dword [esp + 0x170], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x174], 0
push eax
push eax
push eax
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x74], ecx
push ecx
call sub.kernel32.dll_GetProcessTimes
test eax, eax
jne 0x1005d655
call sub.kernel32.dll_GetLastError
mov dword [esp + 0x14], edi
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov eax, 0xd53e8000
mov ecx, 0x19db1de
cmp edi, eax
mov edx, esi
sbb edx, ecx
jb 0x1005dc40
mov eax, dword [0x100f2e44]
movzx eax, byte [eax]
sub esp, 0xc
mov dword [esp + 8], 0xc
mov dword [esp + 4], 0
call sym.std::sys::alloc::windows::process_heap_alloc::hc2bfe060f1f208f4
add esp, 0xc
test eax, eax
mov dword [esp + 0x60], eax
je 0x1005dc4a
push 0
push 0x989680
push esi
push edi
call sym.___udivdi3
add esp, 0x10
mov ecx, 0x49ef6f00
mov esi, dword [esp + 4]
add eax, ecx
mov ecx, 0xfffffffd
adc edx, ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 8], eax
mov edi, edx
cmp esi, eax
sbb ecx, edx
mov ecx, 0
cmovb edi, ecx
mov ecx, eax
mov eax, edx
mov edx, 0
cmovb ecx, edx
mov edx, esi
mov esi, dword [esp + 0x14]
sub edx, ecx
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x64]
mov ecx, esi
sbb ecx, edi
mov edi, dword [esp + 0x60]
mov dword [edi], 1
mov dword [edi + 4], 1
mov dword [edi + 8], edx
jmp 0x1005d732
call sub.kernel32.dll_GetLastError
mov esi, edi
mov dword [esp + 0x10], 0
xor ecx, ecx
mov dword [esp + 8], 0
xor eax, eax
xor edi, edi
movsd xmm0, qword [esp + 0x50]
movq xmm1, qword [esp + 0x58]
lea edx, [esp + 0x98]
movsd qword [edx], xmm0
movq qword [edx + 8], xmm1
mov dword [esp + 0x138], 0
mov dword [esp + 0x13c], 4
mov dword [esp + 0x140], 0
mov dword [esp + 0xa8], 0x80000000
mov dword [esp + 0x15c], ebx
mov ebx, dword [esp + 0x40]
xorps xmm0, xmm0
mov dword [esp + 0x150], 0x80000000
mov dword [esp + 0x144], 0
mov dword [esp + 0x148], 4
mov dword [esp + 0x14c], 0
mov dword [esp + 0xb8], 0x80000000
mov dword [esp + 0xc8], 0x80000000
movsd qword [edx + 0x48], xmm0
movsd qword [edx + 0x40], xmm0
mov dword [esp + 0x88], ebx
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], 1
mov dword [esp + 0x160], edi
movsd qword [edx + 0x68], xmm0
movsd qword [edx + 0x60], xmm0
movsd qword [edx + 0x58], xmm0
movsd qword [edx + 0x50], xmm0
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 8]
lea edi, [esp + 0x170]
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x114], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x110], eax
mov dword [esp + 0x164], 0
mov byte [esp + 0x168], 1
movsd qword [edx + 0x98], xmm0
movsd qword [edx + 0x90], xmm0
movsd qword [edx + 0x88], xmm0
movsd qword [edx + 0x80], xmm0
mov edx, edi
movzx eax, byte [ecx + 8]
mov byte [esp + 0x178], al
movsd xmm0, qword [ecx]
lea ecx, [esp + 0x88]
movsd qword [esp + 0x170], xmm0
push dword [esp + 0x48]
push dword [esp + 0x50]
push esi
push dword [esp + 0x10]
mov eax, dword [esp + 0x44]
push dword [eax + 4]
push dword [eax]
call sym.sysinfo::windows::process::ProcessInner::update::h27fd69d6b64194c7
add esp, 0x18
mov esi, dword [esp + 0x88]
push 0xe4
lea eax, [esp + 0x90]
push eax
push edi
call sub.msvcrt.dll_memcpy
add esp, 0xc
cmp esi, 2
lea eax, [esp + 0x20]
je 0x1005d2a4
movsd xmm0, qword [esp + 0x20]
mov edi, dword [esp + 0x28]
movsd qword [esp + 0x88], xmm0
mov dword [esp + 0x90], edi
cmp edi, dword [esp + 0x88]
jne 0x1005d906
lea ecx, [esp + 0x88]
call sym.alloc::raw_vec::RawVec_LT_T_C_A_GT_::grow_one::h0ceef5b35fd7f625
mov eax, dword [esp + 0x8c]
imul ecx, edi, 0xe8
mov dword [eax + ecx], esi
lea eax, [eax + ecx + 4]
push 0xe4
lea ecx, [esp + 0x174]
push ecx
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
inc edi
lea eax, [esp + 0x88]
mov dword [esp + 0x90], edi
jmp 0x1005d2a4
mov ebx, dword [ebp + 0xc]
cmp byte [ebp + 8], 0
je 0x1005d9de
xor ecx, ecx
mov dword [esp + 4], edx
call sym.__ZN10rayon_core8registry19WORKER_THREAD_STATE28__u7b__u7b_closure_u7d__u7d_17h0ff8e655c7f3bbb0E.llvm.6552185947209378814
test eax, eax
je 0x1005dccc
mov eax, dword [eax]
test eax, eax
je 0x1005da3b
add eax, 0x8c
jmp 0x1005da40
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
test ebx, ebx
je 0x1005da07
mov eax, dword [0x100f2e44]
movzx eax, byte [eax]
sub esp, 0xc
mov dword [esp + 8], 0x14
mov dword [esp + 4], 0
call sym.std::sys::alloc::windows::process_heap_alloc::hc2bfe060f1f208f4
add esp, 0xc
test eax, eax
je 0x1005dcea
mov ecx, dword [esp + 0xc]
mov dword [eax], edi
mov dword [eax + 4], esi
mov dword [eax + 8], ebx
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], 1
jmp 0x1005dbf8
test ebx, ebx
je 0x1005d1e1
shr ebx, 1
jmp 0x1005da53
mov eax, dword [esp + 0xc]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
jmp 0x1005dbf8
mov eax, dword [esp + 0xc]
test edi, edi
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
je 0x1005dbf8
mov eax, dword [0x100f2e2c]
push esi
push 0
push dword [eax]
call sub.kernel32.dll_HeapFree
jmp 0x1005dbf8
call sym.rayon_core::registry::global_registry::hcc408598382e73f9
mov eax, dword [eax]
mov edx, dword [esp + 4]
shr ebx, 1
mov eax, dword [eax + 0x104]
cmp eax, ebx
cmova ebx, eax
sub edi, edx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x50], edx
jb 0x1005dc83
mov esi, dword [ebp + 0x14]
lea eax, [esp + 0x78]
lea ecx, [esp + 0x80]
mov dword [esp + 0x88], eax
lea eax, [esp + 0x50]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
lea ebx, [esi + edx*4]
mov dword [esp + 0x94], ebx
mov ebx, dword [ebp + 0x1c]
mov dword [esp + 0x98], edi
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], esi
mov dword [esp + 0xac], edx
mov dword [esp + 0xb0], ebx
call sym.rayon_core::registry::WORKER_THREAD_STATE::__u7b__u7b_closure_u7d__u7d_::hfe4d049db9aefb1b
test eax, eax
je 0x1005dc65
mov eax, dword [eax]
test eax, eax
jne 0x1005db08
call sym.rayon_core::registry::global_registry::hcc408598382e73f9
mov esi, dword [eax]
call sym.rayon_core::registry::WORKER_THREAD_STATE::__u7b__u7b_closure_u7d__u7d_::hfe4d049db9aefb1b
test eax, eax
je 0x1005dc65
mov eax, dword [eax]
test eax, eax
je 0x1005dc00
cmp dword [eax + 0x8c], esi
jne 0x1005dc21
lea ecx, [esp + 0x170]
lea edx, [esp + 0x88]
push 0
push eax
call sym.rayon_core::join::join_context::__u7b__u7b_closure_u7d__u7d_::h37db05b7975d2284
add esp, 8
mov esi, dword [esp + 0x174]
mov edi, dword [esp + 0x170]
mov ebx, dword [esp + 0x17c]
mov eax, dword [esp + 0x180]
mov edx, dword [esp + 0x184]
test esi, esi
je 0x1005db64
mov ecx, dword [esp + 0x178]
test ebx, ebx
je 0x1005dbea
add ecx, edx
mov dword [esi + 0xc], ebx
mov dword [ebx + 0x10], esi
jmp 0x1005dbec
mov ecx, dword [esp + 0xc]
mov dword [ecx], ebx
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
jmp 0x1005db8e
push edi
push 0
push dword [esi]
call sub.kernel32.dll_HeapFree
mov edi, dword [esp + 8]
test edi, edi
je 0x1005dbf8
mov eax, dword [edi + 0xc]
test eax, eax
je 0x1005dba0
mov dword [eax + 0x10], 0
mov ebx, dword [edi + 8]
mov ecx, dword [edi + 4]
mov dword [esp + 8], eax
test ebx, ebx
mov dword [esp + 4], ecx
je 0x1005dbd0
mov esi, dword [esp + 4]
nop word cs:[eax + eax]
mov ecx, esi
call sym.core::ptr::drop_in_place_LT_sysinfo..common..system..Process_GT_::h2c56343498823b0d
add esi, 0xe8
dec ebx
jne 0x1005dbc0
cmp dword [edi], 0
mov esi, dword [0x100f2e2c]
je 0x1005db80
push dword [esp + 4]
push 0
push dword [esi]
call sub.kernel32.dll_HeapFree
jmp 0x1005db80
mov eax, esi
mov edx, dword [esp + 0xc]
mov dword [edx], edi
mov dword [edx + 4], eax
mov dword [edx + 8], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
add esi, 0x40
lea eax, [esp + 0x88]
lea ecx, [esp + 0x170]
mov edx, esi
push eax
call sym.rayon_core::registry::Registry::in_worker_cold::h9aa5757f55e0b990
add esp, 4
jmp 0x1005db21
add esi, 0x40
lea edi, [esp + 0x88]
lea ecx, [esp + 0x170]
mov edx, esi
push edi
push eax
call sym.rayon_core::registry::Registry::in_worker_cross::hd014bd706596f45e
jmp 0x1005db1e
push 0x100f2204
call sym.core::panicking::panic_const::panic_const_sub_overflow::h31f5191bdbee8bd5
push 0xc
push 4
call sym.alloc::alloc::handle_alloc_error::h3ca6a9ac69c8e3db
push 6
push 1
call sym.alloc::raw_vec::handle_error::he63c9115d026ec98
push 4
push 1
call sym.alloc::raw_vec::handle_error::he63c9115d026ec98
lea eax, [esp + 0x170]
push 0x100f1c54
push 0x100f1ee0
push eax
push 0x46
push str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destruction_rustc_f6e511eec7342f59a25f7c0534f1dbea00d01b14library_std_src_threadlocal.rs
call sym.core::result::unwrap_failed::h534a40e08cfe968a
mov dword [esp + 0x88], 0x100f2154
mov dword [esp + 0x8c], 1
mov dword [esp + 0x98], 0
mov dword [esp + 0x90], 4
mov dword [esp + 0x94], 0
lea eax, [esp + 0x88]
push 0x100f215c
push eax
call sym.core::panicking::panic_fmt::hced28cb7137b21e1
lea eax, [esp + 0x170]
push 0x100edf90
push 0x100edd50
push eax
push 0x46
push 0x100edef8
call sym.core::result::unwrap_failed::h534a40e08cfe968a
push 0x14
push 4
call sym.alloc::alloc::handle_alloc_error::h3ca6a9ac69c8e3db
nop word cs:[eax + eax]
nop dword [eax]