PnpTraceRequestDeviceRemovalForReset

VOID __stdcall PnpTraceRequestDeviceRemovalForReset(DEVICE_OBJECT *DeviceObject, UINT64 Flags, INT64 Result){
  int v3; 
  int v4; 
  unsigned __int16 *v5; 
  unsigned __int16 *v6; 
  int v7; 
  int v8; 
  int v9; 
  int v10; 
  struct _EVENT_DATA_DESCRIPTOR v11; 
  int *v12; 
  int v13; 
  int v14; 
  __int64 v15; 
  int v16[2]; 
  int *v17; 
  int v18; 
  int v19; 
  __int64 v20; 
  int v21[2]; 
  int *v22; 
  int v23; 
  int v24; 
  int *v25; 
  int v26; 
  int v27; 
  int *v28; 
  int v29; 
  int v30; 
  v3 = Result;
  v4 = Flags;
  if( (unsigned int)dword_140C02DC0 > 5 )
  {
    if( tlgKeywordOn((__int64)&dword_140C02DC0, 0x400000000000i64) )
    {
      v14 = 0;
      v16[1] = 0;
      v19 = 0;
      v21[1] = 0;
      v24 = 0;
      v27 = 0;
      v30 = 0;
      v12 = v16;
      v15 = *((_QWORD *)v5 + 1);
      v16[0] = *v5;
      v17 = v21;
      v20 = *((_QWORD *)v6 + 1);
      v21[0] = *v6;
      v22 = &v8;
      v25 = &v9;
      v28 = &v10;
      v13 = 2;
      v18 = 2;
      v23 = 4;
      v26 = 4;
      v29 = 4;
      v8 = v7;
      v9 = v4;
      v10 = v3;
      tlgWriteTransfer_EtwWriteTransfer(
        (__int64)&dword_140C02DC0,
        (unsigned __int8 *)&word_1400245C6,
        0i64,
        0i64,
        9u,
        &v11);
    }
  }
}

Referenced by:

IoRequestDeviceRemovalForReset