Welcome to the Functions Of Doom, where the code is so bad, it's good. Or is it?
Here's a list of functions that will drive you insane:
May the code be with you.