Function at 0x140011c10
Capabilities:
Check if file exists
Create directory
Get common file path
Get file attributes
Get startup folder

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x2c0
mov rax, qword [0x14012a210]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
mov rdi, r8
mov rbx, rdx
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x90], r8
xor esi, esi
mov dword [rsp + 0x40], esi
mov qword [rdx], rsi
mov qword [rdx + 0x10], rsi
mov qword [rdx + 0x18], 7
mov word [rdx], si
lea r8d, [rsi + 0x1f]
lea rdx, str.C:ProgramDataFaronicsInsight
mov rcx, rbx
call fcn.140011160
mov dword [rsp + 0x40], 1
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0xa0]
call fcn.1400a83f0
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rsi + 0x23]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x140011cf0
lea rax, [rsp + 0xa0]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140011cc0
lea rdx, [rsp + 0xa0]
mov rcx, rbx
call fcn.140011160
mov r8d, 0x11
lea rdx, str.FaronicsInsight
mov rcx, rbx
call fcn.140012440
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x140011cfd
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140011d1d
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x140011d15
mov rcx, qword [rbx]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov r8d, 5
lea rdx, str.Logs
mov rcx, rbx
call fcn.140012440
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x140011d3f
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140011d5f
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x140011d57
mov rcx, qword [rbx]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rcx, qword [rbx + 0x10]
movabs rax, 0x7ffffffffffffffe
sub rax, rcx
cmp rax, 1
jb 0x140011efe
mov r9, rbx
cmp qword [rbx + 0x18], 8
jb 0x140011d87
mov r9, qword [rbx]
mov qword [rsp + 0x30], 1
lea rax, [0x1400ff634]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x70]
call fcn.140012680
mov dword [rsp + 0x40], 3
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140011dc0
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
lea rcx, [rsp + 0x70]
call fcn.140012440
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.1400121a0
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x140011e3e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011e38
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140011f04
call fcn.1400a59a4
nop
mov rdx, qword [rsp + 0x88]
cmp rdx, 8
jb 0x140011e80
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011e7a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140011ef2
call fcn.1400a59a4
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x140011ebb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140011eb6
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140011ef8
mov rcx, r8
call fcn.1400a59a4
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], 7
mov word [rdi], si
mov rax, rbx
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.1400a5460
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.1400b4704
nop
call fcn.1400b4704
nop
call fcn.140003f10
nop
call fcn.1400b4704
int3