Function at 0x140014844
Capabilities:
Get common file path

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1fa0]
mov eax, 0x20a0
call fcn.140105bf0
sub rsp, rax
mov rax, qword [0x14016a900]
xor rax, rsp
mov qword [rbp + 0x1f90], rax
mov rdi, qword [r8 + 0x30]
xor r12d, r12d
mov rsi, r9
mov r15, rdx
mov r14, rcx
test rdi, rdi
jne 0x14001494f
mov word [r9], r12w
mov ebx, 0x800
mov rdi, qword [r8 + 8]
mov r15d, 0x113e
mov rcx, qword [rcx]
lea rax, [rbp - 0x70]
mov dword [rsp + 0x50], 1
lea r9, [rsp + 0x50]
mov qword [rsp + 0x68], rax
xor r8d, r8d
mov qword [rsp + 0x58], rdi
mov edx, r15d
mov dword [rsp + 0x70], ebx
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x140014b21
mov rcx, qword [r14]
mov r9, rdi
mov edx, 0x110a
mov r8d, 3
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdi, rax
test rax, rax
je 0x140014a36
mov rcx, qword [r14]
lea r9, [rsp + 0x50]
xor r8d, r8d
mov edx, r15d
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
je 0x140014947
cmp word [rsi], r12w
je 0x140014934
mov rdx, rbx
lea rcx, [rbp - 0x70]
call fcn.140085ac8
mov r8, rbx
lea rcx, [rbp - 0x70]
mov rdx, rsi
call fcn.14009cca0
mov r8, qword [rbp + 0x2000]
lea rdx, [rbp - 0x70]
mov rcx, rsi
call fcn.14009ccc8
mov rcx, qword [r14]
jmp 0x1400148a4
mov rcx, qword [rdi + 0x10]
lea rdx, [rbp - 0x70]
mov word [rbp - 0x70], r12w
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x140014a3d
cmp word [0x14016b7f0], r12w
lea rbx, [0x14016b7f0]
jne 0x1400149be
xor r9d, r9d
lea rax, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor ecx, ecx
lea edx, [r9 + 0x13]
call qword [sym.imp.SHELL32.dll_SHGetFolderLocation]
mov rcx, qword [rsp + 0x30]
mov rdx, rbx
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov rcx, qword [0x1401dcb78]
mov rdx, qword [rsp + 0x30]
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
call qword [case.0x140092c6b.0]
or r8, 0xffffffffffffffff
inc r8
cmp word [rbx + r8*2], r12w
jne 0x1400149c2
lea rdx, [rbp - 0x70]
mov rcx, rbx
call fcn.140111e14
test eax, eax
jne 0x140014a15
mov ebx, 0x800
lea r8, [rdi + 8]
lea r9, [rbp + 0xf90]
mov qword [rsp + 0x20], rbx
mov rdx, rdi
mov rcx, r15
call fcn.140014564
test al, al
je 0x140014a23
mov r8d, ebx
lea rdx, [rbp + 0xf90]
lea rcx, [rbp - 0x70]
call fcn.14009ccc8
jmp 0x140014a23
mov rcx, qword [rdi + 0x10]
lea rdx, [rbp - 0x70]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov r8, qword [rbp + 0x2000]
lea rdx, [rbp - 0x70]
mov rcx, rsi
call fcn.14009ccc8
mov al, 1
jmp 0x140014b23
call fcn.14007a19c
cmp eax, 0x601
jb 0x140014b21
lea rcx, str.shell32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140014b21
lea rdx, str.SHCreateItemFromIDList
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140014b21
mov rcx, qword [rdi + 0x10]
lea r8, [rsp + 0x38]
lea rdx, [0x14012c4c8]
call qword [case.0x140092c6b.0]
test eax, eax
jne 0x140014b21
mov rcx, qword [rsp + 0x38]
lea r9, [rsp + 0x40]
lea r8, [0x14012c4b8]
xor edx, edx
call fcn.14001556c
test eax, eax
jne 0x140014b21
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x48]
lea r8, [0x14012c4c8]
mov edx, 1
mov rax, qword [rcx]
mov rax, qword [rax + 0x48]
call qword [case.0x140092c6b.0]
test eax, eax
jne 0x140014b21
mov rcx, qword [rsp + 0x48]
lea r8, [rsp + 0x30]
mov edx, 0x80058000
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
call qword [case.0x140092c6b.0]
test eax, eax
jne 0x140014b21
mov r8, qword [rbp + 0x2000]
mov rcx, rsi
mov rdx, qword [rsp + 0x30]
call fcn.14009ccc8
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x140014a36
xor al, al
mov rcx, qword [rbp + 0x1f90]
xor rcx, rsp
call fcn.140105c50
add rsp, 0x20a0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret