Marrying her is not a criminal offense. So relax.

AND...

You say she's here on an expired work visa...so she entered legally and simply overstayed?

You can actually help her get legal. After the wedding, file Form I-130 and Form I-485.