avast! AntiVirus Version Detection (Win)

Summary
Detection of installed version of avast! AntiVirus on Windows. The script logs in via smb, searches for avast and gets the version from 'DisplayVersion' string in registry.
Detection
registry version check