Function at 0x4046d2
Capabilities:
Get common file path

Disassembly:
push 0x458
mov eax, 0x434663
call fcn.0041aab0
push str.CleanupCache...
lea ecx, [ebp - 0x428]
call fcn.004020dd
xor ebx, ebx
lea eax, [ebp - 0x428]
push ebx
push eax
push 2
mov dword [ebp - 4], ebx
call fcn.00403273
mov ecx, dword [ebp - 0x428]
add esp, 0xc
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.00401a54
call fcn.0040bda9
push eax
lea ecx, [ebp - 0x42c]
call fcn.00401320
mov dword [ebp - 4], 1
mov esi, ebx
lea eax, [ebp - 0x218]
push eax
push esi
push ebx
push str.A6EADE66_0804_0000_1959_000000000000
call sub.msi.dll_MsiSourceListClearAllW
mov edi, eax
test edi, edi
jne 0x40476d
lea eax, [ebp - 0x218]
push eax
call fcn.0041fc6e
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x42c]
call fcn.00402366
inc esi
test edi, edi
je 0x404734
mov esi, dword [ebp - 0x42c]
cmp dword [esi - 0xc], 0
jne 0x4047bc
push str.no_installed_products_found
lea ecx, [ebp - 0x428]
call fcn.004020dd
push ebx
lea eax, [ebp - 0x428]
mov byte [ebp - 4], 2
push eax
push 2
call fcn.00403273
mov ecx, dword [ebp - 0x428]
add esp, 0xc
lea ecx, [ecx - 0x10]
call fcn.00401a54
mov ebx, 0x490
jmp 0x4049f6
lea eax, [ebp - 0x420]
push eax
push ebx
push ebx
push 0x2b
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x4049c2
lea ecx, [ebp - 0x464]
call fcn.0040e290
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x428]
call fcn.004020dd
mov edi, str.AdobeARM1.0Cache.
mov byte [ebp - 4], 4
push edi
call fcn.0041fc6e
pop ecx
push eax
push edi
lea ecx, [ebp - 0x428]
call fcn.00402366
lea ecx, [ebp - 0x450]
call fcn.0040d98a
push ebx
push dword [ebp - 0x428]
lea ecx, [ebp - 0x450]
mov byte [ebp - 4], 5
call fcn.0040dc10
test eax, eax
je 0x40493a
lea ecx, [ebp - 0x450]
call fcn.0040ddc0
lea ecx, [ebp - 0x450]
mov dword [ebp - 0x434], eax
call fcn.0040e1c0
test eax, eax
jne 0x40492d
mov ecx, dword [ebp - 0x450]
push 0x10
mov edi, dword [ecx + 0x38]
mov ecx, edi
call dword [0x43654c]
lea ecx, [ebp - 0x450]
call edi
test eax, eax
jne 0x40492d
lea eax, [ebp - 0x424]
push eax
lea ecx, [ebp - 0x450]
call fcn.0040ded0
lea eax, [ebp - 0x430]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x450]
call fcn.0040de80
push ebx
push 0x438934
lea ecx, [ebp - 0x430]
mov byte [ebp - 4], 7
call fcn.004025e8
cmp eax, 0xffffffff
je 0x40490d
push ebx
push str..msi
lea ecx, [ebp - 0x430]
call fcn.004025e8
cmp eax, 0xffffffff
je 0x40490d
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x424]
push eax
call fcn.00404530
pop ecx
pop ecx
test eax, eax
jne 0x40490d
lea eax, [ebp - 0x424]
push eax
push dword [ebp - 0x45c]
lea ecx, [ebp - 0x464]
call fcn.0040e4ac
mov ecx, dword [ebp - 0x430]
lea ecx, [ecx - 0x10]
call fcn.00401a54
mov ecx, dword [ebp - 0x424]
mov byte [ebp - 4], 5
lea ecx, [ecx - 0x10]
call fcn.00401a54
cmp dword [ebp - 0x434], 0
jne 0x40483d
lea ecx, [ebp - 0x450]
call fcn.0040dbb0
mov edi, ebx
cmp dword [ebp - 0x45c], edi
jle 0x40499c
push edi
lea ecx, [ebp - 0x464]
call fcn.0040586e
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00402448
add eax, 0x10
mov dword [ebp - 0x424], eax
lea eax, [ebp - 0x424]
mov byte [ebp - 4], 8
push eax
call fcn.0040414d
pop ecx
pop ecx
mov ecx, dword [ebp - 0x424]
mov byte [ebp - 4], 5
lea ecx, [ecx - 0x10]
call fcn.00401a54
inc edi
cmp edi, dword [ebp - 0x45c]
jl 0x40494f
lea ecx, [ebp - 0x450]
call fcn.0040db36
mov ecx, dword [ebp - 0x428]
lea ecx, [ecx - 0x10]
call fcn.00401a54
lea ecx, [ebp - 0x464]
call fcn.0040e2a7
jmp 0x4049f6
push str.SHGetFolderPath_failed
lea ecx, [ebp - 0x424]
call fcn.004020dd
push ebx
lea eax, [ebp - 0x424]
mov byte [ebp - 4], 9
push eax
push 2
call fcn.00403273
mov ecx, dword [ebp - 0x424]
add esp, 0xc
lea ecx, [ecx - 0x10]
call fcn.00401a54
lea ecx, [esi - 0x10]
call fcn.00401a54
mov eax, ebx
call fcn.0041aa5a
ret