Malaysia is a Muslim country but the government is very lenient because of the multiracial community. We have a lot of Chinese, Indians and other minority races who are not Muslims. Therefore, you can get pigs/pork here just like anywhere else. I mean out of the 20 million people we have here, nearly 7 million are Chinese, who are the biggest pork eaters here. Having pork banned would just be like banning curry in India or stout in Ireland
Brunei on the other hand, is a very strict Muslim country. No pork or liquor can be sold, although you can bring your liquor in through the borders. Just for private consumption.