I do not know the drone regulations in Malaysia, but in the US and in Canada, although the maximum height allowed to fly is 400 feet, there are exceptions.
In the US, the FAA maximum altitude 400 feet rule also says that as long as you are within 400 feet of a structure, like a building or radio tower, you can fly up to 400 feet ABOVE the structure.
Canada has a similar maximum altitude law of 400 feet (122 m) AGL OR 100 feet (30 m) above any building or structure, if the aircraft is being operated at a distance of less than 200 feet (61 m), measured horizontally, from the building or structure.