title: My external hard drive got virused and I found this very suspicious javascript file. Can someone analyze this file for me?
body: <p>My 750 GB external hard drive got virused.  When I helped my friend get a copy of visual studio for his laptop and plugged my external hard drive into it, nearly 95% of my files got hidden pretty quickly and was replaced by shortcut files aka .lnk files (To top it off, that was 366 GB worth of data from school projects).  Before the entire hard drive was turned into .lnk files, I quickly unplugged my external hard drive.  I plugged my external back into my pc and run the ff. command prompt command to un-hide the files hidden:</p>
  
  <pre><code>@echo off
  attrib -h -s -r -a /s /d G:\*.*
  PAUSE
  @echo on
  echo DONE!
  </code></pre>
  
  <p>This G: location is what my pc recognize my external hard drive before and during the virus attack, after running the batch command above, my pc now recognizes my external hard drive with E:.</p>
  
  <p>When the files got visible again, I saw all the missing folders into a hidden folder named "Drive" and I quickly moved out all the files I remember being originally here.  What I fished out of my hard drive was the ff. files:</p>
  
  <ul>
  <li>A windows batch file executing a javascript file located at "G:\Drive\808\exmjxt.js" which I'm pretty sure I did not ever create.</li>
  <li>A javascript file named "exmjxt.js"</li>
  </ul>
  
  <p>Now, I tried to open the javascript file mentioned above using notepad++ and this is the code I saw in it (there is only 4 LINES in this code, but for some reason, the first line of "var a = ...." line apparently contains 84906 characters fitted into that first line):</p>
  
  <p>(Code too long, it has more than 85,000 characters, here is a pastebin link instead)</p>
  
  <p><a href="http://pastebin.com/g3WEmUY4" rel="nofollow" title="pastebin link">Pastebin link for the javascript virus code</a></p>
  
  <p>If you're a person who knows javascript, please help me out with analyzing this javascript file, idk what this code does.</p>
  
  <p>Last time I got infected with a shortcut virus, the virus digged up my yahoo email address from the saved cookies in my browser and sent the email to some shady website and the next minute, I was sent quite a lot of NSFW and 18+ advertisements in the form of an email for the next 6 months -_-</p>