Note that OP writes that they are from a third world country. That means we don't know which jurisdiction applies, but it's not US or anywhere in Europe. So IP and labor laws may be very different from what we would consider normal or fair.
From the position of the ost-block, Ireland, Austria, Sweden, Finland and Switzerland, were definitely considered first-world western countries :-)
Yugoslavia is weird. But I would never dare insult somebody from former Yugoslavia by suggesting they are from a third-world country, it would be like asking for a black-eye :D (unless we are friends, and already drunk, then they might suggest it themselves?)
I am willing to bet the OP meant a poor , developing country with a colonial past version of Third-World than member of the Non-Aligned Movement . Most countries in the latter satisfied the former with the exceptions you provided.
In that case it would really point towards "just be a consultant", where the balance of power can somewhat swing back from the corporation to the person doing the work.