(a) Persons operating without licenses.--A person subject to the provisions of this chapter and not licensed by the department who violates any provision of this chapter or who commits any action which would subject a license to suspension, revocation or nonrenewal under section 6139 (relating to suspension, revocation or refusal) may be fined by the department up to $10,000 for each offense.
(b) Violation by licensee.--A person licensed under this chapter or director, officer, owner, partner, employee, mortgage originator or agent of a licensee who violates a provision of this chapter or who commits any action which would subject the licensee to suspension, revocation or nonrenewal under section 6139 may be fined by the department up to $10,000 for each offense.