Function at 0x140013894
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x1018]
mov eax, 0x1100
call fcn.140100e60
sub rsp, rax
mov rax, qword [0x140191630]
xor rax, rsp
mov qword [rbp + 0xff0], rax
and qword [rsp + 0x38], 0
mov rsi, rcx
lea rcx, [rsp + 0x38]
call qword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
js 0x140013be7
mov rcx, qword [rsi]
mov r9, 0xffffffffffff0000
xor r8d, r8d
mov dword [rsp + 0x40], 0xf0000000
mov edx, 0x1101
call qword [sym.imp.USER32.dll_SendMessageW]
lea rax, [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderLocation]
test eax, eax
je 0x14001394b
xor r9d, r9d
lea rax, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor ecx, ecx
lea edx, [r9 + 0x11]
call qword [sym.imp.SHELL32.dll_SHGetFolderLocation]
test eax, eax
jne 0x140013c06
mov rdi, qword [rsp + 0x38]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x48]
mov rcx, rbx
call qword [fcn.140123b50]
lea r9, [rsp + 0x40]
mov edx, 1
lea r8, [rsp + 0x30]
mov rcx, rdi
call rbx
xor edx, edx
lea rcx, [rsp + 0x48]
lea r8d, [rdx + 0x38]
call fcn.1401203b0
test dword [rsp + 0x40], 0x80000000
mov dword [rsp + 0x48], 0x27
je 0x1400139a6
mov dword [rsp + 0x74], 1
mov dword [rsp + 0x48], 0x67
mov rdi, qword [0x140201fe8]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [fcn.140123b50]
mov edx, 0x18
mov rcx, rdi
call rbx
mov r14, rax
test rax, rax
je 0x140013c06
mov rdx, qword [rsp + 0x30]
lea r9, [rbp - 0x10]
mov rcx, qword [rsp + 0x38]
mov r8d, 1
mov qword [rsp + 0x20], 0x800
call fcn.140015b4c
test al, al
je 0x140013c06
mov rdx, qword [rsp + 0x30]
lea rax, [rbp - 0x10]
xor ecx, ecx
mov qword [rsp + 0x60], rax
call fcn.140013c34
mov r15, rax
test rax, rax
je 0x140013c06
mov rcx, qword [rsp + 0x30]
call fcn.140013d20
lea r8, [rsp + 0x48]
mov qword [r14 + 8], rax
mov rdx, r15
mov rcx, rsi
call fcn.14001485c
mov rcx, qword [rsp + 0x38]
mov qword [r14], rcx
mov rdi, qword [rsp + 0x38]
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call qword [fcn.140123b50]
mov rcx, rdi
call rbx
mov rdx, qword [rsp + 0x30]
xor ecx, ecx
call fcn.140013c34
mov qword [r14 + 0x10], rax
test rax, rax
je 0x140013c06
movups xmm0, xmmword [rsp + 0x48]
mov rcx, qword [rsi]
lea r9, [rbp - 0x70]
movups xmm1, xmmword [rsp + 0x58]
and qword [rbp - 0x68], 0
xor r8d, r8d
movaps xmmword [rbp - 0x60], xmm0
mov edx, 0x1132
movups xmm0, xmmword [rsp + 0x68]
mov qword [rsp + 0x78], r14
movaps xmmword [rbp - 0x50], xmm1
movsd xmm1, qword [rsp + 0x78]
movaps xmmword [rbp - 0x40], xmm0
movsd qword [rbp - 0x30], xmm1
mov qword [rbp - 0x70], 0xffffffffffff0000
call qword [sym.imp.USER32.dll_SendMessageW]
mov r9, qword [rsp + 0x30]
mov rcx, rsi
mov r8, qword [rsp + 0x38]
mov rbx, rax
mov rdx, qword [rsi]
mov qword [rsp + 0x20], rax
call fcn.140014188
mov rcx, qword [rsi]
mov r9, rbx
mov edx, 0x1102
mov r8d, 2
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
lea rax, [rbp - 0x80]
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor ecx, ecx
lea edx, [r9 + 0x11]
call qword [sym.imp.SHELL32.dll_SHGetFolderLocation]
mov r9, rbx
mov r8d, 4
jmp 0x140013b77
mov rcx, qword [rsi]
lea r9, [rsp + 0x48]
xor r8d, r8d
mov dword [rsp + 0x48], 4
mov edx, 0x113e
mov qword [rsp + 0x50], r14
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdi, qword [rsp + 0x38]
mov rdx, qword [rdi]
mov rbx, qword [rdx + 0x38]
mov rcx, rbx
call qword [fcn.140123b50]
mov r9, qword [rsp + 0x78]
xor edx, edx
mov r8, qword [rbp - 0x80]
mov rcx, rdi
mov r9, qword [r9 + 0x10]
call rbx
mov r9, r14
test eax, eax
je 0x140013b8f
mov r8d, 1
mov rcx, qword [rsi]
mov edx, 0x110a
call qword [sym.imp.USER32.dll_SendMessageW]
mov r14, rax
test rax, rax
jne 0x140013b1e
jmp 0x140013ba7
mov rcx, qword [rsi]
mov edx, 0x1102
mov r8d, 2
call qword [sym.imp.USER32.dll_SendMessageW]
mov qword [rsi + 8], r14
mov rdi, qword [0x140201fe8]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x28]
mov rcx, rbx
call qword [fcn.140123b50]
mov rdx, r15
mov rcx, rdi
call rbx
mov rdi, qword [0x140201fe8]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x28]
mov rcx, rbx
call qword [fcn.140123b50]
mov rdx, qword [rsp + 0x30]
mov rcx, rdi
call rbx
mov rdi, qword [rsp + 0x38]
test rdi, rdi
je 0x140013c06
mov rax, qword [rdi]
mov rbx, qword [rax + 0x10]
mov rcx, rbx
call qword [fcn.140123b50]
mov rcx, rdi
call rbx
mov rcx, qword [rbp + 0xff0]
xor rcx, rsp
call fcn.140100ed0
lea r11, [rsp + 0x1100]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret