View Single Post
  #15  
Old 2010-07-12, 16:10
Unregistered
Guest
 
Posts: n/a
Default

Well, I managed to get the exe from a downloadable update.

Here's the raw script:
http://www.mediafire.com/?nooa4twdiwt

I'm going to explain how to obtain it, for future reference:
The script is stored as a resource called EXEC inside malie.exe. It's easy to dump it with any resource editor.
The next step is to decrypt it. The cipher used is called camellia and the key used is "agbsvAZJVBqMwzmE". You can find the source of an implementation here: http://info.isl.ntt.co.jp/crypt/eng/...ia/engine.html
And here's a simple program that uses it to decode the script: http://pastebin.com/T4WbcB2i
The final step is to decompress the decrypted script. It's compressed with zlib so it's trivial to decompress it. I just used the example program zpipe (http://www.zlib.net/zpipe.c).
Reply With Quote