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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x18014f1c0]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xor r14d, r14d
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], r14w
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r14 + 0x23]
xor ecx, ecx
call qword [sym.imp.shell32.dll_SHGetFolderPathW]
test eax, eax
jne 0x180012340
lea rax, [rbp - 0x60]
mov rsi, 0xffffffffffffffff
mov rdx, rsi
inc rdx
cmp word [rax + rdx*2], 0
jne 0x180012241
mov rax, qword [rbp - 0x68]
cmp rdx, rax
ja 0x18001227f
lea rdi, [rbp - 0x80]
cmp rax, 7
cmova rdi, qword [rbp - 0x80]
mov qword [rbp - 0x70], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
lea rdx, [rbp - 0x60]
mov rcx, rdi
call fcn.1801110c0
mov word [rbx + rdi], r14w
jmp 0x18001228c
lea r9, [rbp - 0x60]
lea rcx, [rbp - 0x80]
call fcn.18001a7e0
mov dword [rsp + 0x60], 0xb370b15c
mov dword [rsp + 0x64], 0xb748b575
mov dword [rsp + 0x68], 0xab6fa956
mov word [rsp + 0x6c], 0xad68
mov dword [rsp + 0x6e], 0xafae
xor eax, eax
mov byte [rsp + 0x72], al
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
movabs r9, 0xf07581979ed2e1e8
nop dword [rax]
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x30]
movzx edx, byte [rsp + rax + 0x60]
add rcx, r9
mov rax, rcx
and rax, rdx
imul r8, rax, 0xfffffffffffffffe
add r8, rcx
add r8, rdx
sub r8b, 0x58
mov rax, qword [rsp + 0x30]
mov byte [rsp + rax + 0x60], r8b
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp rax, 0x13
jb 0x1800122d0
lea rax, [rsp + 0x60]
nop dword [rax]
inc rsi
cmp word [rax + rsi*2], 0
jne 0x180012320
mov r8, rsi
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x80]
call fcn.180015f40
nop dword [rax + rax]
mov ecx, 0x3e8
call qword [sym.imp.kernel32.dll_Sleep]
lea rcx, [rbp - 0x80]
cmp qword [rbp - 0x68], 7
cmova rcx, qword [rbp - 0x80]
call qword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x18001236c
test al, 0x10
jne 0x18001236c
mov al, 1
jmp 0x18001236e
xor al, al
test al, al
je 0x180012340
mov dword [rsp + 0x40], 0x13a7ae59
mov dword [rsp + 0x44], 0x1753a755
mov dword [rsp + 0x48], 0xb5b4484a
mov dword [rsp + 0x4c], 0x490e4949
mov dword [rsp + 0x50], 0x3bfbeb2
mov dword [rsp + 0x54], 0x46baba57
mov qword [rsp + 0x58], 0x5b0438ca
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
movabs r9, 0xa09c11458513aca8
nop
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x30]
movzx edx, byte [rsp + rax + 0x40]
add rcx, r9
mov rax, rcx
and rax, rdx
imul r8, rax, 0xfffffffffffffffe
add r8, rcx
add r8, rdx
add r8b, 0x68
mov rax, qword [rsp + 0x30]
mov byte [rsp + rax + 0x40], r8b
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp rax, 0x20
jb 0x1800123c0
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.user32.dll_MessageBoxA]
xor ecx, ecx
int 0x29
mov rdx, qword [rbp - 0x68]
cmp rdx, 7
jbe 0x18001245b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180012456
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180012487
call fcn.1800d21b0
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.1800d2190
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.1800dbbc0
int3