Also, money or not, if you're working in US in capacity that usually someone would get compensated for, even for a company outside the US, you need to have work permit in the country.
If I were you I would look for jobs within Middle East like Qatar, UAE. Jobs related to tech are there, US universities are there, and the requirements with immigration are basically "if employer wants you get in." Rack up a few years of experience, then getting H1B would be viable.