(b) The successor to a foreign corporation that transacted business in this state without a certificate of authority and the assignee of a cause of action arising out of that business may not maintain a proceeding based on that cause of action in any circuit court in this state until the foreign corporation or its successor obtains a certificate of authority.
(c) A circuit court may stay a proceeding commenced by a foreign corporation, its successor or assignee until it determines whether the foreign corporation or its successor requires a certificate of authority. If it so determines, the circuit court may further stay the proceeding until the foreign corporation or its successor obtains the certificate.
(d) A foreign corporation which conducts affairs or does or transacts business in this state without a certificate of authority is liable to this state for the years or parts of years during which it conducted affairs or did or transacted business in this state without a certificate of authority in an amount equal to all fees and taxes which would have been imposed by this chapter, or by any other provision of this code, upon the corporation had it duly applied for and received a certificate of authority to conduct affairs or do or transact business in this state as required by this article and had filed all reports, statements or returns required by this chapter or by any other chapter of this code, plus all penalties imposed for failure to pay any fees and taxes.
(e) Notwithstanding subsections (a) and (b) of this section, the failure of a foreign corporation to obtain a certificate of authority does not impair the validity of its corporate acts or prevent it from defending any proceeding in this state.