Page 1 of 2 12 LastLast
Results 1 to 15 of 30
  1. #1
    ijikix's Avatar
    Join Date
    Dec 2012
    Gender
    male
    Posts
    13
    Reputation
    10
    Thanks
    0

    Post Leeched - Garena BS Weapon File Checking Function

    Leeched.
    Quote Originally Posted by Xorr View Post
    If you want to bypass this check, just detour/hook it and you should know what to do next.

    Garena BS's File Checking Function:
    Code:
    int __thiscall sub_10047690(int this, const char *a2)
    {
      int v2; // ebp@1
      HANDLE v3; // eax@5
      void *v4; // esi@5
      struct _RTL_CRITICAL_SECTION *v5; // ecx@6
      DWORD v6; // ebp@7
      void *v7; // edi@7
      unsigned int v8; // ecx@10
      void *v10; // [sp-4h] [bp-4Ch]@16
      char v11; // [sp+13h] [bp-35h]@1
      struct _RTL_CRITICAL_SECTION *v12; // [sp+14h] [bp-34h]@1
      DWORD NumberOfBytesRead; // [sp+18h] [bp-30h]@7
      void *v14; // [sp+20h] [bp-28h]@1
      int v15; // [sp+30h] [bp-18h]@1
      unsigned int v16; // [sp+34h] [bp-14h]@1
      int v17; // [sp+44h] [bp-4h]@1
    
    
      v2 = this + 264;
      v12 = (struct _RTL_CRITICAL_SECTION *)(this + 264);
      sub_1004A2D0((LPCRITICAL_SECTION)(this + 264));
      v11 = 5;
      v16 = 15;
      v15 = 0;
      //Found By Xorr
      LOBYTE(v14) = 0;
      sub_100033F0(a2, strlen(a2));
      v17 = 0;
      if ( sub_10041BF0("_SG", 0, 3) != -1 )
        v11 = 6;
      strncpy(FileName, a2, 0x303u);
      _strlwr(FileName);
      _splitpath(FileName, byte_101B580C, byte_101B5810, byte_101B5910, byte_101B5A10);
      if ( *(_DWORD *)(dword_101B56A8 + 260) )
        sprintf(byte_101B5A10, ".bsv");
      _makepath(FileName, byte_101B580C, byte_101B5810, byte_101B5910, byte_101B5A10);
      v3 = CreateFileA(FileName, 0x80000000u, 1u, 0, 3u, 0x80u, 0);
      v4 = v3;
      //Found By Xorr
      if ( v3 == (HANDLE)-1 )
      {
        MessageBoxA(0, FileName, "error", 0);
        v5 = (struct _RTL_CRITICAL_SECTION *)v2;
        goto LABEL_18;
      }
      v6 = GetFileSize(v3, 0);
      NumberOfBytesRead = 0;
      v7 = operator new(v6);
      if ( ReadFile(v4, v7, v6, &NumberOfBytesRead, 0) )
      {
        CloseHandle(v4);
        if ( *(_DWORD *)(dword_101B56A8 + 260) )
        {
          v8 = 0;
          if ( v6 )
          {
            do
            {
              *((_BYTE *)v7 + v8) -= v8 * v8 % (unsigned __int8)v11;
              ++v8;
            }
            while ( v8 < v6 );
          }
        }
        if ( !*(_DWORD *)dword_101B56A8 || !sub_101374F0(*(_DWORD *)dword_101B56A8, v7, v6, a2) )
        {
          j_j__free(v7);
          v5 = v12;
    LABEL_18:
          sub_1004A2F0(v5);
          if ( v16 >= 0x10 )
          {
            v10 = v14;
            goto LABEL_20;
          }
          return unknown_libname_11();
        }
        j_j__free(v7);
        MessageBoxA(0, "3 Can't find blackshot files. Please re-install blackshot.", "error", 0);
      }
      else
      {
        j_j__free(v7);
        MessageBoxA(0, "2 Can't find blackshot files. Please re-install blackshot.", "error", 0);
        CloseHandle(v4);
      }
      sub_1004A2F0(v12);
      if ( v16 >= 0x10 )
      {
        v10 = v14;
    LABEL_20:
        j__free(v10);
      }
      return unknown_libname_11();
    }
    Enjoy.
    Credites goes to @Xorr

  2. #2
    Reyo.'s Avatar
    Join Date
    Sep 2011
    Gender
    male
    Posts
    2,402
    Reputation
    267
    Thanks
    1,964
    My Mood
    Grumpy
    then paste where ?
    Quote Originally Posted by Dave84311 View Post
    Bye @YOU

  3. #3
    Hazique911's Avatar
    Join Date
    Oct 2012
    Gender
    male
    Location
    Anonymous
    Posts
    409
    Reputation
    10
    Thanks
    67
    My Mood
    Worried
    What is this?

  4. #4
    ijikix's Avatar
    Join Date
    Dec 2012
    Gender
    male
    Posts
    13
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by Reyo. View Post
    then paste where ?
    If you are a programmer...you should know.

    ---------- Post added at 09:55 PM ---------- Previous post was at 09:54 PM ----------

    Quote Originally Posted by Hazique911 View Post
    What is this?
    Xorr says it a function that multiplay_sg.dll uses to check the files. Which means, you can detour it and change it up (bypass).

  5. #5
    Sky_____'s Avatar
    Join Date
    Oct 2012
    Gender
    male
    Location
    In My Room
    Posts
    1,377
    Reputation
    20
    Thanks
    1,599
    My Mood
    Dead
    Oh its mean,edit the multiplay_sg?

  6. #6
    ijikix's Avatar
    Join Date
    Dec 2012
    Gender
    male
    Posts
    13
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by KillingInSpree View Post
    Oh its mean,edit the multiplay_sg?
    Kinda. It means that multiplay_sg is using that function to check if the files are correct and so on. So, to bypass this check you must detour it. After you detour you COULD possibly use rapid fire files with no errors.

  7. #7
    West8103's Avatar
    Join Date
    Jan 2013
    Gender
    male
    Posts
    112
    Reputation
    10
    Thanks
    12
    My Mood
    Amazed
    Too deep for me to go through 1 line to another.

  8. #8
    Sky_____'s Avatar
    Join Date
    Oct 2012
    Gender
    male
    Location
    In My Room
    Posts
    1,377
    Reputation
    20
    Thanks
    1,599
    My Mood
    Dead
    Quote Originally Posted by GM_Aae View Post
    What is this bro ? Tutorial please .
    This is for coder..you coder?

  9. #9
    GM_Aae's Avatar
    Join Date
    Nov 2012
    Gender
    male
    Location
    At your back !
    Posts
    450
    Reputation
    10
    Thanks
    1,567
    My Mood
    Innocent
    Quote Originally Posted by KillingInSpree View Post


    This is for coder..you coder?
    Nah . Then , what to do with this ? Nothing ??

    Join Date : 11 May 2012
    [IMG]https://forum.blackshot.garen*****m/image.php?u=116267&dateline=1350322417[/IMG] Proud to be MPGH member [IMG]https://forum.blackshot.garen*****m/image.php?u=116267&dateline=1350322417[/IMG]
    Press the thanks button if I help you

  10. #10
    Janitor's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Location
    MPGH Reports
    Posts
    16,255
    Reputation
    3259
    Thanks
    7,214
    That is a base for a feature , you can paste it in C++.

  11. The Following 3 Users Say Thank You to Janitor For This Useful Post:

    farisazli (01-11-2013),GM_Aae (01-10-2013),https:// (01-11-2013)

  12. #11
    Sky_____'s Avatar
    Join Date
    Oct 2012
    Gender
    male
    Location
    In My Room
    Posts
    1,377
    Reputation
    20
    Thanks
    1,599
    My Mood
    Dead
    Quote Originally Posted by GM_Aae View Post


    Nah . Then , what to do with this ? Nothing ??
    Look at arabian post

  13. #12
    bunkface's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Posts
    174
    Reputation
    10
    Thanks
    238
    My Mood
    Bitchy
    So edit the code then make the error disappear.

  14. #13
    RotiHangus HC's Avatar
    Join Date
    Apr 2012
    Gender
    male
    Posts
    217
    Reputation
    10
    Thanks
    184
    My Mood
    Cool
    Its for c++. Like detour sumvert base or blablabla. Programmer should know this. (multiplay_sg)

  15. #14
    Octaviushn's Avatar
    Join Date
    Oct 2012
    Gender
    male
    Posts
    25
    Reputation
    10
    Thanks
    765
    My Mood
    Amused
    So we have to paste this in "multiplay_sg" or replace what is inside ?

  16. #15
    androcathr's Avatar
    Join Date
    Jan 2013
    Gender
    male
    Posts
    4
    Reputation
    10
    Thanks
    0
    So edit the code then make the error disappear.

Page 1 of 2 12 LastLast

Similar Threads

  1. [Release] [LEECHED]BattleField Play4Free Server Files
    By **Seals** in forum Battlefield Play4Free Hacks
    Replies: 70
    Last Post: 02-10-2012, 11:37 AM
  2. Weapon files change on MW3
    By Fth17 in forum Call of Duty Modern Warfare 3 Help
    Replies: 11
    Last Post: 01-02-2012, 05:00 AM
  3. [Patched] Code v2.5 [Weapon Hack + simple functions]
    By Coder[Vb10e] in forum CrossFire Hacks & Cheats
    Replies: 56
    Last Post: 09-28-2011, 12:33 PM
  4. bypass file check
    By Battlefield 3 in forum Piercing Blow Discussions
    Replies: 3
    Last Post: 03-01-2011, 09:34 PM
  5. [Help] Original weapon files
    By asderrer in forum Combat Arms Europe Hacks
    Replies: 9
    Last Post: 01-05-2010, 02:36 AM