# CVE-2026-96969 — netio.sys patch diff

`netio.sys` 10.0.26100.9818 -> 10.0.26100.9974 (ghidriff).

## `NrtCreateHandler`  (modified)

```diff
--- NrtCreateHandler
+++ NrtCreateHandler
@@ -1,135 +1,155 @@
 

 int NrtCreateHandler(longlong param_1,longlong param_2)

 

 {

-  longlong *plVar1;

-  undefined8 uVar2;

-  code *pcVar3;

-  longlong lVar4;

-  ulonglong uVar5;

-  longlong lVar6;

-  int *piVar7;

-  int iVar8;

-  int unaff_EBX;

-  wchar_t *unaff_RBP;

-  longlong unaff_RSI;

-  longlong unaff_RDI;

-  char unaff_R12B;

-  longlong unaff_R13;

-  ushort uVar9;

-  longlong unaff_R14;

-  longlong *unaff_R15;

-  undefined1 local_res8 [24];

-  int in_stack_000000a8;

-  longlong *in_stack_000000b0;

-  ushort in_stack_000000c0;

-  void *in_stack_000000c8;

-  ushort in_stack_000000d0;

-  void *in_stack_000000d8;

-  ushort in_stack_000000e8;

-  void *in_stack_000000f0;

-  undefined8 in_stack_000000f8;

+  longlong lVar1;

+  uint uVar2;

+  ushort uVar3;

+  int iVar4;

+  uint uVar5;

+  size_t sVar6;

+  ulonglong uVar7;

+  wchar_t *pwVar8;

+  wchar_t *pwVar9;

+  ushort uVar10;

+  longlong lVar11;

+  uint uVar12;

+  ushort uVar13;

+  wchar_t *pwVar14;

+  wchar_t *pwVar15;

+  wchar_t *pwVar16;

+  uint uVar17;

+  wchar_t *pwVar18;

+  wchar_t *local_res18;

+  longlong local_res20;

   

-  uVar9 = (ushort)unaff_R14;

-  if (uVar9 == 0) {

-LAB_0:

-    wcscpy_s((wchar_t *)(unaff_RDI + 0x68),unaff_R13 + 1,unaff_RBP);

-    lVar4 = NrtRecordSet;

-    *(int *)(unaff_RDI + 0x50) = in_stack_000000a8;

-    *(undefined8 *)(unaff_RDI + 0x10) = in_stack_000000f8;

-    KeAcquireInStackQueuedSpinLock(lVar4,&stack0x00000040);

-    iVar8 = 0;

-    if (-1 < *(int *)(lVar4 + 8)) {

-      piVar7 = (int *)(lVar4 + 0x40);

-      do {

-        do {

-        } while (*piVar7 != 0);

-        iVar8 = iVar8 + 1;

-        piVar7 = piVar7 + 0x10;

-      } while (iVar8 <= *(int *)(lVar4 + 8));

-    }

-    if ((*(longlong *)(unaff_RDI + 0x48) == 0) &&

-       (lVar4 = NrtFindRecordUnderLock

-                          (unaff_RBP,in_stack_000000a8,unaff_RSI,in_stack_000000c0,in_stack_000000c8

-                           ,in_stack_000000d0,in_stack_000000d8,in_stack_000000f8), lVar4 != 0)) {

-      LOCK();

-      plVar1 = (longlong *)(lVar4 + 0x30);

-      lVar6 = *plVar1;

-      *plVar1 = *plVar1 + 1;

-      UNLOCK();

-      if (lVar6 + 1 < 2) {

-        pcVar3 = (code *)swi(0x29);

-        lVar4 = (*pcVar3)(0xe);

-        register0x00000020 = (BADSPACEBASE *)local_res8;

+  pwVar9 = (wchar_t *)0x0;

+  local_res20 = 0;

+  pwVar15 = (wchar_t *)0x0;

+  pwVar14 = (wchar_t *)0x0;

+  local_res18 = (wchar_t *)0x0;

+  pwVar18 = (wchar_t *)0x0;

+  iVar4 = NrtAccessCheck();

+  if (iVar4 < 0) goto LAB_0;

+  lVar1 = *(longlong *)(param_1 + 0x18);

+  if (lVar1 == 0) goto LAB_1;

+  lVar11 = (ulonglong)*(byte *)(lVar1 + 5) + lVar1;

+  if (*(ushort *)(lVar1 + 6) < 0x28) {

+LAB_2:

+    iVar4 = -0x3ffffffb;

+  }

+  else {

+    uVar13 = *(ushort *)(lVar11 + 0x29);

+    uVar10 = *(ushort *)(lVar11 + 0xf);

+    uVar7 = (ulonglong)uVar10;

+    uVar2 = (uint)*(ushort *)(lVar11 + 9);

+    uVar5 = (uint)*(ushort *)(lVar11 + 0xb);

+    uVar17 = (uint)uVar10 + (uint)uVar10;

+    if ((((uVar13 & 0xfffe) < 0x1ff) && (((uVar2 != 0 || (uVar5 != 0)) || (uVar17 != 0)))) &&

+       ((uVar17 == 0 || ((uVar2 == 0 && (uVar5 == 0)))))) {

+      uVar12 = uVar13 + 0x28 + uVar17 + uVar5 * 0x10 + uVar2 * 4;

+      if (((0xffff < uVar2 * 4) || (0xffff < uVar5 * 0x10)) ||

+         ((0xffff < uVar17 || ((0xffff < uVar12 || (*(ushort *)(lVar1 + 6) != uVar12))))))

+      goto LAB_2;

+      if (*(short *)(lVar11 + 0x2b + (ulonglong)(uVar13 >> 1) * 2) != 0) goto LAB_1;

+      if ((uVar2 == 0) && (uVar5 == 0)) {

+        pwVar8 = pwVar9;

+        pwVar16 = pwVar9;

+        pwVar18 = pwVar9;

+        if (uVar17 != 0) {

+          pwVar18 = (wchar_t *)(lVar11 + 0x31 + (ulonglong)uVar13);

+          if (pwVar18[(longlong)(int)(uint)uVar10 + -1] == L'\0') {

+            if (uVar10 != 0) {

+              pwVar8 = pwVar18 + uVar7;

+              do {

+                pwVar8 = pwVar8 + -1;

+                uVar13 = (ushort)pwVar9 + 1;

+                if (*pwVar8 != L'\0') {

+                  uVar13 = (ushort)pwVar9;

+                }

+                pwVar9 = (wchar_t *)(ulonglong)uVar13;

+                uVar13 = (short)uVar7 - 1;

+                uVar7 = (ulonglong)uVar13;

+              } while (uVar13 != 0);

+            }

+            uVar13 = (ushort)pwVar9;

+            if (uVar13 == *(ushort *)(lVar11 + 0xd)) {

+              if ((Feature_1915119930__private_featureState & 0x10) == 0) {

+                uVar7 = Feature_1915119930__private_IsEnabledDeviceUsageNoInline();

+                uVar5 = (uint)uVar7;

+              }

+              else {

+                uVar5 = Feature_1915119930__private_featureState & 1;

+              }

+              pwVar8 = pwVar14;

+              pwVar16 = pwVar15;

+              if ((uVar5 != 0) && (uVar10 = 0, pwVar9 = pwVar18, uVar13 != 0)) {

+                do {

+                  uVar3 = 0;

+                  if (pwVar9 != (wchar_t *)0x0) {

+                    sVar6 = wcsnlen(pwVar9,0x100);

+                    uVar3 = (ushort)sVar6;

+                    if (0xff < (ushort)sVar6) goto LAB_1;

+                  }

+                  uVar10 = uVar10 + 1;

+                  pwVar9 = pwVar9 + (ulonglong)uVar3 + 1;

+                } while (uVar10 < uVar13);

+              }

+              goto LAB_3;

+            }

+          }

+LAB_1:

+          iVar4 = -0x3ffffff3;

+          goto LAB_0;

+        }

       }

-      *unaff_R15 = lVar4;

+      else {

+        pwVar16 = (wchar_t *)(lVar11 + 0x31 + (ulonglong)uVar13);

+        pwVar8 = pwVar16 + (ulonglong)*(ushort *)(lVar11 + 9) * 2;

+      }

+LAB_3:

+      if (*(longlong *)(lVar11 + 0x19) != 0) {

+        local_res18 = (wchar_t *)0x0;

+        iVar4 = ObReferenceObjectByHandle

+                          (*(longlong *)(lVar11 + 0x19),2,*(undefined8 *)ExEventObjectType_exref,1,

+                           &local_res18,0);

+        pwVar9 = local_res18;

+        if (iVar4 < 0) goto LAB_4;

+      }

+      uVar7 = NetioNrtFindOrCreateRecord

+                        ((wchar_t *)(lVar11 + 0x2b),(ulonglong)*(uint *)(lVar11 + 0x11),

+                         (longlong *)&local_res18,*(longlong **)(lVar11 + 0x21),

+                         *(ushort *)(lVar11 + 9),pwVar16,*(ushort *)(lVar11 + 0xb),pwVar8,

+                         *(ushort *)(lVar11 + 0xd),(ushort)uVar17,pwVar18,&local_res20);

+      iVar4 = (int)uVar7;

+      pwVar9 = local_res18;

+      if ((((-1 < iVar4) &&

+           (*(longlong *)(*(longlong *)(param_2 + 0x30) + 0x18) = local_res20,

+           (undefined8 **)WPP_GLOBAL_Control != &WPP_GLOBAL_Control)) &&

+          (3 < *(byte *)((longlong)WPP_GLOBAL_Control + 0x29))) &&

+         ((*(uint *)((longlong)WPP_GLOBAL_Control + 0x2c) & 0x100000) != 0)) {

+        WPP_SF_I(WPP_GLOBAL_Control[3],10,&WPP_49f60a0de6c83f224ea12d9d51c35392_Traceguids,

+                 local_res20);

+        pwVar9 = local_res18;

+      }

     }

     else {

-      if (unaff_RSI != 0) {

-        lVar6 = NrtFindRecordByIdUnderLock(unaff_RSI);

-        lVar4 = NrtRecordSet;

-        if (lVar6 != 0) {

-          unaff_EBX = -0x3ffffdd6;

-          goto LAB_1;

-        }

-        *(longlong *)(unaff_RDI + 0x58) = unaff_RSI;

-        *(longlong *)(unaff_RDI + 0x28) = unaff_RSI;

-        RtlInsertEntryHashTable(*(undefined8 *)(lVar4 + 0x148),unaff_RDI + 0x18);

-        NrtRestructureHashTableUnderLock(*(longlong *)(NrtRecordSet + 0x148));

-      }

-      RtlInsertEntryHashTable(*(undefined8 *)(NrtRecordSet + 0x140));

-      if ((((undefined8 **)WPP_GLOBAL_Control != &WPP_GLOBAL_Control) &&

-          (3 < *(byte *)((longlong)WPP_GLOBAL_Control + 0x29))) &&

-         ((*(uint *)((longlong)WPP_GLOBAL_Control + 0x2c) & 0x100000) != 0)) {

-        WPP_SF_I(WPP_GLOBAL_Control[3],0x1e,&WPP_012307e30b843ad9892dfa630dedeb21_Traceguids,

-                 unaff_RDI);

-      }

-      func_0x000140045ae0();

-      unaff_R12B = '\x01';

-      *unaff_R15 = unaff_RDI;

-      if (*in_stack_000000b0 != 0) {

-        *(longlong *)(unaff_RDI + 0x60) = *in_stack_000000b0;

-        *in_stack_000000b0 = 0;

-      }

-      NrtRestructureHashTableUnderLock(*(longlong *)(NrtRecordSet + 0x140));

+      iVar4 = -0x3ffffff3;

     }

-LAB_1:

-    *(undefined8 *)((longlong)register0x00000020 + -8) = 0x140045abd;

-    KeReleaseInStackQueuedSpinLock((undefined1 *)((longlong)register0x00000020 + 0x40));

-    if (-1 < unaff_EBX) {

-      if (unaff_R12B != '\0') {

-        return unaff_EBX;

-      }

-      goto LAB_2;

+LAB_4:

+    if (pwVar9 != (wchar_t *)0x0) {

+      ObfDereferenceObject(pwVar9);

+    }

+    if (-1 < iVar4) {

+      return iVar4;

     }

   }

-  else {

-    lVar4 = ExAllocatePool2(0x40,in_stack_000000e8 + 0x10 + (int)unaff_R14 * 8,0x7274724e);

-    *(longlong *)(unaff_RDI + 0x48) = lVar4;

-    if (lVar4 == 0) {

-      unaff_EBX = -0x3fffffe9;

-    }

-    else {

-      *(ushort *)(lVar4 + 8) = uVar9;

-      lVar4 = *(longlong *)(unaff_RDI + 0x48) + unaff_R14 * 8;

-      memmove((void *)(lVar4 + 0x10),in_stack_000000f0,(ulonglong)in_stack_000000e8);

-      NrtConvertFlatStringBufferToArray

-                (lVar4 + 0x10,uVar9,(longlong *)(*(longlong *)(unaff_RDI + 0x48) + 0x10));

-      uVar5 = NrtHandleProxyLiterals(unaff_RDI);

-      unaff_EBX = (int)uVar5;

-      if (-1 < unaff_EBX) goto LAB_0;

-    }

-  }

+LAB_0:

   if ((((undefined8 **)WPP_GLOBAL_Control != &WPP_GLOBAL_Control) &&

       (1 < *(byte *)((longlong)WPP_GLOBAL_Control + 0x29))) &&

      ((*(uint *)((longlong)WPP_GLOBAL_Control + 0x2c) & 0x100000) != 0)) {

-    uVar2 = WPP_GLOBAL_Control[3];

-    *(undefined8 *)((longlong)register0x00000020 + -8) = 0x1400457e3;

-    WPP_SF_D(uVar2,0x1f,&WPP_012307e30b843ad9892dfa630dedeb21_Traceguids,unaff_EBX);

+    WPP_SF_D(WPP_GLOBAL_Control[3],0xb,&WPP_49f60a0de6c83f224ea12d9d51c35392_Traceguids,iVar4);

   }

-LAB_2:

-  *(undefined8 *)((longlong)register0x00000020 + -8) = 0x1400457eb;

-  NrtDeleteRecord(unaff_RDI);

-  return unaff_EBX;

+  return iVar4;

 }
```

