Function at 0x539270
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 0x539577
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 0x539588
mov eax, dword [eax]
test eax, eax
je 0x5395ab
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_17h168f1c1e749b069fE.8003
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 0x5394c2
cmp eax, 1
jne 0x539422
mov ebx, dword [ecx + 0x34]
test ebx, ebx
je 0x539457
mov esi, dword [ecx + 0x3c]
lea eax, [ecx + 0x38]
mov dword [esp + 0xc], eax
dec esi
jmp 0x5393e8
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 0x539457
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::h89639be847f9e3fc
cmp dword [ebx + 4], 0
je 0x5393d0
push dword [ebx]
push 0
push dword [0x5da100]
call sub.kernel32.dll_HeapFree
jmp 0x5393d0
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 0x5394c2
cmp dword [edi + 8], 9
jb 0x539444
mov esi, dword [esi - 4]
push esi
push 0
push dword [0x5da100]
call sub.kernel32.dll_HeapFree
mov ecx, dword [ebp + 8]
jmp 0x5394c2
mov ebx, dword [ecx + 0x40]
test ebx, ebx
je 0x5394c2
mov esi, dword [ecx + 0x48]
lea eax, [ecx + 0x44]
mov dword [esp + 0xc], eax
dec esi
jmp 0x539488
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 0x5394c2
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::h89639be847f9e3fc
cmp dword [ebx + 4], 0
je 0x539470
push dword [ebx]
push 0
push dword [0x5da100]
call sub.kernel32.dll_HeapFree
jmp 0x539470
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 0x539534
xor ebx, ebx
movzx eax, byte [edi + 4]
test al, al
jne 0x539546
lea eax, [edi + 8]
mov byte [edi + 5], 1
push eax
call sub.kernel32.dll_WakeAllConditionVariable
test bl, bl
jne 0x539526
mov eax, dword [0x5da168]
test eax, 0x7fffffff
jne 0x539568
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 0x539509
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 0x5395a0
call dbg.is_zero_slow_path
test al, al
jne 0x539526
mov byte [edi + 4], 1
jmp 0x539526
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 0x5395ba
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