What is the file name and location of the dropper that was detected ?
What is the full text of the rundll32 error ?
I suspect it will relate to the file that you had avast delete, since it wanted to be registered to run on boot and the file isn’t there it throws up the error. What this means t=is that there is a registry entry left behind that will need dealt with, more on that later if confirmed.