Instead of attempting to learn and understand all the local laws and regulations of the country you are working in (which is nearly impossible!), you are far better off hiring a legal representative (lawyer) who has experience working in this field and country.
Although you may be tempted to skip this part to save on legal
fees--don't. A local lawyer or consultant will make sure that your
business is covered in all legal aspects--from registering your
business and obtaining necessary licenses to paying the right taxes
and fees. In the long run, this will protect you from far more
costly legal problems.