Advertisement
hejmus

Untitled

Jul 21st, 2011
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.26 KB | None | 0 0
  1. int __cdecl funkcjacrash_strlen_and_memcpy(int a1, const char *Src)
  2. {
  3.   size_t v2; // eax@2
  4.  
  5.   if ( Src )
  6.     v2 = strlen(Src);
  7.   else
  8.     v2 = 0;
  9.   *(_DWORD *)(a1 + 4) = v2;
  10.   if ( (signed int)v2 > 0 )
  11.     memcpy(*(void **)a1, Src, v2);
  12.   return a1;
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement