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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x80
mov rax, qword [0x140110438]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov r14, rcx
mov qword [rsp + 0x38], rcx
xor esi, esi
mov dword [rsp + 0x28], esi
call fcn.140001470
mov rcx, rax
test rax, rax
je 0x1400169f4
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140094642.0]
add rax, 0x18
mov qword [r14], rax
lea rdx, [0x1400fcb38]
lea rbp, [rsi - 1]
cmp rdx, 0x10000
jae 0x140016818
movzx edx, dx
mov rcx, r14
call fcn.140008190
jmp 0x140016836
mov rax, rbp
nop dword [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x140016820
mov r8d, eax
mov rcx, r14
call fcn.140008270
nop
mov dword [rsp + 0x28], 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], 0xf
movups xmm0, xmmword [0x1400fb768]
movups xmmword [rsp + 0x40], xmm0
lea r9, [rsp + 0x20]
xor r8d, r8d
mov edx, 0x8000
lea rcx, [rsp + 0x40]
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
jne 0x1400169cc
mov edx, 0x104
mov rcx, qword [rsp + 0x20]
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
cmovo rax, rbp
mov rcx, rax
call fcn.1400e8d6c
mov rdi, rax
mov edx, 0x104
mov rcx, qword [rsp + 0x20]
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, 0x209
cmp rcx, rax
jae 0x140016925
mov edx, 0x104
mov rcx, qword [rsp + 0x20]
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]
inc rax
add rax, rbx
je 0x14001692f
sub rax, 1
mov word [rdi + rax*2], si
jne 0x140016925
mov rdx, qword [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rdx, str.AdobeCRLogs
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
test rdi, rdi
je 0x140016961
mov rax, rbp
inc rax
cmp word [rdi + rax*2], 0
jne 0x140016955
mov esi, eax
mov r8d, esi
mov rdx, rdi
mov rcx, r14
call fcn.140008270
mov rcx, qword [r14]
sub rcx, 0x18
call fcn.140016530
lea rbx, [rax + 0x18]
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14001699a
xor r8d, r8d
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], ebp
sub ebp, 1
jg 0x1400169b8
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140094642.0]
mov rcx, rdi
call fcn.1400e8c64
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop
mov rax, r14
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400e8720
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
mov ecx, 0x80004005
call fcn.140001350
int3