PLEASE get legal advice if this is your situation.
(source: I'm a foreign national working in US on a visa, having spent a lot of time + money with my visa lawyer on this issue. I also have a startup investor friend who went over his visa duration and is barred from entering the US again.)