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

Disassembly:
mov r11, rsp
push rsi
push rdi
push r14
sub rsp, 0x70
mov qword [r11 - 0x60], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov rax, qword [0x14003a008]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov r14, rcx
mov qword [r11 - 0x58], rcx
xor ebp, ebp
mov dword [rsp + 0x20], ebp
xor eax, eax
mov qword [rcx], rax
lea rdx, [0x140029dec]
call fcn.140009230
mov dword [rsp + 0x20], 1
mov qword [rsp + 0x58], 0xf
mov qword [rsp + 0x50], rbp
mov byte [rsp + 0x40], bpl
xor r8d, r8d
lea rdx, [0x140029e16]
lea rcx, [rsp + 0x40]
call fcn.140009940
nop
lea r9, [rsp + 0x38]
xor r8d, r8d
mov edx, 0x8000
lea rcx, [0x140029be0]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
jne 0x1400198b9
mov edx, 0x104
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsnlen]
mov rbx, rax
mov edx, 0x104
lea rcx, str.AdobeCRLogs
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsnlen]
lea rcx, [rax + 1]
add rcx, rbx
mov eax, 2
mul rcx
mov rdi, 0xffffffffffffffff
cmovo rax, rdi
mov rcx, rax
call fcn.140025120
mov rsi, rax
mov edx, 0x104
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsnlen]
mov rbx, rax
mov edx, 0x104
lea rcx, str.AdobeCRLogs
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsnlen]
lea rcx, [rax + 1]
add rcx, rbx
mov r8d, 0x209
cmp rcx, r8
jae 0x140019840
mov edx, 0x104
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsnlen]
mov rbx, rax
mov edx, 0x104
lea rcx, str.AdobeCRLogs
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsnlen]
lea r8, [rax + 1]
add r8, rbx
je 0x14001984b
nop dword [rax]
sub r8, 1
mov word [rsi + r8*2], bp
jne 0x140019840
mov rdx, qword [rsp + 0x38]
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rdx, str.AdobeCRLogs
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
test rsi, rsi
je 0x14001987c
nop
inc rdi
cmp word [rsi + rdi*2], 0
jne 0x140019870
mov ebp, edi
mov r8d, ebp
mov rdx, rsi
mov rcx, r14
call fcn.14000a7f0
mov rcx, qword [r14]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1400198a5
xor r8d, r8d
mov rdx, qword [r14]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov rcx, rsi
call fcn.140024dd4
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop
mov rax, qword [rsp + 0x58]
cmp rax, 0x10
jb 0x140019915
inc rax
mov rcx, qword [rsp + 0x40]
cmp rax, 0x1000
jb 0x140019910
test cl, 0x1f
je 0x1400198e0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x1400198f0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rcx, rax
cmp rcx, 8
jae 0x140019900
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x14001990d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.1400249e8
mov rax, r14
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140024a00
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret