Malaysia has one thai embassy and 2 Thai consulates. If you decided to apply there, thai consulates are advisable than embassy. Consulates are in Penang and Kota Bharu.
I have been living in Malaysia with Malaysia My Second Home (MM2H) visa which was previously given you ten years renewable visa. I was told that it is no immigrant visa thus I am not eligible to obtain PR.