Function at 0x140006758
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x5f0]
sub rsp, 0x6f0
mov rax, qword [0x140387a48]
xor rax, rsp
mov qword [rbp + 0x5e0], rax
mov rdi, rdx
mov r15, rcx
call fcn.140064268
xor ebx, ebx
mov r13d, eax
mov r12b, bl
test eax, eax
js 0x14000693d
mov r14d, ebx
mov dword [rsp + 0x30], ebx
lea esi, [rbx + 1]
mov r9d, 0x104
lea r8, [rsp + 0x60]
mov edx, esi
mov rcx, r15
call fcn.140006984
test eax, eax
je 0x14000690a
lea rdx, [0x140309dd8]
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_shlwapi_obsolete_l1_1_0.dll_StrCmpICW]
nop dword [rax + rax]
test eax, eax
je 0x14013e9b2
lea rdx, str._EXPAND
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_shlwapi_obsolete_l1_1_0.dll_StrCmpICW]
nop dword [rax + rax]
test eax, eax
je 0x14013e9bb
lea rdx, [0x140309dbc]
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_shlwapi_obsolete_l1_1_0.dll_StrCmpICW]
nop dword [rax + rax]
test eax, eax
je 0x14013e9c4
lea rdx, str._ROOT
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_shlwapi_obsolete_l1_1_0.dll_StrCmpICW]
nop dword [rax + rax]
test eax, eax
je 0x14013e9cd
lea rdx, str._SELECT
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_shlwapi_obsolete_l1_1_0.dll_StrCmpICW]
nop dword [rax + rax]
test eax, eax
je 0x14013eac7
lea rdx, str._IDLIST
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_shlwapi_obsolete_l1_1_0.dll_StrCmpICW]
nop dword [rax + rax]
test eax, eax
je 0x14013eb7d
lea rdx, str._SEPARATE
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_shlwapi_obsolete_l1_1_0.dll_StrCmpICW]
nop dword [rax + rax]
test eax, eax
je 0x14013ead0
lea rdx, str._FACTORY
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_shlwapi_obsolete_l1_1_0.dll_StrCmpICW]
nop dword [rax + rax]
test eax, eax
jne 0x14013eadc
inc esi
lea rcx, [rsp + 0x40]
mov r8d, esi
mov rdx, r15
call fcn.1400066d8
movups xmm0, xmmword [rax]
movdqu xmmword [rdi + 0x10], xmm0
mov rax, qword [rdi + 0x10]
sub rax, qword [0x140313b90]
jne 0x1400068fc
mov rax, qword [rdi + 0x18]
sub rax, qword [0x140313b98]
test rax, rax
setne r12b
inc esi
jmp 0x1400067ad
cmp qword [rdi], rbx
jne 0x14000692c
xor r9d, r9d
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 5]
call qword [0x1403ad830]
nop dword [rax + rax]
test r13d, r13d
jne 0x14000693d
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoUninitialize]
nop dword [rax + rax]
cmp qword [rdi], rbx
je 0x140006974
mov ebx, 1
mov eax, ebx
mov rcx, qword [rbp + 0x5e0]
xor rcx, rsp
call fcn.1400a15a0
mov rbx, qword [rsp + 0x740]
add rsp, 0x6f0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
test r12b, r12b
je 0x140006947
jmp 0x140006942
or dword [rdi + 0xc], 1
jmp 0x140006903
or dword [rdi + 0xc], 0x10
jmp 0x140006903
or dword [rdi + 0xc], 8
jmp 0x140006903
inc esi
mov qword [rsp + 0x38], rbx
mov edx, esi
lea r8, [rsp + 0x60]
mov r9d, 0x104
mov rcx, r15
call fcn.140006984
test eax, eax
je 0x14013ebb0
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHCORE.dll_Ordinal_200]
nop dword [rax + rax]
test eax, eax
je 0x14013ea94
lea r8, [rsp + 0x60]
mov edx, PathIsExe
lea rcx, [rbp + 0x170]
call fcn.14003d070
inc esi
lea r8, [rsp + 0x60]
mov edx, esi
mov r9d, 0x104
mov rcx, r15
call fcn.140006984
test eax, eax
jne 0x14013ea59
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x170]
call fcn.14019a578
test eax, eax
je 0x14013ebb0
xor r9d, r9d
mov qword [rsp + 0x20], rbx
lea r8, [rsp + 0x38]
xor edx, edx
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_shell_namespace_l1_1_0.dll_SHParseDisplayName]
nop dword [rax + rax]
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x14013ea86
mov qword [rdi], rax
test r14d, r14d
jne 0x14000690a
jmp 0x140006903
lea rdx, str._IDLIST
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_shlwapi_obsolete_l1_1_0.dll_StrCmpICW]
nop dword [rax + rax]
test eax, eax
jne 0x14013ea59
inc esi
lea r14d, [rax + 1]
mov edx, esi
mov dword [rsp + 0x30], r14d
mov rcx, r15
call fcn.14019a6d0
jmp 0x14013ea7e
or dword [rdi + 0xc], 4
jmp 0x140006903
mov dword [rdi + 8], 1
jmp 0x140006903
lea rdx, str._LOADSAVEDWINDOWS
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_shlwapi_obsolete_l1_1_0.dll_StrCmpICW]
nop dword [rax + rax]
test eax, eax
je 0x140006903
cmp qword [rdi], rbx
jne 0x140006903
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHELL32.dll_ILCreateFromPathW]
nop dword [rax + rax]
mov r14, rax
test rax, rax
jne 0x14013eb70
lea rdx, [rbp + 0x1c0]
mov ecx, 0x104
call qword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_GetCurrentDirectoryW]
nop dword [rax + rax]
lea r8, [rsp + 0x60]
lea rdx, [rbp + 0x1c0]
lea rcx, [rbp + 0x3d0]
call qword [sym.imp.api_ms_win_core_shlwapi_legacy_l1_1_0.dll_PathCombineW]
nop dword [rax + rax]
test rax, rax
je 0x14013eb70
lea rcx, [rbp + 0x3d0]
call qword [sym.imp.SHELL32.dll_ILCreateFromPathW]
nop dword [rax + rax]
mov r14, rax
mov qword [rdi], r14
mov r14d, dword [rsp + 0x30]
jmp 0x140006903
lea edx, [rsi + 1]
mov rcx, r15
call fcn.14019a6d0
mov rsi, rax
test rax, rax
je 0x14013eba7
mov rcx, qword [rdi]
call qword [sym.imp.api_ms_win_shell_namespace_l1_1_0.dll_ILFree]
nop dword [rax + rax]
mov qword [rdi], rsi
jmp 0x14000690a
cmp qword [rdi], rbx
jne 0x14000692c
xor eax, eax
jmp 0x140006949