## `NrtCloneRecord`  (modified)

```diff
--- NrtCloneRecord
+++ NrtCloneRecord
@@ -1,25 +1,180 @@
 

 ulonglong NrtCloneRecord(longlong param_1,ulonglong *param_2)

 

 {

-  uint in_EAX;

-  uint uVar1;

-  ulonglong uVar2;

-  longlong unaff_RBX;

+  wchar_t *_Src;

+  wchar_t *_Src_00;

+  longlong lVar1;

+  ushort *puVar2;

+  ushort *puVar3;

+  short sVar4;

+  ushort uVar5;

+  ulonglong uVar6;

+  ulonglong uVar7;

+  size_t sVar8;

+  void *_Dst;

+  ulonglong uVar9;

+  ulonglong uVar10;

+  longlong lVar11;

+  uint uVar12;

+  ushort *puVar13;

+  ulonglong uVar14;

+  ushort uVar15;

+  undefined *puVar16;

+  uint uVar17;

+  undefined8 local_res8;

+  undefined8 local_48;

+  undefined8 uStack_40;

+  undefined8 local_38;

   

-  if ((in_EAX & 0x10) == 0) {

-    uVar2 = Feature_Servicing_NrtGetIfIndexNullCheck__private_IsEnabledDeviceUsageNoInline();

-    uVar1 = (uint)uVar2;

+  uVar10 = 0;

+  uVar14 = 0;

+  local_res8 = 0;

+  local_48 = 0;

+  uStack_40 = 0;

+  local_38 = 0;

+  *param_2 = 0;

+  if (*(longlong *)(param_1 + 0x48) == 0) {

+    uVar14 = 0xc000000d;

+    uVar6 = uVar10;

+    goto LAB_0;

   }

-  else {

-    uVar1 = in_EAX & 1;

+  _Src = (wchar_t *)(param_1 + 0x68);

+  if (_Src != (wchar_t *)0x0) {

+    uVar14 = wcsnlen(_Src,0xff);

   }

-  if ((uVar1 == 0) || (unaff_RBX != 0)) {

-    uVar2 = (ulonglong)*(uint *)(unaff_RBX + 0x50);

+  uVar6 = ExAllocatePool2(0x40,(uVar14 & 0xffff) * 2 + 0x70,0x7274724e);

+  if (uVar6 != 0) {

+    *(undefined8 *)(uVar6 + 0x30) = 1;

+    uVar5 = *(ushort *)(*(longlong *)(param_1 + 0x48) + 8);

+    uVar17 = (uint)uVar5 * 8 + 0x10;

+    uVar9 = uVar10;

+    if (uVar5 != 0) {

+      do {

+        if ((Feature_1915119930__private_featureState & 0x10) == 0) {

+          uVar7 = Feature_1915119930__private_IsEnabledDeviceUsageNoInline();

+          uVar12 = (uint)uVar7;

+        }

+        else {

+          uVar12 = Feature_1915119930__private_featureState & 1;

+        }

+        _Src_00 = *(wchar_t **)(*(longlong *)(param_1 + 0x48) + 0x10 + uVar9 * 8);

+        if (uVar12 == 0) {

+          if (_Src_00 == (wchar_t *)0x0) {

+            uVar5 = 0;

+          }

+          else {

+            sVar8 = wcsnlen(_Src_00,0xff);

+            uVar5 = (ushort)sVar8;

+          }

+          uVar17 = uVar17 + 2 + (uint)uVar5;

+        }

+        else {

+          if (_Src_00 == (wchar_t *)0x0) {

+            sVar4 = 0;

+          }

+          else {

+            sVar8 = wcsnlen(_Src_00,0xff);

+            sVar4 = (short)sVar8;

+          }

+          uVar17 = uVar17 + (uint)(ushort)(sVar4 + 1) * 2;

+        }

+        uVar12 = (int)uVar9 + 1;

+        uVar9 = (ulonglong)uVar12;

+      } while (uVar12 < *(ushort *)(*(longlong *)(param_1 + 0x48) + 8));

+    }

+    _Dst = (void *)ExAllocatePool2(0x42,uVar17,0x7274724e);

+    puVar13 = (ushort *)0x0;

+    *(void **)(uVar6 + 0x48) = _Dst;

+    if (_Dst != (void *)0x0) {

+      memmove(_Dst,*(void **)(param_1 + 0x48),(ulonglong)uVar17);

+      **(undefined8 **)(uVar6 + 0x48) = 0;

+      if ((Feature_1915119930__private_featureState & 0x10) == 0) {

+        uVar9 = Feature_1915119930__private_IsEnabledDeviceUsageNoInline();

+        uVar17 = (uint)uVar9;

+      }

+      else {

+        uVar17 = Feature_1915119930__private_featureState & 1;

+      }

+      if (uVar17 != 0) {

+        lVar1 = *(longlong *)(uVar6 + 0x48);

+        NrtConvertFlatStringBufferToArray

+                  (lVar1 + 0x10 + (ulonglong)*(ushort *)(lVar1 + 8) * 8,*(ushort *)(lVar1 + 8),

+                   (longlong *)(lVar1 + 0x10));

+      }

+      wcscpy_s((wchar_t *)(uVar6 + 0x68),(uVar14 & 0xffff) + 1,_Src);

+      *(undefined4 *)(uVar6 + 0x50) = *(undefined4 *)(param_1 + 0x50);

+      *(undefined8 *)(uVar6 + 0x10) = *(undefined8 *)(param_1 + 0x10);

+      uVar14 = uVar10;

+      if ((**(longlong **)(param_1 + 0x48) == 0) &&

+         ((puVar2 = *(ushort **)(param_1 + 0x38), puVar2 != (ushort *)0x0 ||

+          (uVar14 = 0, *(longlong *)(param_1 + 0x40) != 0)))) {

+        puVar3 = *(ushort **)(param_1 + 0x40);

+        uVar5 = 0;

+        uVar15 = uVar5;

+        if (puVar3 != (ushort *)0x0) {

+          uVar15 = *puVar3;

+        }

+        if (puVar2 != (ushort *)0x0) {

+          uVar5 = *puVar2;

+          puVar13 = puVar2 + 2;

+        }

+        uVar10 = NrtPopulateIpAddressRecords

+                           (uVar5,(longlong)puVar13,uVar15,

+                            -(ulonglong)(puVar3 != (ushort *)0x0) & (ulonglong)(puVar3 + 1),uVar6);

+        uVar14 = uVar10 & 0xffffffff;

+        if ((int)uVar10 < 0) goto LAB_0;

+      }

+      if (NrtIsHvsiContainer != '\0') {

+        uVar17 = HvsiK_CloneHandle(*(longlong *)(param_1 + 0x58),(longlong)&local_res8);

+        uVar14 = (ulonglong)uVar17;

+        if ((int)uVar17 < 0) goto LAB_0;

+        *(undefined8 *)(uVar6 + 0x58) = local_res8;

+      }

+      RtlAcquireScalableWriteLock();

+      if (*(longlong *)(uVar6 + 0x58) == 0) {

+LAB_1:

+        puVar16 = *(undefined **)(uVar6 + 0x10);

+        RtlInsertEntryHashTable(*(undefined8 *)(NrtRecordSet + 0x140),uVar6,puVar16,0);

+        if ((((undefined8 **)WPP_GLOBAL_Control != &WPP_GLOBAL_Control) &&

+            (3 < *(byte *)((longlong)WPP_GLOBAL_Control + 0x29))) &&

+           ((*(uint *)((longlong)WPP_GLOBAL_Control + 0x2c) & 0x100000) != 0)) {

+          puVar16 = &WPP_012307e30b843ad9892dfa630dedeb21_Traceguids;

+          WPP_SF_qq(WPP_GLOBAL_Control[3],0x2b,&WPP_012307e30b843ad9892dfa630dedeb21_Traceguids,

+                    param_1);

+        }

+        NetioNrtWppLogRecord(uVar6,4,puVar16);

+        NrtRestructureHashTableUnderLock(*(longlong *)(NrtRecordSet + 0x140));

+        *param_2 = uVar6;

+      }

+      else {

+        lVar11 = NrtFindRecordByIdUnderLock(*(longlong *)(uVar6 + 0x58));

+        lVar1 = NrtRecordSet;

+        if (lVar11 == 0) {

+          *(undefined8 *)(uVar6 + 0x28) = *(undefined8 *)(uVar6 + 0x58);

+          RtlInsertEntryHashTable

+                    (*(undefined8 *)(lVar1 + 0x148),uVar6 + 0x18,*(undefined8 *)(uVar6 + 0x58),0);

+          NrtRestructureHashTableUnderLock(*(longlong *)(NrtRecordSet + 0x148));

+          goto LAB_1;

+        }

+        uVar14 = 0xc000022a;

+      }

+      KeReleaseInStackQueuedSpinLock(&local_48);

+      if (-1 < (int)uVar14) {

+        return uVar14;

+      }

+      goto LAB_0;

+    }

   }

-  else {

-    uVar2 = 0;

+  uVar14 = 0xc0000017;

+LAB_0:

+  if ((((undefined8 **)WPP_GLOBAL_Control != &WPP_GLOBAL_Control) &&

+      (1 < *(byte *)((longlong)WPP_GLOBAL_Control + 0x29))) &&

+     ((*(uint *)((longlong)WPP_GLOBAL_Control + 0x2c) & 0x100000) != 0)) {

+    WPP_SF_D(WPP_GLOBAL_Control[3],0x2c,&WPP_012307e30b843ad9892dfa630dedeb21_Traceguids,(int)uVar14

+            );

   }

-  return uVar2;

+  NrtDeleteRecord(uVar6);

+  return uVar14;

 }
```

