MiLogRelocationFaults

VOID __stdcall MiLogRelocationFaults(
        _CONTROL_AREA *ControlArea,
        _IMAGE_BASE_RELOCATION *RelocationInfo,
        _MI_DYNAMIC_RELOCATIONS *DynamicRelocations){
  _FILE_OBJECT *v6; 
  __int64 **i; 
  UINT64 v8; 

  v6 = MiReferenceControlAreaFile(ControlArea);
  MiLogRelocationRva(RelocationInfo->VirtualAddress, RelocationInfo->SizeOfBlock, v6, ControlArea);
  for( i = (__int64 **)*((_QWORD *)DynamicRelocations + 2); i; i = (__int64 **)*i )
  {
    v8 = *((unsigned int *)i + 2);
    if( (v8 & 0xFFF) != 0 )
      MiLogRelocationRva(v8, 0x2000ui64, v6, ControlArea);
  }
  MiDereferenceControlAreaFile(ControlArea, v6);
}

Referenced by:

MiRelocateImage