Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #undef _WIN64
- #undef _UNICODE
- #include "types.h"
- #include "structs.h"
- USHORT xor_ror_hash(CHAR *str);
- DWORD PEB_kernel32base();
- BYTE PEB_beingdebugged();
- DWORD getfuncaddress(DWORD mbase, CHAR *procname);
- //kernel32.dll
- typedef HANDLE (WINAPI *_HeapCreate)(DWORD, SIZE_T, SIZE_T);
- typedef BOOL (WINAPI *_HeapDestroy)(HANDLE);
- typedef void* (WINAPI *_HeapAlloc)(HANDLE, DWORD, SIZE_T);
- typedef void* (WINAPI *_HeapReAlloc)(HANDLE, DWORD, void *, SIZE_T);
- typedef BOOL (WINAPI *_HeapFree)(HANDLE, DWORD, void *);
- typedef SIZE_T (WINAPI *_HeapSize)(HANDLE, DWORD, const void *);
- typedef HANDLE (WINAPI *_GetProcessHeap)(void);
- _HeapCreate MUD_HeapCreate;
- _HeapDestroy MUD_HeapDestroy;
- _HeapAlloc MUD_HeapAlloc;
- _HeapReAlloc MUD_HeapReAlloc;
- _HeapFree MUD_HeapFree;
- _HeapSize MUD_HeapSize;
- _GetProcessHeap MUD_GetProcessHeap;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement