Function at 0x52aed0
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, 0x470
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov bh, byte [eax]
mov byte [esp + 5], bh
lea ecx, [esp + 0x190]
call dbg.current_dir
mov bl, byte [esp + 0x19c]
cmp bl, 2
jne 0x52af15
lea ecx, [esp + 0x190]
call dbg.drop_in_place<core::result::Result<std::path::PathBuf, std::io::error::Error>>
mov bh, byte [esp + 5]
jmp 0x52af48
mov eax, dword [esp + 0x198]
movsd xmm0, qword [esp + 0x190]
movzx edx, word [esp + 0x19d]
movzx ecx, byte [esp + 0x19f]
mov dword [esp + 0x58], eax
movsd qword [esp + 0x50], xmm0
mov word [esp + 8], dx
mov byte [esp + 0xa], cl
mov eax, dword [esp + 0x58]
mov byte [esp + 0x30], bh
movsd xmm0, qword [esp + 0x50]
mov edx, dword [esi + 0x18]
mov ecx, dword [esi + 0x14]
mov dword [esp + str.stack_backtrace:_n], 0x5bb0d4
mov dword [esp + 0x194], 1
mov dword [esp + 0x198], str.Lazy_instance_has_previously_been_poisoned
mov dword [esp + 0x19c], 0
mov dword [esp + 0x1a0], 0
mov dword [esp + 0x28], eax
movzx eax, word [esp + 8]
movsd qword [esp + 0x20], xmm0
mov byte [esp + 0x2c], bl
mov word [esp + 0x2d], ax
movzx eax, byte [esp + 0xa]
mov byte [esp + 0x2f], al
lea eax, [esp + 0x190]
push eax
call sym.core::fmt::write::hbafebe5e7c26ad3e
add esp, 4
test al, al
jne 0x52b324
movzx eax, byte [esp + 5]
mov dword [esp + 0x5c], esi
mov dword [esp + 0x68], 0
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0
mov byte [esp + 6], 0
mov byte [esp + 0x6c], al
test al, al
lea eax, [esp + 5]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], 0x5bb0dc
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x38]
setne byte [esp + 7]
mov dword [esp + 0x40], eax
lea eax, [esp + 7]
mov dword [esp + 0x44], eax
lea eax, [esp + 6]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x5c]
mov dword [esp + 0x4c], eax
call sub.kernel32.dll_GetCurrentProcess
mov dword [esp + 0x1c], eax
call sub.kernel32.dll_GetCurrentThread
mov dword [esp + 0x18], eax
push 0x2d0
push 0
lea esi, [esp + 0x198]
push esi
call sub.msvcrt.dll_memset
add esp, 0xc
push esi
call sub.ntdll.dll_RtlCaptureContext
mov edi, dword [0x5da0ec]
test edi, edi
je 0x52b155
push 0
push 0xffffffffffffffff
push edi
call sub.kernel32.dll_WaitForSingleObjectEx
mov eax, dword [0x5da140]
test eax, eax
jne 0x52b094
push 0x5bc660
call sub.kernel32.dll_LoadLibraryA
test eax, eax
mov dword [0x5da140], eax
je 0x52b3cf
cmp byte [0x5da0f0], 0
jne 0x52b134
mov ecx, dword [0x5da144]
test ecx, ecx
jne 0x52b0c5
push str.SymGetOptions
push eax
call sub.kernel32.dll_GetProcAddress
test eax, eax
je 0x52b50f
mov ecx, eax
mov dword [0x5da144], eax
call ecx
mov ecx, dword [0x5da148]
mov esi, eax
test ecx, ecx
jne 0x52b0f2
push str.SymSetOptions
push dword [0x5da140]
call sub.kernel32.dll_GetProcAddress
test eax, eax
je 0x52b516
mov ecx, eax
mov dword [0x5da148], eax
or esi, 4
push esi
call ecx
mov esi, dword [0x5da14c]
test esi, esi
jne 0x52b121
push str.SymInitializeW
push dword [0x5da140]
call sub.kernel32.dll_GetProcAddress
test eax, eax
je 0x52b51d
mov esi, eax
mov dword [0x5da14c], eax
call sub.kernel32.dll_GetCurrentProcess
push 1
push 0
push eax
call esi
mov byte [0x5da0f0], 1
mov eax, dword [0x5da154]
mov dword [esp + 0x10], edi
test eax, eax
mov dword [esp + 0xc], eax
je 0x52b18c
mov ebx, dword [0x5da158]
test ebx, ebx
jne 0x52b1da
jmp 0x52b1bb
push str.LocalRustBacktraceMutex
push 0
push 0
call sub.kernel32.dll_CreateMutexA
test eax, eax
je 0x52b31a
mov edi, eax
xor eax, eax
lock cmpxchg dword [0x5da0ec], edi
je 0x52b06a
mov esi, eax
push edi
call sub.kernel32.dll_CloseHandle
mov edi, esi
jmp 0x52b06a
push str.SymFunctionTableAccess64
push dword [0x5da140]
call sub.kernel32.dll_GetProcAddress
test eax, eax
mov dword [esp + 0xc], eax
je 0x52b4f6
mov eax, dword [esp + 0xc]
mov dword [0x5da154], eax
mov ebx, dword [0x5da158]
test ebx, ebx
jne 0x52b1da
push str.SymGetModuleBase64
push dword [0x5da140]
call sub.kernel32.dll_GetProcAddress
test eax, eax
je 0x52b4f6
mov ebx, eax
mov dword [0x5da158], eax
call sub.kernel32.dll_GetCurrentProcess
mov esi, dword [0x5da15c]
mov dword [esp + 0x14], eax
test esi, esi
jne 0x52b20c
push str.StackWalkEx
push dword [0x5da140]
call sub.kernel32.dll_GetProcAddress
test eax, eax
je 0x52b3d5
mov esi, eax
mov dword [0x5da15c], eax
lea eax, [esp + 0x80]
push 0x100
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov eax, dword [esp + 0x244]
mov ecx, dword [esp + 0x248]
mov edx, dword [esp + 0x254]
lea edi, [esp + 0x70]
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x180], 0x110
mov dword [esp + 0x184], 0
mov dword [esp + 0x188], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x78], ecx
mov dword [esp + 0x84], 3
mov dword [esp + 0xa8], edx
mov dword [esp + 0xac], 0
mov dword [esp + 0xb4], 3
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa4], 3
nop
push 0
push 0
push ebx
push dword [esp + 0x18]
push 0
lea eax, [esp + 0x1a4]
push eax
lea eax, [esp + 0x90]
push eax
push dword [esp + 0x34]
push dword [esp + 0x3c]
push 0x14c
call esi
cmp eax, 1
jne 0x52b311
push 0
push dword [esp + 0x7c]
push dword [esp + 0x1c]
call ebx
mov dword [esp + 0x188], eax
lea ecx, [esp + 0x3c]
mov edx, edi
call sym.std::sys_common::backtrace::_print_fmt::__u7b__u7b_closure_u7d__u7d_::h0d04439caf667215
test al, al
jne 0x52b2c0
push dword [esp + 0x10]
call sub.kernel32.dll_ReleaseMutex
mov eax, dword [ebp + 0xc]
cmp byte [esp + 6], 0
je 0x52b34d
cmp byte [esp + 0x2c], 2
je 0x52b343
cmp dword [esp + 0x24], 0
je 0x52b343
push dword [esp + 0x20]
push 0
push dword [0x5da100]
call sub.kernel32.dll_HeapFree
mov al, 1
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
cmp byte [esp + 5], 0
jne 0x52b3a9
mov edx, dword [eax + 0x18]
mov ecx, dword [eax + 0x14]
mov dword [esp + str.note:_Some_details_are_omitted__run_with__RUST_BACKTRACEfull__for_a_verbose_backtrace._n], 0x5bb148
mov dword [esp + 0x194], 1
mov dword [esp + 0x198], str.Lazy_instance_has_previously_been_poisoned
mov dword [esp + 0x19c], 0
mov dword [esp + 0x1a0], 0
lea eax, [esp + 0x190]
push eax
call sym.core::fmt::write::hbafebe5e7c26ad3e
add esp, 4
test al, al
jne 0x52b324
cmp byte [esp + 0x2c], 2
je 0x52b3c8
cmp dword [esp + 0x24], 0
je 0x52b3c8
push dword [esp + 0x20]
push 0
push dword [0x5da100]
call sub.kernel32.dll_HeapFree
xor eax, eax
jmp 0x52b345
push edi
jmp 0x52b315
lea edi, [esp + 0x78]
lea eax, [esp + 0x80]
push 0x100
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov eax, dword [esp + 0x244]
mov ecx, dword [esp + 0x248]
mov edx, dword [esp + 0x254]
lea esi, [esp + 0x70]
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], 1
mov dword [esp + 0x188], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x78], ecx
mov dword [esp + 0x84], 3
mov dword [esp + 0xa8], edx
mov dword [esp + 0xac], 0
mov dword [esp + 0xb4], 3
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa4], 3
nop word cs:[eax + eax]
nop
mov ecx, dword [0x5da150]
test ecx, ecx
jne 0x52b4a5
push str.StackWalk64
push dword [0x5da140]
call sub.kernel32.dll_GetProcAddress
test eax, eax
je 0x52b4f6
mov ecx, eax
mov dword [0x5da150], eax
push 0
push ebx
push dword [esp + 0x14]
push 0
lea eax, [esp + 0x1a0]
push eax
push edi
push dword [esp + 0x30]
push dword [esp + 0x38]
push 0x14c
call ecx
cmp eax, 1
jne 0x52b311
push 0
push dword [esp + 0x7c]
push dword [esp + 0x1c]
call ebx
mov dword [esp + 0x188], eax
lea ecx, [esp + 0x3c]
mov edx, esi
call sym.std::sys_common::backtrace::_print_fmt::__u7b__u7b_closure_u7d__u7d_::h0d04439caf667215
test al, al
jne 0x52b480
jmp 0x52b311
mov edx, 0x2b
mov ecx, str.called__Option::unwrap____on_a__None__valueC:UsersTEST.cargo_registry_srcindex.crates.io_6f17d22bba15001fwinapi_util_0.1.5_srcwin.rs
push 0x5bc6dc
call dbg.panic
add esp, 4
jmp 0x52b535
mov eax, 0x5bb6e8
jmp 0x52b522
mov eax, 0x5bb6d8
jmp 0x52b522
mov eax, 0x5bb6c8
mov edx, 0x2b
mov ecx, str.called__Option::unwrap____on_a__None__valueC:UsersTEST.cargo_registry_srcindex.crates.io_6f17d22bba15001fwinapi_util_0.1.5_srcwin.rs
push eax
call dbg.panic
add esp, 4
ud2