Function at 0x4046b2
Capabilities:
Get common file path

Disassembly:
push 0x458
mov eax, 0x434623
call fcn.0041aa70
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.00403231
mov ecx, dword [ebp - 0x428]
add esp, 0xc
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.00401a54
call fcn.0040bd69
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 0x40474d
lea eax, [ebp - 0x218]
push eax
call fcn.0041fc2e
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x42c]
call fcn.00402366
inc esi
test edi, edi
je 0x404714
mov esi, dword [ebp - 0x42c]
cmp dword [esi - 0xc], 0
jne 0x40479c
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.00403231
mov ecx, dword [ebp - 0x428]
add esp, 0xc
lea ecx, [ecx - 0x10]
call fcn.00401a54
mov ebx, 0x490
jmp 0x4049d6
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 0x4049a2
lea ecx, [ebp - 0x464]
call fcn.0040e250
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.0041fc2e
pop ecx
push eax
push edi
lea ecx, [ebp - 0x428]
call fcn.00402366
lea ecx, [ebp - 0x450]
call fcn.0040d94a
push ebx
push dword [ebp - 0x428]
lea ecx, [ebp - 0x450]
mov byte [ebp - 4], 5
call fcn.0040dbd0
test eax, eax
je 0x40491a
lea ecx, [ebp - 0x450]
call fcn.0040dd80
lea ecx, [ebp - 0x450]
mov dword [ebp - 0x434], eax
call fcn.0040e180
test eax, eax
jne 0x40490d
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 0x40490d
lea eax, [ebp - 0x424]
push eax
lea ecx, [ebp - 0x450]
call fcn.0040de90
lea eax, [ebp - 0x430]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x450]
call fcn.0040de40
push ebx
push 0x438934
lea ecx, [ebp - 0x430]
mov byte [ebp - 4], 7
call fcn.004025e8
cmp eax, 0xffffffff
je 0x4048ed
push ebx
push str..msi
lea ecx, [ebp - 0x430]
call fcn.004025e8
cmp eax, 0xffffffff
je 0x4048ed
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x424]
push eax
call fcn.00404510
pop ecx
pop ecx
test eax, eax
jne 0x4048ed
lea eax, [ebp - 0x424]
push eax
push dword [ebp - 0x45c]
lea ecx, [ebp - 0x464]
call fcn.0040e46c
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 0x40481d
lea ecx, [ebp - 0x450]
call fcn.0040db70
mov edi, ebx
cmp dword [ebp - 0x45c], edi
jle 0x40497c
push edi
lea ecx, [ebp - 0x464]
call fcn.0040584e
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.0040412d
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 0x40492f
lea ecx, [ebp - 0x450]
call fcn.0040daf6
mov ecx, dword [ebp - 0x428]
lea ecx, [ecx - 0x10]
call fcn.00401a54
lea ecx, [ebp - 0x464]
call fcn.0040e267
jmp 0x4049d6
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.00403231
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.0041aa1a
ret