Function at 0x14000d458
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x470]
sub rsp, 0x570
mov rax, qword [0x14003b3c0]
xor rax, rsp
mov qword [rbp + 0x460], rax
mov r12, qword [rbp + 0x4d0]
mov r13d, dword [rbp + 0x4d8]
mov rsi, qword [rbp + 0x4e8]
mov r14d, dword [0x14003c8e0]
mov rbx, r8
lea rax, [rbp + 0x50]
mov r15d, r9d
lea r8, [0x140033828]
xor edx, edx
xor ecx, ecx
mov r9d, 8
mov dword [rsp + 0x28], 0xff
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x14000d4e5
call qword [sym.imp.KERNEL32.dll_GetLastError]
or rbx, 0xffffffffffffffff
jmp 0x14000d6f6
or rdi, 0xffffffffffffffff
mov rax, rdi
inc rax
cmp byte [rbx + rax], 0
jne 0x14000d4ec
lea rcx, [rbp + 0x250]
lea r9d, [rax + 1]
mov dword [rsp + 0x28], 0x104
mov qword [rsp + 0x20], rcx
mov r8, rbx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x14000d53d
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.InstallLsp:_MultiByteToWidechar_failed_to_convert__s:_Error___d_n
mov rdx, rbx
mov r8d, eax
call fcn.140012a78
mov ebx, edi
jmp 0x14000d6f6
test r15d, r15d
je 0x14000d536
lea rdx, [rbp + 0x50]
lea rcx, str.LSP_name_is__S_n
call fcn.140012a78
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.1400134c0
test eax, eax
jne 0x14000d6f8
test rsi, rsi
je 0x14000d575
movups xmm0, xmmword [rsp + 0x30]
movdqu xmmword [rsi], xmm0
lea rdx, [rsp + 0x40]
xor esi, esi
mov ecx, 0x104
mov byte [rsp + 0x40], sil
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea rdx, [0x1400349ec]
mov rcx, rbx
call fcn.140015700
lea rcx, [rsp + 0x40]
test rax, rax
je 0x14000d5e0
lea rax, [rsp + 0x40]
mov r8, rbx
mov edx, 0x104
sub r8, rax
lea rax, [rdx + 0x7ffffefa]
test rax, rax
je 0x14000d5d3
mov al, byte [r8 + rcx]
test al, al
je 0x14000d5d3
mov byte [rcx], al
inc rcx
dec rdx
jne 0x14000d5b5
test rdx, rdx
jne 0x14000d5db
dec rcx
mov byte [rcx], sil
jmp 0x14000d5f9
lea r8, [0x1400349ec]
call fcn.140006a04
lea rcx, [rsp + 0x40]
mov r8, rbx
call fcn.140006a04
lea rdx, [0x1400349f0]
lea rcx, [rsp + 0x40]
call fcn.14001552c
test rax, rax
je 0x14000d657
mov rcx, rax
call fcn.14001516c
lea rcx, [rsp + 0x40]
mov rax, rdi
inc rax
cmp byte [rcx + rax], sil
jne 0x14000d61f
lea rcx, [rbp + 0x250]
lea r9d, [rax + 1]
mov dword [rsp + 0x28], 0x104
mov qword [rsp + 0x20], rcx
lea r8, [rsp + 0x40]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x14000d51e
mov edx, dword [r12]
lea r8, [rbp + 0x50]
mov r9d, r13d
mov ecx, r14d
call fcn.14000d810
mov rsi, rax
test rax, rax
je 0x14000d536
lea r8, [rbp + 0x250]
lea rdx, [rsp + 0x30]
mov r9, rax
mov ecx, r14d
mov dword [rsp + 0x20], 1
call fcn.14000d724
mov rcx, qword [0x14003def0]
xor edx, edx
mov r8, rsi
test eax, eax
je 0x14000d6af
mov ebx, edi
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x14000d6f6
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r12
lea r9, [rbp + 0x250]
lea r8, [rbp + 0x50]
lea rdx, [rsp + 0x30]
mov ecx, r14d
test r13d, r13d
jne 0x14000d6de
call fcn.14000e2c4
jmp 0x14000d6e3
call fcn.14000da00
mov ebx, eax
cmp eax, edi
jne 0x14000d6f6
lea rdx, [rsp + 0x30]
mov ecx, r14d
call fcn.14000f260
mov eax, ebx
mov rcx, qword [rbp + 0x460]
xor rcx, rsp
call fcn.140014130
mov rbx, qword [rsp + 0x5b0]
add rsp, 0x570
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret