AMENDED AND RESTATED DISTRIBUTION CONTRACT ALLIANZ FUNDS July 1, 2011 Allianz Global Investors Distributors LLC 1345 Avenue of the Americas New York, NY 10105