S© ™ † ™ Welcome And Zone SnuterStar ™ †™ S©
™️ Welcome And Zone SnuterStar ™️™️

[-]Yang Belum Punya User DI Snuter Harap Register.
[-]Yang Sudah Ada Di HarapKan Log In

~Thankz For ALL Snuterstar~
---------------------------------------------------------
S© ™ † ™ Welcome And Zone SnuterStar ™ †™ S©
™️ Welcome And Zone SnuterStar ™️™️

[-]Yang Belum Punya User DI Snuter Harap Register.
[-]Yang Sudah Ada Di HarapKan Log In

~Thankz For ALL Snuterstar~
---------------------------------------------------------
S© ™ † ™ Welcome And Zone SnuterStar ™ †™ S©
Would you like to react to this message? Create an account in a few clicks or log in to continue.


S© ™ † ™ Welcome And Zone SnuterStar ™ †™ S©
 
VIP MEMBERIndeksLatest imagesPencarianPendaftaranLoginGrup FacebOok
Login
Username:
Password:
Login otomatis: 
:: Lupa password?
Top posters
™♦TG_TRI♦™
SC WH AUTO ON I_vote_lcapSC WH AUTO ON I_voting_barSC WH AUTO ON I_vote_rcap 
cacad1234
SC WH AUTO ON I_vote_lcapSC WH AUTO ON I_voting_barSC WH AUTO ON I_vote_rcap 
Admin
SC WH AUTO ON I_vote_lcapSC WH AUTO ON I_voting_barSC WH AUTO ON I_vote_rcap 
dere7up
SC WH AUTO ON I_vote_lcapSC WH AUTO ON I_voting_barSC WH AUTO ON I_vote_rcap 
Citertasik87
SC WH AUTO ON I_vote_lcapSC WH AUTO ON I_voting_barSC WH AUTO ON I_vote_rcap 
oyekzzz
SC WH AUTO ON I_vote_lcapSC WH AUTO ON I_voting_barSC WH AUTO ON I_vote_rcap 
asal123
SC WH AUTO ON I_vote_lcapSC WH AUTO ON I_voting_barSC WH AUTO ON I_vote_rcap 
TrubleMarker
SC WH AUTO ON I_vote_lcapSC WH AUTO ON I_voting_barSC WH AUTO ON I_vote_rcap 
Neverland
SC WH AUTO ON I_vote_lcapSC WH AUTO ON I_voting_barSC WH AUTO ON I_vote_rcap 
alimaco09
SC WH AUTO ON I_vote_lcapSC WH AUTO ON I_voting_barSC WH AUTO ON I_vote_rcap 
Similar topics
Latest topics
» YANG MASIH AKTIF SILAHKAN JOIN
SC WH AUTO ON Gnome_list_addMon Jan 11, 2021 11:25 pm by TrubleMarkerHNc

» Cara Mengembalikan ID Gemscool Yang Di Hack Oleh Orang
SC WH AUTO ON Gnome_list_addTue Aug 13, 2013 12:28 pm by kibilmaho99

» G-CASH GENERATOR
SC WH AUTO ON Gnome_list_addTue Dec 25, 2012 1:16 pm by aink978

» JAMU CHEAT POINT BLANK ( INI ADALAH INTI DARI SEGALA CHEAT, KALAU INI KAGA DI INSTAL CHEATNYA KAGA JADI )
SC WH AUTO ON Gnome_list_addTue Dec 25, 2012 1:15 pm by aink978

» CHEAT G-CASH GENERATOR + CHEAT POINT workk 100%
SC WH AUTO ON Gnome_list_addTue Dec 25, 2012 1:13 pm by aink978

»  |-EaGLe-FiRe-| HACK G-CASH GEMSCOOL
SC WH AUTO ON Gnome_list_addTue Dec 25, 2012 1:10 pm by aink978

» G- Cash Generator Online UPDATE
SC WH AUTO ON Gnome_list_addThu Aug 30, 2012 11:46 pm by cacuce1

» ™|EaGLe-FiRe|™ CHEAT AUTO EXP 2012 ( JALAN TIAP RONDE ) + MASMED
SC WH AUTO ON Gnome_list_addThu Aug 30, 2012 11:33 pm by cacuce1

» Cara Mengembalikan ID Gemscool Yang Sudah Di Banned/Di Hack Oleh Orang
SC WH AUTO ON Gnome_list_addTue Aug 14, 2012 5:28 pm by putu eko


Share | 
 

 SC WH AUTO ON

Topik sebelumnya Topik selanjutnya Go down 
PengirimMessage
Febrii Np Razy Kmpt
™-Newbie_Member-™
™-Newbie_Member-™
avatar

Jumlah posting : 12
Reputation : 39
Cendol : 7
Join date : 23.09.11
Age : 32
Lacation : PekanBaru

SC WH AUTO ON Empty
PostSubyek: SC WH AUTO ON   SC WH AUTO ON Gnome_list_addSat Oct 15, 2011 9:19 pm

Nb :
+++ Dolo Baru Loe Boleh Compas

//Name : FEBRII NP RAZY KMPT

//Copyright : FEBRII ERVANZ ©️ 2011 Or Facebook

//Author : Febrii Admin P.A.S

//Date : 14/10/2011 02:30.34

/******************************************************--==||so||==--******************************************************/

#include

#include

#include

#include

#include

#include

#include "Main.h"


using namespace std;

ofstream infile;

ofstream myfile;


LPDIRECT3DTEXTURE9 texGreen;

LPDIRECT3DTEXTURE9 texYellow;

LPDIRECT3DTEXTURE9 texRed;

LPDIRECT3DTEXTURE9 texBlue;

LPDIRECT3DTEXTURE9 texPurple;

LPDIRECT3DTEXTURE9 texPink;

LPDIRECT3DTEXTURE9 texOrange;

LPDIRECT3DTEXTURE9 texBlack;


#include

#pragma comment(lib, "d3d9.lib")

bool CekHook=true;

bool Colors=true;

bool Chams = false;

bool cross = false;

bool betterwh = false;

bool nosmoke = true;

bool Tested = false;

#include

#pragma comment(lib, "d3dx9.lib")

#pragma warning(disable:4102)

#pragma warning(disable:4101)

#define SMOKE (nNumVertices == 192 || nPrimitiveCount == 52 || nNumVertices == 256)

#define D3DparamX , UINT paramx

#define D3DparamvalX , paramx

//-------------------------------------------------------------------------------------//


LPDIRECT3DDEVICE9 npDevice;


//-------------------------------------------------------------------------------------//

LPDIRECT3DDEVICE9 g_pDevice = 0;

//int hackopt1;

int B = 1;

int CALL = 1;


LPDIRECT3DDEVICE9 rpDevice = 0;

UINT OffsetInBytes;

UINT m_Stride;

UINT primCount;

UINT NumVertices;



int hsorg;

int CopiedWrExe;

int dwordgame;

int CopiedHsDll;

int dwordhs;

int poczatekhs;

int koniechs;

int edxreg;

int hsfx;

int wrfx;


HRESULT GenerateTexture(IDirect3DDevice9 *pD3Ddev, IDirect3DTexture9 **ppD3Dtex, DWORD colour32)

{

if( FAILED(pD3Ddev->CreateTexture(8, 8, 1, 0, D3DFMT_A4R4G4B4, D3DPOOL_MANAGED, ppD3Dtex, NULL)) )

return E_FAIL;


WORD colour16 = ((WORD)((colour32>>28)&0xF)<<12)

|(WORD)(((colour32>>20)&0xF)<<Cool

|(WORD)(((colour32>>12)&0xF)<<4)

|(WORD)(((colour32>>4)&0xF)<<0);



D3DLOCKED_RECT d3dlr;

(*ppD3Dtex)->LockRect(0, &d3dlr, 0, 0);

WORD *pDst16 = (WORD*)d3dlr.pBits;


for(int xy=0; xy < 8*8; xy++)

*pDst16++ = colour16;


(*ppD3Dtex)->UnlockRect(0);


return S_OK;

}


//--------------------------------------------------------------------------------//

PVOID D3Ddiscover(void *tbl, int size)

{

HWND hWnd;

void *pInterface=0 ;

D3DPRESENT_PARAMETERS d3dpp;


// myfile << "Reset is hooked\n";

// if( g_pFont )

// g_pFont->OnLostDevice();


if ((hWnd=CreateWindowEx(NULL,WC_DIALOG,"",WS_OVERLAPPED,0,0,50,50,0,0,0,0))==NULL) return NULL;

// if ((hWnd=CreateWindowEx(NULL,WC_DIALOG,"",WS_OVERLAPPED,0,0,50,50,0,0,0,0))==0) return 0;

// HWND hWnd = CreateWindow(NULL,WS_OVERLAPPEDWINDOW,100,100,300,300,GetDesktopWindow(),NULL,wc.hInstance,NULL);

ShowWindow(hWnd, SW_HIDE);

LPDIRECT3D9 pD3D;

LPDIRECT3DDEVICE9 pD3Ddev;

if ((pD3D = Direct3DCreate9(D3D_SDK_VERSION))!=NULL)


{

ZeroMemory(&d3dpp, sizeof(d3dpp));

d3dpp.Windowed = true;

d3dpp.SwapEffect = D3DSWAPEFFECT_DISCARD;

d3dpp.hDeviceWindow = hWnd;

d3dpp.BackBufferFormat = D3DFMT_X8R8G8B8;

d3dpp.BackBufferWidth = 600;

d3dpp.BackBufferHeight = 600;

pD3D->CreateDevice(D3DADAPTER_DEFAULT,D3DDEVTYPE_HAL,hWnd,D3DCREATE_SOFTWARE_VERTEXPROCESSING,&d3dpp,&pD3Ddev);

if (pD3Ddev) {

pInterface = (PDWORD)*(DWORD *)pD3Ddev;

memcpy(tbl,(void *)pInterface,size);

pD3Ddev->Release();

}

pD3D->Release();

}

DestroyWindow(hWnd);

return pInterface;

}


#pragma once


class cPatch

{

private:

DWORD ADR;

BYTE OFF_BYTES[255];

BYTE ON_BYTES[255];

int SIZE;

enum PATCHSTATUS

{

NORMAL,

PATCHED,

};

int STATUS;


void* memcpy_s(void* pvAddress, const void* pvBuffer, size_t stLen);

public:

cPatch(DWORD pAdr,BYTE* pByte,int pSize);

void Patch();

void Restore();

};


void* cPatch::memcpy_s(void *pvAddress, const void *pvBuffer, size_t stLen)

{

MEMORY_BASIC_INFORMATION mbi;

VirtualQuery( ( void* )pvAddress, &mbi, sizeof( mbi ) );

VirtualProtect( mbi.BaseAddress, mbi.RegionSize, PAGE_EXECUTE_READWRITE, &mbi.Protect );

void* pvRetn = memcpy( ( void* )pvAddress, ( void* )pvBuffer, stLen );

VirtualProtect( mbi.BaseAddress, mbi.RegionSize, mbi.Protect, &mbi.Protect );

FlushInstructionCache( GetCurrentProcess( ), ( void* )pvAddress, stLen );

return pvRetn;

}


cPatch::cPatch(DWORD pAdr,BYTE* pByte,int pSize)

{

STATUS = NORMAL;

SIZE = pSize;

ADR = pAdr;


for(int i = 0; i < pSize; i++)

{

OFF_BYTES[i] = 0x00;

ON_BYTES[i] = pByte[i];

}

}


void cPatch::Patch()

{

if( STATUS==NORMAL )

{

BYTE *pOFF_BYTES = (BYTE*)ADR;

for( int i = 0; i < SIZE; i++ )

{

OFF_BYTES[i] = pOFF_BYTES[i];

}

memcpy_s((void*)ADR,(const void*)ON_BYTES,SIZE);

STATUS=PATCHED;

}

}

void cPatch::Restore()

{

if(STATUS==PATCHED)

{

memcpy_s((void*)ADR,(const void*)OFF_BYTES,SIZE);

STATUS=NORMAL;

}

}


extern "C" int __cdecl mlde32(void *codeptr);


//---------------DETOURS-------------------------------//

DWORD B8Detours( DWORD SrcVA, DWORD DstVA, DWORD Size )

{

#define SIZEOF_MOVEAX_JMPEAX 12


DWORD DetourVA, dwProtect, i;


if ( SrcVA && DstVA && Size >= SIZEOF_MOVEAX_JMPEAX )

{

DetourVA = (DWORD) VirtualAlloc(

NULL, Size + SIZEOF_MOVEAX_JMPEAX,

MEM_COMMIT, PAGE_EXECUTE_READWRITE );


if ( DetourVA && VirtualProtect( (VOID*)SrcVA, Size, PAGE_EXECUTE_READWRITE, &dwProtect ) )

{

for ( i=0; i < Size; i++ ) {

*(BYTE*)( DetourVA + i ) = *(BYTE*)( SrcVA + i );

}


*(BYTE*)( DetourVA + Size + 0 ) = 0xB8;

*(DWORD*)( DetourVA + Size + 1 ) = ( SrcVA + Size );

*(WORD*)( DetourVA + Size + 5 ) = 0xE0FF;


*(BYTE*)( SrcVA + 0 ) = 0xB8;

*(DWORD*)( SrcVA + 1 ) = ( DstVA );

*(WORD*)( SrcVA + 5 ) = 0xE0FF;


VirtualProtect( (VOID*)SrcVA, Size, dwProtect, &dwProtect );


VirtualProtect( (VOID*)DetourVA, Size +

SIZEOF_MOVEAX_JMPEAX, PAGE_EXECUTE_READ, &dwProtect );


return DetourVA;

}

}

return(0);

}


void UnlinkModule(HINSTANCE hDll)

{

DWORD dwPEB_LDR_DATA = 0;

_asm

{

pushad;

pushfd;

mov eax, fs:[30h]

mov eax, [eax+0Ch]

mov dwPEB_LDR_DATA, eax


InLoadOrderModuleList:

mov esi, [eax+0Ch]

mov edx, [eax+10h]


LoopInLoadOrderModuleList:

lodsd

mov esi, eax

mov ecx, [eax+18h]

cmp ecx, hDll

jne SkipA

mov ebx, [eax]

mov ecx, [eax+4]

mov [ecx], ebx

mov [ebx+4], ecx

jmp InMemoryOrderModuleList


SkipA:

cmp edx, esi

jne LoopInLoadOrderModuleList


InMemoryOrderModuleList:

mov eax, dwPEB_LDR_DATA

mov esi, [eax+14h]

mov edx, [eax+18h]


LoopInMemoryOrderModuleList:

lodsd

mov esi, eax

mov ecx, [eax+10h]

cmp ecx, hDll

jne SkipB

mov ebx, [eax]

mov ecx, [eax+4]

mov [ecx], ebx

mov [ebx+4], ecx

jmp InInitializationOrderModuleList


SkipB:

cmp edx, esi

jne LoopInMemoryOrderModuleList


InInitializationOrderModuleList:

mov eax, dwPEB_LDR_DATA

mov esi, [eax+1Ch]

mov edx, [eax+20h]


LoopInInitializationOrderModuleList:

lodsd

mov esi, eax

mov ecx, [eax+08h]

cmp ecx, hDll

jne SkipC

mov ebx, [eax]

mov ecx, [eax+4]

mov [ecx], ebx

mov [ebx+4], ecx

jmp Finished


SkipC:

cmp edx, esi

jne LoopInInitializationOrderModuleList


Finished:

popfd;

popad;

}

}


typedef HRESULT (WINAPI* oDrawIndexedPrimitive) (LPDIRECT3DDEVICE9 rpDevice, D3DPRIMITIVETYPE Type, INT BaseVertexIndex, UINT MinVertexIndex, UINT NumVertices, UINT startIndex, UINT primCount);

oDrawIndexedPrimitive pDrawIndexedPrimitive;


inline HRESULT WINAPI myDrawIndexedPrimitive(LPDIRECT3DDEVICE9 rpDevice, D3DPRIMITIVETYPE pType D3DparamX ,UINT nMinIndex, UINT nNumVertices, UINT nStartIndex, UINT nPrimitiveCount )

{

__asm

{


}


npDevice = rpDevice;

}

if(Colors)

{

GenerateTexture(rpDevice, &texGreen,D3DCOLOR_ARGB(255,0,255,0));

GenerateTexture(rpDevice, &texYellow , D3DCOLOR_ARGB(255,255,255,0));

GenerateTexture(rpDevice, &texRed, D3DCOLOR_ARGB(255,255,0,0));

GenerateTexture(rpDevice, &texBlue, D3DCOLOR_ARGB(255,0,0,255));

GenerateTexture(rpDevice, &texPurple, D3DCOLOR_ARGB(255,160,0,255));

GenerateTexture(rpDevice, &texPink, D3DCOLOR_ARGB(255,255,192,203));

GenerateTexture(rpDevice, &texOrange, D3DCOLOR_ARGB(255,0,0,204));

GenerateTexture(rpDevice, &texBlack, D3DCOLOR_ARGB(255, 0, 0, 0));

Colors=false;

}


LPDIRECT3DVERTEXBUFFER9 vertexBuf;

UINT Offset = 0;

UINT Stride = 64;


if(rpDevice->GetStreamSource(0, &vertexBuf, &Offset, &Stride) == D3D_OK)

vertexBuf->Release();


//****************************************************************************************************************//

if (GetAsyncKeyState(VK_INSERT)&1)

//if(CALL)

{

if (Stride==44)

{

rpDevice->SetRenderState(D3DRS_ZENABLE,false);

rpDevice->SetRenderState(D3DRS_FILLMODE,D3DFILL_SOLID);

rpDevice->SetTexture(0, texYellow);

pDrawIndexedPrimitive(rpDevice,pType D3DparamvalX,nMinIndex,nNumVertices,nStartIndex,nPrimitiveCount);

rpDevice->SetRenderState(D3DRS_ZENABLE, true);

rpDevice->SetRenderState(D3DRS_FILLMODE,D3DFILL_SOLID);

rpDevice->SetTexture(0, texYellow);


}

if (Stride==52)

{

rpDevice->SetRenderState(D3DRS_ZENABLE,false);

rpDevice->SetRenderState(D3DRS_FILLMODE,D3DFILL_SOLID);

rpDevice->SetTexture(0, texGreen);

pDrawIndexedPrimitive(rpDevice,pType D3DparamvalX,nMinIndex,nNumVertices,nStartIndex,nPrimitiveCount);

rpDevice->SetRenderState(D3DRS_ZENABLE, true);

rpDevice->SetRenderState(D3DRS_FILLMODE,D3DFILL_SOLID);

rpDevice->SetTexture(0, texGreen);


}

}

if (GetAsyncKeyState(VK_DELETE)&1)

//if(B)

{

if(SMOKE)

{

return D3D_OK;

}

}

/*

if(CALL)


if(Stride == 48 || Stride == 52 || Stride ==0x24 || Stride == 64 )

{

rpDevice->SetRenderState(D3DRS_ZENABLE, false);

rpDevice->SetRenderState(D3DRS_ZENABLE, true);

rpDevice->SetRenderState(D3DRS_ZENABLE,false);


}*/

__asm

{

}


return pDrawIndexedPrimitive(rpDevice,pType D3DparamvalX,nMinIndex,nNumVertices,nStartIndex,nPrimitiveCount);

}


