The first and second made it 'unlawful for any person, corporation, or other association of persons, either as principal or agents, to establish or open an office or other place of business . . . for the purpose of carrying on or engaging in any such business as is forbidden in this act or in chapter 221 of the Public Laws of North Carolina of 1889,' and affixed a penalty for so doing.