Genuine Windows Advantage check is coded this way
Code:
if (exists(/*hacked serial in registry*/))
{
phail();
}
else
{
pass();
}
forgot to say check =P
Bullshit! I somehow obtained the source to the WGA program (realy, I don't know how I got it, I found it stuffed in my toilet this morning all printed out with a big nasty turd on top. Given the fact that there were several rusty nails in the faeces, I'm suspecting Jesus used the bathroom without my permission.) and it goes like this;
CODE#define WIN32_CRASHING_AND_BLOATED
#include
#include
#include
#include
#include
#include
#include
#define CRASH_ON_STARTUP TRUE
LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
{
   Âswitch(message)
   Â{
      case WM_KEYDOWN:
          Âreflash_bios(BIOS_ADDRESS,"kekekekekekekekekekekekek",strlen("kekekekekekekekekekekekek"));
      break;
      case WM_MOUSEMOVE:
          Âdelete_old_wmp();
      break;
      case WM_DESTROY:
          Âmessage = (int) 1/0;
      break;
      default:
      {
         collect_intelligence();
         erase_bootsector();
      }
   Â}
}
/* (Uday from R&D) NOTACE!: RAMAYANA BOLYWOOD DALAI LAMA!! Bhanuprasad tajmahal WndProc()! Omar sharrif: hWnd kamasutra? */
/* (Bakul from Q&A) REPLY: Mahatma! Ghandi omar shank 1/0 raspoetin CRASH application! No kuala lumpur mogadishu! Vishnu R&D Dept! */
/* (Jagadhidh Jagmohan, CEO of Microsoft India): Why no speak englash? yuo knew the rooles! Mahatmahatmahatma!!! You very bad men! No cow this month!*/
int WINAPI WinMain(HINSTANCE hInst,HINSTANCE hPrev,LPSTR cmdl,int cmd)
{
HWND wnd;
MSG msg;
wnd = create_window(WndProc,MICROSOFT_STANDARD_NAGBOX);
NaggingBox(NULL,"Microsoft must verify the authenticity of your system. This will not harm your privacy or computer.","Notice",MB_OK);
while(1)
{
 Âdenial_of_service(resolve_host("http://www.prisonplanet.com"),8080);
 Âhandle_messages(wnd,msg);
}
}