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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003a56e
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x1004b220]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x38], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x34], 0
call fcn.10001b20
mov ecx, eax
test ecx, ecx
je 0x10023c7f
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
push 0x1003f9a8
mov ecx, esi
mov dword [ebp - 4], 1
call fcn.10006e20
test al, al
jne 0x10023ae1
push 0
push 0x1003f9a8
mov ecx, esi
call fcn.100071a0
xorps xmm0, xmm0
mov dword [ebp - 0x34], 1
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x30]
mov dword [ebp - 4], 2
push eax
push 0
push 0x8000
push 0x1003ef18
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
jne 0x10023c62
mov edi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsnlen]
push 0x104
push dword [ebp - 0x30]
call edi
push 0x104
push str.AdobeCRLogs
lea esi, [eax + 1]
call edi
xor ecx, ecx
add eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1003702d
push 0x104
push dword [ebp - 0x30]
mov edi, eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsnlen]
push 0x104
push str.AdobeCRLogs
mov esi, eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsnlen]
inc eax
add esp, 0x24
add eax, esi
cmp eax, 0x209
jae 0x10023bb1
push 0x104
push dword [ebp - 0x30]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsnlen]
push 0x104
push str.AdobeCRLogs
mov esi, eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsnlen]
inc eax
add esp, 0x10
add eax, esi
je 0x10023bce
jmp 0x10023bc0
mov eax, 0x209
nop word [eax + eax]
sub eax, 1
mov ecx, 0
mov word [edi + eax*2], cx
jne 0x10023bc0
push dword [ebp - 0x30]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push edi
call esi
push str.AdobeCRLogs
push edi
call esi
test edi, edi
jne 0x10023bea
xor ecx, ecx
jmp 0x10023bff
mov ecx, edi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10023bf0
sub ecx, edx
sar ecx, 1
mov esi, dword [ebp - 0x2c]
push ecx
push edi
mov ecx, esi
call fcn.100071a0
mov eax, dword [esi]
sub eax, 0x10
push eax
call fcn.100070d0
add esp, 4
add eax, 0x10
mov dword [ebp - 0x2c], eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10023c35
push eax
push dword [ebp - 0x2c]
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov edx, dword [ebp - 0x2c]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10023c50
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push edi
call fcn.10037028
add esp, 4
push dword [ebp - 0x30]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10036aba
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.100018f0
int3