Earlier quoted context omitted.
Try to sell ransomware programs and sell support contracts and then see what happens. It is illegal to provide assistance in the commitance of a crime even if you're not the one that pulls the trigger.
If you sell it in accordance to your state regulations, I guess there will be no problem. Isn't that basically the same as selling weapons? (I would appreciate if no worker of the rank would accept to collaborate with manufacturing any form of weapons, but we are well past the point where lay people make their own mind about these things)
How many states do you know where that's explicitly legal? The only one I know is Russia.