Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #undef _WIN64
- #undef _UNICODE
- #include "types.h"
- #include "structs.h"
- DWORD PEB_kernel32base();
- BYTE PEB_beingdebugged();
- USHORT xor_ror_hash(CHAR *str);
- DWORD getfuncaddress(DWORD mbase, CHAR *procname);
- void MUD_FunctionsInit(void);
- #ifndef _FUNCTIONS_H_
- #define _FUNCTIONS_H_
- //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;
- #endif //_FUNCTIONS_H_
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement