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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xf0
mov rax, qword [0x140061040]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rsi, rcx
xor edi, edi
movups xmm0, xmmword [0x140036920]
movups xmmword [rbp + 0x1f], xmm0
lea r9, [rbp - 0x29]
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x1f]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
je 0x140032abb
lea eax, [rdi + 1]
jmp 0x140032e00
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x11], xmm1
mov rdx, qword [rbp - 0x29]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], di
jne 0x140032ad5
lea rcx, [rbp - 0x21]
call fcn.1400074d0
nop
mov rcx, qword [rbp - 0x29]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
lea rax, [rbp - 0x21]
cmp qword [rbp - 9], 7
cmova rax, qword [rbp - 0x21]
lea rcx, str.
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], 8
mov qword [rbp - 0x41], rax
movabs r14, 0xb000000000000000
mov qword [rbp - 0x59], r14
lea r15, str.Boscorp
mov qword [rbp - 0x39], r15
movabs r12, 0xb000000000000008
mov qword [rbp - 0x51], r12
lea rax, str.XView
mov qword [rbp - 0x31], rax
movabs rax, 0xb000000000000010
mov qword [rbp - 0x49], rax
mov qword [rsp + 0x20], 3
lea rax, [rbp - 0x59]
mov qword [rsp + 0x28], rax
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
movaps xmm1, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm1
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x79]
call fcn.140008700
lea rbx, [rsi + 0xb8]
lea rax, [rbp - 0x79]
cmp rbx, rax
je 0x140032c08
mov rdx, qword [rbx + 0x18]
cmp rdx, 7
jbe 0x140032be0
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140032bdb
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140032c3f
mov rcx, r8
call fcn.140033aa0
mov qword [rbx + 0x18], 7
movups xmm0, xmmword [rbp - 0x79]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp - 0x69]
movups xmmword [rbx + 0x10], xmm1
movdqa xmm0, xmmword [0x140059500]
movdqu xmmword [rbp - 0x69], xmm0
mov word [rbp - 0x79], di
mov rdx, qword [rbp - 0x61]
cmp rdx, 7
jbe 0x140032c4b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x79]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140032c46
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140032c46
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140033aa0
cmp qword [rbx + 0x18], 7
jbe 0x140032c55
mov rbx, qword [rbx]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140032c67
mov eax, edi
jmp 0x140032c70
movzx eax, al
shr eax, 4
and eax, 1
test eax, eax
jne 0x140032dbb
lea rax, [rbp - 0x21]
cmp qword [rbp - 9], 7
cmova rax, qword [rbp - 0x21]
lea rcx, [0x140053fb0]
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], 5
mov qword [rbp - 0x49], rax
mov qword [rbp - 0x59], r14
mov qword [rbp - 0x41], r15
mov qword [rbp - 0x51], r12
mov qword [rsp + 0x30], 2
lea rax, [rbp - 0x59]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
movaps xmm1, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm1
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 1]
call fcn.140008700
lea rcx, [rbp - 1]
cmp qword [rbp + 0x17], 7
cmova rcx, qword [rbp - 1]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea rcx, [rsi + 0xb8]
cmp qword [rcx + 0x18], 7
jbe 0x140032d0d
mov rcx, qword [rcx]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea rcx, [rsi + 0xb8]
cmp qword [rcx + 0x18], 7
jbe 0x140032d26
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140032d73
test al, 0x10
je 0x140032d73
mov rdx, qword [rbp + 0x17]
cmp rdx, 7
jbe 0x140032dbb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140032d6c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140032daa
call fcn.140033aa0
jmp 0x140032dbb
mov rdx, qword [rbp + 0x17]
cmp rdx, 7
jbe 0x140032db6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140032db1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140032db1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140033aa0
mov edi, 1
mov rdx, qword [rbp - 9]
cmp rdx, 7
jbe 0x140032dfe
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140032df9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140032df9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140033aa0
mov eax, edi
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140033a80
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret