OK this is indicative of a registry corruption
Are you able to boot into safe mode with networking
Download Avast Uninstall Utility to your Desktop.
Disconnect from the net
Uninstall Avast via control panel (if present)
[]Run the uninstall tool and accept the reboot to safe mode
[]Once complete reboot your system