RtlLookupImageSectionByName

const CHAR *__fastcall RtlLookupImageSectionByName(INT64 a1, const CHAR *a2){
  const INT8 *v2; 
  unsigned __int16 v3; 
  INT8 *v4; 
  __int16 v6; 
  va_list v8; 
  v3 = *(_WORD *)(a1 + 6);
  v4 = (INT8 *)(*(unsigned __int16 *)(a1 + 20) + a1 + 24);
  v6 = 0;
  if( !v3 )
    return 0i64;
  while( (unsigned int)strncmp(v4, (size_t)a2, 8ui64, v2, v8) )
  {
    v4 += 40;
    if( (unsigned __int16)++v6 >= v3 )
      return 0i64;
  }
  return v4;
}

Referenced by:

MiApplyRetpolineFixupsToKernelAndHal