Do you have the option to exchange the camera at the vendor where you made the purchase?
I can't speak for Malaysia, but the D-Link warranty period in the U.S. is 1 year from the date of purchase, during which time a defective product can be returned (with an approved RMA) for a replacement at no cost.