State’s attorney general says the company made unaffordable and illegal loans to people it knew couldn’t repay them.