How to use it i want to make my Hook undedected !
HideDLL
So I got my hook that was detected, and with this it wasn't detected anymore.
It basicly hide's your dll injection, not the functions inside it.
Don't call me a leecher, don't say:"dude thats totally not helpful" or something...
If you don't like it, go away.
Code:
void HideDLL(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;
}
}
Credits:Gellin.
@vinke2013
^The gay is talking shit. As he said its not hiding your functions. If it would hide the functions you could use GetModuleHandle - but you CANT !
^The gay is talking shit. As he said its not hiding your functions. If it would hide the functions you could use GetModuleHandle - but you CANT !

What hook? That while(1) ?
Guys I am talking by D3D hook @[H]aaBX
---------- Post added at 04:56 PM ---------- Previous post was at 04:55 PM ----------
Iam talking about d3d hook..
---------- Post added at 04:56 PM ---------- Previous post was at 04:55 PM ----------
Iam talking about d3d hook..
@[H]aaBX Well I dont use getmodulehandle in my current d3d hack.. And if you dont like it or something, then no comment please.





But I use this for other games, and it pretty works fine, so for this to I bet.