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...