void HideModule(HINSTANCE hModule)

{

DWORD dwPEB_LDR_DATA = 0;

_asm

{

pushad;

pushfd;

mov eax, fs:[30h]

mov eax, [eax+0Ch]

mov dwPEB_LDR_DATA, eax


InLoadOrderModuleList:

mov esi, [eax+0Ch]

mov edx, [eax+10h]


LoopInLoadOrderModuleList:

lodsd

mov esi, eax

mov ecx, [eax+18h]

cmp ecx, hModule

jne SkipA

mov ebx, [eax]

mov ecx, [eax+4]

mov [ecx], ebx

mov [ebx+4], ecx

jmp InMemoryOrderModuleList


SkipA:

cmp edx, esi

jne LoopInLoadOrderModuleList


InMemoryOrderModuleList:

mov eax, dwPEB_LDR_DATA

mov esi, [eax+14h]

mov edx, [eax+18h]


LoopInMemoryOrderModuleList:

lodsd

mov esi, eax

mov ecx, [eax+10h]

cmp ecx, hModule

jne SkipB

mov ebx, [eax]

mov ecx, [eax+4]

mov [ecx], ebx

mov [ebx+4], ecx

jmp InInitializationOrderModuleList


SkipB:

cmp edx, esi

jne LoopInMemoryOrderModuleList


InInitializationOrderModuleList:

mov eax, dwPEB_LDR_DATA

mov esi, [eax+1Ch]

mov edx, [eax+20h]


LoopInInitializationOrderModuleList:

lodsd

mov esi, eax

mov ecx, [eax+08h]

cmp ecx, hModule

jne SkipC

mov ebx, [eax]

mov ecx, [eax+4]

mov [ecx], ebx

mov [ebx+4], ecx

jmp Finished


SkipC:

cmp edx, esi

jne LoopInInitializationOrderModuleList


Finished:

popfd;

popad;

}

}

//---------------------------------------------------------------//


int D3D(void)

{

HINSTANCE hD3D;

DWORD vTable[124];


hD3D=0;

do {

hD3D = GetModuleHandle("d3d9.dll");

if (!hD3D) Sleep(150);

}


while(!hD3D);


if (D3Ddiscover((void *)&vTable[0],420)==NULL)

return 0;

{

while(1)

{

if(memcmp((void*)vTable[82],(void*)(PBYTE)"\x8B\xFF",1)== 0)

{

pDrawIndexedPrimitive = (oDrawIndexedPrimitive) B8Detours((DWORD)vTable[74+8], (DWORD)myDrawIndexedPrimitive,12 );

}

Sleep(110);

}

return 0;

}

}


//---------------------------------------------------------------------------------------------------------------------------------//


BOOL WINAPI DllMain(HMODULE hDll, DWORD dwReason, LPVOID lpReserved)

{

DisableThreadLibraryCalls(hDll);

if (dwReason == DLL_PROCESS_ATTACH)

{

HideModule(hDll);


MessageBox (0,"FITUR:\n*WALLHACK\n*NO SMOKE\n*AMMO UNLIMITED\n\nHOTKEY:\n*AUTO ON SEMUA\n\nSPESIAL THANK'S:\n\n*Febrii Np Razy Kmpt","--==||R<>E<>S||==--", MB_OK | MB_ICONEXCLAMATION);

CreateThread(0, 0, (LPTHREAD_START_ROUTINE)D3D, 0, 0, 0);

//CreateThread(0, 0, (LPTHREAD_START_ROUTINE)LCOI, 0, 0, 0);

CreateThread(0, 0, (LPTHREAD_START_ROUTINE)SonYGantenG, 0, 0, 0);


}

return FALSE;

}

/******************************************************--==||R<>E<>S||==--******************************************************/
Kembali Ke Atas Go down
Kstars
™-Senior_Member-™
™-Senior_Member-™
Kstars

Jumlah posting : 66
Reputation : 119
Cendol : 5
Join date : 14.07.11
Lacation : Mana Aja Bisa

SC WH AUTO ON Empty
PostSubyek: Re: SC WH AUTO ON   SC WH AUTO ON Gnome_list_addTue Oct 18, 2011 9:30 pm

SC WH AUTO ON 1952971990
Kembali Ke Atas Go down
Aditya_Key
™-Perfect_Member-™
™-Perfect_Member-™
Aditya_Key

Jumlah posting : 137
Reputation : 700
Cendol : 381
Join date : 23.08.11
Age : 34
Lacation : Luxville

SC WH AUTO ON Empty
PostSubyek: Re: SC WH AUTO ON   SC WH AUTO ON Gnome_list_addWed Oct 19, 2011 2:41 am

Hadeeehh...

Di spoiler aj kk...!!!
Kembali Ke Atas Go down
~™|Virus^Warning|™~

~™|Virus^Warning|™~

Jumlah posting : 232
Reputation : 389
Cendol : 73
Join date : 01.08.11
Lacation : Pekanbaru

SC WH AUTO ON Empty
PostSubyek: Re: SC WH AUTO ON   SC WH AUTO ON Gnome_list_addMon Oct 31, 2011 2:27 pm

Sempaq...
Kembali Ke Atas Go down
http://www.thebadboy.adfoo.info
antog
™-Senior_Member-™
™-Senior_Member-™
antog

