Question d’entretien chez Microsoft

Behavioral round: How would you deal with code base for programming language with poor-to-no documentation.