The company reported a profit of $134.2 million, compared to a loss of $146.9 million during the same quarter last year.