The word "ransack" means to search quickly and look through something in a very thorough and messy way, usually to find something or steal valuables.