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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xb0
mov eax, dword [ebp + 8]
mov esi, dword [eax]
mov dword [eax], 0
test esi, esi
je 0x538eb0
movsd xmm0, qword [eax + 0x24]
mov dword [esp + 8], eax
movsd qword [esp + 0x5c], xmm0
movsd xmm0, qword [eax + 0x1c]
movsd qword [esp + 0x54], xmm0
movsd xmm0, qword [eax + 0x14]
movsd qword [esp + 0x4c], xmm0
movsd xmm0, qword [eax + 4]
movsd xmm1, qword [eax + 0xc]
mov dword [esp + 0x64], esi
movsd qword [esp + 0x44], xmm1
movsd qword [esp + 0x3c], xmm0
movsd xmm0, qword [eax + 4]
movsd xmm1, qword [eax + 0xc]
movsd qword [esp + 0x68], xmm0
movsd qword [esp + 0x70], xmm1
movsd xmm0, qword [eax + 0x14]
movsd qword [esp + 0x78], xmm0
movsd xmm0, qword [eax + 0x1c]
movsd qword [esp + 0x80], xmm0
movsd xmm0, qword [eax + 0x24]
movsd qword [esp + 0x88], xmm0
call sym.std::sys::common::thread_local::os_local::Key_LT_T_GT_::get::h9a8ba225ee42ef50
test eax, eax
je 0x538ec1
mov eax, dword [eax]
test eax, eax
je 0x538ee4
movsd xmm1, qword [esp + 0x44]
mov dword [esp + 0x10], esi
movsd xmm0, qword [esp + 0x3c]
movsd xmm2, qword [esp + 0x54]
lea ecx, [esp + 0x64]
lea edx, [esp + 0x10]
movsd qword [esp + 0x1c], xmm1
movsd xmm1, qword [esp + 0x4c]
movsd qword [esp + 0x14], xmm0
movsd qword [esp + 0x2c], xmm2
movsd qword [esp + 0x24], xmm1
movsd xmm1, qword [esp + 0x5c]
movsd qword [esp + 0x34], xmm1
push eax
call sym.__ZN10rayon_core4join12join_context28__u7b__u7b_closure_u7d__u7d_17h2682ccbfbc59d8cdE.8018
add esp, 4
movsd xmm0, qword [esp + 0x64]
movsd xmm2, qword [esp + 0x6c]
movsd xmm1, qword [esp + 0x74]
movaps xmmword [esp + 0x90], xmm0
movsd qword [esp + 0x10], xmm2
movsd qword [esp + 0x18], xmm1
mov ecx, dword [esp + 8]
mov eax, dword [ecx + 0x2c]
test eax, eax
je 0x538e33
cmp eax, 1
jne 0x538d93
mov esi, dword [ecx + 0x30]
test esi, esi
je 0x538dca
mov ebx, dword [ecx + 0x38]
lea eax, [ecx + 0x34]
mov dword [esp + 0xc], eax
dec ebx
jmp 0x538d59
push esi
push 0
push dword [0x5da100]
call sub.kernel32.dll_HeapFree
mov ecx, dword [esp + 8]
dec ebx
test edi, edi
mov esi, edi
je 0x538dca
mov edi, dword [esi + 0xc]
lea eax, [edi + 0x10]
test edi, edi
mov dword [ecx + 0x30], edi
cmove eax, dword [esp + 0xc]
mov dword [eax], 0
mov dword [ecx + 0x38], ebx
mov ecx, dword [esi]
mov edx, dword [esi + 8]
call sym.__LT_alloc..vec..Vec_LT_T_C_A_GT__u20_as_u20_core..ops..drop..Drop_GT_::drop::hb9625c0d2aacfb1c
cmp dword [esi + 4], 0
je 0x538d40
push dword [esi]
push 0
push dword [0x5da100]
call sub.kernel32.dll_HeapFree
jmp 0x538d40
mov esi, dword [ecx + 0x30]
mov edi, dword [ecx + 0x34]
push esi
call dword [edi]
mov ecx, dword [esp + 0xc]
add esp, 4
cmp dword [edi + 4], 0
je 0x538e33
cmp dword [edi + 8], 9
jb 0x538db6
mov esi, dword [esi - 4]
push esi
push 0
push dword [0x5da100]
call sub.kernel32.dll_HeapFree
mov ecx, dword [esp + 8]
jmp 0x538e33
mov esi, dword [ecx + 0x3c]
test esi, esi
je 0x538e33
mov ebx, dword [ecx + 0x44]
lea eax, [ecx + 0x40]
mov dword [esp + 0xc], eax
dec ebx
jmp 0x538df9
push esi
push 0
push dword [0x5da100]
call sub.kernel32.dll_HeapFree
mov ecx, dword [esp + 8]
dec ebx
test edi, edi
mov esi, edi
je 0x538e33
mov edi, dword [esi + 0xc]
lea eax, [edi + 0x10]
test edi, edi
mov dword [ecx + 0x3c], edi
cmove eax, dword [esp + 0xc]
mov dword [eax], 0
mov dword [ecx + 0x44], ebx
mov ecx, dword [esi]
mov edx, dword [esi + 8]
call sym.__LT_alloc..vec..Vec_LT_T_C_A_GT__u20_as_u20_core..ops..drop..Drop_GT_::drop::hb9625c0d2aacfb1c
cmp dword [esi + 4], 0
je 0x538de0
push dword [esi]
push 0
push dword [0x5da100]
call sub.kernel32.dll_HeapFree
jmp 0x538de0
movaps xmm0, xmmword [esp + 0x90]
mov dword [ecx + 0x2c], 1
movlps qword [ecx + 0x30], xmm0
movsd xmm0, qword [esp + 0x10]
movsd xmm1, qword [esp + 0x18]
movsd qword [ecx + 0x38], xmm0
movsd qword [ecx + 0x40], xmm1
mov eax, dword [ecx + 0x48]
movzx ebx, byte [ecx + 0x54]
mov esi, dword [eax]
test bl, bl
je 0x538e74
lock inc dword [esi]
jle 0x538efd
mov esi, dword [eax]
mov eax, 3
mov edx, dword [ecx + 0x50]
xchg dword [ecx + 0x4c], eax
cmp eax, 2
jne 0x538e91
mov ecx, esi
add ecx, 0xfc
call sym.rayon_core::sleep::Sleep::wake_specific_thread::h62f4d9f0c56a8047
test bl, bl
je 0x538ea8
lock dec dword [esi]
jne 0x538ea8
mov ecx, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
jmp sym.alloc::sync::Arc_LT_T_GT_::drop_slow::he51891b894518086
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, str.called__Option::unwrap____on_a__None__valueC:UsersTEST.cargo_registry_srcindex.crates.io_6f17d22bba15001fwinapi_util_0.1.5_srcwin.rs
mov edx, 0x2b
push 0x5bd308
jmp 0x538ef3
lea eax, [esp + 0x10]
mov ecx, 0x5bfdd0
mov edx, 0x46
push 0x5bfe68
push 0x5bd274
push eax
call dbg.unwrap_failed
add esp, 0xc
ud2
mov ecx, 0x5bd1b8
mov edx, 0x36
push 0x5bd264
call dbg.panic
add esp, 4
ud2
ud2