Function at 0x100276b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10094379
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x100bc06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x30], 0
mov dword [edi], 0
call fcn.10002ff0
mov ebx, eax
test ebx, ebx
je 0x10027921
mov eax, dword [ebx]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x100993c0]
mov ecx, ebx
call esi
add eax, 0x10
mov dword [edi], eax
push 0x100aaf88
mov ecx, edi
mov dword [ebp - 4], 1
call fcn.10004620
test al, al
jne 0x10027744
push 0
push 0x100aaf88
mov ecx, edi
call fcn.10005050
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
push 0
push 0x100aa488
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.100047e0
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 2
push eax
push 0
push 0x8000
push 0x1009aaf0
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
jne 0x100278d3
push 0x104
push dword [ebp - 0x2c]
call fcn.10075efe
push 0x104
push str.AdobeCRLogs
lea esi, [eax + 1]
call fcn.10075efe
xor ecx, ecx
add eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10055a6f
push 0x104
push dword [ebp - 0x2c]
mov ebx, eax
call fcn.10075efe
push 0x104
push str.AdobeCRLogs
mov esi, eax
call fcn.10075efe
inc eax
add esp, 0x24
add eax, esi
cmp eax, 0x209
jae 0x10027824
push 0x104
push dword [ebp - 0x2c]
call fcn.10075efe
push 0x104
push str.AdobeCRLogs
mov esi, eax
call fcn.10075efe
inc eax
add esp, 0x10
add eax, esi
je 0x1002783e
jmp 0x10027830
mov eax, 0x209
nop dword [eax]
sub eax, 1
mov ecx, 0
mov word [ebx + eax*2], cx
jne 0x10027830
push dword [ebp - 0x2c]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.AdobeCRLogs
push ebx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test ebx, ebx
jne 0x1002785c
xor ecx, ecx
jmp 0x10027870
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10027861
sub ecx, edx
sar ecx, 1
push ecx
push ebx
mov ecx, edi
call fcn.10005050
mov ecx, dword [edi]
sub ecx, 0x10
call fcn.1000bff0
lea esi, [eax + 0x10]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1002789a
push eax
push esi
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea ecx, [esi - 0x10]
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x100278c1
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x100993c0]
mov ecx, edi
call esi
mov edi, dword [ebp - 0x34]
push ebx
call fcn.10055a6a
add esp, 4
push dword [ebp - 0x2c]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x10027903
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100278f9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002792b
push edx
push ecx
call fcn.1005541c
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005540b
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10002d90
call fcn.10070e17
int3