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

Disassembly:
push 0x230
mov eax, 0x4ac35a
call fcn.0046afbc
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.00414071
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 0x4098a4
mov edi, esi
mov dword [ebp - 0x22c], edi
call fcn.004412d1
test eax, eax
je 0x40955c
push 0x104
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.00483730
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 0x4094b7
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.00445478
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.00445478
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 0x409504
cmp dword [ebx + 0x100], esi
jne 0x409504
call fcn.00440d5f
test eax, eax
jne 0x409504
call fcn.00440c7d
test eax, eax
je 0x4094e2
call fcn.00441229
test eax, eax
je 0x409504
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 0x40951b
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.00414071
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 0x409561
push str.iPostponeUpdate
mov edx, 0x4cd258
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.00440716
pop ecx
jmp 0x409561
call fcn.00445784
call fcn.00451171
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.00445730
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.00445730
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.00445730
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.00445730
pop ecx
pop ecx
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 5
call fcn.00402e64
cmp dword [ebx + 0x2ac], 0
je 0x4096d6
cmp dword [ebx + 0x240], 0
jne 0x4096d6
xor esi, esi
lea eax, [ebx + 0x134]
cmp dword [ebx + 0x13c], esi
jle 0x4096d6
mov ebx, eax
push esi
mov ecx, ebx
call fcn.0040a0f5
mov dword [ebp - 0x224], eax
mov ecx, dword [eax]
test ecx, ecx
je 0x4096ca
lea eax, [ebp - 0x22c]
add ecx, 8
push eax
lea edx, [ebp - 0x220]
call fcn.00445730
mov eax, dword [ebp - 0x224]
pop ecx
mov ecx, dword [eax]
cmp dword [ecx + 0x1c], 4
jne 0x4096ca
lea eax, [ebp - 0x22c]
add ecx, 0x24
push eax
lea edx, [ebp - 0x220]
call fcn.00445730
pop ecx
inc esi
cmp esi, dword [ebx + 8]
jl 0x40967c
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.0040cfaa
cmp byte [ebp - 0x225], 0
je 0x409743
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.00445730
pop ecx
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x230]
lea ecx, [ecx - 0x10]
call fcn.00402e64
test edi, edi
je 0x409896
call fcn.00451171
push eax
lea ecx, [ebp - 0x21c]
call fcn.00402899
mov byte [ebp - 4], 0xa
call fcn.00451171
push eax
lea ecx, [ebp - 0x234]
call fcn.00402899
lea eax, [ebp - 0x238]
mov byte [ebp - 4], 0xb
mov edx, dword [0x518d08]
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
and dword [ebp - 0x238], 0
push eax
lea eax, [ebp - 0x21c]
push eax
push str.tFiles
call fcn.004404d0
mov edi, dword [ebp - 0x21c]
add esp, 0xc
test eax, eax
jne 0x409851
cmp dword [edi - 0xc], 0
je 0x409851
and dword [ebp - 0x224], 0
push 0x4cfc0c
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.0044028e
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 0x409832
lea eax, [ebp - 0x22c]
push eax
lea edx, [ebp - 0x220]
lea ecx, [ebp - 0x230]
call fcn.00445730
pop ecx
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x230]
add ecx, 0xfffffff0
call fcn.00402e64
cmp dword [ebp - 0x224], 0xffffffff
jne 0x4097c1
mov esi, dword [ebp - 0x220]
cmp dword [esi - 0xc], 0
je 0x40987e
mov edx, dword [0x518d08]
push ecx
push esi
push str.tFiles
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.00440458
add esp, 0xc
mov ecx, ebx
call fcn.004098aa
mov ecx, dword [ebp - 0x234]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea ecx, [edi - 0x10]
call fcn.00402e64
jmp 0x40989c
mov esi, dword [ebp - 0x220]
lea ecx, [esi - 0x10]
call fcn.00402e64
call fcn.0046af66
ret