Toronto-based Home Capital Group Inc.’s expenses soared $175 million above normal during the second quarter as it fought to survive a cash shortage that erupted as customers withdrew most of the money they had deposited in the company’s savings accounts.

The estimate includes a previously reported $100 million in fees and transaction costs related to $2-billion of emergency funding that Home Capital borrowed from the Healthcare of Ontario Pension Plan to deal with the cash crunch.

Home Capital also had a loss on the sale of some of its asset portfolio and higher than normal professional, legal and interest costs during the quarter, the firm reported.

On a more positive note, Home Capital says it’s encouraged by the inflows of deposits since it got a vote of confidence from famed billionaire Warren Buffett, whose Berkshire Hathaway will invest up to $400 million in the company.

The company said the Toronto Stock Exchange has given conditional approval, as expected, for Berkshire’s initial investment of $153.2 million to acquire 16 million Home Capital shares, or about 20% of the company’s total equity.

A second round of investment from Berkshire, which would buy a further $247.7 million worth of Home Capital stock and raise its ownership stake to 38.%, requires shareholder approval at a special meeting later this year.

Home Capital’s update was issued ahead of Thursday’s annual shareholders meeting in Toronto.