The embattled South Korean president is expected to put up a fight in what he has called an "illegal" investigation over charges he tried to lead an insurrection.