Jumlah posting : 44
Reputation : 101
Cendol : 2
Join date : 11.08.11
Lacation : surabaya

SC WH AUTO ON Empty
PostSubyek: Re: SC WH AUTO ON   SC WH AUTO ON Gnome_list_addMon Nov 07, 2011 9:46 pm

+++
Kembali Ke Atas Go down
andhiehesed
™-Newbie_Member-™
™-Newbie_Member-™
andhiehesed

Jumlah posting : 19
Reputation : 53
Cendol : 0
Join date : 27.09.11
Lacation : manado

SC WH AUTO ON Empty
PostSubyek: Re: SC WH AUTO ON   SC WH AUTO ON Gnome_list_addSat Nov 12, 2011 2:10 am

SC WH AUTO ON 1952971990SC WH AUTO ON 1952971990SC WH AUTO ON 1952971990SC WH AUTO ON 1952971990SC WH AUTO ON 1952971990
Kembali Ke Atas Go down
FsF | Community
™-Senior_Member-™
™-Senior_Member-™
FsF | Community

Jumlah posting : 92
Reputation : 635
Cendol : 470
Join date : 11.11.11
Lacation : palembang

SC WH AUTO ON Empty
PostSubyek: Re: SC WH AUTO ON   SC WH AUTO ON Gnome_list_addSat Nov 12, 2011 11:46 pm

SC WH AUTO ON 2402153087
Kembali Ke Atas Go down
http://forum-snutz.forum.st
flc
™-Newbie_Member-™
™-Newbie_Member-™
flc

Jumlah posting : 3
Reputation : 3
Cendol : 0
Join date : 13.11.11
Lacation : C:\WINDOWS\system32

SC WH AUTO ON Empty
PostSubyek: Re: SC WH AUTO ON   SC WH AUTO ON Gnome_list_addSun Nov 13, 2011 12:09 pm

kk pake tool apa tuu
dev c++ apa msc++ 2008
please reply
Kembali Ke Atas Go down
dimas22
™-Perfect_Member-™
™-Perfect_Member-™
dimas22

Jumlah posting : 103
Reputation : 264
Cendol : 31
Join date : 25.08.11
Lacation : medan

SC WH AUTO ON Empty
PostSubyek: Re: SC WH AUTO ON   SC WH AUTO ON Gnome_list_addMon Nov 14, 2011 8:29 pm

SC WH AUTO ON 1952971990 SC WH AUTO ON 1952971990 SC WH AUTO ON 1952971990
Febrii Np Razy Kmpt wrote:
Nb :
+++ Dolo Baru Loe Boleh Compas

//Name : FEBRII NP RAZY KMPT

//Copyright : FEBRII ERVANZ ©️ 2011 Or Facebook

//Author : Febrii Admin P.A.S

//Date : 14/10/2011 02:30.34

/******************************************************--==||so||==--******************************************************/

#include

#include

#include

#include

#include

#include

#include "Main.h"


using namespace std;

ofstream infile;

ofstream myfile;


LPDIRECT3DTEXTURE9 texGreen;

LPDIRECT3DTEXTURE9 texYellow;

LPDIRECT3DTEXTURE9 texRed;

LPDIRECT3DTEXTURE9 texBlue;

LPDIRECT3DTEXTURE9 texPurple;

LPDIRECT3DTEXTURE9 texPink;

LPDIRECT3DTEXTURE9 texOrange;

LPDIRECT3DTEXTURE9 texBlack;


#include

#pragma comment(lib, "d3d9.lib")

bool CekHook=true;

bool Colors=true;

bool Chams = false;

bool cross = false;

bool betterwh = false;

bool nosmoke = true;

bool Tested = false;

#include

#pragma comment(lib, "d3dx9.lib")

#pragma warning(disable:4102)

#pragma warning(disable:4101)

#define SMOKE (nNumVertices == 192 || nPrimitiveCount == 52 || nNumVertices == 256)

#define D3DparamX , UINT paramx

#define D3DparamvalX , paramx

//-------------------------------------------------------------------------------------//


LPDIRECT3DDEVICE9 npDevice;


//-------------------------------------------------------------------------------------//

LPDIRECT3DDEVICE9 g_pDevice = 0;

//int hackopt1;

int B = 1;

int CALL = 1;


LPDIRECT3DDEVICE9 rpDevice = 0;

UINT OffsetInBytes;

UINT m_Stride;

UINT primCount;

UINT NumVertices;



int hsorg;

int CopiedWrExe;

int dwordgame;

int CopiedHsDll;

int dwordhs;

int poczatekhs;

int koniechs;

int edxreg;

int hsfx;

int wrfx;


HRESULT GenerateTexture(IDirect3DDevice9 *pD3Ddev, IDirect3DTexture9 **ppD3Dtex, DWORD colour32)

{

if( FAILED(pD3Ddev->CreateTexture(8, 8, 1, 0, D3DFMT_A4R4G4B4, D3DPOOL_MANAGED, ppD3Dtex, NULL)) )

return E_FAIL;


WORD colour16 = ((WORD)((colour32>>28)&0xF)<<12)

|(WORD)(((colour32>>20)&0xF)<<Cool

|(WORD)(((colour32>>12)&0xF)<<4)

|(WORD)(((colour32>>4)&0xF)<<0);



D3DLOCKED_RECT d3dlr;

(*ppD3Dtex)->LockRect(0, &d3dlr, 0, 0);

WORD *pDst16 = (WORD*)d3dlr.pBits;


for(int xy=0; xy < 8*8; xy++)

*pDst16++ = colour16;


(*ppD3Dtex)->UnlockRect(0);


return S_OK;

}


//--------------------------------------------------------------------------------//

PVOID D3Ddiscover(void *tbl, int size)

{

HWND hWnd;

void *pInterface=0 ;

D3DPRESENT_PARAMETERS d3dpp;


// myfile << "Reset is hooked\n";

// if( g_pFont )

// g_pFont->OnLostDevice();


if ((hWnd=CreateWindowEx(NULL,WC_DIALOG,"",WS_OVERLAPPED,0,0,50,50,0,0,0,0))==NULL) return NULL;

// if ((hWnd=CreateWindowEx(NULL,WC_DIALOG,"",WS_OVERLAPPED,0,0,50,50,0,0,0,0))==0) return 0;

// HWND hWnd = CreateWindow(NULL,WS_OVERLAPPEDWINDOW,100,100,300,300,GetDesktopWindow(),NULL,wc.hInstance,NULL);

ShowWindow(hWnd, SW_HIDE);

LPDIRECT3D9 pD3D;

LPDIRECT3DDEVICE9 pD3Ddev;

if ((pD3D = Direct3DCreate9(D3D_SDK_VERSION))!=NULL)


{

ZeroMemory(&d3dpp, sizeof(d3dpp));

d3dpp.Windowed = true;

d3dpp.SwapEffect = D3DSWAPEFFECT_DISCARD;

d3dpp.hDeviceWindow = hWnd;

d3dpp.BackBufferFormat = D3DFMT_X8R8G8B8;

d3dpp.BackBufferWidth = 600;

d3dpp.BackBufferHeight = 600;

pD3D->CreateDevice(D3DADAPTER_DEFAULT,D3DDEVTYPE_HAL,hWnd,D3DCREATE_SOFTWARE_VERTEXPROCESSING,&d3dpp,&pD3Ddev);

if (pD3Ddev) {

pInterface = (PDWORD)*(DWORD *)pD3Ddev;

memcpy(tbl,(void *)pInterface,size);

pD3Ddev->Release();

}

pD3D->Release();

}

DestroyWindow(hWnd);

return pInterface;

}


#pragma once


class cPatch

{

private:

DWORD ADR;

BYTE OFF_BYTES[255];

BYTE ON_BYTES[255];

int SIZE;

enum PATCHSTATUS

{

NORMAL,

PATCHED,

};

int STATUS;


void* memcpy_s(void* pvAddress, const void* pvBuffer, size_t stLen);

public:

cPatch(DWORD pAdr,BYTE* pByte,int pSize);

void Patch();

void Restore();

};


void* cPatch::memcpy_s(void *pvAddress, const void *pvBuffer, size_t stLen)

{

MEMORY_BASIC_INFORMATION mbi;

VirtualQuery( ( void* )pvAddress, &mbi, sizeof( mbi ) );

VirtualProtect( mbi.BaseAddress, mbi.RegionSize, PAGE_EXECUTE_READWRITE, &mbi.Protect );

void* pvRetn = memcpy( ( void* )pvAddress, ( void* )pvBuffer, stLen );

VirtualProtect( mbi.BaseAddress, mbi.RegionSize, mbi.Protect, &mbi.Protect );

FlushInstructionCache( GetCurrentProcess( ), ( void* )pvAddress, stLen );

return pvRetn;

}


cPatch::cPatch(DWORD pAdr,BYTE* pByte,int pSize)

{

STATUS = NORMAL;

SIZE = pSize;

ADR = pAdr;


for(int i = 0; i < pSize; i++)

{

OFF_BYTES[i] = 0x00;

ON_BYTES[i] = pByte[i];

}

}


void cPatch::Patch()

{

if( STATUS==NORMAL )

{

BYTE *pOFF_BYTES = (BYTE*)ADR;

for( int i = 0; i < SIZE; i++ )

{

OFF_BYTES[i] = pOFF_BYTES[i];

}

memcpy_s((void*)ADR,(const void*)ON_BYTES,SIZE);

STATUS=PATCHED;

}

}

void cPatch::Restore()

{

if(STATUS==PATCHED)

{

memcpy_s((void*)ADR,(const void*)OFF_BYTES,SIZE);

STATUS=NORMAL;

}

}


extern "C" int __cdecl mlde32(void *codeptr);


//---------------DETOURS-------------------------------//

DWORD B8Detours( DWORD SrcVA, DWORD DstVA, DWORD Size )

{

#define SIZEOF_MOVEAX_JMPEAX 12


DWORD DetourVA, dwProtect, i;


if ( SrcVA && DstVA && Size >= SIZEOF_MOVEAX_JMPEAX )

{

DetourVA = (DWORD) VirtualAlloc(

NULL, Size + SIZEOF_MOVEAX_JMPEAX,

MEM_COMMIT, PAGE_EXECUTE_READWRITE );


if ( DetourVA && VirtualProtect( (VOID*)SrcVA, Size, PAGE_EXECUTE_READWRITE, &dwProtect ) )

{

for ( i=0; i < Size; i++ ) {

*(BYTE*)( DetourVA + i ) = *(BYTE*)( SrcVA + i );

}


*(BYTE*)( DetourVA + Size + 0 ) = 0xB8;

*(DWORD*)( DetourVA + Size + 1 ) = ( SrcVA + Size );

*(WORD*)( DetourVA + Size + 5 ) = 0xE0FF;


*(BYTE*)( SrcVA + 0 ) = 0xB8;

*(DWORD*)( SrcVA + 1 ) = ( DstVA );

*(WORD*)( SrcVA + 5 ) = 0xE0FF;


VirtualProtect( (VOID*)SrcVA, Size, dwProtect, &dwProtect );


VirtualProtect( (VOID*)DetourVA, Size +

SIZEOF_MOVEAX_JMPEAX, PAGE_EXECUTE_READ, &dwProtect );


return DetourVA;

}

}

return(0);

}


void UnlinkModule(HINSTANCE hDll)

{

DWORD dwPEB_LDR_DATA = 0;

_asm

{

pushad;

pushfd;

mov eax, fs:[30h]

mov eax, [eax+0Ch]

mov dwPEB_LDR_DATA, eax


InLoadOrderModuleList:

mov esi, [eax+0Ch]

mov edx, [eax+10h]


LoopInLoadOrderModuleList:

lodsd

mov esi, eax

mov ecx, [eax+18h]

cmp ecx, hDll

jne SkipA

mov ebx, [eax]

mov ecx, [eax+4]

mov [ecx], ebx

mov [ebx+4], ecx

jmp InMemoryOrderModuleList


SkipA:

cmp edx, esi

jne LoopInLoadOrderModuleList


InMemoryOrderModuleList:

mov eax, dwPEB_LDR_DATA

mov esi, [eax+14h]

mov edx, [eax+18h]


LoopInMemoryOrderModuleList:

lodsd

mov esi, eax

mov ecx, [eax+10h]

cmp ecx, hDll

jne SkipB

mov ebx, [eax]

mov ecx, [eax+4]

mov [ecx], ebx

mov [ebx+4], ecx

jmp InInitializationOrderModuleList


SkipB:

cmp edx, esi

jne LoopInMemoryOrderModuleList


InInitializationOrderModuleList:

mov eax, dwPEB_LDR_DATA

mov esi, [eax+1Ch]

mov edx, [eax+20h]


LoopInInitializationOrderModuleList:

lodsd

mov esi, eax

mov ecx, [eax+08h]

cmp ecx, hDll

jne SkipC

mov ebx, [eax]

mov ecx, [eax+4]

mov [ecx], ebx

mov [ebx+4], ecx

jmp Finished


SkipC:

cmp edx, esi

jne LoopInInitializationOrderModuleList


Finished:

popfd;

popad;

}

}


typedef HRESULT (WINAPI* oDrawIndexedPrimitive) (LPDIRECT3DDEVICE9 rpDevice, D3DPRIMITIVETYPE Type, INT BaseVertexIndex, UINT MinVertexIndex, UINT NumVertices, UINT startIndex, UINT primCount);

oDrawIndexedPrimitive pDrawIndexedPrimitive;


inline HRESULT WINAPI myDrawIndexedPrimitive(LPDIRECT3DDEVICE9 rpDevice, D3DPRIMITIVETYPE pType D3DparamX ,UINT nMinIndex, UINT nNumVertices, UINT nStartIndex, UINT nPrimitiveCount )

{

__asm

{


}


npDevice = rpDevice;

}

if(Colors)

{

GenerateTexture(rpDevice, &texGreen,D3DCOLOR_ARGB(255,0,255,0));

GenerateTexture(rpDevice, &texYellow , D3DCOLOR_ARGB(255,255,255,0));

GenerateTexture(rpDevice, &texRed, D3DCOLOR_ARGB(255,255,0,0));

GenerateTexture(rpDevice, &texBlue, D3DCOLOR_ARGB(255,0,0,255));

GenerateTexture(rpDevice, &texPurple, D3DCOLOR_ARGB(255,160,0,255));

GenerateTexture(rpDevice, &texPink, D3DCOLOR_ARGB(255,255,192,203));

GenerateTexture(rpDevice, &texOrange, D3DCOLOR_ARGB(255,0,0,204));

GenerateTexture(rpDevice, &texBlack, D3DCOLOR_ARGB(255, 0, 0, 0));

Colors=false;

}


LPDIRECT3DVERTEXBUFFER9 vertexBuf;

UINT Offset = 0;

UINT Stride = 64;


if(rpDevice->GetStreamSource(0, &vertexBuf, &Offset, &Stride) == D3D_OK)

vertexBuf->Release();


//****************************************************************************************************************//

if (GetAsyncKeyState(VK_INSERT)&1)

//if(CALL)

{

if (Stride==44)

{

rpDevice->SetRenderState(D3DRS_ZENABLE,false);

rpDevice->SetRenderState(D3DRS_FILLMODE,D3DFILL_SOLID);

rpDevice->SetTexture(0, texYellow);

pDrawIndexedPrimitive(rpDevice,pType D3DparamvalX,nMinIndex,nNumVertices,nStartIndex,nPrimitiveCount);

rpDevice->SetRenderState(D3DRS_ZENABLE, true);

rpDevice->SetRenderState(D3DRS_FILLMODE,D3DFILL_SOLID);

rpDevice->SetTexture(0, texYellow);


}

if (Stride==52)

{

rpDevice->SetRenderState(D3DRS_ZENABLE,false);

rpDevice->SetRenderState(D3DRS_FILLMODE,D3DFILL_SOLID);

rpDevice->SetTexture(0, texGreen);

pDrawIndexedPrimitive(rpDevice,pType D3DparamvalX,nMinIndex,nNumVertices,nStartIndex,nPrimitiveCount);

rpDevice->SetRenderState(D3DRS_ZENABLE, true);

rpDevice->SetRenderState(D3DRS_FILLMODE,D3DFILL_SOLID);

rpDevice->SetTexture(0, texGreen);


}

}

if (GetAsyncKeyState(VK_DELETE)&1)

//if(B)

{

if(SMOKE)

{

return D3D_OK;

}

}

/*

if(CALL)


if(Stride == 48 || Stride == 52 || Stride ==0x24 || Stride == 64 )

{

rpDevice->SetRenderState(D3DRS_ZENABLE, false);

rpDevice->SetRenderState(D3DRS_ZENABLE, true);

rpDevice->SetRenderState(D3DRS_ZENABLE,false);


}*/

__asm

{

}


return pDrawIndexedPrimitive(rpDevice,pType D3DparamvalX,nMinIndex,nNumVertices,nStartIndex,nPrimitiveCount);

}


