RtlFindHotPatchBase

CHAR *__stdcall RtlFindHotPatchBase(UINT64 *a1){
  __int64 v1; 
  __int64 v2; 

  if( *((_DWORD *)a1 + 4)
    && (v1 = *((unsigned int *)a1 + 3), v2 = *(unsigned int *)((char *)a1 + v1), *(_DWORD *)((char *)a1 + v1))
    && v2 + 32 <= (unsigned __int64)*((unsigned int *)a1 + 1) )
  {
    return(char *)a1 + v2;
  }
  else
  {
    return 0i64;
  }
}

Referenced by:

MiApplyDriverHotPatch
MiOpenHotPatchFile
MiPerformImageHotPatch
MiPrepareToHotPatchImage
RtlFindHotPatchInformation