Function at 0x538f10
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 + 4]
mov dword [eax + 4], 0
test esi, esi
je 0x539217
movsd xmm0, qword [eax + 0x28]
movsd qword [esp + 0x5c], xmm0
movsd xmm0, qword [eax + 0x20]
movsd qword [esp + 0x54], xmm0
movsd xmm0, qword [eax + 0x18]
movsd qword [esp + 0x4c], xmm0
movsd xmm0, qword [eax + 8]
movsd xmm1, qword [eax + 0x10]
mov dword [esp + 0x64], esi
movsd qword [esp + 0x44], xmm1
movsd qword [esp + 0x3c], xmm0
movsd xmm0, qword [eax + 8]
movsd xmm1, qword [eax + 0x10]
movsd qword [esp + 0x68], xmm0
movsd qword [esp + 0x70], xmm1
movsd xmm0, qword [eax + 0x18]
movsd qword [esp + 0x78], xmm0
movsd xmm0, qword [eax + 0x20]
movsd qword [esp + 0x80], xmm0
movsd xmm0, qword [eax + 0x28]
movsd qword [esp + 0x88], xmm0
call sym.std::sys::common::thread_local::os_local::Key_LT_T_GT_::get::h9a8ba225ee42ef50
test eax, eax
je 0x539228
mov eax, dword [eax]
test eax, eax
je 0x53924b
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 xmm2, qword [esp + 0x6c]
movsd xmm1, qword [esp + 0x74]
mov ecx, dword [ebp + 8]
movsd xmm0, qword [esp + 0x64]
movsd qword [esp + 0x10], xmm2
movsd qword [esp + 0x18], xmm1
movaps xmmword [esp + 0x90], xmm0
mov eax, dword [ecx + 0x30]
test eax, eax
je 0x539162
cmp eax, 1
jne 0x5390c2
mov ebx, dword [ecx + 0x34]
test ebx, ebx
je 0x5390f7
mov esi, dword [ecx + 0x3c]
lea eax, [ecx + 0x38]
mov dword [esp + 0xc], eax
dec esi
jmp 0x539088
push ebx
push 0
push dword [0x5da100]
call sub.kernel32.dll_HeapFree
mov ecx, dword [ebp + 8]
dec esi
test edi, edi
mov ebx, edi
je 0x5390f7
mov edi, dword [ebx + 0xc]
lea eax, [edi + 0x10]
test edi, edi
mov dword [ecx + 0x34], edi
cmove eax, dword [esp + 0xc]
mov dword [eax], 0
mov dword [ecx + 0x3c], esi
mov ecx, dword [ebx]
mov edx, dword [ebx + 8]
call sym.__LT_alloc..vec..Vec_LT_T_C_A_GT__u20_as_u20_core..ops..drop..Drop_GT_::drop::hb9625c0d2aacfb1c
cmp dword [ebx + 4], 0
je 0x539070
push dword [ebx]
push 0
push dword [0x5da100]
call sub.kernel32.dll_HeapFree
jmp 0x539070
mov esi, dword [ecx + 0x34]
mov edi, dword [ecx + 0x38]
push esi
call dword [edi]
mov ecx, dword [ebp + 8]
add esp, 4
cmp dword [edi + 4], 0
je 0x539162
cmp dword [edi + 8], 9
jb 0x5390e4
mov esi, dword [esi - 4]
push esi
push 0
push dword [0x5da100]
call sub.kernel32.dll_HeapFree
mov ecx, dword [ebp + 8]
jmp 0x539162
mov ebx, dword [ecx + 0x40]
test ebx, ebx
je 0x539162
mov esi, dword [ecx + 0x48]
lea eax, [ecx + 0x44]
mov dword [esp + 0xc], eax
dec esi
jmp 0x539128
push ebx
push 0
push dword [0x5da100]
call sub.kernel32.dll_HeapFree
mov ecx, dword [ebp + 8]
dec esi
test edi, edi
mov ebx, edi
je 0x539162
mov edi, dword [ebx + 0xc]
lea eax, [edi + 0x10]
test edi, edi
mov dword [ecx + 0x40], edi
cmove eax, dword [esp + 0xc]
mov dword [eax], 0
mov dword [ecx + 0x48], esi
mov ecx, dword [ebx]
mov edx, dword [ebx + 8]
call sym.__LT_alloc..vec..Vec_LT_T_C_A_GT__u20_as_u20_core..ops..drop..Drop_GT_::drop::hb9625c0d2aacfb1c
cmp dword [ebx + 4], 0
je 0x539110
push dword [ebx]
push 0
push dword [0x5da100]
call sub.kernel32.dll_HeapFree
jmp 0x539110
movaps xmm0, xmmword [esp + 0x90]
mov dword [ecx + 0x30], 1
movlps qword [ecx + 0x34], xmm0
movsd xmm0, qword [esp + 0x10]
movsd xmm1, qword [esp + 0x18]
movsd qword [ecx + 0x3c], xmm0
movsd qword [ecx + 0x44], xmm1
mov edi, dword [ecx]
push edi
call sub.kernel32.dll_AcquireSRWLockExclusive
mov eax, dword [0x5da168]
test eax, 0x7fffffff
jne 0x5391d4
xor ebx, ebx
movzx eax, byte [edi + 4]
test al, al
jne 0x5391e6
lea eax, [edi + 8]
mov byte [edi + 5], 1
push eax
call sub.kernel32.dll_WakeAllConditionVariable
test bl, bl
jne 0x5391c6
mov eax, dword [0x5da168]
test eax, 0x7fffffff
jne 0x539208
push edi
call sub.kernel32.dll_ReleaseSRWLockExclusive
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call dbg.is_zero_slow_path
mov ebx, eax
xor bl, 1
movzx eax, byte [edi + 4]
test al, al
je 0x5391a9
mov ecx, str.called__Result::unwrap____on_an__Err__value
mov edx, 0x2b
mov dword [esp + 0x10], edi
mov byte [esp + 0x14], bl
push 0x5bd2f8
push 0x5bd284
lea eax, [esp + 0x18]
jmp 0x539240
call dbg.is_zero_slow_path
test al, al
jne 0x5391c6
mov byte [edi + 4], 1
jmp 0x5391c6
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 0x53925a
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 0x5bd254
call dbg.panic
add esp, 4
ud2