Decide what you want to get out of this:
Do you want to destroy the company? Perhaps take them over/replace them in some way? (A good lawyer will ask "What does this accomplish", although deterrence is not illegitimate in my viewpoint).
Get paid for your work, with suitable interest and penalties?
Get a piece of the action of the other company?
If you're telling the truth, there's a good chance you've got them in an exquisitely delicate situation. While they've officially raised a lot of money, if it just happened there it's unlikely it's all been transferred to their bank account. Even if so, you can mess them up going forwards with justified legal action.
For those panicking over defamation, truth is an absolute defense to it, you just have to be able to afford to get your day in court. Although I'll note everyone who's every been in a lawsuit, on whatever side, says it becomes a consuming thing, you've got to think about the opportunity cost. Something a good lawyer will bring up.
I wonder how this company could have made it through DD with a venture capital firm, since that would have involved contract review.
Anyway, as others have said: shut up, get lawyer.
That said, they have every incentive to burn the $2m fighting this claim, because otherwise they have nothing. The best result for OP would be a negotiated sale of the software for some $$, or perhaps equity in the business if they can stomach the risk. Nobody wins if the legal dispute eats up all the money and sours the business.