Take a look at
http://www.samsapade.org : they have some
tools to decipher obfuscated URL's and, more importantly, some
good links. You could also email Steve Blighty and see if
he will help you write a perl version of what he has (I
think it is in C).