I have zero doubt it could do it, if the prompter could competently explain the requirements. I have no reason to believe that this single engineer has any idea what problems most of the existing legacy code needs to solve or why it solves them that way...