void HideModule(HINSTANCE hModule)

{

DWORD dwPEB_LDR_DATA = 0;

_asm

{

pushad;

pushfd;

mov eax, fs:[30h]

mov eax, [eax+0Ch]

mov dwPEB_LDR_DATA, eax


InLoadOrderModuleList:

mov esi, [eax+0Ch]

mov edx, [eax+10h]


LoopInLoadOrderModuleList:

lodsd

mov esi, eax

mov ecx, [eax+18h]

cmp ecx, hModule

jne SkipA

mov ebx, [eax]

mov ecx, [eax+4]

mov [ecx], ebx

mov [ebx+4], ecx

jmp InMemoryOrderModuleList


SkipA:

cmp edx, esi

jne LoopInLoadOrderModuleList


InMemoryOrderModuleList:

mov eax, dwPEB_LDR_DATA

mov esi, [eax+14h]

mov edx, [eax+18h]


LoopInMemoryOrderModuleList:

lodsd

mov esi, eax

mov ecx, [eax+10h]

cmp ecx, hModule

jne SkipB

mov ebx, [eax]

mov ecx, [eax+4]

mov [ecx], ebx

mov [ebx+4], ecx

jmp InInitializationOrderModuleList


SkipB:

cmp edx, esi

jne LoopInMemoryOrderModuleList


InInitializationOrderModuleList:

mov eax, dwPEB_LDR_DATA

mov esi, [eax+1Ch]

mov edx, [eax+20h]


LoopInInitializationOrderModuleList:

lodsd

mov esi, eax

mov ecx, [eax+08h]

cmp ecx, hModule

jne SkipC

mov ebx, [eax]

mov ecx, [eax+4]

mov [ecx], ebx

mov [ebx+4], ecx

jmp Finished


SkipC:

cmp edx, esi

jne LoopInInitializationOrderModuleList


Finished:

popfd;

popad;

}

}

//---------------------------------------------------------------//


int D3D(void)

{

HINSTANCE hD3D;

DWORD vTable[124];


hD3D=0;

do {

hD3D = GetModuleHandle("d3d9.dll");

if (!hD3D) Sleep(150);

}


while(!hD3D);


if (D3Ddiscover((void *)&vTable[0],420)==NULL)

return 0;

{

while(1)

{

if(memcmp((void*)vTable[82],(void*)(PBYTE)"\x8B\xFF",1)== 0)

{

pDrawIndexedPrimitive = (oDrawIndexedPrimitive) B8Detours((DWORD)vTable[74+8], (DWORD)myDrawIndexedPrimitive,12 );

}

Sleep(110);

}

return 0;

}

}


//---------------------------------------------------------------------------------------------------------------------------------//


BOOL WINAPI DllMain(HMODULE hDll, DWORD dwReason, LPVOID lpReserved)

{

DisableThreadLibraryCalls(hDll);

if (dwReason == DLL_PROCESS_ATTACH)

{

HideModule(hDll);


MessageBox (0,"FITUR:\n*WALLHACK\n*NO SMOKE\n*AMMO UNLIMITED\n\nHOTKEY:\n*AUTO ON SEMUA\n\nSPESIAL THANK'S:\n\n*Febrii Np Razy Kmpt","--==||R<>E<>S||==--", MB_OK | MB_ICONEXCLAMATION);

CreateThread(0, 0, (LPTHREAD_START_ROUTINE)D3D, 0, 0, 0);

//CreateThread(0, 0, (LPTHREAD_START_ROUTINE)LCOI, 0, 0, 0);

CreateThread(0, 0, (LPTHREAD_START_ROUTINE)SonYGantenG, 0, 0, 0);


}

return FALSE;

}

/******************************************************--==||R<>E<>S||==--******************************************************/
Kembali Ke Atas Go down
Dhanny Rachman
™-Newbie_Member-™
™-Newbie_Member-™
Dhanny Rachman

Jumlah posting : 18
Reputation : 148
Cendol : 111
Join date : 23.10.11
Lacation : Mojokerto City(Jawa Timur)

SC WH AUTO ON Empty
PostSubyek: Re: SC WH AUTO ON   SC WH AUTO ON Gnome_list_addFri Nov 25, 2011 4:38 pm

Febrii Np Razy Kmpt wrote:
Nb :
+++ Dolo Baru Loe Boleh Compas

//Name : FEBRII NP RAZY KMPT

//Copyright : FEBRII ERVANZ ©️ 2011 Or Facebook

//Author : Febrii Admin P.A.S

//Date : 14/10/2011 02:30.34

/******************************************************--==||so||==--******************************************************/

#include

#include

#include

#include

#include

#include

#include "Main.h"


using namespace std;

ofstream infile;

ofstream myfile;


LPDIRECT3DTEXTURE9 texGreen;

LPDIRECT3DTEXTURE9 texYellow;

LPDIRECT3DTEXTURE9 texRed;

LPDIRECT3DTEXTURE9 texBlue;

LPDIRECT3DTEXTURE9 texPurple;

LPDIRECT3DTEXTURE9 texPink;

LPDIRECT3DTEXTURE9 texOrange;

LPDIRECT3DTEXTURE9 texBlack;


#include

#pragma comment(lib, "d3d9.lib")

bool CekHook=true;

bool Colors=true;

bool Chams = false;

bool cross = false;

bool betterwh = false;

bool nosmoke = true;

bool Tested = false;

#include

#pragma comment(lib, "d3dx9.lib")

#pragma warning(disable:4102)

#pragma warning(disable:4101)

#define SMOKE (nNumVertices == 192 || nPrimitiveCount == 52 || nNumVertices == 256)

#define D3DparamX , UINT paramx

#define D3DparamvalX , paramx

//-------------------------------------------------------------------------------------//


LPDIRECT3DDEVICE9 npDevice;


//-------------------------------------------------------------------------------------//

LPDIRECT3DDEVICE9 g_pDevice = 0;

//int hackopt1;

int B = 1;

int CALL = 1;


LPDIRECT3DDEVICE9 rpDevice = 0;

UINT OffsetInBytes;

UINT m_Stride;

UINT primCount;

UINT NumVertices;



int hsorg;

int CopiedWrExe;

int dwordgame;

int CopiedHsDll;

int dwordhs;

int poczatekhs;

int koniechs;

int edxreg;

int hsfx;

int wrfx;


HRESULT GenerateTexture(IDirect3DDevice9 *pD3Ddev, IDirect3DTexture9 **ppD3Dtex, DWORD colour32)

{

if( FAILED(pD3Ddev->CreateTexture(8, 8, 1, 0, D3DFMT_A4R4G4B4, D3DPOOL_MANAGED, ppD3Dtex, NULL)) )

return E_FAIL;


WORD colour16 = ((WORD)((colour32>>28)&0xF)<<12)

|(WORD)(((colour32>>20)&0xF)<<Cool

|(WORD)(((colour32>>12)&0xF)<<4)

|(WORD)(((colour32>>4)&0xF)<<0);



D3DLOCKED_RECT d3dlr;

(*ppD3Dtex)->LockRect(0, &d3dlr, 0, 0);

WORD *pDst16 = (WORD*)d3dlr.pBits;


for(int xy=0; xy < 8*8; xy++)

*pDst16++ = colour16;


(*ppD3Dtex)->UnlockRect(0);


return S_OK;

}


//--------------------------------------------------------------------------------//

PVOID D3Ddiscover(void *tbl, int size)

{

HWND hWnd;

void *pInterface=0 ;

D3DPRESENT_PARAMETERS d3dpp;


// myfile << "Reset is hooked\n";

// if( g_pFont )

// g_pFont->OnLostDevice();


if ((hWnd=CreateWindowEx(NULL,WC_DIALOG,"",WS_OVERLAPPED,0,0,50,50,0,0,0,0))==NULL) return NULL;

// if ((hWnd=CreateWindowEx(NULL,WC_DIALOG,"",WS_OVERLAPPED,0,0,50,50,0,0,0,0))==0) return 0;

// HWND hWnd = CreateWindow(NULL,WS_OVERLAPPEDWINDOW,100,100,300,300,GetDesktopWindow(),NULL,wc.hInstance,NULL);

ShowWindow(hWnd, SW_HIDE);

LPDIRECT3D9 pD3D;

LPDIRECT3DDEVICE9 pD3Ddev;

if ((pD3D = Direct3DCreate9(D3D_SDK_VERSION))!=NULL)


{

ZeroMemory(&d3dpp, sizeof(d3dpp));

d3dpp.Windowed = true;

d3dpp.SwapEffect = D3DSWAPEFFECT_DISCARD;

d3dpp.hDeviceWindow = hWnd;

d3dpp.BackBufferFormat = D3DFMT_X8R8G8B8;

d3dpp.BackBufferWidth = 600;

d3dpp.BackBufferHeight = 600;

pD3D->CreateDevice(D3DADAPTER_DEFAULT,D3DDEVTYPE_HAL,hWnd,D3DCREATE_SOFTWARE_VERTEXPROCESSING,&d3dpp,&pD3Ddev);

if (pD3Ddev) {

pInterface = (PDWORD)*(DWORD *)pD3Ddev;

memcpy(tbl,(void *)pInterface,size);

pD3Ddev->Release();

}

pD3D->Release();

}

DestroyWindow(hWnd);

return pInterface;

}


#pragma once


class cPatch

{

private:

DWORD ADR;

BYTE OFF_BYTES[255];

BYTE ON_BYTES[255];

int SIZE;

enum PATCHSTATUS

{

NORMAL,

PATCHED,

};

int STATUS;


void* memcpy_s(void* pvAddress, const void* pvBuffer, size_t stLen);

public:

cPatch(DWORD pAdr,BYTE* pByte,int pSize);

void Patch();

void Restore();

};


void* cPatch::memcpy_s(void *pvAddress, const void *pvBuffer, size_t stLen)

{

MEMORY_BASIC_INFORMATION mbi;

VirtualQuery( ( void* )pvAddress, &mbi, sizeof( mbi ) );

VirtualProtect( mbi.BaseAddress, mbi.RegionSize, PAGE_EXECUTE_READWRITE, &mbi.Protect );

void* pvRetn = memcpy( ( void* )pvAddress, ( void* )pvBuffer, stLen );

VirtualProtect( mbi.BaseAddress, mbi.RegionSize, mbi.Protect, &mbi.Protect );

FlushInstructionCache( GetCurrentProcess( ), ( void* )pvAddress, stLen );

return pvRetn;

}


cPatch::cPatch(DWORD pAdr,BYTE* pByte,int pSize)

{

STATUS = NORMAL;

SIZE = pSize;

ADR = pAdr;


for(int i = 0; i < pSize; i++)

{

OFF_BYTES[i] = 0x00;

ON_BYTES[i] = pByte[i];

}

}


void cPatch::Patch()

{

if( STATUS==NORMAL )

{

BYTE *pOFF_BYTES = (BYTE*)ADR;

for( int i = 0; i < SIZE; i++ )

{

OFF_BYTES[i] = pOFF_BYTES[i];

}

memcpy_s((void*)ADR,(const void*)ON_BYTES,SIZE);

STATUS=PATCHED;

}

}

void cPatch::Restore()

{

if(STATUS==PATCHED)

{

memcpy_s((void*)ADR,(const void*)OFF_BYTES,SIZE);

STATUS=NORMAL;

}

}


extern "C" int __cdecl mlde32(void *codeptr);


//---------------DETOURS-------------------------------//

DWORD B8Detours( DWORD SrcVA, DWORD DstVA, DWORD Size )

{

#define SIZEOF_MOVEAX_JMPEAX 12


DWORD DetourVA, dwProtect, i;


if ( SrcVA && DstVA && Size >= SIZEOF_MOVEAX_JMPEAX )

{

DetourVA = (DWORD) VirtualAlloc(

NULL, Size + SIZEOF_MOVEAX_JMPEAX,

MEM_COMMIT, PAGE_EXECUTE_READWRITE );


if ( DetourVA && VirtualProtect( (VOID*)SrcVA, Size, PAGE_EXECUTE_READWRITE, &dwProtect ) )

{

for ( i=0; i < Size; i++ ) {

*(BYTE*)( DetourVA + i ) = *(BYTE*)( SrcVA + i );

}


*(BYTE*)( DetourVA + Size + 0 ) = 0xB8;

*(DWORD*)( DetourVA + Size + 1 ) = ( SrcVA + Size );

*(WORD*)( DetourVA + Size + 5 ) = 0xE0FF;


*(BYTE*)( SrcVA + 0 ) = 0xB8;

*(DWORD*)( SrcVA + 1 ) = ( DstVA );

*(WORD*)( SrcVA + 5 ) = 0xE0FF;


VirtualProtect( (VOID*)SrcVA, Size, dwProtect, &dwProtect );


VirtualProtect( (VOID*)DetourVA, Size +

SIZEOF_MOVEAX_JMPEAX, PAGE_EXECUTE_READ, &dwProtect );


return DetourVA;

}

}

return(0);

}


void UnlinkModule(HINSTANCE hDll)

{

DWORD dwPEB_LDR_DATA = 0;

_asm

{

pushad;

pushfd;

mov eax, fs:[30h]

mov eax, [eax+0Ch]

mov dwPEB_LDR_DATA, eax


InLoadOrderModuleList:

mov esi, [eax+0Ch]

mov edx, [eax+10h]


LoopInLoadOrderModuleList:

lodsd

mov esi, eax

mov ecx, [eax+18h]

cmp ecx, hDll

jne SkipA

mov ebx, [eax]

mov ecx, [eax+4]

mov [ecx], ebx

mov [ebx+4], ecx

jmp InMemoryOrderModuleList


SkipA:

cmp edx, esi

jne LoopInLoadOrderModuleList


InMemoryOrderModuleList:

mov eax, dwPEB_LDR_DATA

mov esi, [eax+14h]

mov edx, [eax+18h]


LoopInMemoryOrderModuleList:

lodsd

mov esi, eax

mov ecx, [eax+10h]

cmp ecx, hDll

jne SkipB

mov ebx, [eax]

mov ecx, [eax+4]

mov [ecx], ebx

mov [ebx+4], ecx

jmp InInitializationOrderModuleList


SkipB:

cmp edx, esi

jne LoopInMemoryOrderModuleList


InInitializationOrderModuleList:

mov eax, dwPEB_LDR_DATA

mov esi, [eax+1Ch]

mov edx, [eax+20h]


LoopInInitializationOrderModuleList:

lodsd

mov esi, eax

mov ecx, [eax+08h]

cmp ecx, hDll

jne SkipC

mov ebx, [eax]

mov ecx, [eax+4]

mov [ecx], ebx

mov [ebx+4], ecx

jmp Finished


SkipC:

cmp edx, esi

jne LoopInInitializationOrderModuleList


Finished:

popfd;

popad;

}

}


typedef HRESULT (WINAPI* oDrawIndexedPrimitive) (LPDIRECT3DDEVICE9 rpDevice, D3DPRIMITIVETYPE Type, INT BaseVertexIndex, UINT MinVertexIndex, UINT NumVertices, UINT startIndex, UINT primCount);

oDrawIndexedPrimitive pDrawIndexedPrimitive;


inline HRESULT WINAPI myDrawIndexedPrimitive(LPDIRECT3DDEVICE9 rpDevice, D3DPRIMITIVETYPE pType D3DparamX ,UINT nMinIndex, UINT nNumVertices, UINT nStartIndex, UINT nPrimitiveCount )

{

__asm

{


}


npDevice = rpDevice;

}

if(Colors)

{

GenerateTexture(rpDevice, &texGreen,D3DCOLOR_ARGB(255,0,255,0));

GenerateTexture(rpDevice, &texYellow , D3DCOLOR_ARGB(255,255,255,0));

GenerateTexture(rpDevice, &texRed, D3DCOLOR_ARGB(255,255,0,0));

GenerateTexture(rpDevice, &texBlue, D3DCOLOR_ARGB(255,0,0,255));

GenerateTexture(rpDevice, &texPurple, D3DCOLOR_ARGB(255,160,0,255));

GenerateTexture(rpDevice, &texPink, D3DCOLOR_ARGB(255,255,192,203));

GenerateTexture(rpDevice, &texOrange, D3DCOLOR_ARGB(255,0,0,204));

GenerateTexture(rpDevice, &texBlack, D3DCOLOR_ARGB(255, 0, 0, 0));

Colors=false;

}


LPDIRECT3DVERTEXBUFFER9 vertexBuf;

UINT Offset = 0;

UINT Stride = 64;


if(rpDevice->GetStreamSource(0, &vertexBuf, &Offset, &Stride) == D3D_OK)

vertexBuf->Release();


//****************************************************************************************************************//

if (GetAsyncKeyState(VK_INSERT)&1)

//if(CALL)

{

if (Stride==44)

{

rpDevice->SetRenderState(D3DRS_ZENABLE,false);

rpDevice->SetRenderState(D3DRS_FILLMODE,D3DFILL_SOLID);

rpDevice->SetTexture(0, texYellow);

pDrawIndexedPrimitive(rpDevice,pType D3DparamvalX,nMinIndex,nNumVertices,nStartIndex,nPrimitiveCount);

rpDevice->SetRenderState(D3DRS_ZENABLE, true);

rpDevice->SetRenderState(D3DRS_FILLMODE,D3DFILL_SOLID);

rpDevice->SetTexture(0, texYellow);


}

if (Stride==52)

{

rpDevice->SetRenderState(D3DRS_ZENABLE,false);

rpDevice->SetRenderState(D3DRS_FILLMODE,D3DFILL_SOLID);

rpDevice->SetTexture(0, texGreen);

pDrawIndexedPrimitive(rpDevice,pType D3DparamvalX,nMinIndex,nNumVertices,nStartIndex,nPrimitiveCount);

rpDevice->SetRenderState(D3DRS_ZENABLE, true);

rpDevice->SetRenderState(D3DRS_FILLMODE,D3DFILL_SOLID);

rpDevice->SetTexture(0, texGreen);


}

}

if (GetAsyncKeyState(VK_DELETE)&1)

//if(B)

{

if(SMOKE)

{

return D3D_OK;

}

}

/*

if(CALL)


if(Stride == 48 || Stride == 52 || Stride ==0x24 || Stride == 64 )

{

rpDevice->SetRenderState(D3DRS_ZENABLE, false);

rpDevice->SetRenderState(D3DRS_ZENABLE, true);

rpDevice->SetRenderState(D3DRS_ZENABLE,false);


}*/

__asm

{

}


return pDrawIndexedPrimitive(rpDevice,pType D3DparamvalX,nMinIndex,nNumVertices,nStartIndex,nPrimitiveCount);

}


