Regardless of if you require a visa or are exempt, do remember that you need to have a passport that is valid for 6 months after your departure date, so if you arrive on the 1st of the month and leave on the 30th of the month, the passport should be valid for 6 months from the 30th of the month. If you passport is not fully valid your airline may not allow you to board and the immigration authority will not permit you to land in Malaysia.
You will need to fully complete the white immigration card on arrival, hand this to the immigration stand along with your passport. The immigration officer will then issue the permit to stay depending on your passport / nationality after taking your fingerprint.