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

Disassembly:
push 0x230
mov eax, 0x4aa1da
call fcn.00468fdc
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.004137d1
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 0x409067
mov edi, esi
mov dword [ebp - 0x22c], edi
call fcn.0044095e
test eax, eax
je 0x408d1f
push 0x104
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.00481750
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 0x408c7a
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.00444a81
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.00444a81
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 0x408cc7
cmp dword [ebx + 0x100], esi
jne 0x408cc7
call fcn.004403ec
test eax, eax
jne 0x408cc7
call fcn.0044030a
test eax, eax
je 0x408ca5
call fcn.004408b6
test eax, eax
je 0x408cc7
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 0x408cde
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.004137d1
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 0x408d24
push str.iPostponeUpdate
mov edx, 0x4ca238
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.0043fda3
pop ecx
jmp 0x408d24
call fcn.00444d8d
call fcn.0044f181
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.00444d39
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.00444d39
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.00444d39
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.00444d39
pop ecx
pop ecx
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 5
call fcn.00402e64
cmp dword [ebx + 0x2ac], 0
je 0x408e99
cmp dword [ebx + 0x240], 0
jne 0x408e99
xor esi, esi
lea eax, [ebx + 0x134]
cmp dword [ebx + 0x13c], esi
jle 0x408e99
mov ebx, eax
push esi
mov ecx, ebx
call fcn.004098b5
mov dword [ebp - 0x224], eax
mov ecx, dword [eax]
test ecx, ecx
je 0x408e8d
lea eax, [ebp - 0x22c]
add ecx, 8
push eax
lea edx, [ebp - 0x220]
call fcn.00444d39
mov eax, dword [ebp - 0x224]
pop ecx
mov ecx, dword [eax]
cmp dword [ecx + 0x1c], 4
jne 0x408e8d
lea eax, [ebp - 0x22c]
add ecx, 0x24
push eax
lea edx, [ebp - 0x220]
call fcn.00444d39
pop ecx
inc esi
cmp esi, dword [ebx + 8]
jl 0x408e3f
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.0040c70a
cmp byte [ebp - 0x225], 0
je 0x408f06
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.00444d39
pop ecx
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x230]
lea ecx, [ecx - 0x10]
call fcn.00402e64
test edi, edi
je 0x409059
call fcn.0044f181
push eax
lea ecx, [ebp - 0x21c]
call fcn.00402899
mov byte [ebp - 4], 0xa
call fcn.0044f181
push eax
lea ecx, [ebp - 0x234]
call fcn.00402899
lea eax, [ebp - 0x238]
mov byte [ebp - 4], 0xb
mov edx, dword [0x514d08]
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
and dword [ebp - 0x238], 0
push eax
lea eax, [ebp - 0x21c]
push eax
push str.tFiles
call fcn.0043fb5d
mov edi, dword [ebp - 0x21c]
add esp, 0xc
test eax, eax
jne 0x409014
cmp dword [edi - 0xc], 0
je 0x409014
and dword [ebp - 0x224], 0
push 0x4cc504
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.0043f91b
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 0x408ff5
lea eax, [ebp - 0x22c]
push eax
lea edx, [ebp - 0x220]
lea ecx, [ebp - 0x230]
call fcn.00444d39
pop ecx
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x230]
add ecx, 0xfffffff0
call fcn.00402e64
cmp dword [ebp - 0x224], 0xffffffff
jne 0x408f84
mov esi, dword [ebp - 0x220]
cmp dword [esi - 0xc], 0
je 0x409041
mov edx, dword [0x514d08]
push ecx
push esi
push str.tFiles
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.0043fae5
add esp, 0xc
mov ecx, ebx
call fcn.0040906d
mov ecx, dword [ebp - 0x234]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea ecx, [edi - 0x10]
call fcn.00402e64
jmp 0x40905f
mov esi, dword [ebp - 0x220]
lea ecx, [esi - 0x10]
call fcn.00402e64
call fcn.00468f86
ret