On becoming satisfied, as specified in sections 131 and 132 of this title, that any association is in default, the Comptroller of the Currency may forthwith appoint a receiver, and require of him such bond and security as he deems proper. Such receiver, under the direction of the Comptroller, shall take possession of the books, records, and assets of every description of such association, collect all debts, dues, and claims belonging to it, and, upon the order of a court of record of competent jurisdiction, may sell or compound all bad or doubtful debts, and, on a like order, may sell all the real and personal property of such association, on such terms as the court shall direct. Such receiver shall pay over all money so made to the Treasurer of the United States, subject to the order of the Comptroller, and also make report to the Comptroller of all his acts and proceedings.1