this is not mine
all credits goes to LionMan
source:
Code:
#include <windows.h>
#include <math.h>
void hello()
{
DWORD cshell = (DWORD)(GetModuleHandleA("CShell.dll"));
DWORD weapon = *(DWORD*)(cshell+0xAAC3D0);
DWORD ltplay = *(DWORD*)(cshell+0x3547B0);
if(ltplay!=0)
{
}
if(weapon!=0)
{
for(int i=0;i<601;i++)
{
unsigned long weapons = *(unsigned long*)(weapon+(i*4));
if(weapons!=0)
{
*(float*)(weapons+0x263C)=(float)HUGE_VAL;
*(float*)(weapons+0x2640)=(float)HUGE_VAL;
*(float*)(weapons+0x2644)=(float)HUGE_VAL;
*(float*)(weapons+0x2648)=(float)HUGE_VAL;
*(BYTE *)(weapons+0x264C)=(BYTE )HUGE_VAL;
*(BYTE *)(weapons+0x2651)=(BYTE )HUGE_VAL;
*(float*)(weapons+0x2654)=(float)HUGE_VAL;
*(float*)(weapons+0x2658)=(float)HUGE_VAL;
}
}
}
}
int run()
{
hello();
return true;
}
void _stdcall DllMain(HMODULE hDll, unsigned long dwReason, LPVOID lpReserved)
{
if (GetModuleHandleA("ClientFx.Fxd"))
run();
}
LionMan.rar - Jotti's malware scan
https://www.virustotal.com/file/530d...is/1334248448/