Function at 0x18000d2cc
Capabilities:
Get common file path
Get startup folder

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 [0x180036040]
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.180025e50
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.180008b28
lea rdx, [rsp + 0x20]
cmp qword [rsp + 0x38], 7
cmova rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rsp + 0x20]
call fcn.18000270c
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 0x18000d375
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.1800085fc
nop
lea rcx, [rsp + 0x20]
call fcn.18000ce28
nop
lea rcx, [rsp + 0x20]
call fcn.18000270c
mov r8, rsi
xor edx, edx
lea rcx, [rbp + 0x160]
call fcn.180025e50
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.180008b28
lea rdx, [rsp + 0x20]
cmp qword [rsp + 0x38], 7
cmova rdx, qword [rsp + 0x20]
lea rcx, [rbp + 0x160]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rsp + 0x20]
call fcn.18000270c
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 0x18000d41d
lea rdx, [rbp + 0x160]
lea rcx, [rsp + 0x20]
call fcn.1800085fc
nop
lea rcx, [rsp + 0x20]
call fcn.18000ce28
nop
lea rcx, [rsp + 0x20]
call fcn.18000270c
mov r8, rsi
xor edx, edx
lea rcx, [rbp + 0x370]
call fcn.180025e50
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.180008b28
lea rdx, [rsp + 0x20]
cmp qword [rsp + 0x38], 7
cmova rdx, qword [rsp + 0x20]
lea rcx, [rbp + 0x370]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rsp + 0x20]
call fcn.18000270c
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 0x18000d4c7
lea rdx, [rbp + 0x370]
lea rcx, [rsp + 0x20]
call fcn.1800085fc
nop
lea rcx, [rsp + 0x20]
call fcn.18000ce28
nop
lea rcx, [rsp + 0x20]
call fcn.18000270c
mov r8, rsi
xor edx, edx
lea rcx, [rbp + 0x580]
call fcn.180025e50
xor r9d, r9d
lea r8d, [r9 + 0x1c]
lea rdx, [rbp + 0x580]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov edx, 0xa
lea rcx, [rsp + 0x20]
call fcn.180008b28
lea rdx, [rsp + 0x20]
cmp qword [rsp + 0x38], 7
cmova rdx, qword [rsp + 0x20]
lea rcx, [rbp + 0x580]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rsp + 0x20]
call fcn.18000270c
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 0x18000d56e
mov r8, rbx
lea rdx, [rbp + 0x580]
lea rcx, [rsp + 0x20]
call fcn.1800085fc
nop
lea rcx, [rsp + 0x20]
call fcn.18000ce28
nop
lea rcx, [rsp + 0x20]
call fcn.18000270c
mov rcx, qword [rbp + 0x790]
xor rcx, rsp
call fcn.18000ff70
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