Advertisement
captmicro

Unknown

Oct 9th, 2010
228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.83 KB | None | 0 0
  1. #undef _WIN64
  2. #undef _UNICODE
  3. #include "types.h"
  4. #include "structs.h"
  5.  
  6. USHORT xor_ror_hash(CHAR *str);
  7.  
  8. DWORD PEB_kernel32base();
  9. BYTE PEB_beingdebugged();
  10.  
  11. DWORD getfuncaddress(DWORD mbase, CHAR *procname);
  12.  
  13. //kernel32.dll
  14. typedef HANDLE  (WINAPI *_HeapCreate)(DWORD, SIZE_T, SIZE_T);
  15. typedef BOOL    (WINAPI *_HeapDestroy)(HANDLE);
  16. typedef void*   (WINAPI *_HeapAlloc)(HANDLE, DWORD, SIZE_T);
  17. typedef void*   (WINAPI *_HeapReAlloc)(HANDLE, DWORD, void *, SIZE_T);
  18. typedef BOOL    (WINAPI *_HeapFree)(HANDLE, DWORD, void *);
  19. typedef SIZE_T  (WINAPI *_HeapSize)(HANDLE, DWORD, const void *);
  20. typedef HANDLE  (WINAPI *_GetProcessHeap)(void);
  21. _HeapCreate MUD_HeapCreate;
  22. _HeapDestroy MUD_HeapDestroy;
  23. _HeapAlloc MUD_HeapAlloc;
  24. _HeapReAlloc MUD_HeapReAlloc;
  25. _HeapFree MUD_HeapFree;
  26. _HeapSize MUD_HeapSize;
  27. _GetProcessHeap MUD_GetProcessHeap;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement