Function at 0x40a0a8
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push 0x230
mov eax, 0x4ada8a
call fcn.0046c44c
mov ebx, ecx
mov dword [ebp - 0x238], ebx
push str.Cleanup...
lea ecx, [ebp - 0x21c]
call fcn.00402829
and dword [ebp - 4], 0
lea edx, [ebp - 0x21c]
push 0
push 2
pop ecx
call fcn.00414d4f
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x21c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
xor esi, esi
cmp dword [ebx + 0xe4], esi
jne 0x40a5f2
mov edi, esi
mov dword [ebp - 0x22c], edi
call fcn.004425f1
test eax, eax
je 0x40a2aa
push 0x104
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.00484bc0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push esi
push esi
push 0x2b
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x40a205
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call fcn.00402829
push str.AdobeARM1.0Temp
lea ecx, [ebp - 0x21c]
mov dword [ebp - 4], 1
call fcn.0040259d
push ecx
mov esi, esp
mov dword [ebp - 0x234], esi
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
push eax
call fcn.00402d9f
pop ecx
add eax, 0x10
xor ecx, ecx
mov dword [esi], eax
call fcn.004467b2
pop ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x220]
call fcn.00402829
push str.AdobeARM1.0Backup
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 2
call fcn.0040259d
push ecx
mov esi, esp
mov dword [ebp - 0x234], esi
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
push eax
call fcn.00402d9f
add eax, 0x10
mov dword [esi], eax
xor esi, esi
pop ecx
mov ecx, esi
call fcn.004467b2
pop ecx
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0x10]
call fcn.00402e64
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x21c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
cmp dword [ebx + 0x104], esi
jne 0x40a252
cmp dword [ebx + 0x100], esi
jne 0x40a252
call fcn.0044207f
test eax, eax
jne 0x40a252
call fcn.00441f9d
test eax, eax
je 0x40a230
call fcn.00442549
test eax, eax
je 0x40a252
xor edi, edi
lea ecx, [ebp - 0x21c]
inc edi
push str.elevated__will_use_safe_cleanup
mov dword [ebp - 0x22c], edi
call fcn.00402829
mov dword [ebp - 4], 3
jmp 0x40a269
push str.elevated__will_use_standard_cleanup
lea ecx, [ebp - 0x21c]
call fcn.00402829
mov dword [ebp - 4], 4
push esi
push 2
lea edx, [ebp - 0x21c]
pop ecx
call fcn.00414d4f
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x21c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
cmp dword [ebx + 0x2ac], esi
je 0x40a2af
push str.iPostponeUpdate
mov edx, 0x4ce610
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.00441a36
pop ecx
jmp 0x40a2af
call fcn.00446abe
call fcn.00452601
push eax
lea ecx, [ebp - 0x220]
call fcn.00402899
lea eax, [ebp - 0x22c]
mov dword [ebp - 4], 5
push eax
lea ecx, [ebx + 0x10c]
lea edx, [ebp - 0x220]
call fcn.00446a6a
mov eax, dword [ebx + 0x2c0]
sub eax, 0x10
push eax
call fcn.00402d9f
lea esi, [eax + 0x10]
mov dword [ebp - 0x224], esi
lea eax, [ebp - 0x22c]
mov byte [ebp - 4], 6
push eax
lea edx, [ebp - 0x220]
lea ecx, [ebp - 0x224]
call fcn.00446a6a
add esp, 0xc
mov byte [ebp - 4], 5
lea ecx, [esi - 0x10]
call fcn.00402e64
mov eax, dword [ebx + 0x2cc]
sub eax, 0x10
push eax
call fcn.00402d9f
lea esi, [eax + 0x10]
mov dword [ebp - 0x224], esi
lea eax, [ebp - 0x22c]
mov byte [ebp - 4], 7
push eax
lea edx, [ebp - 0x220]
lea ecx, [ebp - 0x224]
call fcn.00446a6a
pop ecx
pop ecx
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 5
call fcn.00402e64
mov eax, dword [ebx + 0x2e8]
sub eax, 0x10
push eax
call fcn.00402d9f
lea esi, [eax + 0x10]
mov dword [ebp - 0x224], esi
lea eax, [ebp - 0x22c]
mov byte [ebp - 4], 8
push eax
lea edx, [ebp - 0x220]
lea ecx, [ebp - 0x224]
call fcn.00446a6a
pop ecx
pop ecx
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 5
call fcn.00402e64
cmp dword [ebx + 0x2ac], 0
je 0x40a424
cmp dword [ebx + 0x240], 0
jne 0x40a424
xor esi, esi
lea eax, [ebx + 0x134]
cmp dword [ebx + 0x13c], esi
jle 0x40a424
mov ebx, eax
push esi
mov ecx, ebx
call fcn.0040ae65
mov dword [ebp - 0x224], eax
mov ecx, dword [eax]
test ecx, ecx
je 0x40a418
lea eax, [ebp - 0x22c]
add ecx, 8
push eax
lea edx, [ebp - 0x220]
call fcn.00446a6a
mov eax, dword [ebp - 0x224]
pop ecx
mov ecx, dword [eax]
cmp dword [ecx + 0x1c], 4
jne 0x40a418
lea eax, [ebp - 0x22c]
add ecx, 0x24
push eax
lea edx, [ebp - 0x220]
call fcn.00446a6a
pop ecx
inc esi
cmp esi, dword [ebx + 8]
jl 0x40a3ca
mov ebx, dword [ebp - 0x238]
push str.1324
push str.Reported
lea eax, [ebp - 0x225]
mov byte [ebp - 0x225], 0
push eax
lea ecx, [ebx + 0x308]
call fcn.0040dc6a
cmp byte [ebp - 0x225], 0
je 0x40a491
lea eax, [ebx + 0x30c]
push eax
lea ecx, [ebp - 0x230]
call fcn.00402829
lea eax, [ebp - 0x22c]
mov byte [ebp - 4], 9
push eax
lea edx, [ebp - 0x220]
lea ecx, [ebp - 0x230]
call fcn.00446a6a
pop ecx
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x230]
lea ecx, [ecx - 0x10]
call fcn.00402e64
test edi, edi
je 0x40a5e4
call fcn.00452601
push eax
lea ecx, [ebp - 0x21c]
call fcn.00402899
mov byte [ebp - 4], 0xa
call fcn.00452601
push eax
lea ecx, [ebp - 0x234]
call fcn.00402899
lea eax, [ebp - 0x238]
mov byte [ebp - 4], 0xb
mov edx, dword [0x51ad10]
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
and dword [ebp - 0x238], 0
push eax
lea eax, [ebp - 0x21c]
push eax
push str.tFiles
call fcn.004417f0
mov edi, dword [ebp - 0x21c]
add esp, 0xc
test eax, eax
jne 0x40a59f
cmp dword [edi - 0xc], 0
je 0x40a59f
and dword [ebp - 0x224], 0
push 0x4d16ec
lea ecx, [ebp - 0x23c]
call fcn.00402829
lea eax, [ebp - 0x23c]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x224]
push eax
lea edx, [ebp - 0x21c]
lea ecx, [ebp - 0x230]
call fcn.004415ae
pop ecx
pop ecx
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x23c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push dword [ebp - 0x230]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40a580
lea eax, [ebp - 0x22c]
push eax
lea edx, [ebp - 0x220]
lea ecx, [ebp - 0x230]
call fcn.00446a6a
pop ecx
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x230]
add ecx, 0xfffffff0
call fcn.00402e64
cmp dword [ebp - 0x224], 0xffffffff
jne 0x40a50f
mov esi, dword [ebp - 0x220]
cmp dword [esi - 0xc], 0
je 0x40a5cc
mov edx, dword [0x51ad10]
push ecx
push esi
push str.tFiles
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.00441778
add esp, 0xc
mov ecx, ebx
call fcn.0040a5f8
mov ecx, dword [ebp - 0x234]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea ecx, [edi - 0x10]
call fcn.00402e64
jmp 0x40a5ea
mov esi, dword [ebp - 0x220]
lea ecx, [esi - 0x10]
call fcn.00402e64
call fcn.0046c3f6
ret