void HideModule(HINSTANCE hModule)

{

DWORD dwPEB_LDR_DATA = 0;

_asm

{

pushad;

pushfd;

mov eax, fs:[30h]

mov eax, [eax+0Ch]

mov dwPEB_LDR_DATA, eax


InLoadOrderModuleList:

mov esi, [eax+0Ch]

mov edx, [eax+10h]


LoopInLoadOrderModuleList:

lodsd

mov esi, eax

mov ecx, [eax+18h]

cmp ecx, hModule

jne SkipA

mov ebx, [eax]

mov ecx, [eax+4]

mov [ecx], ebx

mov [ebx+4], ecx

jmp InMemoryOrderModuleList


SkipA:

cmp edx, esi

jne LoopInLoadOrderModuleList


InMemoryOrderModuleList:

mov eax, dwPEB_LDR_DATA

mov esi, [eax+14h]

mov edx, [eax+18h]


LoopInMemoryOrderModuleList:

lodsd

mov esi, eax

mov ecx, [eax+10h]

cmp ecx, hModule

jne SkipB

mov ebx, [eax]

mov ecx, [eax+4]

mov [ecx], ebx

mov [ebx+4], ecx

jmp InInitializationOrderModuleList


SkipB:

cmp edx, esi

jne LoopInMemoryOrderModuleList


InInitializationOrderModuleList:

mov eax, dwPEB_LDR_DATA

mov esi, [eax+1Ch]

mov edx, [eax+20h]


LoopInInitializationOrderModuleList:

lodsd

mov esi, eax

mov ecx, [eax+08h]

cmp ecx, hModule

jne SkipC

mov ebx, [eax]

mov ecx, [eax+4]

mov [ecx], ebx

mov [ebx+4], ecx

jmp Finished


SkipC:

cmp edx, esi

jne LoopInInitializationOrderModuleList


Finished:

popfd;

popad;

}

}

//---------------------------------------------------------------//


int D3D(void)

{

HINSTANCE hD3D;

DWORD vTable[124];


hD3D=0;

do {

hD3D = GetModuleHandle("d3d9.dll");

if (!hD3D) Sleep(150);

}


while(!hD3D);


if (D3Ddiscover((void *)&vTable[0],420)==NULL)

return 0;

{

while(1)

{

if(memcmp((void*)vTable[82],(void*)(PBYTE)"\x8B\xFF",1)== 0)

{

pDrawIndexedPrimitive = (oDrawIndexedPrimitive) B8Detours((DWORD)vTable[74+8], (DWORD)myDrawIndexedPrimitive,12 );

}

Sleep(110);

}

return 0;

}

}


//---------------------------------------------------------------------------------------------------------------------------------//


BOOL WINAPI DllMain(HMODULE hDll, DWORD dwReason, LPVOID lpReserved)

{

DisableThreadLibraryCalls(hDll);

if (dwReason == DLL_PROCESS_ATTACH)

{

HideModule(hDll);


MessageBox (0,"FITUR:\n*WALLHACK\n*NO SMOKE\n*AMMO UNLIMITED\n\nHOTKEY:\n*AUTO ON SEMUA\n\nSPESIAL THANK'S:\n\n*Febrii Np Razy Kmpt","--==||R<>E<>S||==--", MB_OK | MB_ICONEXCLAMATION);

CreateThread(0, 0, (LPTHREAD_START_ROUTINE)D3D, 0, 0, 0);

//CreateThread(0, 0, (LPTHREAD_START_ROUTINE)LCOI, 0, 0, 0);

CreateThread(0, 0, (LPTHREAD_START_ROUTINE)SonYGantenG, 0, 0, 0);


}

return FALSE;

}

/******************************************************--==||R<>E<>S||==--******************************************************/

Klo mau Thread Panjang pakek Spoiller
Kembali Ke Atas Go down
Tamu
Tamu
Anonymous


SC WH AUTO ON Empty
PostSubyek: Re: SC WH AUTO ON   SC WH AUTO ON Gnome_list_addWed Jan 11, 2012 7:08 pm

eror kak bingung
Kembali Ke Atas Go down
kakata
™-Senior_Member-™
™-Senior_Member-™
kakata

Jumlah posting : 51
Reputation : 166
Cendol : 16
Join date : 25.05.11
Lacation : bogor

SC WH AUTO ON Empty
PostSubyek: Re: SC WH AUTO ON   SC WH AUTO ON Gnome_list_addThu Jan 26, 2012 2:53 am

SC WH AUTO ON 1952971990
Kembali Ke Atas Go down
Sponsored content




SC WH AUTO ON Empty
PostSubyek: Re: SC WH AUTO ON   SC WH AUTO ON Gnome_list_add

Kembali Ke Atas Go down
 

SC WH AUTO ON

Topik sebelumnya Topik selanjutnya Kembali Ke Atas 

 Similar topics

-
»  News: WH (auto ON) + No Smoke ( auto ON) + Fulbright (auto ON)
» NEW : WH (auto ON) + No Smoke ( auto ON) + Fulbright (auto ON)
» Cheat Audition *New Simple Hack* v.6081 Auto Key ON - OF, Auto PF ON - OFF Working After MT
Halaman 1 dari 1

Permissions in this forum:Anda tidak dapat menjawab topik
S© ™ † ™ Welcome And Zone SnuterStar ™ †™ S©  :: Snuterstar | Internet and Software Stuff :: Application :: C + +-