WheapLogIpmiSELEvent

NTSTATUS __stdcall WheapLogIpmiSELEvent(PVOID Src, SIZE_T Size){
  int v2; 
  int v3; 
  unsigned int v4; 
  unsigned int v6; 
  NTSTATUS result; 
  v3 = v2;
  v4 = Size;
  if( (_DWORD)WheapHighIrqlLogSelHandler )
  {
    memset((INT64)&dst, 0i64);
    WheapSelBuffer = 1381192527;
    dword_140C13DA4 = 1;
    v6 = 4075;
    dword_140C13DAC = v3;
    if( v4 + 21 <= 0x1000 )
      v6 = v4;
    dword_140C13DB0 = v6;
    dword_140C13DA8 = v6 + 20;
    memmove((UINT8 *)&dst, (UINT8 *)Src, v6);
    WheapLogIpmiSELEventHighIrql();
  }
  return result;
}

Referenced by:

WheaSelLogErrorPkt
WheaSelLogEvent