# Fox Online (File Decryptor)
#
# Written by Ekey (h4x0r)
# http://forum.xentax.com
#
# script for QuickBMS http://quickbms.aluigi.org
get SIZE asize
idstring "KFXArchive"
goto 0x32
savepos OFFSET
math SIZE -= 0x32
get NAME filename
string NAME += ".dec"
filexor "\x9D"
log NAME OFFSET SIZE
filexor ""