I have thought about leaving. My first goal is to confirm that I really understand what I'm observing. I don't want to resign because of a legal issue only to discover later that it's not actually illegal and I misread the situation.
I have no animosity for the company or the leaders. No desire to "take them down" or cause any drama. But avoiding drama definitely wouldn't be a reason to do something illegal imo.