Function at 0x404602
Capabilities:
Get common file path

Disassembly:
push 0x458
mov eax, 0x4346d3
call fcn.0041ab20
push str.CleanupCache...
lea ecx, [ebp - 0x428]
call fcn.0040200d
xor ebx, ebx
lea eax, [ebp - 0x428]
push ebx
push eax
push 2
mov dword [ebp - 4], ebx
call fcn.004031a3
mov ecx, dword [ebp - 0x428]
add esp, 0xc
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.00401a18
call fcn.0040be29
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 0x40469d
lea eax, [ebp - 0x218]
push eax
call fcn.0041fcde
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x42c]
call fcn.00402296
inc esi
test edi, edi
je 0x404664
mov esi, dword [ebp - 0x42c]
cmp dword [esi - 0xc], 0
jne 0x4046ec
push str.no_installed_products_found
lea ecx, [ebp - 0x428]
call fcn.0040200d
push ebx
lea eax, [ebp - 0x428]
mov byte [ebp - 4], 2
push eax
push 2
call fcn.004031a3
mov ecx, dword [ebp - 0x428]
add esp, 0xc
lea ecx, [ecx - 0x10]
call fcn.00401a18
mov ebx, 0x490
jmp 0x404926
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 0x4048f2
lea ecx, [ebp - 0x464]
call fcn.0040e310
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x428]
call fcn.0040200d
mov edi, str.AdobeARM1.0Cache.
mov byte [ebp - 4], 4
push edi
call fcn.0041fcde
pop ecx
push eax
push edi
lea ecx, [ebp - 0x428]
call fcn.00402296
lea ecx, [ebp - 0x450]
call fcn.0040da0a
push ebx
push dword [ebp - 0x428]
lea ecx, [ebp - 0x450]
mov byte [ebp - 4], 5
call fcn.0040dc90
test eax, eax
je 0x40486a
lea ecx, [ebp - 0x450]
call fcn.0040de40
lea ecx, [ebp - 0x450]
mov dword [ebp - 0x434], eax
call fcn.0040e240
test eax, eax
jne 0x40485d
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 0x40485d
lea eax, [ebp - 0x424]
push eax
lea ecx, [ebp - 0x450]
call fcn.0040df50
lea eax, [ebp - 0x430]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x450]
call fcn.0040df00
push ebx
push 0x4389ec
lea ecx, [ebp - 0x430]
mov byte [ebp - 4], 7
call fcn.00402518
cmp eax, 0xffffffff
je 0x40483d
push ebx
push str..msi
lea ecx, [ebp - 0x430]
call fcn.00402518
cmp eax, 0xffffffff
je 0x40483d
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x424]
push eax
call fcn.00404460
pop ecx
pop ecx
test eax, eax
jne 0x40483d
lea eax, [ebp - 0x424]
push eax
push dword [ebp - 0x45c]
lea ecx, [ebp - 0x464]
call fcn.0040e52c
mov ecx, dword [ebp - 0x430]
lea ecx, [ecx - 0x10]
call fcn.00401a18
mov ecx, dword [ebp - 0x424]
mov byte [ebp - 4], 5
lea ecx, [ecx - 0x10]
call fcn.00401a18
cmp dword [ebp - 0x434], 0
jne 0x40476d
lea ecx, [ebp - 0x450]
call fcn.0040dc30
mov edi, ebx
cmp dword [ebp - 0x45c], edi
jle 0x4048cc
push edi
lea ecx, [ebp - 0x464]
call fcn.0040579e
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00402378
add eax, 0x10
mov dword [ebp - 0x424], eax
lea eax, [ebp - 0x424]
mov byte [ebp - 4], 8
push eax
call fcn.0040407d
pop ecx
pop ecx
mov ecx, dword [ebp - 0x424]
mov byte [ebp - 4], 5
lea ecx, [ecx - 0x10]
call fcn.00401a18
inc edi
cmp edi, dword [ebp - 0x45c]
jl 0x40487f
lea ecx, [ebp - 0x450]
call fcn.0040dbb6
mov ecx, dword [ebp - 0x428]
lea ecx, [ecx - 0x10]
call fcn.00401a18
lea ecx, [ebp - 0x464]
call fcn.0040e327
jmp 0x404926
push str.SHGetFolderPath_failed
lea ecx, [ebp - 0x424]
call fcn.0040200d
push ebx
lea eax, [ebp - 0x424]
mov byte [ebp - 4], 9
push eax
push 2
call fcn.004031a3
mov ecx, dword [ebp - 0x424]
add esp, 0xc
lea ecx, [ecx - 0x10]
call fcn.00401a18
lea ecx, [esi - 0x10]
call fcn.00401a18
mov eax, ebx
call fcn.0041aaca
ret