TORONTO - Sun Life Financial Inc. says market gains helped it reach an all-time high for assets under management in the third quarter, even as it continues to struggle with investors pulling out funds.