Untitled

 avatar
unknown
plain_text
a year ago
518 B
4
Indexable
void __noreturn start()
{
  HANDLE FileA; // eax

  hConsoleOutput = GetStdHandle(0xFFFFFFF5);
  if ( sub_4011A6() == 1
    || (sub_4011D0(), FileA = CreateFileA(FileName, 0xC0000000, 0, 0, 3u, 0, 0), FileA == (HANDLE)-1) )
  {
    sub_401106();
  }
  else
  {
    hFile = FileA;
    do
    {
      ReadFile(hFile, &unk_40306C, 0x12Cu, &NumberOfBytesRead, 0);
      sub_401094();
      sub_401106();
    }
    while ( NumberOfBytesRead == 300 );
    CloseHandle(hFile);
  }
  ExitProcess(0);
}
Editor is loading...
Leave a Comment