Advertisement
CWFVisions

xam.h

Aug 13th, 2016
222
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.04 KB | None | 0 0
  1. #pragma once
  2.  
  3. #include "stdafx.h"
  4. #include <xbdm.h>
  5. #include <stdio.h>
  6. //#include "xecrypt.h"
  7. #include "devutilities.h"
  8.  
  9. //typedef void (*XECRYPTHMACSHA)(const BYTE * pbKey, DWORD cbKey, const BYTE * pbInp1, DWORD cbInp1, const BYTE * pbInp2, DWORD cbInp2, const BYTE * pbInp3, DWORD cbInp3, BYTE * pbOut, DWORD cbOut);
  10. //typedef void (*XECRYPTRC4KEY)(XECRYPT_RC4_STATE * pRc4State, const BYTE * pbKey, DWORD cbKey);
  11. //typedef void (*XECRYPTRC4ECB)(XECRYPT_RC4_STATE * pRc4State, BYTE * pbInpOut, DWORD cbInpOut);
  12. typedef DWORD (*XEKEYSUNOBFUSCATE)(DWORD r3, BYTE* r4, DWORD r5, BYTE* r6, DWORD r7);
  13.  
  14. typedef DWORD (*XEKEYSOBFUSCATE)(DWORD r3, BYTE* r4, DWORD r5, BYTE* r6, DWORD* r7);
  15. //typedef void (*XECRYPTRANDOM)(BYTE * pb, DWORD cb);
  16. //typedef void (*XECRYPTRC4)(const BYTE * pbKey, DWORD cbKey, BYTE * pbInpOut, DWORD cbInpOut);
  17.  
  18.  
  19. #define XAM_XeKeysUnObfuscate 0x81CC11DC //for retail profile decryption
  20.  
  21. DWORD XeKeysUnObfuscateHook(DWORD r3, BYTE* r4, DWORD r5, BYTE* r6, DWORD r7);
  22.  
  23.  
  24. BOOL Xam_Profile_Crypto_Hook_Setup(void);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement