Function at 0x4086f1
Capabilities:
Get common file path

Disassembly:
push 0x224
mov eax, 0x4ad4a3
call fcn.0046c66c
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.00417741
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 0x408af0
mov dword [ebp - 0x22c], ebx
call fcn.00445450
test eax, eax
je 0x4088d0
push 0x104
xor esi, esi
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.00484ac0
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 0x40884c
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 fcn.0040259d
push ecx
mov esi, esp
mov dword [ebp - 0x21c], esi
mov eax, dword [ebp - 0x228]
add eax, 0xfffffff0
push eax
call fcn.00402d9f
pop ecx
add eax, 0x10
xor ecx, ecx
mov dword [esi], eax
call fcn.00449771
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 - 0x21c], 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.00449771
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 0x4088b1
call fcn.00444ede
test eax, eax
jne 0x4088b1
call fcn.00444dfc
test eax, eax
je 0x40886f
call fcn.004453a8
test eax, eax
je 0x4088b1
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.00417741
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x228]
lea ecx, [ecx - 0x10]
call fcn.00402e64
cmp dword [edi + 0x2b8], esi
je 0x4088d5
push str.iPostponeUpdate
mov edx, 0x4ce868
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.00444895
pop ecx
jmp 0x4088d5
call fcn.00449a7d
call fcn.004527d1
push eax
lea ecx, [ebp - 0x220]
call fcn.00402899
lea eax, [ebp - 0x22c]
mov dword [ebp - 4], 4
push eax
lea ecx, [edi + 0x10c]
lea edx, [ebp - 0x220]
call fcn.00449a29
mov eax, dword [edi + 0x2cc]
sub eax, 0x10
push eax
call fcn.00402d9f
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 fcn.00449a29
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [esi - 0x10]
call fcn.00402e64
mov eax, dword [edi + 0x2d8]
sub eax, 0x10
push eax
call fcn.00402d9f
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 fcn.00449a29
pop ecx
pop ecx
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 4
call fcn.00402e64
mov eax, dword [edi + 0x2f4]
sub eax, 0x10
push eax
call fcn.00402d9f
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 fcn.00449a29
pop ecx
pop ecx
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 4
call fcn.00402e64
cmp dword [edi + 0x2b8], 0
je 0x408a4a
cmp dword [edi + 0x258], 0
jne 0x408a4a
xor esi, esi
lea eax, [edi + 0x134]
cmp dword [edi + 0x13c], esi
jle 0x408a4a
mov edi, eax
push esi
mov ecx, edi
call fcn.00409d2f
mov dword [ebp - 0x21c], eax
mov ecx, dword [eax]
test ecx, ecx
je 0x408a3e
lea eax, [ebp - 0x22c]
add ecx, 8
push eax
lea edx, [ebp - 0x220]
call fcn.00449a29
mov eax, dword [ebp - 0x21c]
pop ecx
mov ecx, dword [eax]
cmp dword [ecx + 0x1c], 4
jne 0x408a3e
lea eax, [ebp - 0x22c]
add ecx, 0x24
push eax
lea edx, [ebp - 0x220]
call fcn.00449a29
pop ecx
inc esi
cmp esi, dword [edi + 8]
jl 0x4089f0
mov edi, dword [ebp - 0x230]
push 0x4ce724
push str.Reported
lea eax, [ebp - 0x221]
mov byte [ebp - 0x221], 0
push eax
lea ecx, [edi + 0x314]
call fcn.0040d970
cmp byte [ebp - 0x221], 0
je 0x408ab7
lea eax, [edi + 0x318]
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 fcn.00449a29
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 0x408ae8
cmp dword [esi - 0xc], 0
je 0x408ae8
mov edx, dword [0x519e30]
push ecx
push esi
push str.tFiles
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.004445d7
add esp, 0xc
mov ecx, edi
call fcn.00408af6
lea ecx, [esi - 0x10]
call fcn.00402e64
call fcn.0046c616
ret