Indeed, system restore won't uninstall avast correctly and will mess the computer.
I suggest an installation from the scratch:
1. Uninstall avast from Control Panel first. Or boot in Safe Mode and run it.
2. Boot.
3. Download the latest version of
Avast Uninstall and use it for complete uninstallation. Or boot in Safe Mode and run it.
4. Boot.
5. Install again the latest
avast! version.
6. Boot.
7. Check and post the results.