Function at 0x140003928
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x20a0]
mov eax, 0x21a0
call fcn.14011a0f0
sub rsp, rax
mov rax, qword [0x140183c48]
xor rax, rsp
mov qword [rbp + 0x2090], rax
xor edi, edi
or r15, 0xffffffffffffffff
mov qword [rbp - 0x80], rdi
mov rbx, r8
mov qword [rsp + 0x58], rbx
mov r13d, r9d
mov qword [rsp + 0x78], rdi
mov rsi, rdx
mov r14, rcx
mov r12b, dil
test r9d, r9d
jne 0x1400039ba
mov rcx, qword [rcx]
lea rax, [rbp - 0x80]
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea edx, [rdi + 0x11]
call qword [sym.imp.SHELL32.dll_SHGetFolderLocation]
mov rcx, qword [r14]
lea rax, [rsp + 0x78]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea edx, [rdi + 0x12]
call qword [sym.imp.SHELL32.dll_SHGetFolderLocation]
mov rax, qword [rsi]
lea r9, [rsp + 0x68]
mov rdx, qword [r14]
mov r8d, 0x20
mov rcx, rsi
mov qword [rsp + 0x68], rdi
mov rax, qword [rax + 0x20]
call qword [case.0x1400a26d7.0]
test eax, eax
jne 0x140003cbd
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140003cbd
mov qword [rsp + 0x50], rdi
jmp 0x140003c87
mov rax, qword [rsi]
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x50]
mov dword [rsp + 0x60], 0x10000000
mov edx, 1
mov rcx, rsi
mov rax, qword [rax + 0x48]
call qword [case.0x1400a26d7.0]
test dword [rsp + 0x60], 0x10000000
mov rdx, qword [rsp + 0x50]
jne 0x140003a4c
mov rcx, qword [0x1401f8cf8]
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
call qword [case.0x1400a26d7.0]
jmp 0x140003c82
lea r9, [rbp + 0xf90]
mov qword [rsp + 0x20], 0x880
mov r8d, 1
mov rcx, rsi
call fcn.140018898
test al, al
jne 0x140003a75
mov rdx, qword [rsp + 0x50]
jmp 0x140003a33
test r13d, r13d
jne 0x140003b64
mov r9, qword [rsp + 0x50]
lea rax, [rbp + 0xf90]
or rcx, 0xffffffffffffffff
mov byte [rsp + 0x40], 1
mov qword [rsp + 0x38], rcx
lea r8d, [r13 + 4]
mov dword [rsp + 0x30], 1
lea rdx, [rbp + 0xf90]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ecx
mov rcx, r14
call fcn.140004178
mov r9, qword [rsp + 0x50]
mov rbx, rax
mov rax, qword [rsi]
xor edx, edx
mov r8, qword [rsp + 0x78]
mov rcx, rsi
mov rax, qword [rax + 0x38]
call qword [case.0x1400a26d7.0]
test eax, eax
jne 0x140003ae7
lea rax, [rbx + 1]
mov qword [r14 + 8], rax
mov rax, qword [rsi]
xor edx, edx
mov r9, qword [rsp + 0x50]
mov rcx, rsi
mov r8, qword [rbp - 0x80]
mov rax, qword [rax + 0x38]
call qword [case.0x1400a26d7.0]
test eax, eax
jne 0x140003c7d
mov rax, qword [rsi]
lea rcx, [rbp - 0x78]
mov rdx, qword [rsp + 0x50]
lea r9, [0x1401599c0]
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rcx, rsi
mov qword [rbp - 0x78], rdi
mov rax, qword [rax + 0x28]
call qword [case.0x1400a26d7.0]
test eax, eax
jne 0x140003c7d
mov rdx, qword [rbp - 0x78]
test rdx, rdx
je 0x140003c7d
mov r8, qword [rsp + 0x50]
lea r9d, [rax + 1]
mov rcx, r14
call fcn.140003928
mov r12b, al
jmp 0x140003c7d
mov rdx, qword [rsp + 0x50]
mov rcx, rbx
call fcn.140016b74
mov rdi, rax
lea rdx, [rbp - 0x70]
xor eax, eax
mov rcx, rdi
mov word [rbp - 0x70], ax
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov rcx, qword [0x1401f8cf8]
mov ebx, eax
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x28]
mov rdx, rdi
call qword [case.0x1400a26d7.0]
xor edi, edi
test ebx, ebx
jne 0x140003bc4
mov rcx, qword [0x1401f8cf8]
mov rdx, qword [rsp + 0x50]
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
call qword [case.0x1400a26d7.0]
jmp 0x140003c7d
lea rcx, [rbp - 0x70]
call fcn.140096790
test al, al
je 0x140003c3d
movzx eax, word [rbp - 0x6c]
test ax, ax
je 0x140003be6
cmp ax, 0x5c
jne 0x140003c3d
cmp word [rbp - 0x6a], di
jne 0x140003c3d
mov edx, 0x800
lea rcx, [rbp - 0x70]
call fcn.1400953f0
mov byte [rsp + 0x40], 1
lea rax, [rbp + 0xf90]
mov qword [rsp + 0x38], r15
lea rdx, [rbp - 0x70]
mov dword [rsp + 0x30], 2
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
or dword [rsp + 0x20], 0xffffffff
mov rcx, r14
call fcn.140004178
cmp r15, 0xffffffffffffffff
lea rax, [r15 + 1]
mov r12b, 1
cmove rax, r15
mov r15, rax
jmp 0x140003c7d
mov byte [rsp + 0x40], 1
lea rax, [rbp + 0xf90]
or rbx, 0xffffffffffffffff
lea rdx, [rbp - 0x70]
mov qword [rsp + 0x38], rbx
xor r9d, r9d
mov dword [rsp + 0x30], 2
mov rcx, r14
mov qword [rsp + 0x28], rax
lea r8d, [rbx + 6]
mov dword [rsp + 0x20], ebx
call fcn.140004178
cmp r15, rbx
cmove r15, rax
mov rbx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
lea r9, [rsp + 0x70]
lea r8, [rsp + 0x50]
mov edx, 1
mov rax, qword [rax + 0x18]
call qword [case.0x1400a26d7.0]
test eax, eax
je 0x1400039fd
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400a26d7.0]
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax + 0x10]
call qword [case.0x1400a26d7.0]
mov rdx, qword [rsp + 0x78]
test rdx, rdx
je 0x140003ceb
mov rcx, qword [0x1401f8cf8]
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
call qword [case.0x1400a26d7.0]
mov rdx, qword [rbp - 0x80]
test rdx, rdx
je 0x140003d08
mov rcx, qword [0x1401f8cf8]
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
call qword [case.0x1400a26d7.0]
mov al, r12b
mov rcx, qword [rbp + 0x2090]
xor rcx, rsp
call fcn.14011a150
mov rbx, qword [rsp + 0x21f8]
add rsp, 0x21a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret