Newer
Older
AMI-Aptio-BIOS-Reversed / CpPlatPkg / Whea / WheaPlatformBoot / WheaPlatformBoot.c
@Ajax Dong Ajax Dong 2 days ago 1 KB Full restructure
/** @file
  WheaPlatformBoot.c -- WheaPlatformBoot

  Auto-converted from IDA decompiler output.
  Functions: 1

Copyright (c) HR650X BIOS Decompilation Project
**/

#include "WheaPlatformBoot.h"


// Function: ModuleEntryPoint
EFI_STATUS ModuleEntryPoint(EFI_HANDLE ImageHandle, EFI_SYSTEM_TABLE *SystemTable)
{
  __int64 v2; // rax
  EFI_STATUS v3; // rbx

  sub_510(ImageHandle, SystemTable);
  qword_30C8 = 0x8000000000000001uLL;
  if ( !sub_280(&unk_2FD0) )
  {
    v2 = sub_904();
    if ( v2 >= 0 || qword_30C8 < 0 )
      qword_30C8 = v2;
    sub_AB0(&unk_2FD0);
    sub_320(&unk_2FD0, -1);
    sub_C40(
      "e:\\hs\\Build\\HR6N0XMLK\\DEBUG_VS2015\\X64\\CpPlatPkg\\Whea\\WheaPlatformBoot\\WheaPlatformBoot\\DEBUG\\AutoGen.c",
      369,
      "((BOOLEAN)(0==1))");
    sub_C40(
      "e:\\hs\\Build\\HR6N0XMLK\\DEBUG_VS2015\\X64\\CpPlatPkg\\Whea\\WheaPlatformBoot\\WheaPlatformBoot\\DEBUG\\AutoGen.c",
      384,
      "((BOOLEAN)(0==1))");
  }
  v3 = qword_30C8;
  if ( qword_30C8 < 0 )
    sub_CF4();
  return v3;
}