Function at 0x18000d4bc
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x7a8]
sub rsp, 0x8a0
mov rax, qword [0x180035028]
xor rax, rsp
mov qword [rbp + 0x790], rax
xor edi, edi
mov esi, 0x208
mov r8d, esi
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.1800125c0
xor r9d, r9d
lea r8d, [rdi + 0x23]
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edx, [rdi + 3]
lea rcx, [rsp + 0x20]
call fcn.180008cbc
lea rdx, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
cmovae rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rsp + 0x20]
call fcn.18000268c
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
lea rax, [rsp + 0x50]
or rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp word [rax + r8*2], di
jne 0x18000d565
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.180008738
nop
lea rcx, [rsp + 0x20]
call fcn.18000d018
nop
lea rcx, [rsp + 0x20]
call fcn.18000268c
mov r8, rsi
xor edx, edx
lea rcx, [rbp + 0x160]
call fcn.1800125c0
xor r9d, r9d
lea r8d, [r9 + 0x1a]
lea rdx, [rbp + 0x160]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov edx, 3
lea rcx, [rsp + 0x20]
call fcn.180008cbc
lea rdx, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
cmovae rdx, qword [rsp + 0x20]
lea rcx, [rbp + 0x160]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rsp + 0x20]
call fcn.18000268c
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
lea rax, [rbp + 0x160]
mov r8, rbx
inc r8
cmp word [rax + r8*2], di
jne 0x18000d60d
lea rdx, [rbp + 0x160]
lea rcx, [rsp + 0x20]
call fcn.180008738
nop
lea rcx, [rsp + 0x20]
call fcn.18000d018
nop
lea rcx, [rsp + 0x20]
call fcn.18000268c
mov r8, rsi
xor edx, edx
lea rcx, [rbp + 0x370]
call fcn.1800125c0
xor r9d, r9d
lea r8d, [r9 + 0x1c]
lea rdx, [rbp + 0x370]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov edx, 3
lea rcx, [rsp + 0x20]
call fcn.180008cbc
lea rdx, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
cmovae rdx, qword [rsp + 0x20]
lea rcx, [rbp + 0x370]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rsp + 0x20]
call fcn.18000268c
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
lea rax, [rbp + 0x370]
mov r8, rbx
inc r8
cmp word [rax + r8*2], di
jne 0x18000d6b7
lea rdx, [rbp + 0x370]
lea rcx, [rsp + 0x20]
call fcn.180008738
nop
lea rcx, [rsp + 0x20]
call fcn.18000d018
nop
lea rcx, [rsp + 0x20]
call fcn.18000268c
mov r8, rsi
xor edx, edx
lea rcx, [rbp + 0x580]
call fcn.1800125c0
xor r9d, r9d
lea r8d, [r9 + 0x1c]
lea rdx, [rbp + 0x580]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov edx, 0xb
lea rcx, [rsp + 0x20]
call fcn.180008cbc
lea rdx, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
cmovae rdx, qword [rsp + 0x20]
lea rcx, [rbp + 0x580]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rsp + 0x20]
call fcn.18000268c
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
lea rax, [rbp + 0x580]
inc rbx
cmp word [rax + rbx*2], di
jne 0x18000d75e
mov r8, rbx
lea rdx, [rbp + 0x580]
lea rcx, [rsp + 0x20]
call fcn.180008738
nop
lea rcx, [rsp + 0x20]
call fcn.18000d018
nop
lea rcx, [rsp + 0x20]
call fcn.18000268c
mov rcx, qword [rbp + 0x790]
xor rcx, rsp
call fcn.180010290
lea r11, [rsp + 0x8a0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret