(a) A foreign corporation that has transacted intrastate business and has thereafter withdrawn from business in this state may be served with process in the manner provided in this chapter in any action brought in this state arising out of that business, whether or not it has ever complied with the requirements of this chapter. (b) A foreign corporation that has surrendered its right to transact intrastate business pursuant to Section 2112 or 2113 may be served with process in any action upon a liability