AMENDED AND RESTATED PURCHASE AGREEMENT dated as of the 31st day of August, 2010.