Function at 0x5a0550
Capabilities:
Link many functions at runtime
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x450
mov dword [esp + 0x54], edx
mov dword [esp + 0x4c], ecx
push 0x715148
call sub.KERNEL32.dll_AcquireSRWLockExclusive
mov eax, dword [0x715168]
test eax, 0x7fffffff
jne 0x5a0c39
mov dword [esp + 0x1c], 0
movzx eax, byte [0x71514c]
mov dword [esp + 8], 0
mov dword [esp + 0xc], 4
mov dword [esp + 0x10], 0
call sub.KERNEL32.dll_GetCurrentProcess
mov dword [esp + 0x24], eax
call sub.KERNEL32.dll_GetCurrentThread
mov dword [esp + 0x20], eax
lea esi, [esp + 0x170]
push 0x2d0
push 0
push esi
call sub.msvcrt.dll_memset
add esp, 0xc
push esi
call sub.ntdll.dll_RtlCaptureContext
mov ecx, dword [0x71516c]
test ecx, ecx
je 0x5a06d4
push 0
push 0xffffffffffffffff
mov dword [esp + 0x20], ecx
push ecx
call sub.KERNEL32.dll_WaitForSingleObjectEx
mov eax, dword [0x7151b0]
test eax, eax
jne 0x5a0613
push str.dbghelp.dll
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
mov dword [0x7151b0], eax
je 0x5a0aa7
cmp byte [0x715170], 0
jne 0x5a06b0
mov ecx, dword [0x7151b4]
test ecx, ecx
jne 0x5a0644
push str.SymGetOptions
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x5a0c8b
mov ecx, eax
mov dword [0x7151b4], eax
call ecx
mov esi, eax
mov eax, dword [0x7151b8]
test eax, eax
jne 0x5a066e
push str.SymSetOptions
push dword [0x7151b0]
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x5a0c92
mov dword [0x7151b8], eax
or esi, 4
push esi
call eax
mov esi, dword [0x7151bc]
test esi, esi
jne 0x5a069d
push str.SymInitializeW
push dword [0x7151b0]
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x5a0c99
mov esi, eax
mov dword [0x7151bc], eax
call sub.KERNEL32.dll_GetCurrentProcess
push 1
push 0
push eax
call esi
mov byte [0x715170], 1
mov eax, dword [0x7151c4]
test eax, eax
mov dword [esp + 0x14], eax
je 0x5a07a8
mov esi, dword [0x7151c8]
test esi, esi
jne 0x5a07f6
jmp 0x5a07d7
push 0x21
push str.LocalRustBacktraceMutex00000000
lea eax, [esp + 0x68]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
call fcn.006ae520
test eax, eax
je 0x5a0735
mov ecx, 0x1f
nop word cs:[eax + eax]
cmp ecx, 0x20
ja 0x5a0c62
mov edx, eax
mov esi, eax
and dl, 0xf
mov dh, dl
mov ebx, edx
add bl, 0x37
or dh, 0x30
cmp dl, 0xa
movzx edx, dh
movzx ebx, bl
cmovb ebx, edx
shr esi, 4
mov byte [esp + ecx + 0x60], bl
dec ecx
cmp eax, 0x10
mov eax, esi
jae 0x5a0700
movsd xmm1, qword [esp + 0x70]
movzx eax, byte [esp + 0x80]
movsd xmm0, qword [esp + 0x78]
movsd xmm2, qword [esp + 0x60]
movsd qword [esp + 0x38], xmm1
movsd xmm1, qword [esp + 0x68]
mov byte [esp + 0x48], al
movsd qword [esp + 0x40], xmm0
movsd qword [esp + 0x28], xmm2
movsd qword [esp + 0x30], xmm1
lea eax, [esp + 0x28]
push eax
push 0
push 0
call sub.KERNEL32.dll_CreateMutexA
test eax, eax
je 0x5a0aa0
mov ecx, eax
xor eax, eax
lock cmpxchg dword [0x71516c], ecx
je 0x5a05e5
mov esi, eax
push ecx
call sub.KERNEL32.dll_CloseHandle
mov ecx, esi
jmp 0x5a05e5
push str.SymFunctionTableAccess64
push dword [0x7151b0]
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
mov dword [esp + 0x14], eax
je 0x5a0c75
mov eax, dword [esp + 0x14]
mov dword [0x7151c4], eax
mov esi, dword [0x7151c8]
test esi, esi
jne 0x5a07f6
push str.SymGetModuleBase64
push dword [0x7151b0]
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x5a0c75
mov esi, eax
mov dword [0x7151c8], eax
call sub.KERNEL32.dll_GetCurrentProcess
mov edi, dword [0x7151cc]
mov dword [esp + 0x50], eax
test edi, edi
jne 0x5a0828
push str.StackWalkEx
push dword [0x7151b0]
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x5a0ab7
mov edi, eax
mov dword [0x7151cc], eax
lea eax, [esp + 0x68]
push 0x108
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov eax, dword [esp + 0x224]
mov ecx, dword [esp + 0x228]
mov edx, dword [esp + 0x234]
mov dword [esp + 0x168], 0x110
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], ecx
mov dword [esp + 0x6c], 3
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], 0
mov dword [esp + 0x9c], 3
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], 0
mov dword [esp + 0x8c], 3
push 0
push 0
push esi
push dword [esp + 0x20]
push 0
lea eax, [esp + 0x184]
push eax
lea eax, [esp + 0x78]
push eax
push dword [esp + 0x3c]
push dword [esp + 0x44]
push 0x14c
call edi
cmp eax, 1
jne 0x5a09d8
mov dword [esp + 0x58], edi
mov edi, dword [esp + 0x10]
mov dword [esp + 4], 0
mov dword [esp + 0x5c], esi
jmp 0x5a097d
mov eax, dword [esp + 0xc]
movsd xmm0, qword [esp + 0x38]
lea ecx, [edi + edi*2]
xor esi, dword [esp + 0x54]
inc edi
movsd qword [eax + ecx*8 + 0x10], xmm0
movsd xmm0, qword [esp + 0x28]
movsd xmm1, qword [esp + 0x30]
movsd qword [eax + ecx*8 + 8], xmm1
movsd qword [eax + ecx*8], xmm0
mov eax, dword [esp + 4]
mov ecx, 1
mov dword [esp + 0x10], edi
or esi, eax
cmove ebx, edi
cmove eax, ecx
mov dword [esp + 4], eax
push 0
push 0
mov esi, dword [esp + 0x64]
push esi
push dword [esp + 0x20]
push 0
lea eax, [esp + 0x184]
push eax
lea eax, [esp + 0x78]
push eax
push dword [esp + 0x3c]
push dword [esp + 0x44]
push 0x14c
call dword [esp + 0x80]
cmp eax, 1
jne 0x5a09e0
push dword [esp + 0x64]
push dword [esp + 0x64]
push dword [esp + 0x58]
call esi
mov esi, dword [esp + 0x60]
cmp edi, dword [esp + 8]
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 4
mov dword [esp + 0x30], 0
jne 0x5a0900
lea ecx, [esp + 8]
mov edx, edi
call fcn.00589c90
mov edi, dword [esp + 0x10]
jmp 0x5a0900
mov dword [esp + 4], 0
push dword [esp + 0x18]
call sub.KERNEL32.dll_ReleaseMutex
mov eax, dword [esp + 4]
cmp dword [esp + 0x10], 0
je 0x5a0a31
mov edx, dword [esp + 0x10]
movsd xmm0, qword [esp + 8]
mov ecx, dword [esp + 0x4c]
test eax, eax
cmove ebx, eax
mov dword [esp + 0x178], edx
movsd qword [esp + 0x170], xmm0
mov dword [ecx + 0xc], edx
movsd qword [ecx + 4], xmm0
mov dword [ecx], 2
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], 0
jmp 0x5a0a77
mov eax, dword [esp + 0x178]
mov ecx, dword [esp + 0x4c]
movsd xmm0, qword [esp + 0x170]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 8]
movsd qword [ecx + 4], xmm0
mov dword [ecx], 0
mov dword [ecx + 0x14], 0
test eax, eax
je 0x5a0a77
shl eax, 3
lea eax, [eax + eax*2]
push 4
push eax
push dword [esp + 0x14]
call fcn.004ed020
add esp, 0xc
cmp byte [esp + 0x1c], 0
jne 0x5a0a8e
mov eax, dword [0x715168]
test eax, 0x7fffffff
jne 0x5a0c49
push 0x715148
call sub.KERNEL32.dll_ReleaseSRWLockExclusive
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
jmp 0x5a09ed
push dword [esp + 0x18]
call sub.KERNEL32.dll_ReleaseMutex
xor eax, eax
jmp 0x5a09ed
lea eax, [esp + 0x68]
push 0x100
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov ecx, dword [esp + 0x228]
mov eax, dword [esp + 0x224]
mov edx, dword [esp + 0x234]
mov dword [esp + 0x64], 0
mov dword [esp + 4], 0
mov dword [esp + 0x60], ecx
mov dword [esp + 0x6c], 3
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], 0
mov dword [esp + 0x9c], 3
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], 0
mov dword [esp + 0x8c], 3
jmp 0x5a0b8c
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
movsd xmm0, qword [esp + 0x38]
lea ecx, [edx + edx*2]
xor edi, dword [esp + 0x54]
inc edx
movsd qword [eax + ecx*8 + 0x10], xmm0
movsd xmm0, qword [esp + 0x28]
movsd xmm1, qword [esp + 0x30]
movsd qword [eax + ecx*8 + 8], xmm1
movsd qword [eax + ecx*8], xmm0
mov eax, dword [esp + 4]
mov ecx, 1
mov dword [esp + 0x10], edx
or edi, eax
cmove eax, ecx
cmove ebx, edx
mov dword [esp + 4], eax
mov eax, dword [0x7151c0]
test eax, eax
jne 0x5a0bb2
push str.StackWalk64
push dword [0x7151b0]
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x5a0c75
mov dword [0x7151c0], eax
push 0
push esi
push dword [esp + 0x1c]
push 0
lea ecx, [esp + 0x180]
push ecx
lea ecx, [esp + 0x74]
push ecx
push dword [esp + 0x38]
push dword [esp + 0x40]
push 0x14c
call eax
cmp eax, 1
jne 0x5a09e0
push dword [esp + 0x64]
push dword [esp + 0x64]
push dword [esp + 0x58]
call esi
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x60]
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x34], eax
cmp edx, dword [esp + 8]
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 4
mov dword [esp + 0x30], 0
jne 0x5a0b44
lea ecx, [esp + 8]
call fcn.00589c90
jmp 0x5a0b40
call fcn.005b7e00
xor al, 1
mov dword [esp + 0x1c], eax
jmp 0x5a0589
call fcn.005b7e00
test al, al
jne 0x5a0a8e
mov byte [0x71514c], 1
jmp 0x5a0a8e
push 0x6e4578
push 0x21
push 0xffffffffffffffff
call fcn.004fac30
add esp, 0xc
jmp 0x5a0cae
push 0x6e5bc0
push 0x2b
push str.called__Option::unwrap____on_a__None__value_rustc_07dca489ac2d933c78d3c5158e3f43beefeb02celibrarycore_srcio_borrowed_buf.rs_rustc_07dca489ac2d933c78d3c5158e3f43beefeb02celibrary_alloc_srccollections_btree_navigate.rs
call fcn.004faaf0
add esp, 0xc
jmp 0x5a0cae
mov eax, 0x6e4524
jmp 0x5a0c9e
mov eax, 0x6e4534
jmp 0x5a0c9e
mov eax, 0x6e4544
push eax
push 0x2b
push str.called__Option::unwrap____on_a__None__value_rustc_07dca489ac2d933c78d3c5158e3f43beefeb02celibrarycore_srcio_borrowed_buf.rs_rustc_07dca489ac2d933c78d3c5158e3f43beefeb02celibrary_alloc_srccollections_btree_navigate.rs
call fcn.004faaf0
add esp, 0xc
ud2