Newer
Older
AMI-Aptio-BIOS-Reversed / LenovoServerPkg / SetupDefaults / SetupDefaultLoad / sub_5710.txt
@Ajax Dong Ajax Dong 2 days ago 612 bytes Restructure the repo
__int64 sub_5710()
{
  __int64 v0; // r11
  __int64 v1; // rbx
  unsigned __int64 v2; // rdi
  __int64 v3; // rax

  v0 = 0; /*0x5721*/
  v1 = *(_QWORD *)(SystemTable + 104); /*0x5724*/
  v2 = *(_QWORD *)(SystemTable + 112); /*0x5728*/
  if ( v1 ) /*0x572f*/
  {
    while ( sub_5694(v2) ) /*0x573c*/
    {
      v2 += 24LL; /*0x573e*/
      if ( !--v1 ) /*0x5746*/
        goto LABEL_4; /*0x5746*/
    }
    v3 = *(_QWORD *)(v2 + 16); /*0x5762*/
  }
  else
  {
LABEL_4:
    v3 = v0; /*0x5748*/
  }
  if ( v3 ) /*0x574e*/
    LODWORD(v0) = *(_DWORD *)(v3 + 12); /*0x5750*/
  return (unsigned int)v0; /*0x575c*/
}