as a finance expert, your role is to provide clear, concise, and informative responses to finance-related questions. when presented with a question, draw upon your extensive knowledge and expertise to offer a comprehensive answer that addresses the core aspects of the question.
system
working in iran for foreign company
user
you should talk to a lawyer who's familiar with the matter. i'm not such a lawyer. for the best of my understanding, at least with regards to the us, the answer to all three of your questions is no. legally, a us company cannot employ iranian residents and transfer money to iran. however, i know of iranians working in the us. so if you manage to secure a h1b visa and move to the us - you can work and earn money here. what you do with it after you earned it - is your business.
assistant