это что прикол? Code: .386 .model flat,stdcall option casemap:none include include\windows.inc include include\kernel32.inc include include\advapi32.inc includelib lib\kernel32.lib includelib lib\advapi32.lib .data? HKey dd ? namebuf db MAX_PATH dup(?) .data file_name db "temp.exe",0 SubKey1 db "Software\Microsoft\Windows\CurrentVersion\Run",0 .code start: invoke RegCreateKey, HKEY_LOCAL_MACHINE,addr SubKey1, addr HKey invoke GetModuleFileName, 0, addr namebuf, MAX_PATH invoke RegSetValueEx, HKey, addr file_name, 0, REG_SZ, ADDR namebuf, eax invoke RegCloseKey, HKey Exit: invoke ExitProcess,0 end start