By doing intrastate, interstate, or foreign business in this State, a foreign corporation assents to the laws of this State.