The plugin doesn’t have restore capabilities, but assuming you have a full backup of your site database, theme and plugins (pre virus attack) then you can restore fairly painlessly.
This guide has a lot of good info in it:
https://www.wpbeginner.com/beginners-guide/beginners-guide-how-to-restore-wordpress-from-backup/
If uncomfortable with performing the tasks outlined in the above guide, you should seek assistance from a WordPress / website professional.
Also, be aware that your last backup might also be infected.
However, Dropbox does store something like 5x previous backups, so you can go back a week or whatever until you get one that isn’t infected.