exists key whose
(
(
exists value "DisplayName" of it AND value "DisplayName" of it as string as lowercase contains "ultravnc"
)
AND
(
exists value "UninstallString" of it AND value "UninstallString" of it as string as lowercase contains "unins000.exe"
)
)
of keys "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of
(
if x64 of operating system then
(
x64 registry; registry
)
else registry
)
exists key whose ( (exists value "DisplayName" of it AND value "DisplayName" of it as string as lowercase contains "ultravnc") AND (exists value "UninstallString" of it AND value "UninstallString" of it as string as lowercase contains "unins000.exe") ) of keys "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of (if x64 of operating system then (x64 registry; registry) else registry)