(a) A foreign corporation may not conduct affairs in this state until it obtains a certificate of authority from the Secretary of State.
(b) The following activities, among others, do not constitute conducting affairs within the meaning of subsection (a) of this section:
(1) Maintaining, defending or settling any proceeding;