Horus, the Lord of the Sky, was often depicted in mythology with the head of a falcon and wearing the Pschent, a double crown consisting of a white crown and a red crown, which is reflected in the movie as Hancock's white and red cap that has an eagle on the front. He was also described as a great falcon with outstretched wings whose eyes were the sun and moon, relating to the image of eagle with outstretched wings on Hancock's cap, the sunrise reflected in his sunglasses on the movie poster and to his alteration of the moon at the end of the movie.
Mary, whose name means beloved in Egyptian, would be the goddess Hathor. In mythology Hathor is the wife of Horus the Elder, but she is also described as the wife of Ra (a.k.a. Ray) at times. A normally gentle fertility goddess and protector of children, her alter-ego Sekhmet is an powerful goddess of destruction that Ra could only stop by tricking her into getting drunk using blood-colored beer. This fits her character in the movie who is a mother to an adopted child (Aaron, also an Egyptian name), but is also shown to have a destructive temper and to be stronger than Hancock when he makes her angry.