A lot of preconceived ideas on the place and we are only 2 pages in! Homosexuality is illegal yes. Not the only country in the world to make it so. Not right by any standards, but not the only one. Malaysia is no better.
A woman can divorce her husband just as equally as a husband. Not quite why you think this is not the case. Sure, it's going to be harder for her if she doesn't have the support of her family, but most of the do. Not that much different from working class UK and Ireland not that long ago.
This was a 3rd world country 30 years ago. Mainly built on the back of immigrants. Not too unlike New York 100 years ago by the Irish, the English, the South Americans. I agree, they need to up their game on the way they are treated, but so much has been done. Probably far quicker than the USA did all those years ago.
You are right. It is not a democracy. But how far has that got us in the western world recently? Keep on tub thumping if it suits you!