Movie name pIease?

Movie about a hat with a m on it, a character named Monty, and a young girl too, also a security guard