Function at 0x1400cbca0
Capabilities:
Check if file exists
Create directory
Get common file path
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x280
mov rax, qword [0x140173040]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov ebx, r8d
mov rdi, rdx
mov qword [rsp + 0x38], rdx
xor r12d, r12d
xor edx, edx
mov r8d, 0x20a
lea rcx, [rsp + 0x60]
call fcn.14012ce40
lea r9d, [r12 + 1]
mov r8d, ebx
lea rdx, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x1400cbf28
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.14003e820
nop
mov rsi, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
sub rax, rsi
cmp rax, 0x12
jb 0x1400cbd63
lea rax, [rsi + 0x12]
mov qword [rsp + 0x50], rax
lea rbx, [rsp + 0x40]
cmp rcx, 7
cmova rbx, qword [rsp + 0x40]
lea rcx, [rbx + rsi*2]
lea r8d, [r12 + 0x24]
lea rdx, str.ProcessLasso_temp
call fcn.14012c6c0
mov word [rbx + rsi*2 + 0x24], r12w
jmp 0x1400cbd82
mov qword [rsp + 0x20], 0x12
lea r9, str.ProcessLasso_temp
mov edx, 0x12
lea rcx, [rsp + 0x40]
call fcn.1400bfcb0
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400cbdba
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rdx, qword [rsp + 0x40]
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov r14, qword [rsp + 0x50]
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
sub rax, r14
cmp rax, 0x13
jb 0x1400cbf6c
lea r15, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova r15, qword [rsp + 0x40]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], r12
lea rbp, [r14 + 0x13]
mov ebx, 7
mov rsi, rdi
cmp rbp, rbx
jbe 0x1400cbe9c
mov rbx, rbp
or rbx, 7
cmp rbx, rcx
jbe 0x1400cbe2c
mov rbx, rcx
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
jmp 0x1400cbe5b
mov eax, 0xa
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x1400cbf66
add rcx, rcx
cmp rcx, 0x1000
jb 0x1400cbe87
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400cbf66
mov rcx, rax
call fcn.1400ff088
test rax, rax
je 0x1400cbf72
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x1400cbe99
test rcx, rcx
je 0x1400cbe96
call fcn.1400ff088
mov rsi, rax
jmp 0x1400cbe99
mov rsi, r12
mov qword [rdi], rsi
mov qword [rdi + 0x10], rbp
mov qword [rdi + 0x18], rbx
lea rbx, [r14 + r14]
mov r8, rbx
mov rdx, r15
mov rcx, rsi
call fcn.14012c6c0
movups xmm0, xmmword [str.keepawakeindef.tmp]
movups xmmword [rbx + rsi], xmm0
movups xmm1, xmmword [0x14014f788]
movups xmmword [rbx + rsi + 0x10], xmm1
mov eax, dword [0x14014f798]
mov dword [rbx + rsi + 0x20], eax
movzx eax, word [0x14014f79c]
mov word [rbx + rsi + 0x24], ax
mov word [rsi + rbp*2], r12w
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x1400cbf37
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400cbf21
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400cbf78
call fcn.1400ff054
jmp 0x1400cbf37
lea rdx, [0x1401467a0]
mov rcx, rdi
call fcn.14003e820
mov rax, rdi
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400ff350
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
call fcn.140006440
nop
call fcn.140006710
int3
call fcn.14010b448
nop
call fcn.14010b448
int3