The Khmer Empire was outside of Southeast Asia .
The empire , which grew out of the former kingdoms of Funan and Chenla , at times ruled over and/or vassalised most of mainland Southeast Asia .
Khmer Empire