Function at 0x4080ed
Capabilities:
Get common file path

Disassembly:
push 0x220
mov eax, 0x485cf3
call fcn.00464e7c
mov edi, ecx
mov dword [ebp - 0x22c], edi
push str.Cleanup...
lea ecx, [ebp - 0x220]
call fcn.0040279b
xor ebx, ebx
lea edx, [ebp - 0x220]
push ebx
push 2
pop ecx
mov dword [ebp - 4], ebx
call fcn.00413e51
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0x10]
call fcn.00402def
cmp dword [edi + 0xe4], ebx
jne 0x4084fc
push 0x104
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.00466990
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push ebx
push ebx
push 0x2b
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x408231
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x224]
call fcn.0040279b
push str.AdobeARM1.0Temp
lea ecx, [ebp - 0x224]
mov dword [ebp - 4], 1
call fcn.0040252d
push ecx
mov esi, esp
mov dword [ebp - 0x21c], esi
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
push eax
call fcn.00402d2a
pop ecx
add eax, 0x10
mov ecx, ebx
mov dword [esi], eax
call fcn.0044493b
pop ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x220]
call fcn.0040279b
push str.AdobeARM1.0Backup
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 2
call fcn.0040252d
push ecx
mov esi, esp
mov dword [ebp - 0x21c], esi
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
push eax
call fcn.00402d2a
pop ecx
add eax, 0x10
mov ecx, ebx
mov dword [esi], eax
call fcn.0044493b
pop ecx
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0x10]
call fcn.00402def
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x224]
lea ecx, [ecx - 0x10]
call fcn.00402def
mov dword [ebp - 0x224], ebx
call fcn.0044078b
test eax, eax
je 0x4082ca
xor esi, esi
cmp dword [edi + 0x100], esi
jne 0x4082ab
call fcn.00440220
test eax, eax
jne 0x4082ab
call fcn.0044013e
test eax, eax
je 0x408269
call fcn.004406ea
test eax, eax
je 0x4082ab
xor ebx, ebx
lea ecx, [ebp - 0x220]
inc ebx
push str.elevated__will_use_safe_cleanup
mov dword [ebp - 0x224], ebx
call fcn.0040279b
push esi
push 2
lea edx, [ebp - 0x220]
mov dword [ebp - 4], 3
pop ecx
call fcn.00413e51
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0x10]
call fcn.00402def
cmp dword [edi + 0x2a0], esi
je 0x4082cf
push str.iPostponeUpdate
mov edx, 0x49dc68
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.0043fd12
pop ecx
jmp 0x4082cf
call fcn.00444bff
call fcn.0044afe1
push eax
lea ecx, [ebp - 0x220]
call fcn.00402824
lea eax, [ebp - 0x224]
mov dword [ebp - 4], 4
push eax
lea ecx, [edi + 0x10c]
lea edx, [ebp - 0x220]
call fcn.00444bab
mov eax, dword [edi + 0x2b4]
sub eax, 0x10
push eax
call fcn.00402d2a
add eax, 0x10
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x224]
mov byte [ebp - 4], 5
push eax
lea edx, [ebp - 0x220]
lea ecx, [ebp - 0x21c]
call fcn.00444bab
mov byte [ebp - 4], 4
add esp, 0xc
mov ecx, dword [ebp - 0x21c]
lea ecx, [ecx - 0x10]
call fcn.00402def
mov eax, dword [edi + 0x2c0]
sub eax, 0x10
push eax
call fcn.00402d2a
add eax, 0x10
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x224]
mov byte [ebp - 4], 6
push eax
lea edx, [ebp - 0x220]
lea ecx, [ebp - 0x21c]
call fcn.00444bab
pop ecx
pop ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x21c]
lea ecx, [ecx - 0x10]
call fcn.00402def
mov eax, dword [edi + 0x2dc]
sub eax, 0x10
push eax
call fcn.00402d2a
add eax, 0x10
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x224]
mov byte [ebp - 4], 7
push eax
lea edx, [ebp - 0x220]
lea ecx, [ebp - 0x21c]
call fcn.00444bab
pop ecx
pop ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x21c]
lea ecx, [ecx - 0x10]
call fcn.00402def
cmp dword [edi + 0x2a0], 0
je 0x408456
cmp dword [edi + 0x260], 0
jne 0x408456
xor esi, esi
lea eax, [edi + 0x134]
cmp dword [edi + 0x13c], esi
jle 0x408456
mov edi, eax
push esi
mov ecx, edi
call fcn.0040979f
mov dword [ebp - 0x21c], eax
mov ecx, dword [eax]
test ecx, ecx
je 0x40844a
lea eax, [ebp - 0x224]
add ecx, 8
push eax
lea edx, [ebp - 0x220]
call fcn.00444bab
mov eax, dword [ebp - 0x21c]
pop ecx
mov ecx, dword [eax]
cmp dword [ecx + 0x1c], 4
jne 0x40844a
lea eax, [ebp - 0x224]
add ecx, 0x24
push eax
lea edx, [ebp - 0x220]
call fcn.00444bab
pop ecx
inc esi
cmp esi, dword [edi + 8]
jl 0x4083fc
mov edi, dword [ebp - 0x22c]
push 0x49db4c
push str.Reported
lea eax, [ebp - 0x225]
mov byte [ebp - 0x225], 0
push eax
lea ecx, [edi + 0x2fc]
call fcn.0040d0f0
cmp byte [ebp - 0x225], 0
je 0x4084c3
lea eax, [edi + 0x300]
push eax
lea ecx, [ebp - 0x21c]
call fcn.0040279b
lea eax, [ebp - 0x224]
mov byte [ebp - 4], 8
push eax
lea edx, [ebp - 0x220]
lea ecx, [ebp - 0x21c]
call fcn.00444bab
pop ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.00402def
mov esi, dword [ebp - 0x220]
test ebx, ebx
je 0x4084f4
cmp dword [esi - 0xc], 0
je 0x4084f4
mov edx, dword [0x4e1f64]
push ecx
push esi
push str.tFiles
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.0043fa73
add esp, 0xc
mov ecx, edi
call fcn.00408502
lea ecx, [esi - 0x10]
call fcn.00402def
call fcn.00464e26
ret