It's common for software licenses to prohibit decompiling and reverse engineering. This is often to protect intellectual property rather than to hide malicious content. If they wanted to share the code freely, they'd open-source it. That doesn't mean that all closed-source programs are malicious.