It may be illegal for the employer to send any money to you if you live in a sanctioned country. It may have also been illegal for them to allow you to do any paid work for them. You should talk with an attorney in your country for further guidance on what can legally be done, unfortunately they may not be able to pay you until sanctions have been lifted.
They would have to check with their lawyers to see what they can legally do, if they disregard sanctions they can be imprisoned, fined and have their business immediately dissolved by the U.S. Government.