Results 1 to 2 of 2
  1. #1
    h4x0r
    h4x0r is offline
    h4x0r's Avatar
    Join Date
    2011 Aug
    Location
    ..\root\home\pgc
    Posts
    826
    Thanks Thanks Given 
    64
    Thanks Thanks Received 
    525
    Thanked in
    205 Posts
    Rep Power
    14

    Super Dancer Online-Xtreme | Season 3 SAI Decrypt

    Victim: here
    Format: SAI

    So we have 2 files:

    1) Datas.sai - FileTable where contained info about Offset's, Size's, FileNames .ect. (Encrypted)
    2) Datas.sac - Main archive where contained game resource's. (Not Encrypted) - You can use any ripper to get files.

    FileTable divided into 2 blocks.

    1st block - Index where contained info (Offset's , Size's, CRC and other)
    2nd block - FileNames strings.

    Structure :

    Full Header Size = 16 Bytes

    Code:
    4 Bytes - SDO\x00
    4 Bytes - TotalFiles inside main archive
    4 Bytes - 2nd Block Size
    4 Bytes - Nulls
    What next. We need decrypt 1st block. How :

    Offset: 0x10
    Size: 2971750 (FileSize) - 16 (Header) - 1911206 (2nd Block Size) = 1060528

    Now decrypt 2nd block.

    Offset: 2971750 (FileSize) - 16 (Header) - 1911206 (2nd Block Size) = 1060528
    Size: 2nd Block Size

    Algo is very simple

    PHP Code:
    int __cdecl SAI_Decrypt(unsigned int szKeyint szBufferunsigned int szBlockSize)
    {
      
    int result;
      
    int i;

      if ( 
    szKey )
      {
        
    result szBuffer;
        for ( 
    szBufferszBlockSize; ++)
        {
          
    szKey *= 15625;
          *(
    BYTE *)-= szKey >> 16;
          
    result 1;
        }
      }
      return 
    result;

    szKey -> 0x7C53F961u

    Example Use:

    PHP Code:
    SAI_Decrypt(0x7C53F961,(int)buffer, (int)buffer size); 
    Now you can use FileTable for extract game resource's with normal filenames

    Test Project Attached (Original FileTable + Decrypted included).

    Please register or login to download attachments.

    Last edited by h4x0r; 2012-08-24 at 06:32 PM.

  2. #2
    h4x0r
    h4x0r is offline
    h4x0r's Avatar
    Join Date
    2011 Aug
    Location
    ..\root\home\pgc
    Posts
    826
    Thanks Thanks Given 
    64
    Thanks Thanks Received 
    525
    Thanked in
    205 Posts
    Rep Power
    14
    So unpacker here

Similar Threads

  1. Aiontool - Ultimate Hack-Pack 4 Aion anti-afk, gravity, super glide, no hide, etc
    By sinclair.pixel in forum Aion Bots, Hacks, Cheats
    Replies: 23
    Last Post: 2012-10-14, 01:19 AM
  2. [Request] Decrypt Table File
    By Gasketo in forum Research Requests
    Replies: 4
    Last Post: 2012-08-09, 11:16 PM
  3. PhotoShop Super Pack of 1000 Free Brushes
    By annnnndre in forum GFX Resources
    Replies: 2
    Last Post: 2012-06-21, 03:43 AM
  4. Mu online season 6 hack
    By craco28 in forum Buying Place
    Replies: 0
    Last Post: 2011-12-26, 11:40 PM
  5. Decrypt MD5 Hashes
    By codeprada in forum Files & Tools
    Replies: 1
    Last Post: 2011-08-04, 01:43 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •