Newer
Older
AMI-Aptio-BIOS-Reversed / PurleySktPkg / SouthClusterLbg / Smbus / Smm / PchSmbusSmm / PchSmbusSmm.c
@Ajax Dong Ajax Dong 2 days ago 1019 bytes Full restructure
/** @file
  PchSmbusSmm.c -- PchSmbusSmm

  Auto-converted from IDA decompiler output.
  Functions: 1

Copyright (c) HR650X BIOS Decompilation Project
**/

#include "PchSmbusSmm.h"


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

  sub_560(ImageHandle, SystemTable);
  qword_2188 = 0x8000000000000001uLL;
  if ( !sub_2A0(&unk_2090) )
  {
    v2 = sub_958();
    if ( v2 >= 0 || qword_2188 < 0 )
      qword_2188 = v2;
    sub_C00(&unk_2090);
    sub_340(&unk_2090, -1);
    sub_BC0(
      "e:\\hs\\Build\\HR6N0XMLK\\DEBUG_VS2015\\X64\\PurleySktPkg\\SouthClusterLbg\\Smbus\\Smm\\PchSmbusSmm\\DEBUG\\AutoGen.c",
      430,
      "((BOOLEAN)(0==1))");
    sub_BC0(
      "e:\\hs\\Build\\HR6N0XMLK\\DEBUG_VS2015\\X64\\PurleySktPkg\\SouthClusterLbg\\Smbus\\Smm\\PchSmbusSmm\\DEBUG\\AutoGen.c",
      445,
      "((BOOLEAN)(0==1))");
  }
  v3 = qword_2188;
  if ( qword_2188 < 0 )
    sub_CBC();
  return v3;
}