How is the printer connected? MP620 can be in WiFi, Ethernet or USB.
Avast could be blocking a port on the system. Try uninstalling it and see if the printer works again. You could also fully remove the printer from Device Manager, and re-install it using a different port. You need to keep some sort of anti-virus installed, Avast or something else, AVG, MS Security