Fendrix

𝓣𝓱𝓮 𝓑𝓮𝓼𝓽 𝓞𝓷𝓮
Co Admin
Hosting Yetkilisi
Teknik Sorumlu
Hakem
Yarışma Organizatörü
Vip Üye
21 Mar 2021
1,314
370
Çevrimiçi zamanı
7d 8h 48m
153
Best answers
0
Oyuncu
Metin2

Kod:
// dllmain.cpp : Defines the entry point for the DLL application.
#include "stdafx.h"
#include <Windows.h>
int main(){
    DWORD CallAdress = 0x4B6770;
    _asm{
        MOV ECX, DWORD PTR DS : [0x6F8D18]
            Call CallAdress
    }
    Sleep(20);
}
BOOL APIENTRY DllMain( HMODULE hModule,
                       DWORD  ul_reason_for_call,
                       LPVOID lpReserved
                     )
{
    switch (ul_reason_for_call)
    {
    case DLL_PROCESS_ATTACH:
    case DLL_THREAD_ATTACH:
    case DLL_THREAD_DETACH:
        CreateThread(0, NULL, reinterpret_cast<LPTHREAD_START_ROUTINE>(main), hModule, 0, NULL);
    case DLL_PROCESS_DETACH:
        break;
    }
    return TRUE;
}
 
Üst