I’m not a virus expert and don’t know all the bad things done by Mydoom.
Probably this has a solution if you try to find in the web for ‘Mydoom’ (Google search).

Do you use a USB keyboard?
Can you finish that avast! scanning or some windows appear asking for your action and a keyboard click…?