Any state bank is empowered, on the authority of its board of directors or the majority of the board, and with the approval of the commissioner, to enter into contracts, incur obligations and generally to do and perform any and all acts and things whatsoever necessary or appropriate in order to take advantage of any and all memberships, loans, subscriptions, contracts, grants, rights or privileges that may at any time be available or inure to banking institutions or to their depositors, creditors, stockholders, conservators, receivers or liquidators, by virtue of those provisions of § 8 the Federal Banking Act of 1933, § 12B of the Federal Reserve Act, which established the federal deposit insurance corporation, and in order to provide for the insurance of deposits or to take advantage of any other provisions of that or any other act or resolution of congress to aid, regulate or safeguard banking institutions or their depositors, including any amendments or substitutions; and to subscribe for and acquire any stock debentures or other types of insurance of the federal deposit insurance corporation and to comply with all lawful regulations and requirements from time to time issued or made by that corporation.