Function at 0x404421
Capabilities:
Get common file path

Disassembly:
push 0x458
mov eax, 0x4387be
call fcn.0041ea10
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.00403025
mov ecx, dword [ebp - 0x428]
add esp, 0xc
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.00401a64
call fcn.0040fd19
push eax
lea ecx, [ebp - 0x42c]
call main
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 0x4044bc
lea eax, [ebp - 0x218]
push eax
call main
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x42c]
call main
inc esi
test edi, edi
je 0x404483
mov esi, dword [ebp - 0x42c]
cmp dword [esi - 0xc], 0
jne 0x40450b
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.00403025
mov ecx, dword [ebp - 0x428]
add esp, 0xc
lea ecx, [ecx - 0x10]
call fcn.00401a64
mov ebx, 0x490
jmp 0x404745
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 0x404711
lea ecx, [ebp - 0x464]
call fcn.00412200
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 main
pop ecx
push eax
push edi
lea ecx, [ebp - 0x428]
call main
lea ecx, [ebp - 0x450]
call main
push ebx
push dword [ebp - 0x428]
lea ecx, [ebp - 0x450]
mov byte [ebp - 4], 5
call main
test eax, eax
je 0x404689
lea ecx, [ebp - 0x450]
call fcn.00411d30
lea ecx, [ebp - 0x450]
mov dword [ebp - 0x434], eax
call fcn.00412130
test eax, eax
jne 0x40467c
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 0x40467c
lea eax, [ebp - 0x424]
push eax
lea ecx, [ebp - 0x450]
call fcn.00411e40
lea eax, [ebp - 0x430]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x450]
call fcn.00411df0
push ebx
push 0x43da1c
lea ecx, [ebp - 0x430]
mov byte [ebp - 4], 7
call main
cmp eax, 0xffffffff
je 0x40465c
push ebx
push str..msi
lea ecx, [ebp - 0x430]
call main
cmp eax, 0xffffffff
je 0x40465c
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x424]
push eax
call fcn.0040427f
pop ecx
pop ecx
test eax, eax
jne 0x40465c
lea eax, [ebp - 0x424]
push eax
push dword [ebp - 0x45c]
lea ecx, [ebp - 0x464]
call main
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 0x40458c
lea ecx, [ebp - 0x450]
call fcn.00411b20
mov edi, ebx
cmp dword [ebp - 0x45c], edi
jle 0x4046eb
push edi
lea ecx, [ebp - 0x464]
call main
mov eax, dword [eax]
sub eax, 0x10
push eax
call main
add eax, 0x10
mov dword [ebp - 0x424], eax
lea eax, [ebp - 0x424]
mov byte [ebp - 4], 8
push eax
call main
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 0x40469e
lea ecx, [ebp - 0x450]
call main
mov ecx, dword [ebp - 0x428]
lea ecx, [ecx - 0x10]
call fcn.00401a64
lea ecx, [ebp - 0x464]
call main
jmp 0x404745
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.00403025
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.0041e9ba
ret