EXHIBIT 10.77 MASTER REPURCHASE AGREEMENT Dated August 7, 2003