Using AI to Reverse Engineer Code and Derive Requirements

Can AI understand legacy code with zero comments, tests, or README?