Function at 0x1400075a0
Capabilities:
Get common file path

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x498
mov qword [rsp + 0x70], rdx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 2
mov qword [rsp + 0x38], 0
mov r8d, 0x200
mov eax, 2
mov qword [rsp + 0x48], rax
xor esi, esi
mov ebx, 0xffffffff
xor edi, edi
xor r14d, r14d
cmp r8, 0x201
jae 0x140007630
jmp 0x14000760f
jae 0x1400076df
cmp r8, 0x201
jae 0x140007630
mov r15d, 0x200
lea r12, [rsp + 0x98]
mov r13, r8
jmp 0x140007677
sub r8, r14
sub rdi, r14
cmp rdi, r8
jae 0x140007657
lea rcx, [rsp + 0x28]
mov rdx, r14
call sym.alloc::raw_vec::RawVec_T_A_::reserve::do_reserve_and_handle::h14c7d7b0ae0947f0
mov rsi, qword [rsp + 0x28]
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
cmp rsi, rbx
mov r14d, 0xffffffff
cmovb r14, rsi
mov qword [rsp + 0x38], r14
mov rdi, rsi
mov r15, r14
mov r12, qword [rsp + 0x48]
mov r13, r14
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, r12
mov edx, r13d
call sub.KERNEL32.dll_GetWindowsDirectoryW
mov ebp, eax
test eax, eax
jne 0x14000769c
call fcn.1400a21b8
test eax, eax
jne 0x1400077c0
mov r8d, ebp
cmp r13, r8
jne 0x140007600
call fcn.1400a21b8
cmp eax, 0x7a
jne 0x1400077ef
add r13, r13
mov eax, 0xffffffff
cmp r13, rax
mov ebx, 0xffffffff
cmovae r13, rax
mov r8, r13
cmp r8, 0x201
jb 0x14000760f
jmp 0x140007630
cmp r15, r8
jb 0x140007809
mov rax, qword [rsp + 0x70]
mov rdi, qword [rax]
mov rsi, qword [rax + 8]
lea rcx, [rsp + 0x78]
mov rdx, r12
call sym.std::sys_common::wtf8::Wtf8Buf::from_wide::h291f248259eaa4f4
movups xmm0, xmmword [rsp + 0x78]
movups xmm1, xmmword [rsp + 0x88]
movaps xmmword [rsp + 0x60], xmm1
movaps xmmword [rsp + 0x50], xmm0
mov rdx, qword [rdi]
mov r8, qword [rdi + 8]
lea rcx, [rsp + 0x50]
call fcn.14000bdd0
cmp byte [rsi], 0
jne 0x140007745
lea rdx, [0x1400a5b9f]
lea rcx, [rsp + 0x50]
mov r8d, 3
call sym.std::path::PathBuf::_set_extension::h404b32e914e8664e
mov rdx, qword [rsp + 0x58]
mov r8, qword [rsp + 0x60]
lea rcx, [rsp + 0x78]
call sym.std::sys::pal::windows::process::program_exists::h107207bac10a1739
mov rdx, qword [rsp + 0x50]
test rdx, rdx
je 0x140007773
mov rcx, qword [rsp + 0x58]
mov r8d, 1
call sym.__rust_dealloc
mov rax, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x40]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x78]
movups xmmword [rsi], xmm0
mov rdx, qword [rsp + 0x28]
test rdx, rdx
je 0x1400077a9
mov rcx, qword [rsp + 0x30]
add rdx, rdx
mov r8d, 2
call sym.__rust_dealloc
mov rax, rsi
add rsp, 0x498
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.1400a21b8
shl rax, 0x20
or rax, 2
mov rsi, qword [rsp + 0x40]
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000001
mov qword [rsi], rax
mov rdx, qword [rsp + 0x28]
test rdx, rdx
jne 0x140007796
jmp 0x1400077a9
lea rcx, str.internal_error:_entered_unreachable_codeoverflow_when_adding_duration_to_instant_Users_elyzianfields_.rustup_toolchains_nightly_aarch64_apple_darwin_lib_rustlib_src_rust_library_std_src_time.rs
lea r8, str._Users_elyzianfields_.rustup_toolchains_nightly_aarch64_apple_darwin_lib_rustlib_src_rust_library_std_src_sys_pal_windows_mod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov edx, 0x28
call sym.core::panicking::panic::h467566c8418d2e96
jmp 0x14000781e
lea rax, str._Users_elyzianfields_.rustup_toolchains_nightly_aarch64_apple_darwin_lib_rustlib_src_rust_library_std_src_sys_pal_windows_mod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov rcx, r8
mov rdx, r15
mov r8, rax
call sym.core::slice::index::slice_end_index_len_fail::hc473902aa46132a2
ud2