We start with our sample.
After laughing about the please use IE/Firefox I decided I don't like big blobs of text. This one is not bad but no real reason to not get into the habit of cleaning up the code.
Lets quickly look at the code and see if we can simplify it without changing the functionality.
So it looks like we can and this is what it will look like after a quick simplification.
We are now ready to start figuring out what this code does. We know it won't be much because the array is so small. For example some exploit kits are 17k items strong in the array.
Lets fire up node.
We can now see some more useless code around the vars because they are not used. This simple email attachment would have redirected to Blackhole Exploit kit.