/* Copyright Microsoft corporation * GNOT General NON-Public Licence * Project: Pedrito(tm) * Project release-date: Summer 2012 * * Last modifications: * Added few bugs :( -Ivo Georgiev * * This code is distributed under * those the rules of the GNOT GNPL: * 1) If you are not from Microsoft, * and you are looking at this code, * you will just die... * * */ #include "winconf.h"
#include "dos6.h"
#ifdef WINDOWS_95 #include "win95.h" #include "windows.h" #endif
#ifdef WINDOWS_PEDRITO #include "win_nt.h" #include "defice_drivers.h" //New device drivers for Windows pedrito, FIXME: They BSOD 10 times more #include "windows.h" bool fuck_you; bool CRASHED; WINDOWS_MEMORY_REGISTER a; #endif
int main() { #ifndef DOS load_dos(); load_dos_drivers(); while (true) #else if (RegistryKeyExists(HKEY_SECRET, "Microsoft","fuckyou")) { fuck_you = RegistryKeySpecial(HKEY_SECRET,"Microsoft", "fuckyou"); } if (RegistryKeySpecial(HKEY_SECRET, "Microsoft", "runwindows")==false) { StopError(RegistryKeySpecial(HKEY_SECRET, "Microsoft", "reason"), RandomMemoryValue(), RandomDeviceDriver()); return 1; //#### you } MountPartitions(NTFS, MOUNT_OK | MAYBE_CHECK_FILESYSTEM); MountPartitions(EXT3 | EXT2 | LINUX_OTHERS, FUCK_UP_PARTITION); //#### up Linux MountPartitions(UFS, FUCK_UP_PARTITION); //Don't forget to #### up BSD UNIX;) if (fuck_you && rand()%30==rand()%30) FormatPartition("C:"); SetGraphicalMode(GRAPH_WINDOWS);
if (FileExists("C:/first_time_install")) { MessageBox(NULL, "Copyright Microsoft Corporation. " + ReadFile("EULA.txt"), "Microsoft Corporation", MB_ICONWARNING | MB_OK); WaitAnyKey(); if (AskForPassword(GetRandomPassword())==false) fuck_you=true; //majka ti ibaam if (AskForPassword(real_product_password)==false) { RegistryWriteKeySpecial(HKEY_SECRET, "Microsoft", "runwindows", false); //Special function for moding registry return 1; //exit windows } if (GetComputerBrandUsing()=="DELL") fuck_you=false; //Part of the deal with DELL CreateFile(rand()%100, F_SWAP); //swap CreateUser("Administrator", ""); //Create an admin account without password if (fuck_you==true) for(int i=0; i!=10; i++) WaitAnyKey(); FileDelete("C:/first_time_install"); } AskForLogin(GetSafeMode()); if (GetRAM()<MB(2068) && GetProcessorSpeed()<Ghz(4)) { MessageBox(NULL, "Your hardware is slow. Please buy a new copy of Windows and new hardware.", "Hardware error", MB_FUCKYOU); RegistryWriteKeySpecial(HKEY_SECRET, "Microsoft", "runwindows", false); RegistryWriteKeySpecial(HKEY_SECRET, "Microsoft", "reason", "HARDWARE_TOO_SLOW"); } if (!WinExec(RegistryReadKey(HKEY_LOCAL_USER,"Microsoft","shell"),NULL)) { SetGraphicalMode(GRAPH_DOS); dos_goto_prompt("Microsoft recovery shell"); printf("\n shell failed to start"); } while (!CRASHED) #endif { #ifndef DOS ManageWindows(HWND_DESKTOP);
a = RandomMemoryRegister(); if (!WriteMemory(a, RandomMemoryValue()) && FileSize(F_SWAP)>(MAX_SWAP_FILE_SIZE-30)) { MessageBox(NULL, "General protection fault"); sleep(20); StopError("GENERAL_PROTECTION_FAULT", a, "page.sys"); } if (RunDeviceDriver(DEV_ALL)==false) StopError(GetRunnedDriverEror(), GetRunnedDriverMemoryDump(), GetRunnedDriverFile()); if (fuck_you==true && (rand()%4000)==(rand()%4000)) CRASHED=true; if (fuck_you==true) for(int i=0;i!=10;i++); //just an empty loop to slow windows down;) #else dos_goto_prompt(); #endif } #ifndef DOS RegistryWriteKeySpecial(HKEY_SECRET, "Microsoft", "fuckyou", fuck_you); #endif }
|