Function at 0x14002d8f0
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, [0x140aadbf0]
lea rcx, [rsp + 0x90]
mov r8d, 4
call dbg._var_os
cmp qword [rsp + 0x90], rdi
jne 0x14002d98f
lea rdx, [0x140aadbf4]
lea rcx, [rsp + 0x40]
mov r8d, 0xb
call dbg._var_os
mov rax, qword [rsp + 0x40]
cmp rax, rdi
je 0x14002d9b3
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0xa0], rcx
movups xmm0, xmmword [rsp + 0x48]
movaps xmmword [rsp + 0x90], xmm0
mov qword [rsi], rax
movaps xmm0, xmmword [rsp + 0x90]
movups xmmword [rsi + 8], xmm0
mov rax, qword [rsp + 0xa0]
mov qword [rsi + 0x18], rax
jmp 0x14002dbce
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 0x14002d955
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 0x14002da30
jmp 0x14002da0f
jae 0x14002db08
cmp r8, 0x201
jae 0x14002da30
mov ebx, 0x200
lea r13, [rsp + 0x90]
mov r15, r8
jmp 0x14002da70
sub r8, r12
sub rsi, r12
cmp rsi, r8
jae 0x14002da52
lea rcx, [rsp + 0x28]
mov rdx, r12
call dbg.do_reserve_and_handle<core::mem::maybe_uninit::MaybeUninit<u16>, alloc::alloc::Global>
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 0x14002daa0
mov ecx, dword [rsp + 0x40]
dec ecx
test ecx, ecx
jne 0x14002dacf
jmp 0x14002dac0
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x7a
jne 0x14002dac0
mov ecx, dword [rsp + 0x40]
test ecx, ecx
jne 0x14002dacf
nop word cs:[rax + rax]
call sub.KERNEL32.dll_GetLastError
xor ecx, ecx
test eax, eax
jne 0x14002db7e
mov r8d, ecx
cmp r15, r8
jne 0x14002da00
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x7a
jne 0x14002dbe5
add r15, r15
cmp r15, rbp
cmovae r15, rbp
mov r8, r15
cmp r8, 0x201
jb 0x14002da0f
jmp 0x14002da30
cmp rbx, r8
jb 0x14002dbff
lea rcx, [rsp + 0x40]
mov rdx, r13
call dbg.from_wide
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 0x14002db61
mov rcx, qword [rsp + 0x30]
add rdx, rdx
mov r8d, 2
call sym.__rust_dealloc
cmp qword [rsp + 0x70], rdi
je 0x14002dbc1
movaps xmm0, xmmword [rsp + 0x70]
movaps xmm1, xmmword [rsp + 0x80]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
jmp 0x14002dbce
call sub.KERNEL32.dll_GetLastError
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 0x14002dbbc
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 dbg.drop_in_place<std::io::error::Error>
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, [0x140aa9c58]
lea r8, [0x140aae578]
mov edx, 0x28
call dbg.panic
jmp 0x14002dc14
lea rax, [0x140aae560]
mov rcx, r8
mov rdx, rbx
mov r8, rax
call dbg.slice_end_index_len_fail
ud2