The firm posts strong profits as it continues to face negative press over leaked internal documents.