I do not say you are a money launderer. But what I mean is the law will treat you like a money launderer if you do what money launderers do with money. Which is to get money from third parties and deposit it with a broker and then ask for it to be sent back to you.
I have already suggested the firm should return the money to the third parties (on the basis of evidence from them that it is their money). Money which you deposited, which you can prove is yours only, should be returned to you.
The profits are at least partly gone. The best you can hope for is the firm send the profits to you as you made an honest mistake with no intent to defraud anyone of capital or services and so did they also made an honest mistake by accepting third parties’ deposits.
Or they could send you some of the profits in proportion to the amount of money you put in compared to the total from yourself plus the third parties.
But these are unclear matters and it might be good to have a lawyer help argue your case.
Of course, what the firm could do is report you to the authorities as a money launderer. I think I already suggested you need to consult a lawyer.