Function at 0x18000c0d0
Capabilities:
Check if file exists
Get common file path
Get startup folder

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0xbe8]
sub rsp, 0xcc0
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1800704c0]
xor rax, rsp
mov qword [rbp + 0xbb0], rax
mov r14, rdx
mov rbx, rcx
xor r15d, r15d
mov dword [rsp + 0x20], r15d
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x9a0]
call fcn.180036a10
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x580]
call fcn.180036a10
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x370]
call fcn.180036a10
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x790]
call fcn.180036a10
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x160]
call fcn.180036a10
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x50]
call fcn.180036a10
mov qword [rsp + 0x48], 7
mov qword [rsp + 0x40], r15
mov word [rsp + 0x30], r15w
xor r9d, r9d
lea r8d, [r15 + 0x1a]
lea rdx, [rbp + 0x9a0]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov ecx, r15d
nop dword [rax]
movzx eax, word [rbp + rcx + 0x9a0]
mov word [rbp + rcx + 0x160], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x18000c1c0
mov edx, 0x5c
lea rcx, [rbp + 0x160]
call fcn.180036bb0
test rax, rax
jne 0x18000c21b
mov rdx, r14
lea rcx, [rsp + 0x30]
call fcn.18000beb0
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r15
cmp qword [rbx + 0x18], 8
jb 0x18000c3df
mov rax, qword [rbx]
jmp 0x18000c3e2
mov word [rax], r15w
mov rcx, r15
nop dword [rax]
nop word [rax + rax]
movzx eax, word [rbp + rcx + 0x160]
mov word [rbp + rcx + 0x580], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x18000c230
lea rcx, [rbp + 0x580]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x18000c254
movsd xmm0, qword [str.Local]
movsd qword [rcx], xmm0
mov eax, dword [0x18004f8d0]
mov dword [rcx + 8], eax
movzx eax, word [0x18004f8d4]
mov word [rcx + 0xc], ax
lea rcx, [rbp + 0x580]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, r15d
mov r12d, 1
test eax, eax
cmovne esi, r12d
mov rcx, r15
nop dword [rax]
movzx eax, word [rbp + rcx + 0x160]
mov word [rbp + rcx + 0x370], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x18000c2a0
lea rcx, [rbp + 0x370]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x18000c2c4
movups xmm0, xmmword [str.LocalLow]
movups xmmword [rcx], xmm0
mov eax, dword [0x18004f8e8]
mov dword [rcx + 0x10], eax
lea rcx, [rbp + 0x370]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, r15d
test eax, eax
cmovne edi, r12d
mov rcx, r15
nop word [rax + rax]
movzx eax, word [rbp + rcx + 0x160]
mov word [rbp + rcx + 0x790], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x18000c300
lea rcx, [rbp + 0x790]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x18000c324
movups xmm0, xmmword [str.Roaming]
movups xmmword [rcx], xmm0
movzx eax, word [0x18004f900]
mov word [rcx + 0x10], ax
lea rcx, [rbp + 0x790]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, r15d
test eax, eax
cmovne ecx, r12d
test esi, esi
je 0x18000c1ef
test edi, edi
je 0x18000c1ef
test ecx, ecx
je 0x18000c1ef
mov r9, r14
lea r8, [rbp + 0x370]
lea rdx, str._s_s_
lea rcx, [rsp + 0x50]
call fcn.180003320
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x18000c3a5
lea rcx, [rsp + 0x50]
call fcn.18000bdd0
cmp word [rsp + 0x50], 0
jne 0x18000c3b2
mov r8, r15
jmp 0x18000c3cb
lea rax, [rsp + 0x50]
or r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x18000c3c0
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.180002d00
jmp 0x18000c1fc
mov rax, rbx
mov word [rax], r15w
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.180001c80
nop
mov r8, qword [rsp + 0x48]
cmp r8, 8
jb 0x18000c411
inc r8
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
call fcn.180002f20
mov rax, rbx
mov rcx, qword [rbp + 0xbb0]
xor rcx, rsp
call fcn.180015b60
lea r11, [rsp + 0xcc0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret