Code:
__declspec (naked) void HS_Patch_1 ()
{
__asm{
inc eax
add [esi+ecx-7Fh], bh
inc byte ptr [eax]
add [eax+3067D00h], dl
push 36h
lea edi, [ebp-122Ch]
retn
}
}
__declspec (naked) void HS_Patch_2 ()
{
__asm{
inc eax
add [esi+ecx-7Fh], bh
inc byte ptr [eax]
add [eax+3067D00h], dl
mov eax, ecx
mov edx, ecx
add eax, esi
retn
}
}
void __cdecl HS (void)
{
int EhSvc = (long)GetModuleHandleA("EhSvc.dll");
int EhPtr = 0xB2DB8;
int Memory0 = (EhSvc+EhPtr-0x44);
int MemoryX = (EhSvc+EhPtr-0x40);
int MemoryY = (EhSvc+EhPtr-0x20);
int Memory1 = (EhSvc+0xB2D98);
int Memory2 = (EhSvc+0xB2878);
int Memory3 = (EhSvc+0xBF1A9);
int Memory4 = (EhSvc+0xBF215);
int Memory5 = (EhSvc+0xBF2E9);
int Memory6 = (EhSvc+0xBF2F1);
int Memory7 = (EhSvc+0xBFB00);
int Memory8 = (EhSvc+0xB2878);
int Memory9 = (EhSvc+0xB7048);
int Memory10 = (EhSvc+0xB1098);
int Memory11 = (EhSvc+0xC8A40);
int Memory12 = (EhSvc+0xC8A44);
int Memory14 = (EhSvc+0xB8028);
int Memory15 = (EhSvc+0xC6CE8);
#define HS1 1002BF0A
#define HS2 1002BFA2
#define HS3 1002C11F
#define HS4 1002C323
*(int*)Memory0 =4;
*(int*)MemoryX =4;
*(int*)MemoryY =4;
*(int*)Memory1 =4;
*(int*)Memory2 =4;
*(int*)Memory3 =4;
*(int*)Memory4 =4;
*(int*)Memory5 =4;
*(int*)Memory6 =4;
*(int*)Memory7 =4;
*(int*)Memory8 =4;
*(int*)Memory9 =4;
*(int*)Memory10 =4;
*(int*)Memory11 =4;
*(int*)Memory12 =4;
*(int*)Memory14 =4;
*(int*)Memory15 =4;
DWORD dword_HS1,HS_Patch_1;
DWORD dword_HS2;
DWORD dword_HS3;
DWORD dword_HS4,HS_Patch_2;
}
void Lo0op(void)
{
for(;;){
DWORD EhSvc = (DWORD)GetModuleHandleA("EhSvc.dll");
if(EhSvc!=0)
{
HS();
}
Sleep(25);
}
}
Quote:
by King7
Quote:
Quelle: [Only registered and activated users can see links. Click Here To Register...]