Function at 0x408780
Capabilities:
Get common file path

Disassembly:
push 0x224
mov eax, 0x4abaa3
call fcn.0046ac3c
mov edi, ecx
mov dword [ebp - 0x230], edi
push str.Cleanup...
lea ecx, [ebp - 0x228]
call fcn.00402829
xor ebx, ebx
lea edx, [ebp - 0x228]
push ebx
push 2
pop ecx
mov dword [ebp - 4], ebx
call fcn.004174f1
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x228]
lea ecx, [ecx - 0x10]
call fcn.00402e64
cmp dword [edi + 0xe4], ebx
jne 0x408b7f
mov dword [ebp - 0x22c], ebx
call fcn.00445026
test eax, eax
je 0x40895f
push 0x104
xor esi, esi
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.004830a0
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 0x4088db
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x228]
call fcn.00402829
push str.AdobeARM1.0Temp
lea ecx, [ebp - 0x228]
mov dword [ebp - 4], 1
call main
push ecx
mov esi, esp
mov dword [ebp - 0x21c], esi
mov eax, dword [ebp - 0x228]
add eax, 0xfffffff0
push eax
call main
pop ecx
add eax, 0x10
xor ecx, ecx
mov dword [esi], eax
call fcn.00449347
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 main
push ecx
mov esi, esp
mov dword [ebp - 0x21c], esi
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
push eax
call main
add eax, 0x10
mov dword [esi], eax
xor esi, esi
pop ecx
mov ecx, esi
call fcn.00449347
pop ecx
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0x10]
call fcn.00402e64
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x228]
lea ecx, [ecx - 0x10]
call fcn.00402e64
cmp dword [edi + 0x100], esi
jne 0x408940
call fcn.00444ab4
test eax, eax
jne 0x408940
call fcn.004449d2
test eax, eax
je 0x4088fe
call fcn.00444f7e
test eax, eax
je 0x408940
xor ebx, ebx
lea ecx, [ebp - 0x228]
inc ebx
push str.elevated__will_use_safe_cleanup
mov dword [ebp - 0x22c], ebx
call fcn.00402829
push esi
push 2
lea edx, [ebp - 0x228]
mov dword [ebp - 4], 3
pop ecx
call fcn.004174f1
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x228]
lea ecx, [ecx - 0x10]
call fcn.00402e64
cmp dword [edi + 0x2bc], esi
je 0x408964
push str.iPostponeUpdate
mov edx, 0x4cc898
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
call main
pop ecx
jmp 0x408964
call fcn.00449653
call fcn.00450db1
push eax
lea ecx, [ebp - 0x220]
call main
lea eax, [ebp - 0x22c]
mov dword [ebp - 4], 4
push eax
lea ecx, [edi + 0x10c]
lea edx, [ebp - 0x220]
call main
mov eax, dword [edi + 0x2d0]
sub eax, 0x10
push eax
call main
lea esi, [eax + 0x10]
mov dword [ebp - 0x21c], esi
lea eax, [ebp - 0x22c]
mov byte [ebp - 4], 5
push eax
lea edx, [ebp - 0x220]
lea ecx, [ebp - 0x21c]
call main
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [esi - 0x10]
call fcn.00402e64
mov eax, dword [edi + 0x2dc]
sub eax, 0x10
push eax
call main
lea esi, [eax + 0x10]
mov dword [ebp - 0x21c], esi
lea eax, [ebp - 0x22c]
mov byte [ebp - 4], 6
push eax
lea edx, [ebp - 0x220]
lea ecx, [ebp - 0x21c]
call main
pop ecx
pop ecx
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 4
call fcn.00402e64
mov eax, dword [edi + 0x2f8]
sub eax, 0x10
push eax
call main
lea esi, [eax + 0x10]
mov dword [ebp - 0x21c], esi
lea eax, [ebp - 0x22c]
mov byte [ebp - 4], 7
push eax
lea edx, [ebp - 0x220]
lea ecx, [ebp - 0x21c]
call main
pop ecx
pop ecx
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 4
call fcn.00402e64
cmp dword [edi + 0x2bc], 0
je 0x408ad9
cmp dword [edi + 0x25c], 0
jne 0x408ad9
xor esi, esi
lea eax, [edi + 0x134]
cmp dword [edi + 0x13c], esi
jle 0x408ad9
mov edi, eax
push esi
mov ecx, edi
call main
mov dword [ebp - 0x21c], eax
mov ecx, dword [eax]
test ecx, ecx
je 0x408acd
lea eax, [ebp - 0x22c]
add ecx, 8
push eax
lea edx, [ebp - 0x220]
call main
mov eax, dword [ebp - 0x21c]
pop ecx
mov ecx, dword [eax]
cmp dword [ecx + 0x1c], 4
jne 0x408acd
lea eax, [ebp - 0x22c]
add ecx, 0x24
push eax
lea edx, [ebp - 0x220]
call main
pop ecx
inc esi
cmp esi, dword [edi + 8]
jl 0x408a7f
mov edi, dword [ebp - 0x230]
push 0x4cc754
push str.Reported
lea eax, [ebp - 0x221]
mov byte [ebp - 0x221], 0
push eax
lea ecx, [edi + 0x318]
call main
cmp byte [ebp - 0x221], 0
je 0x408b46
lea eax, [edi + 0x31c]
push eax
lea ecx, [ebp - 0x21c]
call fcn.00402829
lea eax, [ebp - 0x22c]
mov byte [ebp - 4], 8
push eax
lea edx, [ebp - 0x220]
lea ecx, [ebp - 0x21c]
call main
pop ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.00402e64
mov esi, dword [ebp - 0x220]
test ebx, ebx
je 0x408b77
cmp dword [esi - 0xc], 0
je 0x408b77
mov edx, dword [0x515e30]
push ecx
push esi
push str.tFiles
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
call main
add esp, 0xc
mov ecx, edi
call fcn.00408b85
lea ecx, [esi - 0x10]
call fcn.00402e64
call fcn.0046abe6
ret