Function at 0x1400054c0
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 rsi, rcx
movabs rdi, 0x8000000000000000
lea rdx, str.HOMEUSERPROFILEexefailed_to_join_on_thread:
lea rcx, [rsp + 0x90]
mov r8d, 4
call sym.std::sys::pal::windows::os::getenv::ha3b227250702f118
cmp qword [rsp + 0x90], rdi
jne 0x14000554f
lea rdx, [0x1400a5b94]
lea rcx, [rsp + 0x40]
mov r8d, 0xb
call sym.std::sys::pal::windows::os::getenv::ha3b227250702f118
mov rax, qword [rsp + 0x40]
cmp rax, rdi
je 0x140005573
mov rcx, qword [rsp + 0x48]
movaps xmm0, xmmword [rsp + 0x50]
movaps xmmword [rsp + 0x90], xmm0
mov qword [rsi], rax
mov qword [rsi + 8], rcx
movaps xmm0, xmmword [rsp + 0x90]
movups xmmword [rsi + 0x10], xmm0
jmp 0x14000578e
movups xmm0, xmmword [rsp + 0x90]
movups xmm1, xmmword [rsp + 0xa0]
movaps xmmword [rsp + 0x50], xmm1
movaps xmmword [rsp + 0x40], xmm0
mov rax, qword [rsp + 0x40]
cmp rax, rdi
jne 0x140005525
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 2
mov qword [rsp + 0x38], 0
mov r8d, 0x200
mov r14d, 2
xor edi, edi
mov ebp, 0xffffffff
xor esi, esi
xor r12d, r12d
cmp r8, 0x201
jae 0x1400055f0
jmp 0x1400055cf
jae 0x1400056c8
cmp r8, 0x201
jae 0x1400055f0
mov ebx, 0x200
lea r13, [rsp + 0x90]
mov r15, r8
jmp 0x140005630
sub r8, r12
sub rsi, r12
cmp rsi, r8
jae 0x140005612
lea rcx, [rsp + 0x28]
mov rdx, r12
call sym.alloc::raw_vec::RawVec_T_A_::reserve::do_reserve_and_handle::h14c7d7b0ae0947f0
mov rdi, qword [rsp + 0x28]
mov r14, qword [rsp + 0x30]
cmp rdi, rbp
mov r12d, 0xffffffff
cmovb r12, rdi
mov qword [rsp + 0x38], r12
mov rsi, rdi
mov rbx, r12
mov r13, r14
mov r15, r12
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov dword [rsp + 0x40], r15d
mov rcx, 0xfffffffffffffffc
mov rdx, r13
lea r8, [rsp + 0x40]
call sub.USERENV.dll_GetUserProfileDirectoryW
test eax, eax
je 0x140005660
mov ecx, dword [rsp + 0x40]
dec ecx
test ecx, ecx
jne 0x14000568f
jmp 0x140005680
call fcn.1400a21b8
cmp eax, 0x7a
jne 0x140005680
mov ecx, dword [rsp + 0x40]
test ecx, ecx
jne 0x14000568f
nop word cs:[rax + rax]
call fcn.1400a21b8
xor ecx, ecx
test eax, eax
jne 0x14000573e
mov r8d, ecx
cmp r15, r8
jne 0x1400055c0
call fcn.1400a21b8
cmp eax, 0x7a
jne 0x1400057a5
add r15, r15
cmp r15, rbp
cmovae r15, rbp
mov r8, r15
cmp r8, 0x201
jb 0x1400055cf
jmp 0x1400055f0
cmp rbx, r8
jb 0x1400057bf
lea rcx, [rsp + 0x40]
mov rdx, r13
call sym.std::sys_common::wtf8::Wtf8Buf::from_wide::h291f248259eaa4f4
movabs rdi, 0x8000000000000000
movups xmm0, xmmword [rsp + 0x40]
movups xmm1, xmmword [rsp + 0x50]
movaps xmmword [rsp + 0x80], xmm1
movaps xmmword [rsp + 0x70], xmm0
mov rdx, qword [rsp + 0x28]
test rdx, rdx
mov rsi, qword [rsp + 0x68]
je 0x140005721
mov rcx, qword [rsp + 0x30]
add rdx, rdx
mov r8d, 2
call sym.__rust_dealloc
cmp qword [rsp + 0x70], rdi
je 0x140005781
movaps xmm0, xmmword [rsp + 0x70]
movaps xmm1, xmmword [rsp + 0x80]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
jmp 0x14000578e
call fcn.1400a21b8
shl rax, 0x20
or rax, 2
mov qword [rsp + 0x78], rax
movabs rdi, 0x8000000000000000
mov qword [rsp + 0x70], rdi
mov rdx, qword [rsp + 0x28]
test rdx, rdx
je 0x14000577c
mov rcx, qword [rsp + 0x30]
add rdx, rdx
mov r8d, 2
call sym.__rust_dealloc
mov rsi, qword [rsp + 0x68]
mov qword [rsi], rdi
lea rcx, [rsp + 0x78]
call sym._ZN4core3ptr42drop_in_place_LT_std..io..error..Error_GT_17h169a66b91825197bE.llvm.12857077654368372277
mov rax, rsi
add rsp, 0x498
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
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 0x1400057d4
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, rbx
mov r8, rax
call sym.core::slice::index::slice_end_index_len_fail::hc473902aa46132a2
ud2