One of the country largest banks posted record quarterly profits.