Researchers at security firm Trend Micro say they have discovered Windows malware that functions both as ransomware and part of a botnet, distributing spam and also copies of itself to other computers.