The main point would be to restart malware processes, just in case they were sloppily developed, and they would crash, get into some infinite loop, or they are leaking some resources (etc). This ensures that all installed malware[0] is in working order. For this just a simple reboot will do the job.
[0] - and NSA developed goodware also, of course