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

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x500
mov qword [rsp + 0xd8], 0xfffffffffffffffe
mov rax, qword [0x1402126b0]
xor rax, rsp
mov qword [rsp + 0x4f0], rax
mov dword [rsp + 0x30], 0
lea rcx, [rsp + 0x218]
call fcn.140009a60
nop
lea rcx, [rsp + 0xe0]
call fcn.14001cfb0
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x218]
call fcn.1400105d0
nop
lea rcx, [rsp + 0xe0]
call fcn.140009960
lea rcx, [rsp + 0x218]
call fcn.140010300
movzx eax, al
test eax, eax
jne 0x14001cafb
lea rdx, [rsp + 0x218]
mov rcx, qword [rsp + 0x510]
call fcn.140009990
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x218]
call fcn.140009960
mov rax, qword [rsp + 0x510]
jmp 0x14001cf8d
lea rax, [rsp + 0x3e0]
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
lea rax, [rsp + 0x3e0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x23
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
lea rdx, [rsp + 0x3e0]
lea rcx, [rsp + 0x258]
call fcn.140009a10
nop
mov edx, Ordinal_26
lea rcx, [rsp + 0x1e0]
call fcn.14000c8b0
lea rcx, [rsp + 0x1e0]
call fcn.1400221e0
nop
lea r8, [0x1401b8830]
lea rdx, [rsp + 0x258]
lea rcx, [rsp + 0x1f8]
call fcn.1400259a0
nop
lea rdx, [rsp + 0x1f8]
lea rcx, [rsp + 0x1e0]
call fcn.140022000
lea r8, [0x1401b8848]
lea rdx, [rsp + 0x258]
lea rcx, [rsp + 0x100]
call fcn.1400259a0
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x1f8]
call fcn.1400105d0
nop
lea rcx, [rsp + 0x100]
call fcn.140009960
lea rdx, [rsp + 0x1f8]
lea rcx, [rsp + 0x1e0]
call fcn.140022000
lea r8, [0x1401b8868]
lea rdx, [rsp + 0x258]
lea rcx, [rsp + 0x120]
call fcn.1400259a0
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x68], rax
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x1f8]
call fcn.1400105d0
nop
lea rcx, [rsp + 0x120]
call fcn.140009960
lea rdx, [rsp + 0x1f8]
lea rcx, [rsp + 0x1e0]
call fcn.140022000
lea r8, [0x1401b8880]
lea rdx, [rsp + 0x258]
lea rcx, [rsp + 0x140]
call fcn.1400259a0
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x78], rax
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x1f8]
call fcn.1400105d0
nop
lea rcx, [rsp + 0x140]
call fcn.140009960
lea rdx, [rsp + 0x1f8]
lea rcx, [rsp + 0x1e0]
call fcn.140022000
lea rcx, [rsp + 0x1e0]
call fcn.140021fc0
dec rax
mov edx, eax
xor ecx, ecx
call fcn.14001c340
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
mov edx, eax
lea rcx, [rsp + 0x1e0]
call fcn.140021f90
mov rdx, rax
lea rcx, [rsp + 0x238]
call fcn.140010660
nop
lea rcx, [rsp + 0x238]
call fcn.1400097a0
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x14001cd1f
lea rcx, [rsp + 0x238]
call fcn.14001b8d0
lea rdx, [0x1401b273c]
lea rcx, [rsp + 0x238]
call fcn.1400104f0
lea rcx, [rsp + 0x218]
call fcn.140010300
movzx eax, al
test eax, eax
je 0x14001cf20
mov edx, 0xea60
mov ecx, 0x7530
call fcn.14001c340
mov dword [rsp + 0x38], eax
lea rax, [rsp + 0x2e0]
mov rdi, rax
xor eax, eax
mov ecx, 0xff
rep stosb byte [rdi], al
mov r8d, dword [rsp + 0x38]
lea rdx, [0x1401b274c]
lea rcx, [rsp + 0x2e0]
call fcn.140017d50
lea rax, [rsp + 0x180]
mov qword [rsp + 0x80], rax
lea rax, [rsp + 0x1a0]
mov qword [rsp + 0x90], rax
lea rdx, [0x1401b8890]
mov rcx, qword [rsp + 0x80]
call fcn.140009a10
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0xa0], rax
lea rdx, [rsp + 0x2e0]
mov rcx, qword [rsp + 0x90]
call fcn.140009a10
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xa8], rax
mov r9d, 1
mov r8, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0xa8]
lea rcx, [rsp + 0x2b8]
call fcn.140008c90
nop
lea rax, [rsp + 0x1c0]
mov qword [rsp + 0xb0], rax
lea rdx, [rsp + 0x2b8]
mov rcx, qword [rsp + 0xb0]
call fcn.140010660
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0xc0], rax
mov rdx, qword [rsp + 0xc0]
lea rcx, [rsp + 0x298]
call fcn.140009550
nop
lea rcx, [rsp + 0x278]
call fcn.140009a60
nop
lea rdx, [rsp + 0x278]
lea rcx, [rsp + 0x298]
call fcn.14001c1a0
lea r8, [rsp + 0x278]
lea rdx, [rsp + 0x238]
lea rcx, [rsp + 0x160]
call fcn.1400258d0
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0xd0], rax
mov rdx, qword [rsp + 0xd0]
lea rcx, [rsp + 0x218]
call fcn.1400105d0
nop
lea rcx, [rsp + 0x160]
call fcn.140009960
nop
lea rcx, [rsp + 0x278]
call fcn.140009960
nop
lea rcx, [rsp + 0x298]
call fcn.140009960
nop
lea rcx, [rsp + 0x2b8]
call fcn.140009960
lea rdx, [rsp + 0x218]
mov rcx, qword [rsp + 0x510]
call fcn.140009990
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x238]
call fcn.140009960
nop
lea rcx, [rsp + 0x1f8]
call fcn.140009960
nop
lea rcx, [rsp + 0x1e0]
call fcn.140010100
nop
lea rcx, [rsp + 0x258]
call fcn.140009960
nop
lea rcx, [rsp + 0x218]
call fcn.140009960
mov rax, qword [rsp + 0x510]
mov rcx, qword [rsp + 0x4f0]
xor rcx, rsp
call fcn.140138320
add rsp, 0x500
pop rdi
ret