(a) A corporation may, before final disposition of a proceeding, advance funds to pay for or reimburse the reasonable expenses incurred by a director who is a party to a proceeding because he or she is a director if he or she delivers to the corporation:
(1) A written affirmation of his or her good faith belief that he or she has met the relevant standard of conduct described in section eight hundred fifty-one of this article or that the proceeding involves conduct for which liability has been eliminated under a provision of the articles of incorporation as authorized by subdivision (4), subsection (b), section two hundred two, article two of this chapter; and
(2) His or her written undertaking to repay any funds advanced if he or she is not entitled to mandatory indemnification under section eight hundred fifty-two of this article and it is ultimately determined under sections eight hundred fifty-four or eight hundred fifty-five of this article that he or she has not met the relevant standard of conduct described in section eight hundred fifty-one of this article.
(b) The undertaking required by subdivision (2), subsection (a) of this section must be an unlimited general obligation of the director but need not be secured and may be accepted without reference to the financial ability of the director to make repayment.
(c) Authorizations under this section are to be made:
(1) By the board of directors:
(A) If there are two or more disinterested directors, by a majority vote of all the disinterested directors, a majority of whom constitute a quorum for this purpose, or by a majority of the members of a committee of two or more disinterested directors appointed by a vote; or
(B) If there are fewer than two disinterested directors, by the vote necessary for action by the board in accordance with subsection (c), section eight hundred twenty-four of this article, in which authorization directors who do not qualify as disinterested directors may participate; or
(2) By special legal counsel:
(A) Selected in the manner prescribed in subdivision (1) of this subsection;
(B) If there are fewer than two disinterested directors, selected by the board of directors in which selection directors who do not qualify as disinterested directors may participate; or
(3) By the members, if the members have a right to vote.