Function at 0x1400307b0
Capabilities:
Check mutex on windows
Get common file path
Link many functions at runtime

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x748
movaps xmmword [rsp + 0x730], xmm6
mov qword [rsp + 0x78], rdx
movzx eax, byte [rcx]
mov byte [rsp + 0x60], al
mov byte [rsp + 0x5c], al
mov qword [rsp + 0xa8], 2
xorps xmm0, xmm0
movups xmmword [rsp + 0xb0], xmm0
mov r8d, 0x200
mov eax, 2
mov qword [rsp + 0x68], rax
xor edi, edi
mov r14d, 0xffffffff
xor ebx, ebx
xor r15d, r15d
cmp r8, 0x201
jae 0x140030850
jmp 0x14003082f
jae 0x140030900
cmp r8, 0x201
jae 0x140030850
mov r12d, 0x200
lea r13, [rsp + 0x260]
mov rbp, r8
jmp 0x1400308a3
sub r8, r15
sub rbx, r15
cmp rbx, r8
jae 0x140030880
lea rcx, [rsp + 0xa8]
mov rdx, r15
call dbg.do_reserve_and_handle<core::mem::maybe_uninit::MaybeUninit<u16>, alloc::alloc::Global>
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x68], rax
mov rdi, qword [rsp + 0xb0]
cmp rdi, r14
mov r15d, 0xffffffff
cmovb r15, rdi
mov qword [rsp + 0xb8], r15
mov rbx, rdi
mov r12, r15
mov r13, qword [rsp + 0x68]
mov rbp, r15
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov ecx, ebp
mov rdx, r13
call sub.KERNEL32.dll_GetCurrentDirectoryW
mov esi, eax
test eax, eax
jne 0x1400308c7
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x140030ee3
mov r8d, esi
cmp rbp, r8
jne 0x140030820
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x7a
jne 0x14003128c
add rbp, rbp
cmp rbp, r14
cmovae rbp, r14
mov r8, rbp
cmp r8, 0x201
jb 0x14003082f
jmp 0x140030850
cmp r12, r8
jb 0x1400312a6
lea rcx, [rsp + 0x140]
mov rdx, r13
call dbg.from_wide
mov r14, qword [rsp + 0x140]
movups xmm6, xmmword [rsp + 0x148]
movzx esi, byte [rsp + 0x158]
mov eax, dword [rsp + 0x159]
mov dword [rsp + 0x108], eax
mov eax, dword [rsp + 0x15c]
mov dword [rsp + 0x10b], eax
test rdi, rdi
je 0x140030965
mov rcx, qword [0x1400440d8]
xor edx, edx
mov r8, qword [rsp + 0x68]
call fcn.14003550c
cmp sil, 2
jne 0x1400309cd
mov eax, r14d
and eax, 3
lea rcx, [rax - 2]
cmp rcx, 2
jb 0x1400309c6
test rax, rax
je 0x1400309c6
lea rdi, [r14 - 1]
mov rbx, qword [r14 - 1]
mov r15, qword [r14 + 7]
mov rcx, rbx
call qword [r15]
cmp qword [r15 + 8], 0
je 0x1400309b5
cmp qword [r15 + 0x10], 0x11
jb 0x1400309a4
mov rbx, qword [rbx - 8]
mov rcx, qword [0x1400440d8]
xor edx, edx
mov r8, rbx
call fcn.14003550c
mov rcx, qword [0x1400440d8]
xor edx, edx
mov r8, rdi
call fcn.14003550c
movzx eax, byte [rsp + 0x5c]
jmp 0x1400309e8
mov eax, dword [rsp + 0x108]
mov ecx, dword [rsp + 0x10b]
mov dword [rsp + 0x73], ecx
mov dword [rsp + 0x70], eax
movzx eax, byte [rsp + 0x60]
mov byte [rsp + 0xa0], al
mov qword [rsp + 0x80], r14
movups xmmword [rsp + 0x88], xmm6
mov byte [rsp + 0x98], sil
mov eax, dword [rsp + 0x70]
mov ecx, dword [rsp + 0x73]
mov dword [rsp + 0x99], eax
mov dword [rsp + 0x9c], ecx
lea rax, str.stack_backtrace:_n
mov qword [rsp + 0x260], rax
mov qword [rsp + 0x268], 1
lea rdi, str.called__Option::unwrap____on_a__None__value_rustc_a28077b28a02b92985b3a3faecf92813155f1ea1library_alloc_srccollections_btree_navigate.rsIndex_out_of_bounds
mov qword [rsp + 0x270], rdi
xorps xmm0, xmm0
movups xmmword [rsp + 0x278], xmm0
mov rax, qword [rsp + 0x78]
mov rcx, qword [rax + 0x20]
mov rdx, qword [rax + 0x28]
lea r8, [rsp + 0x260]
call dbg.write
test al, al
jne 0x140030e9a
movzx eax, byte [rsp + 0x5c]
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 0x108], rcx
mov qword [rsp + 0x120], 0
mov byte [rsp + 0x128], al
lea rcx, [rsp + 0x80]
mov qword [rsp + 0x110], rcx
lea rcx, sym.core::ptr::drop_in_place_std::sys_common::backtrace::_print_fmt::_u7b__u7b_closure_u7d__u7d__::hced46be177e9b32e
mov qword [rsp + 0x118], rcx
mov qword [rsp + 0x130], 0
mov byte [rsp + 0x5d], 0
test al, al
setne byte [rsp + 0x5f]
mov qword [rsp + 0x138], 0
mov byte [rsp + 0x5e], 1
lea rax, [rsp + 0x5c]
mov qword [rsp + 0xa8], rax
lea rax, [rsp + 0x130]
mov qword [rsp + 0xb0], rax
lea rax, [rsp + 0x5f]
mov qword [rsp + 0xb8], rax
lea rax, [rsp + 0x138]
mov qword [rsp + 0xc0], rax
lea rax, [rsp + 0x5e]
mov qword [rsp + 0xc8], rax
lea rax, [rsp + 0x108]
mov qword [rsp + 0xd0], rax
lea rax, [rsp + 0x5d]
mov qword [rsp + 0xd8], rax
call sub.KERNEL32.dll_GetCurrentProcess
mov qword [rsp + 0x68], rax
call sub.KERNEL32.dll_GetCurrentThread
mov rbx, rax
lea rsi, [rsp + 0x260]
mov r8d, 0x4d0
mov rcx, rsi
xor edx, edx
call sub.msvcrt.dll_memset
mov rcx, rsi
call sub.KERNEL32.dll_RtlCaptureContext
mov r14, qword [0x1400440c0]
test r14, r14
je 0x140030f04
mov rcx, r14
mov edx, 0xffffffff
xor r8d, r8d
call sub.KERNEL32.dll_WaitForSingleObjectEx
mov rax, qword [0x140044130]
test rax, rax
jne 0x140030bbf
lea rcx, str.dbghelp.dll
call sub.KERNEL32.dll_LoadLibraryA
mov qword [0x140044130], rax
test rax, rax
je 0x140030e87
cmp byte [0x1400440c8], 0
jne 0x140030c7f
mov rcx, qword [0x140044138]
test rcx, rcx
jne 0x140030bfa
lea rdx, str.SymGetOptions
mov rcx, rax
call sub.KERNEL32.dll_GetProcAddress
test rax, rax
je 0x1400312dc
mov rcx, rax
mov qword [0x140044138], rax
call rcx
mov esi, eax
mov rax, qword [0x140044140]
test rax, rax
jne 0x140030c2d
mov rcx, qword [0x140044130]
lea rdx, str.SymSetOptions
call sub.KERNEL32.dll_GetProcAddress
test rax, rax
je 0x1400312ea
mov qword [0x140044140], rax
or esi, 4
mov ecx, esi
call rax
mov rsi, qword [0x140044148]
test rsi, rsi
jne 0x140030c66
mov rcx, qword [0x140044130]
lea rdx, str.SymInitializeW
call sub.KERNEL32.dll_GetProcAddress
test rax, rax
je 0x1400312f8
mov rsi, rax
mov qword [0x140044148], rax
call sub.KERNEL32.dll_GetCurrentProcess
mov rcx, rax
xor edx, edx
mov r8d, 1
call rsi
mov byte [0x1400440c8], 1
call sub.KERNEL32.dll_GetCurrentProcess
mov r12, qword [0x140044158]
test r12, r12
jne 0x140030cb6
mov rcx, qword [0x140044130]
lea rdx, str.StackWalkEx
call sub.KERNEL32.dll_GetProcAddress
test rax, rax
je 0x14003109e
mov r12, rax
mov qword [0x140044158], rax
mov qword [rsp + 0x60], r14
lea r13, [rsp + 0x148]
xorps xmm0, xmm0
movups xmmword [rsp + 0x240], xmm0
movups xmmword [rsp + 0x230], xmm0
movups xmmword [rsp + 0x220], xmm0
movups xmmword [rsp + 0x210], xmm0
movups xmmword [rsp + 0x200], xmm0
movups xmmword [rsp + 0x1f0], xmm0
movups xmmword [rsp + 0x1e0], xmm0
movups xmmword [rsp + 0x1d0], xmm0
movups xmmword [rsp + 0x1c0], xmm0
movups xmmword [rsp + 0x1b0], xmm0
movups xmmword [rsp + 0x1a0], xmm0
movups xmmword [rsp + 0x190], xmm0
movups xmmword [rsp + 0x180], xmm0
movups xmmword [rsp + 0x170], xmm0
movups xmmword [rsp + 0x160], xmm0
movups xmmword [rsp + 0x150], xmm0
mov qword [rsp + 0x140], 0
mov qword [rsp + 0x250], 0x110
mov qword [rsp + 0x258], 0
mov rax, qword [rsp + 0x358]
mov qword [rsp + 0x148], rax
mov dword [rsp + 0x154], 3
mov rax, qword [rsp + 0x2f8]
mov rcx, qword [rsp + 0x300]
mov qword [rsp + 0x178], rax
mov dword [rsp + 0x184], 3
mov qword [rsp + 0x168], rcx
mov dword [rsp + 0x174], 3
lea r14, [sym.std::backtrace_rs::backtrace::dbghelp::trace::get_module_base::h8623c78285b2d0bf]
lea rdi, [dbg.function_table_access]
lea rbp, [rsp + 0xe0]
lea rsi, [rsp + 0xa8]
lea r15, [rsp + 0x140]
nop word cs:[rax + rax]
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], rdi
lea rax, [rsp + 0x260]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x28], 0
mov ecx, 0x8664
mov rdx, qword [rsp + 0x68]
mov r8, rbx
mov r9, r13
call r12
cmp eax, 1
jne 0x140030e7b
mov rcx, qword [rsp + 0x148]
mov qword [rsp + 0xe0], 0
mov rdx, rbp
xor r8d, r8d
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x258], rax
mov rcx, rsi
mov rdx, r15
call sym.std::sys_common::backtrace::_print_fmt::__u7b__u7b_closure_u7d__u7d_::hda9074f6712f2b24
test al, al
jne 0x140030df0
lea rdi, str.called__Option::unwrap____on_a__None__value_rustc_a28077b28a02b92985b3a3faecf92813155f1ea1library_alloc_srccollections_btree_navigate.rsIndex_out_of_bounds
mov r14, qword [rsp + 0x60]
mov rcx, r14
call fcn.1400354c4
cmp byte [rsp + 0x5d], 0
je 0x140031015
cmp byte [rsp + 0x98], 2
je 0x140030ec5
cmp qword [rsp + 0x88], 0
je 0x140030ec5
mov r8, qword [rsp + 0x80]
mov rcx, qword [0x1400440d8]
xor edx, edx
call fcn.14003550c
mov al, 1
movaps xmm6, xmmword [rsp + 0x730]
add rsp, 0x748
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call sub.KERNEL32.dll_GetLastError
mov r14d, eax
shl r14, 0x20
or r14, 2
mov sil, 2
test rdi, rdi
jne 0x140030952
jmp 0x140030965
movups xmm0, xmmword [0x14003cfd8]
movaps xmmword [rsp + 0x150], xmm0
movups xmm0, xmmword [str.LocalRustBacktraceMutex00000000]
movaps xmmword [rsp + 0x140], xmm0
mov byte [rsp + 0x160], 0
call sub.KERNEL32.dll_GetCurrentProcessId
test eax, eax
je 0x140030fa5
mov ecx, 0x1f
nop dword [rax + rax]
cmp rcx, 0x20
ja 0x14003126f
mov edx, eax
and dl, 0xf
lea r8d, [rdx + 0x30]
lea r9d, [rdx + 0x37]
cmp dl, 0xa
movzx edx, r8b
movzx r8d, r9b
cmovb r8d, edx
mov byte [rsp + rcx + 0x140], r8b
cmp eax, 0x10
jb 0x140030fa5
mov edx, eax
shr dl, 4
lea r8d, [rdx + 0x30]
add dl, 0x37
cmp al, 0xa0
movzx r8d, r8b
movzx edx, dl
cmovb edx, r8d
mov byte [rsp + rcx + 0x13f], dl
mov edx, eax
shr edx, 8
add rcx, 0xfffffffffffffffe
cmp eax, 0x100
mov eax, edx
jae 0x140030f40
movzx eax, byte [rsp + 0x160]
mov byte [rsp + 0x100], al
movaps xmm0, xmmword [rsp + 0x140]
movaps xmm1, xmmword [rsp + 0x150]
movaps xmmword [rsp + 0xf0], xmm1
movaps xmmword [rsp + 0xe0], xmm0
lea r8, [rsp + 0xe0]
xor ecx, ecx
xor edx, edx
call sub.KERNEL32.dll_CreateMutexA
test rax, rax
je 0x140030e8f
mov r14, rax
xor eax, eax
lock cmpxchg qword [0x1400440c0], r14
je 0x140030b87
mov rsi, rax
mov rcx, r14
call fcn.1400355b4
mov r14, rsi
jmp 0x140030b87
cmp byte [rsp + 0x5c], 0
jne 0x14003106c
lea rax, str.note:_Some_details_are_omitted__run_with__RUST_BACKTRACEfull__for_a_verbose_backtrace._nX
mov qword [rsp + 0x260], rax
mov qword [rsp + 0x268], 1
mov qword [rsp + 0x270], rdi
xorps xmm0, xmm0
movups xmmword [rsp + 0x278], xmm0
mov rax, qword [rsp + 0x78]
mov rcx, qword [rax + 0x20]
mov rdx, qword [rax + 0x28]
lea r8, [rsp + 0x260]
call dbg.write
test al, al
jne 0x140030e9a
cmp byte [rsp + 0x98], 2
je 0x140031097
cmp qword [rsp + 0x88], 0
je 0x140031097
mov r8, qword [rsp + 0x80]
mov rcx, qword [0x1400440d8]
xor edx, edx
call fcn.14003550c
xor eax, eax
jmp 0x140030ec7
xorps xmm0, xmm0
movups xmmword [rsp + 0x240], xmm0
movups xmmword [rsp + 0x230], xmm0
movups xmmword [rsp + 0x220], xmm0
movups xmmword [rsp + 0x210], xmm0
movups xmmword [rsp + 0x200], xmm0
movups xmmword [rsp + 0x1f0], xmm0
movups xmmword [rsp + 0x1e0], xmm0
movups xmmword [rsp + 0x1d0], xmm0
movups xmmword [rsp + 0x1c0], xmm0
movups xmmword [rsp + 0x1b0], xmm0
movups xmmword [rsp + 0x1a0], xmm0
movups xmmword [rsp + 0x190], xmm0
movups xmmword [rsp + 0x180], xmm0
movups xmmword [rsp + 0x170], xmm0
movups xmmword [rsp + 0x160], xmm0
movups xmmword [rsp + 0x150], xmm0
mov qword [rsp + 0x140], 1
mov qword [rsp + 0x258], 0
mov rax, qword [rsp + 0x358]
mov qword [rsp + 0x148], rax
mov dword [rsp + 0x154], 3
mov rax, qword [rsp + 0x2f8]
mov rcx, qword [rsp + 0x300]
mov qword [rsp + 0x178], rax
mov dword [rsp + 0x184], 3
mov qword [rsp + 0x168], rcx
mov dword [rsp + 0x174], 3
lea rsi, [sym.std::backtrace_rs::backtrace::dbghelp::trace::get_module_base::h8623c78285b2d0bf]
lea r15, [dbg.function_table_access]
lea rbp, [rsp + 0xe0]
lea r13, [rsp + 0xa8]
lea r12, [rsp + 0x140]
mov rax, qword [0x140044150]
test rax, rax
jne 0x1400311df
mov rcx, qword [0x140044130]
lea rdx, str.StackWalk64
call sub.KERNEL32.dll_GetProcAddress
test rax, rax
je 0x1400312bd
mov qword [0x140044150], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], r15
lea rcx, [rsp + 0x260]
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x28], 0
mov ecx, 0x8664
mov rdx, qword [rsp + 0x68]
mov r8, rbx
lea r9, [rsp + 0x148]
call rax
cmp eax, 1
jne 0x140030e87
mov rcx, qword [rsp + 0x148]
mov qword [rsp + 0xe0], 0
mov rdx, rbp
xor r8d, r8d
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x258], rax
mov rcx, r13
mov rdx, r12
call sym.std::sys_common::backtrace::_print_fmt::__u7b__u7b_closure_u7d__u7d_::hda9074f6712f2b24
test al, al
jne 0x1400311b0
jmp 0x140030e87
lea r8, str.library_std_src...._backtrace_srcdbghelp.rs
mov edx, 0x21
mov rcx, 0xffffffffffffffff
call dbg.panic_bounds_check
jmp 0x140031315
lea rcx, str.internal_error:_entered_unreachable_code
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call dbg.panic
jmp 0x140031315
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, r12
mov r8, rax
call dbg.slice_end_index_len_fail
jmp 0x140031315
mov qword [rsp + 0x60], r14
lea rcx, str.called__Option::unwrap____on_a__None__value_rustc_a28077b28a02b92985b3a3faecf92813155f1ea1library_alloc_srccollections_btree_navigate.rsIndex_out_of_bounds
lea r8, str.library_std_src...._backtrace_srcdbghelp.rs
mov edx, 0x2b
call dbg.panic
jmp 0x140031315
mov qword [rsp + 0x60], r14
lea r8, str.library_std_src...._backtrace_srcdbghelp.rs
jmp 0x140031304
mov qword [rsp + 0x60], r14
lea r8, str.library_std_src...._backtrace_srcdbghelp.rs
jmp 0x140031304
mov qword [rsp + 0x60], r14
lea r8, str.library_std_src...._backtrace_srcdbghelp.rs
lea rcx, str.called__Option::unwrap____on_a__None__value_rustc_a28077b28a02b92985b3a3faecf92813155f1ea1library_alloc_srccollections_btree_navigate.rsIndex_out_of_bounds
mov edx, 0x2b
call dbg.panic
ud2