Newer
Older
AMI-Aptio-BIOS-Reversed / Platform / SetupIfrPackLoader.c
@Ajax Dong Ajax Dong 2 days ago 844 bytes Init
// SetupIfrPackLoader - decompiled from Platform.efi
__int64 SetupIfrPackLoader()
{
  __int64 v1; // rbx

  if ( qword_FF90 ) /*0x95ae*/
    return 0; /*0x95b0*/
  v1 = (*(__int64 (__fastcall **)(void *, _QWORD, __int64 *))(BootServices + 320))(&unk_FBC0, 0, &qword_FF90); /*0x95d4*/
  if ( v1 >= 0 ) /*0x95da*/
  {
    if ( !qword_FF90 ) /*0x9622*/
    {
      DebugPrint(0x80000000, "No ME Policy Protocol available"); /*0x9630*/
      return 0x8000000000000003uLL; /*0x9635*/
    }
  }
  else
  {
    DebugPrint(0x80000000, "No ME Policy Protocol available"); /*0x95ea*/
    DebugPrint(0x80000000, "\nASSERT_EFI_ERROR (Status = %r)\n", v1); /*0x95fb*/
    Assert( /*0x9613*/
      (__int64)"e:\\hs\\PurleyPlatPkg\\Me\\Heci\\Library\\DxeMeLib\\MePolicyDxeLib.c",
      54,
      (__int64)"!EFI_ERROR (Status)");
  }
  return v1; /*0x9647*/
}