#include <windows.h>
#include <iostream>
using namespace std;
void __cdecl PushToConsole(char* szVal ) {
DWORD d**Shell = (DWORD)GetModuleHandleA("CShell.dll");
if( d**Shell != NULL )
{
DWORD *LTClient = ( DWORD* )( (d**Shell + 0x2E7F9C) );
void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x1F8 );
_asm
{
push szVal;
call CONoff;
add esp, 4;
}
}
}
DWORD WINAPI hello(LPVOID) {
while(GetModuleHandleA("CShell.dll") == NULL ) {
Sleep(120);
}
bool PlayerGlow = true;
bool nosky = true;
bool Nosmoke = true;
bool antiflash = true;
for(;

{
__asm pushad;
if(GetAsyncKeyState(VK_F2)&1) {
WhitePlayers = !WhitePlayers;
}
if(GetAsyncKeyState(VK_F3)&1) {
nosky = !nosky;
}
if(GetAsyncKeyState(VK_F4)&1) {
Nosmoke = !Nosmoke;
}
if(GetAsyncKeyState(VK_F5)&1) {
antiflash = !antiflash;
}
if (WhitePlayers) {
PushToConsole("TextureModels 1");
}
else {
PushToConsole("TextureModels 0");
}
if (antiflash) {
PushToConsole("DrawFlat 1");
}
else {
PushToConsole("Drawflash 0");
}
if (nosky) {
PushToConsole("DrawSky 1");
}
else {
PushToConsole("DrawSky 0");
}
if (Nosmoke) {
PushToConsole("DrawParticles 1");
}
else {
PushToConsole("DrawParticles 0");
}
Sleep(120);
__asm popad;
}
}
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
DisableThreadLibraryCalls(hDll);
if ( dwReason == DLL_PROCESS_ATTACH )
{
MessageBoxA(0, "josecarlos", "Hack Injetado", 0);
CreateThread(NULL, NULL,hello, NULL, NULL, NULL);
}
return TRUE;
}