## `NcmAttachTlObjToNotificationChannelContext`  (modified)

```diff
--- NcmAttachTlObjToNotificationChannelContext
+++ NcmAttachTlObjToNotificationChannelContext
@@ -1,56 +1,150 @@
 

-/* WARNING: Function: __security_check_cookie replaced with injection: security_check_cookie */

-

-uint NcmAttachTlObjToNotificationChannelContext(undefined8 *param_1)

+undefined4 NcmAttachTlObjToNotificationChannelContext(undefined8 *param_1)

 

 {

-  int in_EAX;

-  uint uVar1;

-  undefined8 *in_RDX;

-  longlong unaff_RBX;

-  longlong unaff_RSI;

+  code *pcVar1;

   uint uVar2;

-  undefined *in_R8;

-  longlong unaff_R14;

-  undefined4 uStack0000000000000030;

-  undefined4 uStack0000000000000038;

-  uint uStack0000000000000040;

-  uint uStack0000000000000048;

+  longlong lVar3;

+  undefined8 *puVar4;

+  ulonglong uVar5;

+  undefined8 *puVar6;

+  longlong *plVar7;

+  undefined2 uVar8;

+  longlong *plVar9;

+  undefined1 *puVar10;

+  undefined4 uVar11;

+  undefined8 uStack_60;

+  undefined1 auStack_58 [8];

+  undefined1 auStack_50 [24];

+  undefined8 local_38;

+  undefined8 uStack_30;

+  undefined8 local_28;

+  undefined8 local_20;

+  undefined8 uStack_18;

+  undefined8 local_10;

   

-  uVar1 = in_EAX + 0xca3b4800;

-  if (((uVar1 != 0) && (3 < *(byte *)((longlong)param_1 + 0x29))) &&

-     ((*(uint *)((longlong)param_1 + 0x2c) & 0x200000) != 0)) {

-    in_R8 = &WPP_d724bd3d22fa39e038e4bca8df89128c_Traceguids;

-    uVar1 = WPP_SF_(param_1[3],0x19,&WPP_d724bd3d22fa39e038e4bca8df89128c_Traceguids);

-    in_RDX = &WPP_GLOBAL_Control;

+  puVar10 = auStack_58;

+  local_38 = 0;

+  uStack_30 = 0;

+  local_28 = 0;

+  local_20 = 0;

+  uStack_18 = 0;

+  local_10 = 0;

+  uVar11 = 0;

+  RtlAcquireWriteLock(0x140093fd8);

+  if (NcmGlobal != '\x01') {

+    if ((((undefined8 **)WPP_GLOBAL_Control != &WPP_GLOBAL_Control) &&

+        (2 < *(byte *)((longlong)WPP_GLOBAL_Control + 0x29))) &&

+       ((*(uint *)((longlong)WPP_GLOBAL_Control + 0x2c) & 0x200000) != 0)) {

+      WPP_SF_(WPP_GLOBAL_Control[3],0x27,&WPP_d724bd3d22fa39e038e4bca8df89128c_Traceguids);

+    }

+    uVar11 = 0xc0000022;

+    puVar10 = auStack_58;

+    goto LAB_0;

   }

-  *(undefined4 *)(unaff_RBX + 0x38) = 0;

-  if ((*(char *)(unaff_RBX + 0x35) == '\0') && (*(char *)(unaff_RBX + 0x34) == '\0')) {

-    uVar1 = *(uint *)(unaff_R14 + 300);

-    *(uint *)(unaff_R14 + 300) = (uVar1 + 1 ^ uVar1) & 0xf ^ uVar1;

-    uVar2 = *(int *)(unaff_RSI + 0x230) + 1;

-    in_R8 = (undefined *)(ulonglong)uVar2;

-    *(uint *)(unaff_RSI + 0x230) = uVar2;

-    if (WPP_GLOBAL_Control == in_RDX) {

-      return uVar1;

+  lVar3 = RtlLookupEntryHashTable(&DAT_1,*(undefined4 *)(param_1 + 3),&local_20);

+  while (lVar3 != 0) {

+    if (*(int *)(lVar3 + 0x18) == *(int *)(param_1 + 3)) {

+      plVar7 = (longlong *)(lVar3 + 0x28);

+      plVar9 = (longlong *)*plVar7;

+      if (plVar9 == plVar7) goto LAB_2;

+      goto LAB_3;

     }

-    if ((3 < *(byte *)((longlong)WPP_GLOBAL_Control + 0x29)) &&

-       ((*(uint *)((longlong)WPP_GLOBAL_Control + 0x2c) & 0x200000) != 0)) {

-      in_R8 = &WPP_d724bd3d22fa39e038e4bca8df89128c_Traceguids;

-      uVar1 = WPP_SF_ql(WPP_GLOBAL_Control[3],0x21,&WPP_d724bd3d22fa39e038e4bca8df89128c_Traceguids,

-                        unaff_RSI);

+    lVar3 = RtlGetNextEntryHashTable(&DAT_1,&local_20);

+  }

+  if ((((undefined8 **)WPP_GLOBAL_Control != &WPP_GLOBAL_Control) &&

+      (2 < *(byte *)((longlong)WPP_GLOBAL_Control + 0x29))) &&

+     ((*(uint *)((longlong)WPP_GLOBAL_Control + 0x2c) & 0x200000) != 0)) {

+    uVar8 = 0x2a;

+    goto LAB_4;

+  }

+  goto LAB_5;

+  while (plVar9 = (longlong *)*plVar9, plVar9 != plVar7) {

+LAB_3:

+    if ((plVar9[7] == *(longlong *)param_1[2]) && (plVar9[8] == ((longlong *)param_1[2])[1])) {

+      if (plVar9 != (longlong *)0x0) {

+        if (((*(uint *)(plVar9 + 0x21) & 0x40) == 0) ||

+           (*(char *)((longlong)param_1 + 0x3a) != '\0')) {

+          puVar4 = (undefined8 *)ExAllocatePool2(0x40,0x60,0x6d636e4e);

+          if (puVar4 == (undefined8 *)0x0) {

+            uVar11 = 0xc000009a;

+          }

+          else {

+            if ((Feature_554325304__private_featureState & 0x10) == 0) {

+              uVar5 = Feature_554325304__private_IsEnabledDeviceUsageNoInline();

+              uVar2 = (uint)uVar5;

+            }

+            else {

+              uVar2 = Feature_554325304__private_featureState & 1;

+            }

+            if (uVar2 != 0) {

+              puVar4[5] = 1;

+            }

+            puVar4[4] = plVar9[0x1b];

+            puVar4[2] = plVar9;

+            if ((int)plVar9[0x24] == 0) {

+              *(uint *)((longlong)plVar9 + 0x124) = (uint)*(ushort *)(param_1 + 7);

+              *(undefined4 *)(plVar9 + 0x25) = *(undefined4 *)((longlong)param_1 + 0x3c);

+            }

+            LOCK();

+            plVar7 = plVar9 + 2;

+            lVar3 = *plVar7;

+            *plVar7 = *plVar7 + 1;

+            UNLOCK();

+            puVar10 = auStack_58;

+            if (lVar3 + 1 < 2) {

+              pcVar1 = (code *)swi(0x29);

+              (*pcVar1)(0xe);

+              puVar10 = auStack_50;

+            }

+            *(undefined1 *)(puVar4 + 0xb) = *(undefined1 *)((longlong)param_1 + 0x3a);

+            puVar4[3] = param_1[1];

+            puVar4[8] = param_1[4];

+            puVar4[9] = param_1[6];

+            *param_1 = puVar4;

+            *(int *)(plVar9 + 0x24) = (int)plVar9[0x24] + 1;

+            puVar6 = (undefined8 *)plVar9[0x23];

+            if ((longlong *)*puVar6 != plVar9 + 0x22) {

+              pcVar1 = (code *)swi(0x29);

+              puVar6 = (undefined8 *)(*pcVar1)(3);

+              puVar10 = puVar10 + 8;

+            }

+            *puVar4 = plVar9 + 0x22;

+            puVar4[1] = puVar6;

+            *puVar6 = puVar4;

+            plVar9[0x23] = (longlong)puVar4;

+            *(undefined8 *)(puVar10 + -8) = 0x14004cf9a;

+            NcmPlumbTlObject((longlong)puVar4,puVar10 + 0x20);

+          }

+        }

+        else {

+          if ((((undefined8 **)WPP_GLOBAL_Control != &WPP_GLOBAL_Control) &&

+              (2 < *(byte *)((longlong)WPP_GLOBAL_Control + 0x29))) &&

+             ((*(uint *)((longlong)WPP_GLOBAL_Control + 0x2c) & 0x200000) != 0)) {

+            WPP_SF_(WPP_GLOBAL_Control[3],0x28,&WPP_d724bd3d22fa39e038e4bca8df89128c_Traceguids);

+          }

+          uVar11 = 0xc00000bb;

+          puVar10 = auStack_58;

+        }

+        goto LAB_0;

+      }

+      break;

     }

   }

+LAB_2:

   if ((((undefined8 **)WPP_GLOBAL_Control != &WPP_GLOBAL_Control) &&

-      (3 < *(byte *)((longlong)WPP_GLOBAL_Control + 0x29))) &&

+      (2 < *(byte *)((longlong)WPP_GLOBAL_Control + 0x29))) &&

      ((*(uint *)((longlong)WPP_GLOBAL_Control + 0x2c) & 0x200000) != 0)) {

-    uStack0000000000000048 = (uint)*(byte *)(unaff_RBX + 0x34);

-    uStack0000000000000038 = *(undefined4 *)(unaff_RSI + 0x230);

-    uStack0000000000000040 = (uint)*(byte *)(unaff_RBX + 0x35);

-    uStack0000000000000030 = *(undefined4 *)(unaff_RSI + 0x234);

-    uVar1 = WPP_SF_qdqdddd(WPP_GLOBAL_Control[3],(ulonglong)*(byte *)(unaff_RBX + 0x35),in_R8,

-                           *(undefined8 *)(unaff_RBX + 0x18));

+    uVar8 = 0x29;

+LAB_4:

+    WPP_SF_(WPP_GLOBAL_Control[3],uVar8,&WPP_d724bd3d22fa39e038e4bca8df89128c_Traceguids);

   }

-  return uVar1;

+LAB_5:

+  uVar11 = 0xc0000225;

+  puVar10 = auStack_58;

+LAB_0:

+  *(undefined8 *)(puVar10 + -8) = 0x14004cddf;

+  KeReleaseInStackQueuedSpinLock(puVar10 + 0x20);

+  return uVar11;

 }
```

