Function at 0x18002d574
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
lea rbp, [rsp - 0x410]
sub rsp, 0x510
mov rax, qword [0x180083330]
xor rax, rsp
mov qword [rbp + 0x400], rax
mov r13b, r8b
mov rax, rdx
xor r12d, r12d
mov qword [rsp + 0x60], r12
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], r12
mov qword [rbp - 0x40], r12
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], r12
or rdx, 0xffffffffffffffff
mov qword [rbp - 0x78], rdx
mov qword [rbp - 0x70], rdx
mov qword [rbp - 0x48], r12
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x48], rdx
mov qword [rbp - 0x40], rdx
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x60], rdx
mov qword [rbp - 0x58], rdx
mov qword [rsp + 0x60], r12
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x80], r12
lea r9, [rbp - 0x50]
lea r8, [rbp - 0x68]
lea rdx, [rsp + 0x60]
cmp qword [rax], r12
je 0x18002d66c
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x20], rcx
mov rcx, rax
call fcn.18002caac
mov ebx, eax
test eax, eax
jns 0x18002d687
mov edx, Ordinal_188
lea r8, str.pcshell_shell_appresolverlibuserpinnedtilemanager.cpp
mov r9d, eax
mov rcx, qword [rbp + 0x438]
call fcn.18000a0f0
jmp 0x18002d68a
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
call fcn.18002cec4
mov ebx, eax
test eax, eax
jns 0x18002d687
mov edx, reloc.SHCORE.dll_Ordinal_188
jmp 0x18002d654
mov ebx, r12d
mov rdi, qword [rsp + 0x60]
mov rsi, qword [rbp - 0x50]
test ebx, ebx
jns 0x18002d6b7
mov rcx, qword [rbp + 0x438]
mov r9d, ebx
lea r8, str.pcshell_shell_appresolverlibuserpinnedtilemanager.cpp
mov edx, Ordinal_213
call fcn.18000a0f0
jmp 0x18002da6b
or dword [rsp + 0x38], 0xffffffff
test rsi, rsi
je 0x18002d6e9
cmp word [rsi], r12w
je 0x18002d6e9
lea r9, [rsp + 0x38]
mov r8d, 0x104
lea rdx, [rbp - 0x20]
mov rcx, rsi
call qword [sym.imp.SHELL32.dll_SHGetLocalizedName]
nop dword [rax + rax]
test eax, eax
jns 0x18002d6ee
or dword [rsp + 0x38], 0xffffffff
mov qword [rsp + 0x30], r12
lea rcx, [rsp + 0x30]
call fcn.180009204
mov rcx, qword [rdi]
mov r9, qword [rcx]
mov r8, rax
lea rdx, [0x18006e990]
mov rcx, rdi
mov rax, r9
call qword [case.0x18004bf34.0]
mov ebx, eax
test eax, eax
jns 0x18002d73f
mov rcx, qword [rbp + 0x438]
mov r9d, eax
lea r8, str.pcshell_shell_appresolverlibuserpinnedtilemanager.cpp
mov edx, 0xdc
call fcn.18000a0f0
jmp 0x18002da4e
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x18002d75a
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r12
or rbx, 0xffffffffffffffff
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x68], r12
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
lea r8, [rbp - 0x38]
lea rdx, str.goC
mov rax, qword [rax + 0x28]
call qword [case.0x18004bf34.0]
test eax, eax
js 0x18002d7a6
lea rdx, [rbp - 0x38]
lea rcx, [rsp + 0x68]
call fcn.18005f0c0
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x28], r12
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x28], r12
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x28], rbx
lea r9, [rbp - 0x38]
mov r8, qword [rbp - 0x68]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rbp - 0x80]
call fcn.180034744
mov ebx, eax
mov r12, qword [rbp - 0x38]
test eax, eax
jns 0x18002d802
mov rcx, qword [rbp + 0x438]
mov r9d, eax
lea r8, str.pcshell_shell_appresolverlibuserpinnedtilemanager.cpp
mov edx, 0xdf
call fcn.18000a0f0
jmp 0x18002da2b
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rbp - 0x80]
call fcn.18002d440
xor ebx, ebx
test eax, eax
js 0x18002da2b
lea eax, [rbx + 0x13]
mov word [rsp + 0x40], ax
mov dword [rsp + 0x48], 2
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
lea r8, [rsp + 0x40]
lea rdx, [0x18006d680]
mov rax, qword [rax + 0x30]
call qword [case.0x18004bf34.0]
test eax, eax
js 0x18002da2b
lea eax, [rbx + 0x1f]
mov word [rsp + 0x40], ax
mov qword [rsp + 0x48], r12
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
lea r8, [rsp + 0x40]
lea rdx, [0x1800748c8]
mov rax, qword [rax + 0x30]
call qword [case.0x18004bf34.0]
test eax, eax
js 0x18002da2b
test r13b, r13b
je 0x18002d8c2
lea eax, [rbx + 0xb]
mov word [rsp + 0x40], ax
or r13, 0xffffffffffffffff
mov word [rsp + 0x48], r13w
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
lea r8, [rsp + 0x40]
lea rdx, [0x180074838]
mov rax, qword [rax + 0x30]
call qword [case.0x18004bf34.0]
test eax, eax
js 0x18002da2b
jmp 0x18002d8c6
or r13, 0xffffffffffffffff
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
mov rax, qword [rax + 0x38]
call qword [case.0x18004bf34.0]
test eax, eax
js 0x18002da2b
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], r13
lea r9, [rsp + 0x40]
xor r8d, r8d
mov edx, 0x8800
lea rcx, [0x18006d9a8]
call qword [sym.imp.Windows.Storage.dll_SHGetKnownFolderPath]
nop dword [rax + rax]
test eax, eax
js 0x18002da06
mov dword [rsp + 0x20], 0x104
lea r9, [rbp + 0x1f0]
xor r8d, r8d
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.SHELL32.dll_Ordinal_971]
nop dword [rax + rax]
test eax, eax
js 0x18002da06
mov qword [rsp + 0x58], rbx
mov rax, qword [rdi]
mov rbx, qword [rax]
mov rcx, qword [rsp + 0x58]
xor eax, eax
test rcx, rcx
je 0x18002d983
mov qword [rsp + 0x58], rax
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x10]
call qword [case.0x18004bf34.0]
lea r8, [rsp + 0x58]
lea rdx, [0x180070958]
mov rcx, rdi
mov rax, rbx
call qword [case.0x18004bf34.0]
xor ebx, ebx
test eax, eax
js 0x18002d9e9
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
xor r8d, r8d
lea rdx, [rbp + 0x1f0]
mov rax, qword [rax + 0x30]
call qword [case.0x18004bf34.0]
test eax, eax
js 0x18002d9e9
cmp word [rbp - 0x20], bx
je 0x18002d9e9
mov r8d, dword [rsp + 0x38]
cmp r8d, r13d
je 0x18002d9e9
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x1f0]
call qword [sym.imp.ext_ms_win_shell_shell32_l1_2_0.dll_SHSetLocalizedName]
nop dword [rax + rax]
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x18002da06
mov qword [rsp + 0x58], rbx
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x18004bf34.0]
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x18002da21
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rbx
test r12, r12
je 0x18002da46
mov rcx, r12
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
xor r12d, r12d
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x28], r12
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x18002da6b
mov qword [rsp + 0x30], r12
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x18004bf34.0]
nop
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x18002da86
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r12
test rsi, rsi
je 0x18002daa8
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], r12
mov qword [rbp - 0x40], r12
cmp qword [rbp - 0x80], r12
je 0x18002daca
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], r12
cmp qword [rbp - 0x68], r12
je 0x18002daec
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], r12
test rdi, rdi
je 0x18002db0e
mov qword [rsp + 0x60], r12
mov rdx, qword [rdi]
mov rcx, rdi
mov rax, qword [rdx + 0x10]
call qword [case.0x18004bf34.0]
mov eax, ebx
mov rcx, qword [rbp + 0x400]
xor rcx, rsp
call fcn.180062960
mov rbx, qword [rsp + 0x550]
add rsp, 0x510
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret