Unfortunately, the majority of malware in the wild today isn't viruses, but rather worms, trojans, and the like, or hybrid combinations of those, for which repair would be essentially impossible. That's the primary reason the virus-repair function was dropped from avast quite a while back.