The code is the documentation. If you can run it through a debugger, you can figure out what it does. You may not know why it was written that way. But, someone in the organization knows.
Edit: corrected poor phrasing
Edit: corrected poor phrasing
…if you’re lucky.