Advertisement
Guest User

Untitled

a guest
Sep 22nd, 2014
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.28 KB | None | 0 0
  1. bool analyze(u8 *Buffer, DWORD pBytesRead)
  2. {
  3.     u32 ebx = 0;
  4.     u32 esi = 0;
  5.    
  6.     if(pBytesRead < 0x10)
  7.         return false;
  8.    
  9.     u8 AL = Buffer[ebx];
  10.    
  11.     while(AL != 0)
  12.     {
  13.         if(AL != 0x47)
  14.             continue;
  15.        
  16.         esi++;
  17.         ebx++; 
  18.     }
  19.    
  20.     if(esi < 8)
  21.         return false;
  22.        
  23.     return true;
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement