Function at 0x4046c2
Capabilities:
Get common file path

Disassembly:
push 0x458
mov eax, 0x438d43
call fcn.0041ef30
push str.CleanupCache...
lea ecx, [ebp - 0x428]
call fcn.004020ed
xor ebx, ebx
lea eax, [ebp - 0x428]
push ebx
push eax
push 2
mov dword [ebp - 4], ebx
call fcn.00403241
mov ecx, dword [ebp - 0x428]
add esp, 0xc
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.00401a64
call fcn.00410229
push eax
lea ecx, [ebp - 0x42c]
call fcn.00401330
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 0x40475d
lea eax, [ebp - 0x218]
push eax
call fcn.0042410e
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x42c]
call fcn.00402376
inc esi
test edi, edi
je 0x404724
mov esi, dword [ebp - 0x42c]
cmp dword [esi - 0xc], 0
jne 0x4047ac
push str.no_installed_products_found
lea ecx, [ebp - 0x428]
call fcn.004020ed
push ebx
lea eax, [ebp - 0x428]
mov byte [ebp - 4], 2
push eax
push 2
call fcn.00403241
mov ecx, dword [ebp - 0x428]
add esp, 0xc
lea ecx, [ecx - 0x10]
call fcn.00401a64
mov ebx, 0x490
jmp 0x4049e6
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 0x4049b2
lea ecx, [ebp - 0x464]
call fcn.00412710
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x428]
call fcn.004020ed
mov edi, str.AdobeARM1.0Cache.
mov byte [ebp - 4], 4
push edi
call fcn.0042410e
pop ecx
push eax
push edi
lea ecx, [ebp - 0x428]
call fcn.00402376
lea ecx, [ebp - 0x450]
call fcn.00411e0a
push ebx
push dword [ebp - 0x428]
lea ecx, [ebp - 0x450]
mov byte [ebp - 4], 5
call fcn.00412090
test eax, eax
je 0x40492a
lea ecx, [ebp - 0x450]
call fcn.00412240
lea ecx, [ebp - 0x450]
mov dword [ebp - 0x434], eax
call fcn.00412640
test eax, eax
jne 0x40491d
mov ecx, dword [ebp - 0x450]
push 0x10
mov edi, dword [ecx + 0x38]
mov ecx, edi
call dword [0x43b5a4]
lea ecx, [ebp - 0x450]
call edi
test eax, eax
jne 0x40491d
lea eax, [ebp - 0x424]
push eax
lea ecx, [ebp - 0x450]
call fcn.00412350
lea eax, [ebp - 0x430]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x450]
call fcn.00412300
push ebx
push 0x43dadc
lea ecx, [ebp - 0x430]
mov byte [ebp - 4], 7
call fcn.004025f8
cmp eax, 0xffffffff
je 0x4048fd
push ebx
push str..msi
lea ecx, [ebp - 0x430]
call fcn.004025f8
cmp eax, 0xffffffff
je 0x4048fd
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x424]
push eax
call fcn.00404520
pop ecx
pop ecx
test eax, eax
jne 0x4048fd
lea eax, [ebp - 0x424]
push eax
push dword [ebp - 0x45c]
lea ecx, [ebp - 0x464]
call fcn.0041292c
mov ecx, dword [ebp - 0x430]
lea ecx, [ecx - 0x10]
call fcn.00401a64
mov ecx, dword [ebp - 0x424]
mov byte [ebp - 4], 5
lea ecx, [ecx - 0x10]
call fcn.00401a64
cmp dword [ebp - 0x434], 0
jne 0x40482d
lea ecx, [ebp - 0x450]
call fcn.00412030
mov edi, ebx
cmp dword [ebp - 0x45c], edi
jle 0x40498c
push edi
lea ecx, [ebp - 0x464]
call fcn.0040609f
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00402458
add eax, 0x10
mov dword [ebp - 0x424], eax
lea eax, [ebp - 0x424]
mov byte [ebp - 4], 8
push eax
call fcn.0040413d
pop ecx
pop ecx
mov ecx, dword [ebp - 0x424]
mov byte [ebp - 4], 5
lea ecx, [ecx - 0x10]
call fcn.00401a64
inc edi
cmp edi, dword [ebp - 0x45c]
jl 0x40493f
lea ecx, [ebp - 0x450]
call fcn.00411fb6
mov ecx, dword [ebp - 0x428]
lea ecx, [ecx - 0x10]
call fcn.00401a64
lea ecx, [ebp - 0x464]
call fcn.00412727
jmp 0x4049e6
push str.SHGetFolderPath_failed
lea ecx, [ebp - 0x424]
call fcn.004020ed
push ebx
lea eax, [ebp - 0x424]
mov byte [ebp - 4], 9
push eax
push 2
call fcn.00403241
mov ecx, dword [ebp - 0x424]
add esp, 0xc
lea ecx, [ecx - 0x10]
call fcn.00401a64
lea ecx, [esi - 0x10]
call fcn.00401a64
mov eax, ebx
call fcn.0041eeda
ret