Newer
Older
AMI-Aptio-BIOS-Reversed / DxeIpl / DxeIplAllocateZeroPages.c
@Ajax Dong Ajax Dong 2 days ago 488 bytes Init
/* DxeIplAllocateZeroPages @ 0xffc1634f size=0x37 */
int __thiscall DxeIplAllocateZeroPages(void *this)
{
  _BYTE v2[2]; // [esp+4h] [ebp-10h] BYREF
  int v3; // [esp+6h] [ebp-Eh]
  _DWORD v4[2]; // [esp+Ch] [ebp-8h] BYREF

  v4[1] = v2; /*0xffc16359*/
  __sidt(v2); /*0xffc1635f*/
  if ( (*(int (__cdecl **)(_DWORD, void *, _DWORD *))(**(_DWORD **)(v3 - 4) + 76))(*(_DWORD *)(v3 - 4), this, v4) >= 0 ) /*0xffc16379*/
    return v4[0]; /*0xffc1637f*/
  else
    return 0; /*0xffc1637b*/
}