All expenses of any preliminary or other examinations into the condition of any association shall be paid by such association. All expenses of any receivership shall be paid out of the assets of such association before distribution of the proceeds thereof.