Function at 0x18000d100
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.180025c90
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.180008a78
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.18000266c
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 0x18000d1a9
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.18000854c
nop
lea rcx, [rsp + 0x20]
call fcn.18000cc5c
nop
lea rcx, [rsp + 0x20]
call fcn.18000266c
mov r8, rsi
xor edx, edx
lea rcx, [rbp + 0x160]
call fcn.180025c90
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.180008a78
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.18000266c
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 0x18000d251
lea rdx, [rbp + 0x160]
lea rcx, [rsp + 0x20]
call fcn.18000854c
nop
lea rcx, [rsp + 0x20]
call fcn.18000cc5c
nop
lea rcx, [rsp + 0x20]
call fcn.18000266c
mov r8, rsi
xor edx, edx
lea rcx, [rbp + 0x370]
call fcn.180025c90
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.180008a78
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.18000266c
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 0x18000d2fb
lea rdx, [rbp + 0x370]
lea rcx, [rsp + 0x20]
call fcn.18000854c
nop
lea rcx, [rsp + 0x20]
call fcn.18000cc5c
nop
lea rcx, [rsp + 0x20]
call fcn.18000266c
mov r8, rsi
xor edx, edx
lea rcx, [rbp + 0x580]
call fcn.180025c90
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.180008a78
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.18000266c
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 0x18000d3a2
mov r8, rbx
lea rdx, [rbp + 0x580]
lea rcx, [rsp + 0x20]
call fcn.18000854c
nop
lea rcx, [rsp + 0x20]
call fcn.18000cc5c
nop
lea rcx, [rsp + 0x20]
call fcn.18000266c
mov rcx, qword [rbp + 0x790]
xor rcx, rsp
call fcn.18000fda0
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