[Source Code] Version.dll Full source code with examples

[Source Code] Version.dll Full source code with examples by TonyWeb

NOW FOR SALE!!! Only $50

Once I have the enough likes I will sell the complete set of code. For now I can only post some of the code.

Meanwhile. some titbits for you:

//Test1.exe
void DoPatch1()
{
    SuspendMainThread();

#if _WIN64
    PatchMemory(PatternFind(szFile1,
        “74 12 48 8D 15”, 1),
        “\x00”, 1);
#else
    //patch the Test1.exe
    PatchMemory(PatternFind(szFile1,
        “74 22 68”, 1),            //Offset 1 means we want to start replacing from
                                //the beginning of address +1 which in this
                                //case is the byte 22 hex
        “\x00”, 1);                //size is 1

#endif

    ResumeMainThread();

    CloseHandle(hMainThread);
    hMainThread = nullptr;
}

As you can see from the log, a search was made for “74 12 48 8d 15” in Test1.exe and the patch was made at that address. Patching this way means that most likely the crack will work in the next version of the software.

Example 2:
For example 2 I will use the same Test1 program but another button has been added that calls the IsRegistered() function from an external library named license.dll. What I’m going to show you is how to patch Test2.exe and license.dll at once.

C++: 

#include "lic.h"

bool IsRegistered()
{
    return false;
}

Now copy the version.dll file that is inside the Crack folder to the folder where Test1.exe is like you deed before.

C++: 

//Test2.exe
void DoPatch1()
{
    //We need to make sure that the Test2.exe has already loaded the library license.dll,
    //before proceeding with the patch.
    if (!IsModuleLoaded(szFile2.c_str()))
    {
        MY_LOG(__FUNCTION__ L” :: Waiting for module %ls to be loaded into memory.”, szFile2.c_str());
        do
        {
            Sleep(10);
        } while (!IsModuleLoaded(szFile2.c_str()));

        MY_LOG(__FUNCTION__ L” :: Module %ls has been loaded into memory.”, szFile2.c_str());
    }
    else
        MY_LOG(__FUNCTION__ L” :: Module %ls is already loaded in memory.”, szFile2.c_str());

    SuspendMainThread();

#if _WIN64
    PatchMemory(PatternFind(szFile1,
        “74 12 48 8D 15”, 1),
        “\x00”, 1);

    //patch the license.dll
    PatchMemory(PatternFind(szFile2,
        “32 C0 C3”, 0),
        “\xB0\x01”, 2);    //mov al,1


#else
    //patch the Test2.exe
    PatchMemory(PatternFind(szFile1,
        “74 23 68”, 1),            //Offset 1 means we want to start replacing from
                                //the beginning of address +1 which in this
                                //case is the byte 23 hex
        “\x00”, 1);                //size is 1

    //patch the license.dll
    PatchMemory(PatternFind(szFile2,
        “32 C0 C3 3B 0D”, 0),    //Offset 0 means we want to start replacing from
                                //the beginning of the address where the pattern was found
        “\xB0\x01”, 2);            //size is 2

#endif

    ResumeMainThread();

    CloseHandle(hMainThread);
    hMainThread = nullptr;
}


7 thoughts on “[Source Code] Version.dll Full source code with examples”

    1. Who the hell cares? At the end of the day I am the one with money in my pocket. I am selling cracks. So what do you intend to do about it? :p

  1. Hey @th3tuga!
    I *have* to pretend in the Reverser’s Lounge zone to be very angry, or else I could get into trouble if you know what I mean.
    One thing is for sure: I am not an experienced reverser. So I need to make whatever money possible by selling work of others. Thanks for your share but I am going to sell.
    Sorry…
    And thanks to @tonyweb by teaching me all the ways to sell.

    1. @stingered (or should I call you as abhi93696?) :p
      Thank you for bringing in so many buyers.
      If anyone else also wants to share in my profits they can leave a comment here and bring me one buyer. I will share profits with them.

  2. NO ONE joins stupid forums like B4A where any fool and their uncle can register and join without any trouble just to share USEFUL and VALUABLE content!
    Only FOOLS share VALUABLE content in such open forums!
    I am only sharing my valuable content in forums like Team-IRA where registration and intake of members is very tightly controlled!
    So far, ZERO leaks of my shares from Team-IRA!

Leave a Reply

Your email address will not be published. Required fields are marked *