We need to tear into its guts and dissect it. The code is undocumented; as such, we need to figure out what it does and add comments.