## `NcmDeplumbAndDeleteTlObject`  (modified)

```diff
--- NcmDeplumbAndDeleteTlObject
+++ NcmDeplumbAndDeleteTlObject
@@ -1,19 +1,259 @@
 

-/* WARNING: Control flow encountered bad instruction data */

+/* WARNING: Function: _guard_dispatch_icall replaced with injection: guard_dispatch_icall */

 

 void NcmDeplumbAndDeleteTlObject(longlong param_1,longlong *param_2,undefined8 param_3,char param_4)

 

 {

-  uint *puVar1;

-  char in_AL;

-  undefined7 in_register_00000001;

+  longlong *plVar1;

+  longlong lVar2;

+  undefined8 uVar3;

+  undefined8 uVar4;

+  code *pcVar5;

+  bool bVar6;

+  bool bVar7;

+  uint uVar8;

+  ulonglong uVar9;

+  undefined2 uVar10;

+  undefined1 *puVar11;

+  int *piVar12;

+  undefined8 *puVar13;

+  int iVar14;

+  undefined1 local_res8 [8];

+  undefined8 uStack_90;

+  undefined1 auStack_88 [8];

+  undefined1 auStack_80 [40];

+  undefined4 local_58 [2];

+  longlong local_50;

+  longlong lStack_48;

+  undefined8 local_40;

   

-  puVar1 = (uint *)(CONCAT71(in_register_00000001,in_AL) + -0x7b);

-  *puVar1 = *puVar1 ^ (uint)param_1;

-  *(undefined1 *)(param_1 * 2 + -0x47) = 0;

-  *(char *)CONCAT71(in_register_00000001,in_AL) =

-       *(char *)CONCAT71(in_register_00000001,in_AL) + in_AL;

-                    /* WARNING: Bad instruction - Truncating control flow here */

-  halt_baddata();

+  bVar6 = false;

+  local_res8[0] = 0;

+  local_40 = local_40 & 0xffff000000000000;

+  local_58[0] = 0;

+  bVar7 = false;

+  local_50 = 0;

+  lStack_48 = 0;

+  if ((((undefined8 **)WPP_GLOBAL_Control != &WPP_GLOBAL_Control) &&

+      (3 < *(byte *)((longlong)WPP_GLOBAL_Control + 0x29))) &&

+     ((*(uint *)((longlong)WPP_GLOBAL_Control + 0x2c) & 0x200000) != 0)) {

+    WPP_SF_I(WPP_GLOBAL_Control[3],0xb,&WPP_d724bd3d22fa39e038e4bca8df89128c_Traceguids,

+             *(undefined8 *)(param_1 + 0x18));

+  }

+  if ((Feature_554325304__private_featureState & 0x10) == 0) {

+    uVar9 = Feature_554325304__private_IsEnabledDeviceUsageNoInline();

+    uVar8 = (uint)uVar9;

+  }

+  else {

+    uVar8 = Feature_554325304__private_featureState & 1;

+  }

+  puVar11 = auStack_88;

+  if (uVar8 != 0) {

+    LOCK();

+    plVar1 = (longlong *)(param_1 + 0x28);

+    lVar2 = *plVar1;

+    *plVar1 = *plVar1 + 1;

+    UNLOCK();

+    puVar11 = auStack_88;

+    if (lVar2 + 1 < 2) {

+      pcVar5 = (code *)swi(0x29);

+      (*pcVar5)(0xe);

+      puVar11 = auStack_80;

+    }

+  }

+  if ((*(char *)(param_1 + 0x34) != '\0') || (*(int *)(param_1 + 0x30) != 0)) {

+    *(undefined8 *)(puVar11 + -8) = 0x14004809c;

+    KeReleaseInStackQueuedSpinLock(param_3);

+    if (*(char *)(param_1 + 0x34) != '\0') {

+      uVar3 = *(undefined8 *)(param_1 + 0x48);

+      uVar4 = *(undefined8 *)(param_1 + 0x18);

+      local_40 = 0;

+      local_50 = 0;

+      lStack_48 = 0;

+      pcVar5 = (code *)**(undefined8 **)(param_1 + 0x40);

+      *(undefined8 *)(puVar11 + -8) = 0x140048113;

+      iVar14 = (*pcVar5)(uVar4,uVar3,local_res8,&local_50);

+      *(undefined8 *)(puVar11 + -8) = 0x140048124;

+      RtlAcquireWriteLock(0x140093fd8);

+      if (iVar14 < 0) {

+        bVar6 = bVar7;

+        if ((((undefined8 **)WPP_GLOBAL_Control != &WPP_GLOBAL_Control) &&

+            (2 < *(byte *)((longlong)WPP_GLOBAL_Control + 0x29))) &&

+           ((*(uint *)((longlong)WPP_GLOBAL_Control + 0x2c) & 0x200000) != 0)) {

+          uVar3 = WPP_GLOBAL_Control[3];

+          *(undefined8 *)(puVar11 + -8) = 0x1400483a1;

+          WPP_SF_D(uVar3,0xf,&WPP_d724bd3d22fa39e038e4bca8df89128c_Traceguids,iVar14);

+        }

+      }

+      else if ((undefined8 **)DAT_0 != &DAT_0) {

+        puVar13 = DAT_0;

+        do {

+          if (local_40._4_4_ == *(int *)(puVar13 + 2)) {

+            uVar9 = 0;

+            piVar12 = (int *)(puVar13 + 6);

+            goto LAB_1;

+          }

+          puVar13 = (undefined8 *)*puVar13;

+        } while ((undefined8 **)puVar13 != &DAT_0);

+      }

+      goto LAB_2;

+    }

+    if ((((undefined8 **)WPP_GLOBAL_Control != &WPP_GLOBAL_Control) &&

+        (3 < *(byte *)((longlong)WPP_GLOBAL_Control + 0x29))) &&

+       ((*(uint *)((longlong)WPP_GLOBAL_Control + 0x2c) & 0x200000) != 0)) {

+      uVar3 = *(undefined8 *)(param_1 + 0x18);

+      uVar4 = WPP_GLOBAL_Control[3];

+      *(undefined8 *)(puVar11 + -8) = 0x1400480df;

+      WPP_SF_I(uVar4,0xc,&WPP_d724bd3d22fa39e038e4bca8df89128c_Traceguids,uVar3);

+    }

+    local_58[0] = *(undefined4 *)(param_1 + 0x30);

+    goto LAB_3;

+  }

+  goto LAB_4;

+LAB_1:

+  do {

+    if ((((puVar13[uVar9 * 4 + 3] == local_50) && (puVar13[uVar9 * 4 + 4] == lStack_48)) &&

+        (puVar13[uVar9 * 4 + 5] == local_40)) && (*piVar12 != 0)) {

+      if ((((undefined8 **)WPP_GLOBAL_Control != &WPP_GLOBAL_Control) &&

+          (3 < *(byte *)((longlong)WPP_GLOBAL_Control + 0x29))) &&

+         ((*(uint *)((longlong)WPP_GLOBAL_Control + 0x2c) & 0x200000) != 0)) {

+        uVar3 = *(undefined8 *)(param_1 + 0x18);

+        uVar4 = WPP_GLOBAL_Control[3];

+        *(undefined8 *)(puVar11 + -8) = 0x1400481c7;

+        WPP_SF_I(uVar4,0xd,&WPP_d724bd3d22fa39e038e4bca8df89128c_Traceguids,uVar3);

+      }

+      *piVar12 = *piVar12 + -1;

+      if (*piVar12 == 0) {

+        if ((((undefined8 **)WPP_GLOBAL_Control != &WPP_GLOBAL_Control) &&

+            (3 < *(byte *)((longlong)WPP_GLOBAL_Control + 0x29))) &&

+           ((*(uint *)((longlong)WPP_GLOBAL_Control + 0x2c) & 0x200000) != 0)) {

+          uVar3 = *(undefined8 *)(param_1 + 0x18);

+          uVar4 = WPP_GLOBAL_Control[3];

+          *(undefined8 *)(puVar11 + -8) = 0x14004832c;

+          WPP_SF_I(uVar4,0xe,&WPP_d724bd3d22fa39e038e4bca8df89128c_Traceguids,uVar3);

+        }

+        bVar6 = true;

+        local_58[0] = *(undefined4 *)(uVar9 * 0x20 + 0x14 + (longlong)puVar13);

+        *(undefined4 *)(uVar9 * 0x20 + 0x14 + (longlong)puVar13) = 0;

+        puVar13[uVar9 * 4 + 3] = 0;

+        (puVar13 + uVar9 * 4 + 3)[1] = 0;

+        puVar13[uVar9 * 4 + 5] = 0;

+        break;

+      }

+    }

+    uVar8 = (int)uVar9 + 1;

+    uVar9 = (ulonglong)uVar8;

+    piVar12 = piVar12 + 8;

+  } while (uVar8 < 5);

+LAB_2:

+  *(undefined8 *)(puVar11 + -8) = 0x1400481fa;

+  KeReleaseInStackQueuedSpinLock(param_3);

+  if (bVar6) {

+LAB_3:

+    uVar3 = *(undefined8 *)(param_1 + 0x48);

+    uVar4 = *(undefined8 *)(param_1 + 0x18);

+    pcVar5 = *(code **)(*(longlong *)(param_1 + 0x40) + 0x10);

+    *(undefined8 *)(puVar11 + -8) = 0x140048224;

+    iVar14 = (*pcVar5)(uVar4,local_58,uVar3);

+    if (((iVar14 < 0) && ((undefined8 **)WPP_GLOBAL_Control != &WPP_GLOBAL_Control)) &&

+       ((2 < *(byte *)((longlong)WPP_GLOBAL_Control + 0x29) &&

+        ((*(uint *)((longlong)WPP_GLOBAL_Control + 0x2c) & 0x200000) != 0)))) {

+      uVar3 = WPP_GLOBAL_Control[3];

+      *(undefined8 *)(puVar11 + -8) = 0x140048258;

+      WPP_SF_D(uVar3,0x10,&WPP_d724bd3d22fa39e038e4bca8df89128c_Traceguids,iVar14);

+    }

+  }

+  *(undefined8 *)(puVar11 + -8) = 0x140048267;

+  RtlAcquireWriteLock(0x140093fd8);

+  uVar8 = *(uint *)((longlong)param_2 + 300);

+  *(uint *)((longlong)param_2 + 300) = (uVar8 - 1 ^ uVar8) & 0xf ^ uVar8;

+  *(undefined4 *)(param_1 + 0x30) = 0;

+LAB_4:

+  if (((*(char *)(param_1 + 0x35) == '\0') && (*(char *)(param_1 + 0x34) == '\0')) &&

+     (*(uint *)(param_1 + 0x38) < 2)) {

+    if (((byte)(int)param_2[0x21] & 0x11) == 0x11) {

+      if ((((undefined8 **)WPP_GLOBAL_Control != &WPP_GLOBAL_Control) &&

+          (3 < *(byte *)((longlong)WPP_GLOBAL_Control + 0x29))) &&

+         ((*(uint *)((longlong)WPP_GLOBAL_Control + 0x2c) & 0x200000) != 0)) {

+        uVar3 = *(undefined8 *)(param_1 + 0x18);

+        uVar4 = WPP_GLOBAL_Control[3];

+        *(undefined8 *)(puVar11 + -8) = 0x1400482ed;

+        WPP_SF_I(uVar4,0x11,&WPP_d724bd3d22fa39e038e4bca8df89128c_Traceguids,uVar3);

+      }

+      DAT_5 = DAT_5 + -1;

+    }

+    if (param_2[6] != 0) {

+      lVar2 = *(longlong *)(param_2[6] + 0x20);

+      if (*(int *)(param_1 + 0x38) == 0) {

+        iVar14 = *(int *)(lVar2 + 0x230) + -1;

+        *(int *)(lVar2 + 0x230) = iVar14;

+        if ((((undefined8 **)WPP_GLOBAL_Control == &WPP_GLOBAL_Control) ||

+            (*(byte *)((longlong)WPP_GLOBAL_Control + 0x29) < 4)) ||

+           ((*(uint *)((longlong)WPP_GLOBAL_Control + 0x2c) & 0x200000) == 0)) goto LAB_6;

+        uVar10 = 0x12;

+        *(int *)(puVar11 + 0x20) = iVar14;

+      }

+      else {

+        iVar14 = *(int *)(lVar2 + 0x234) + -1;

+        *(int *)(lVar2 + 0x234) = iVar14;

+        if ((((undefined8 **)WPP_GLOBAL_Control == &WPP_GLOBAL_Control) ||

+            (*(byte *)((longlong)WPP_GLOBAL_Control + 0x29) < 4)) ||

+           ((*(uint *)((longlong)WPP_GLOBAL_Control + 0x2c) & 0x200000) == 0)) goto LAB_6;

+        uVar10 = 0x13;

+        *(int *)(puVar11 + 0x20) = iVar14;

+      }

+      uVar3 = WPP_GLOBAL_Control[3];

+      *(undefined8 *)(puVar11 + -8) = 0x14004843b;

+      WPP_SF_ql(uVar3,uVar10,&WPP_d724bd3d22fa39e038e4bca8df89128c_Traceguids,lVar2);

+    }

+  }

+LAB_6:

+  *(undefined8 *)(puVar11 + -8) = 0x140048445;

+  KeReleaseInStackQueuedSpinLock(param_3);

+  if (param_4 != '\0') {

+    uVar3 = *(undefined8 *)(param_1 + 0x18);

+    pcVar5 = *(code **)(*(longlong *)(param_1 + 0x40) + 0x20);

+    *(undefined8 *)(puVar11 + -8) = 0x140048460;

+    (*pcVar5)(uVar3);

+  }

+  uVar3 = *(undefined8 *)(param_1 + 0x48);

+  uVar4 = *(undefined8 *)(param_1 + 0x18);

+  pcVar5 = *(code **)(*(longlong *)(param_1 + 0x40) + 0x18);

+  *(undefined8 *)(puVar11 + -8) = 0x140048475;

+  (*pcVar5)(uVar4,uVar3);

+  *(undefined8 *)(puVar11 + -8) = 0x140048484;

+  RtlAcquireWriteLock(0x140093fd8);

+  if ((Feature_554325304__private_featureState & 0x10) == 0) {

+    *(undefined8 *)(puVar11 + -8) = 0x140048498;

+    uVar9 = Feature_554325304__private_IsEnabledDeviceUsageNoInline();

+    uVar8 = (uint)uVar9;

+  }

+  else {

+    uVar8 = Feature_554325304__private_featureState & 1;

+  }

+  if (uVar8 != 0) {

+    LOCK();

+    plVar1 = (longlong *)(param_1 + 0x28);

+    lVar2 = *plVar1;

+    *plVar1 = *plVar1 + -1;

+    UNLOCK();

+    if (lVar2 < 2) {

+      if (lVar2 == 1) {

+        uVar3 = *(undefined8 *)(param_1 + 0x48);

+        *(undefined8 *)(puVar11 + -8) = 0x1400484be;

+        ExFreePoolWithTag(uVar3,0);

+        *(undefined8 *)(puVar11 + -8) = 0x1400484cf;

+        ExFreePoolWithTag(param_1,0);

+      }

+      else {

+        pcVar5 = (code *)swi(0x29);

+        (*pcVar5)(0xe);

+        puVar11 = puVar11 + 8;

+      }

+    }

+  }

+  *(undefined8 *)(puVar11 + -8) = 0x1400484e5;

+  NcmDereferenceNcContext(param_2);

+  return;

 }
```

## `NTOSKRNL.EXE::wcsnlen`  (modified)

```diff
--- NTOSKRNL.EXE::wcsnlen calling
+++ NTOSKRNL.EXE::wcsnlen calling
@@ -3,0 +4 @@
+NrtCreateHandler
```

## `NTOSKRNL.EXE::ExFreePoolWithTag`  (modified)

```diff
--- NTOSKRNL.EXE::ExFreePoolWithTag calling
+++ NTOSKRNL.EXE::ExFreePoolWithTag calling
@@ -37,0 +38 @@
+NcmCleanupTlObj
@@ -38,0 +40 @@
+NcmDeplumbAndDeleteTlObject
@@ -48 +49,0 @@
-NetioNcmTlObjectRequest
```

## `NTOSKRNL.EXE::KeAcquireInStackQueuedSpinLock`  (modified)

```diff
--- NTOSKRNL.EXE::KeAcquireInStackQueuedSpinLock calling
+++ NTOSKRNL.EXE::KeAcquireInStackQueuedSpinLock calling
@@ -7 +6,0 @@
-NcmAttachTlObjToNotificationChannelContext
@@ -10 +8,0 @@
-NcmDeplumbAndDeleteTlObject
```
