# clfs-2026-06.sys-clfs-2026-07.sys Diff

# TOC

* [Visual Chart Diff](#visual-chart-diff)
* [Metadata](#metadata)
	* [Ghidra Diff Engine](#ghidra-diff-engine)
		* [Command Line](#command-line)
	* [Binary Metadata Diff](#binary-metadata-diff)
	* [Program Options](#program-options)
	* [Diff Stats](#diff-stats)
	* [Strings](#strings)
* [Deleted](#deleted)
	* [FUN_14007e7d0](#fun_14007e7d0)
* [Added](#added)
	* [FUN_140011880](#fun_140011880)
	* [FUN_14007e920](#fun_14007e920)
* [Modified](#modified)
	* [FUN_140038da4](#fun_140038da4)
	* [FUN_140039668](#fun_140039668)
	* [FUN_1400056a0](#fun_1400056a0)
* [Modified (No Code Changes)](#modified-no-code-changes)

# Visual Chart Diff



```mermaid

flowchart LR

FUN_140038da4-1-old<--Match 64%-->FUN_140038da4-1-new
FUN_140039668-5-old<--Match 61%-->FUN_1400396a0-5-new
FUN_1400056a0-15-old<--Match 8%-->FUN_140005e00-15-new

subgraph clfs-2026-07.sys
    FUN_140038da4-1-new
FUN_1400396a0-5-new
FUN_140005e00-15-new
    subgraph Added
direction LR
FUN_140011880
    FUN_14007e920
end
end

subgraph clfs-2026-06.sys
    FUN_140038da4-1-old
FUN_140039668-5-old
FUN_1400056a0-15-old
    subgraph Deleted
direction LR
FUN_14007e7d0
end
end

```


```mermaid
pie showData
    title Function Matches - 99.9205%
"unmatched_funcs_len" : 3
"matched_funcs_len" : 3769
```



```mermaid
pie showData
    title Matched Function Similarity - 99.6551%
"matched_funcs_with_code_changes_len" : 3
"matched_funcs_with_non_code_changes_len" : 10
"matched_funcs_no_changes_len" : 3756
```

# Metadata

## Ghidra Diff Engine

### Command Line

#### Captured Command Line


```
ghidriff --project-location ghidra_projects --project-name clfs_july --symbols-path symbols --gzfs-path gzfs --no-symbols --log-level INFO --file-log-level INFO --log-path ghidriff.log --min-func-len 10 --gdt [] --bsim --max-ram-percent 80 --max-section-funcs 200 clfs-2026-06.sys clfs-2026-07.sys
```


#### Verbose Args


<details>

```
--old ['/sessions/fervent-laughing-brahmagupta/mnt/patchpalooza/static/data/patch_diffs/binaries/clfs-2026-06.sys'] --new [['/sessions/fervent-laughing-brahmagupta/mnt/patchpalooza/static/data/patch_diffs/binaries/clfs-2026-07.sys']] --engine VersionTrackingDiff --output-path /tmp/ghidriff_clfs_july --summary False --project-location ghidra_projects --project-name clfs_july --symbols-path symbols --gzfs-path gzfs --base-address None --program-options None --threaded False --force-analysis False --force-diff False --no-symbols True --log-level INFO --file-log-level INFO --log-path ghidriff.log --va False --min-func-len 10 --use-calling-counts False --gdt [] --bsim True --bsim-full False --max-ram-percent 80 --print-flags False --jvm-args None --side-by-side False --max-section-funcs 200 --md-title None
```


</details>

#### Download Original PEs


```
wget https://msdl.microsoft.com/download/symbols/Clfs.Sys/B9B52AD98C000/Clfs.Sys -O clfs.sys.x64.10.0.26100.8737
wget https://msdl.microsoft.com/download/symbols/Clfs.Sys/3F1E18F28C000/Clfs.Sys -O clfs.sys.x64.10.0.26100.8875
```


## Binary Metadata Diff


```diff
--- clfs-2026-06.sys Meta
+++ clfs-2026-07.sys Meta
@@ -1,43 +1,43 @@
-Program Name: clfs-2026-06.sys
+Program Name: clfs-2026-07.sys
 Language ID: x86:LE:64:default (4.6)
 Compiler ID: windows
 Processor: x86
 Endian: Little
 Address Size: 64
 Minimum Address: 140000000
 Maximum Address: ff0000184f
-# of Bytes: 577832
+# of Bytes: 577848
 # of Memory Blocks: 14
-# of Instructions: 101181
-# of Defined Data: 3769
-# of Functions: 1884
-# of Symbols: 12888
+# of Instructions: 101203
+# of Defined Data: 3783
+# of Functions: 1888
+# of Symbols: 12894
 # of Data Types: 191
 # of Data Type Categories: 16
 Analyzed: true
 Compiler: visualstudio:unknown
 Created With Ghidra Version: 12.0.4
-Date Created: Tue Jul 21 23:53:38 SGT 2026
+Date Created: Tue Jul 21 23:53:42 SGT 2026
 Executable Format: Portable Executable (PE)
-Executable Location: /sessions/fervent-laughing-brahmagupta/mnt/patchpalooza/static/data/patch_diffs/binaries/clfs-2026-06.sys
-Executable MD5: aedaff651873ac99118b403959b48b60
-Executable SHA256: 13554e31b871097a6f8a9933e667cfe4c367ec5e477d570efcd1d152bbdbb14e
-FSRL: file:///sessions/fervent-laughing-brahmagupta/mnt/patchpalooza/static/data/patch_diffs/binaries/clfs-2026-06.sys?MD5=aedaff651873ac99118b403959b48b60
+Executable Location: /sessions/fervent-laughing-brahmagupta/mnt/patchpalooza/static/data/patch_diffs/binaries/clfs-2026-07.sys
+Executable MD5: 7a14dff782b2bfb80a0f029d5c024cd1
+Executable SHA256: e92c877de1e2fd23266e21faff1ca036168eddd52550d082fabe042c924c1d6a
+FSRL: file:///sessions/fervent-laughing-brahmagupta/mnt/patchpalooza/static/data/patch_diffs/binaries/clfs-2026-07.sys?MD5=7a14dff782b2bfb80a0f029d5c024cd1
 PDB Age: 1
 PDB File: clfs.pdb
-PDB GUID: 8534452a-12a8-d8dc-1008-fcbe61915a2f
+PDB GUID: f9ba35f4-9d9f-657e-b26f-1b29c9f214d1
 PDB Version: RSDS
 PE Property[CompanyName]: Microsoft Corporation
 PE Property[FileDescription]: Common Log File System Driver
-PE Property[FileVersion]: 10.0.26100.8737 (WinBuild.160101.0800)
+PE Property[FileVersion]: 10.0.26100.8875 (WinBuild.160101.0800)
 PE Property[InternalName]: clfs.sys
 PE Property[LegalCopyright]: © Microsoft Corporation. All rights reserved.
 PE Property[OriginalFilename]: Clfs.Sys
 PE Property[ProductName]: Microsoft® Windows® Operating System
-PE Property[ProductVersion]: 10.0.26100.8737
+PE Property[ProductVersion]: 10.0.26100.8875
 PE Property[Translation]: 4b00000
 Preferred Root Namespace Category: 
 RTTI Found: false
 Relocatable: true
 SectionAlignment: 4096
 Should Ask To Analyze: false

```


## Program Options


<details>
<summary>Ghidra clfs-2026-06.sys Decompiler Options</summary>


|Decompiler Option|Value|
| :---: | :---: |
|Prototype Evaluation|__fastcall|

</details>


<details>
<summary>Ghidra clfs-2026-06.sys Specification extensions Options</summary>


|Specification extensions Option|Value|
| :---: | :---: |
|FormatVersion|0|
|VersionCounter|0|

</details>


<details>
<summary>Ghidra clfs-2026-06.sys Analyzers Options</summary>


|Analyzers Option|Value|
| :---: | :---: |
|ASCII Strings|true|
|ASCII Strings.Create Strings Containing Existing Strings|true|
|ASCII Strings.Create Strings Containing References|true|
|ASCII Strings.Force Model Reload|false|
|ASCII Strings.Minimum String Length|LEN_5|
|ASCII Strings.Model File|StringModel.sng|
|ASCII Strings.Require Null Termination for String|true|
|ASCII Strings.Search Only in Accessible Memory Blocks|true|
|ASCII Strings.String Start Alignment|ALIGN_1|
|ASCII Strings.String end alignment|4|
|Aggressive Instruction Finder|false|
|Aggressive Instruction Finder.Create Analysis Bookmarks|true|
|Apply Data Archives|true|
|Apply Data Archives.Archive Chooser|[Auto-Detect]|
|Apply Data Archives.Create Analysis Bookmarks|true|
|Apply Data Archives.GDT User File Archive Path|None|
|Apply Data Archives.User Project Archive Path|None|
|Call Convention ID|true|
|Call Convention ID.Analysis Decompiler Timeout (sec)|60|
|Call-Fixup Installer|true|
|Condense Filler Bytes|false|
|Condense Filler Bytes.Filler Value|Auto|
|Condense Filler Bytes.Minimum number of sequential bytes|1|
|Create Address Tables|true|
|Create Address Tables.Allow Offcut References|false|
|Create Address Tables.Auto Label Table|false|
|Create Address Tables.Create Analysis Bookmarks|true|
|Create Address Tables.Maxmimum Pointer Distance|16777215|
|Create Address Tables.Minimum Pointer Address|4132|
|Create Address Tables.Minimum Table Size|2|
|Create Address Tables.Pointer Alignment|1|
|Create Address Tables.Relocation Table Guide|true|
|Create Address Tables.Table Alignment|4|
|Data Reference|true|
|Data Reference.Address Table Alignment|1|
|Data Reference.Address Table Minimum Size|2|
|Data Reference.Align End of Strings|false|
|Data Reference.Ascii String References|true|
|Data Reference.Create Address Tables|true|
|Data Reference.Minimum String Length|5|
|Data Reference.References to Pointers|true|
|Data Reference.Relocation Table Guide|true|
|Data Reference.Respect Execute Flag|true|
|Data Reference.Subroutine References|true|
|Data Reference.Switch Table References|false|
|Data Reference.Unicode String References|true|
|Decompiler Parameter ID|true|
|Decompiler Parameter ID.Analysis Clear Level|ANALYSIS|
|Decompiler Parameter ID.Analysis Decompiler Timeout (sec)|60|
|Decompiler Parameter ID.Commit Data Types|true|
|Decompiler Parameter ID.Commit Void Return Values|false|
|Decompiler Parameter ID.Prototype Evaluation|__fastcall|
|Decompiler Switch Analysis|true|
|Decompiler Switch Analysis.Analysis Decompiler Timeout (sec)|60|
|Demangler Microsoft|true|
|Demangler Microsoft.Apply Function Calling Conventions|true|
|Demangler Microsoft.Apply Function Signatures|true|
|Demangler Microsoft.C-Style Symbol Interpretation|FUNCTION_IF_EXISTS|
|Demangler Microsoft.Demangle Only Known Mangled Symbols|false|
|Disassemble Entry Points|true|
|Disassemble Entry Points.Respect Execute Flag|true|
|Embedded Media|true|
|Embedded Media.Create Analysis Bookmarks|true|
|External Entry References|true|
|Function ID|true|
|Function ID.Always Apply FID Labels|false|
|Function ID.Create Analysis Bookmarks|true|
|Function ID.Instruction Count Threshold|14.6|
|Function ID.Multiple Match Threshold|30.0|
|Function Start Search|true|
|Function Start Search.Bookmark Functions|false|
|Function Start Search.Search Data Blocks|false|
|Non-Returning Functions - Discovered|true|
|Non-Returning Functions - Discovered.Create Analysis Bookmarks|true|
|Non-Returning Functions - Discovered.Function Non-return Threshold|3|
|Non-Returning Functions - Discovered.Repair Flow Damage|true|
|Non-Returning Functions - Known|true|
|Non-Returning Functions - Known.Create Analysis Bookmarks|true|
|PDB MSDIA|false|
|PDB MSDIA.Search untrusted symbol servers|false|
|PDB Universal|false|
|PDB Universal.Import Source Line Info|true|
|PDB Universal.Search untrusted symbol servers|false|
|Reference|true|
|Reference.Address Table Alignment|1|
|Reference.Address Table Minimum Size|2|
|Reference.Align End of Strings|false|
|Reference.Ascii String References|true|
|Reference.Create Address Tables|true|
|Reference.Minimum String Length|5|
|Reference.References to Pointers|true|
|Reference.Relocation Table Guide|true|
|Reference.Respect Execute Flag|true|
|Reference.Subroutine References|true|
|Reference.Switch Table References|false|
|Reference.Unicode String References|true|
|Scalar Operand References|true|
|Scalar Operand References.Relocation Table Guide|true|
|Shared Return Calls|true|
|Shared Return Calls.Allow Conditional Jumps|false|
|Shared Return Calls.Assume Contiguous Functions Only|true|
|Stack|true|
|Stack.Create Local Variables|true|
|Stack.Create Param Variables|false|
|Stack.Max Threads|2|
|Subroutine References|true|
|Subroutine References.Create Thunks Early|true|
|Variadic Function Signature Override|false|
|Variadic Function Signature Override.Create Analysis Bookmarks|false|
|Windows x86 PE Exception Handling|true|
|Windows x86 PE RTTI Analyzer|true|
|Windows x86 Thread Environment Block (TEB) Analyzer|true|
|Windows x86 Thread Environment Block (TEB) Analyzer.Starting Address of the TEB||
|Windows x86 Thread Environment Block (TEB) Analyzer.Windows OS Version|Windows 7|
|WindowsPE x86 Propagate External Parameters|false|
|WindowsResourceReference|true|
|WindowsResourceReference.Create Analysis Bookmarks|true|
|x86 Constant Reference Analyzer|true|
|x86 Constant Reference Analyzer.Create Data from pointer|false|
|x86 Constant Reference Analyzer.Function parameter/return Pointer analysis|true|
|x86 Constant Reference Analyzer.Max Threads|2|
|x86 Constant Reference Analyzer.Min absolute reference|4|
|x86 Constant Reference Analyzer.Require pointer param data type|false|
|x86 Constant Reference Analyzer.Speculative reference max|256|
|x86 Constant Reference Analyzer.Speculative reference min|1024|
|x86 Constant Reference Analyzer.Stored Value Pointer analysis|true|
|x86 Constant Reference Analyzer.Trust values read from writable memory|true|

</details>


<details>
<summary>Ghidra clfs-2026-07.sys Decompiler Options</summary>


|Decompiler Option|Value|
| :---: | :---: |
|Prototype Evaluation|__fastcall|

</details>


<details>
<summary>Ghidra clfs-2026-07.sys Specification extensions Options</summary>


|Specification extensions Option|Value|
| :---: | :---: |
|FormatVersion|0|
|VersionCounter|0|

</details>


<details>
<summary>Ghidra clfs-2026-07.sys Analyzers Options</summary>


|Analyzers Option|Value|
| :---: | :---: |
|ASCII Strings|true|
|ASCII Strings.Create Strings Containing Existing Strings|true|
|ASCII Strings.Create Strings Containing References|true|
|ASCII Strings.Force Model Reload|false|
|ASCII Strings.Minimum String Length|LEN_5|
|ASCII Strings.Model File|StringModel.sng|
|ASCII Strings.Require Null Termination for String|true|
|ASCII Strings.Search Only in Accessible Memory Blocks|true|
|ASCII Strings.String Start Alignment|ALIGN_1|
|ASCII Strings.String end alignment|4|
|Aggressive Instruction Finder|false|
|Aggressive Instruction Finder.Create Analysis Bookmarks|true|
|Apply Data Archives|true|
|Apply Data Archives.Archive Chooser|[Auto-Detect]|
|Apply Data Archives.Create Analysis Bookmarks|true|
|Apply Data Archives.GDT User File Archive Path|None|
|Apply Data Archives.User Project Archive Path|None|
|Call Convention ID|true|
|Call Convention ID.Analysis Decompiler Timeout (sec)|60|
|Call-Fixup Installer|true|
|Condense Filler Bytes|false|
|Condense Filler Bytes.Filler Value|Auto|
|Condense Filler Bytes.Minimum number of sequential bytes|1|
|Create Address Tables|true|
|Create Address Tables.Allow Offcut References|false|
|Create Address Tables.Auto Label Table|false|
|Create Address Tables.Create Analysis Bookmarks|true|
|Create Address Tables.Maxmimum Pointer Distance|16777215|
|Create Address Tables.Minimum Pointer Address|4132|
|Create Address Tables.Minimum Table Size|2|
|Create Address Tables.Pointer Alignment|1|
|Create Address Tables.Relocation Table Guide|true|
|Create Address Tables.Table Alignment|4|
|Data Reference|true|
|Data Reference.Address Table Alignment|1|
|Data Reference.Address Table Minimum Size|2|
|Data Reference.Align End of Strings|false|
|Data Reference.Ascii String References|true|
|Data Reference.Create Address Tables|true|
|Data Reference.Minimum String Length|5|
|Data Reference.References to Pointers|true|
|Data Reference.Relocation Table Guide|true|
|Data Reference.Respect Execute Flag|true|
|Data Reference.Subroutine References|true|
|Data Reference.Switch Table References|false|
|Data Reference.Unicode String References|true|
|Decompiler Parameter ID|true|
|Decompiler Parameter ID.Analysis Clear Level|ANALYSIS|
|Decompiler Parameter ID.Analysis Decompiler Timeout (sec)|60|
|Decompiler Parameter ID.Commit Data Types|true|
|Decompiler Parameter ID.Commit Void Return Values|false|
|Decompiler Parameter ID.Prototype Evaluation|__fastcall|
|Decompiler Switch Analysis|true|
|Decompiler Switch Analysis.Analysis Decompiler Timeout (sec)|60|
|Demangler Microsoft|true|
|Demangler Microsoft.Apply Function Calling Conventions|true|
|Demangler Microsoft.Apply Function Signatures|true|
|Demangler Microsoft.C-Style Symbol Interpretation|FUNCTION_IF_EXISTS|
|Demangler Microsoft.Demangle Only Known Mangled Symbols|false|
|Disassemble Entry Points|true|
|Disassemble Entry Points.Respect Execute Flag|true|
|Embedded Media|true|
|Embedded Media.Create Analysis Bookmarks|true|
|External Entry References|true|
|Function ID|true|
|Function ID.Always Apply FID Labels|false|
|Function ID.Create Analysis Bookmarks|true|
|Function ID.Instruction Count Threshold|14.6|
|Function ID.Multiple Match Threshold|30.0|
|Function Start Search|true|
|Function Start Search.Bookmark Functions|false|
|Function Start Search.Search Data Blocks|false|
|Non-Returning Functions - Discovered|true|
|Non-Returning Functions - Discovered.Create Analysis Bookmarks|true|
|Non-Returning Functions - Discovered.Function Non-return Threshold|3|
|Non-Returning Functions - Discovered.Repair Flow Damage|true|
|Non-Returning Functions - Known|true|
|Non-Returning Functions - Known.Create Analysis Bookmarks|true|
|PDB MSDIA|false|
|PDB MSDIA.Search untrusted symbol servers|false|
|PDB Universal|false|
|PDB Universal.Import Source Line Info|true|
|PDB Universal.Search untrusted symbol servers|false|
|Reference|true|
|Reference.Address Table Alignment|1|
|Reference.Address Table Minimum Size|2|
|Reference.Align End of Strings|false|
|Reference.Ascii String References|true|
|Reference.Create Address Tables|true|
|Reference.Minimum String Length|5|
|Reference.References to Pointers|true|
|Reference.Relocation Table Guide|true|
|Reference.Respect Execute Flag|true|
|Reference.Subroutine References|true|
|Reference.Switch Table References|false|
|Reference.Unicode String References|true|
|Scalar Operand References|true|
|Scalar Operand References.Relocation Table Guide|true|
|Shared Return Calls|true|
|Shared Return Calls.Allow Conditional Jumps|false|
|Shared Return Calls.Assume Contiguous Functions Only|true|
|Stack|true|
|Stack.Create Local Variables|true|
|Stack.Create Param Variables|false|
|Stack.Max Threads|2|
|Subroutine References|true|
|Subroutine References.Create Thunks Early|true|
|Variadic Function Signature Override|false|
|Variadic Function Signature Override.Create Analysis Bookmarks|false|
|Windows x86 PE Exception Handling|true|
|Windows x86 PE RTTI Analyzer|true|
|Windows x86 Thread Environment Block (TEB) Analyzer|true|
|Windows x86 Thread Environment Block (TEB) Analyzer.Starting Address of the TEB||
|Windows x86 Thread Environment Block (TEB) Analyzer.Windows OS Version|Windows 7|
|WindowsPE x86 Propagate External Parameters|false|
|WindowsResourceReference|true|
|WindowsResourceReference.Create Analysis Bookmarks|true|
|x86 Constant Reference Analyzer|true|
|x86 Constant Reference Analyzer.Create Data from pointer|false|
|x86 Constant Reference Analyzer.Function parameter/return Pointer analysis|true|
|x86 Constant Reference Analyzer.Max Threads|2|
|x86 Constant Reference Analyzer.Min absolute reference|4|
|x86 Constant Reference Analyzer.Require pointer param data type|false|
|x86 Constant Reference Analyzer.Speculative reference max|256|
|x86 Constant Reference Analyzer.Speculative reference min|1024|
|x86 Constant Reference Analyzer.Stored Value Pointer analysis|true|
|x86 Constant Reference Analyzer.Trust values read from writable memory|true|

</details>

## Diff Stats



|Stat|Value|
| :---: | :---: |
|added_funcs_len|2|
|deleted_funcs_len|1|
|modified_funcs_len|13|
|added_symbols_len|0|
|deleted_symbols_len|0|
|diff_time|6.455130100250244|
|deleted_strings_len|0|
|added_strings_len|0|
|match_types|Counter({'StructuralGraphHash': 1194, 'ExactInstructionsFunctionHasher': 1003, 'SymbolsHash': 336, 'ExternalsName': 247, 'ExactBytesFunctionHasher': 200, 'SigCallingCalledHasher': 22, 'BSIM': 16, 'StringsRefsHasher': 13, 'BulkInstructionHash': 9, 'Implied Match': 1})|
|items_to_process|16|
|diff_types|Counter({'calling': 13, 'refcount': 10, 'address': 10, 'name': 8, 'fullname': 8, 'sig': 8, 'called': 8, 'code': 3, 'length': 3})|
|unmatched_funcs_len|3|
|total_funcs_len|3772|
|matched_funcs_len|3769|
|matched_funcs_with_code_changes_len|3|
|matched_funcs_with_non_code_changes_len|10|
|matched_funcs_no_changes_len|3756|
|match_func_similarity_percent|99.6551%|
|func_match_overall_percent|99.9205%|
|first_matches|Counter({'StructuralGraphHash': 1194, 'ExactInstructionsFunctionHasher': 1003, 'SymbolsHash': 336, 'ExactBytesFunctionHasher': 200, 'SigCallingCalledHasher': 22, 'BSIM': 16, 'StringsRefsHasher': 13, 'BulkInstructionHash': 9, 'Implied Match': 1})|



```mermaid
pie showData
    title All Matches
"SymbolsHash" : 336
"ExternalsName" : 247
"ExactBytesFunctionHasher" : 200
"ExactInstructionsFunctionHasher" : 1003
"BSIM" : 16
"BulkInstructionHash" : 9
"SigCallingCalledHasher" : 22
"StringsRefsHasher" : 13
"StructuralGraphHash" : 1194
"Implied-Match" : 1
```



```mermaid
pie showData
    title First Matches
"SymbolsHash" : 336
"ExactBytesFunctionHasher" : 200
"ExactInstructionsFunctionHasher" : 1003
"BSIM" : 16
"BulkInstructionHash" : 9
"SigCallingCalledHasher" : 22
"StringsRefsHasher" : 13
"StructuralGraphHash" : 1194
"Implied-Match" : 1
```



```mermaid
pie showData
    title Diff Stats
"added_funcs_len" : 2
"deleted_funcs_len" : 1
"modified_funcs_len" : 13
```



```mermaid
pie showData
    title Symbols
"added_symbols_len" : 0
"deleted_symbols_len" : 0
```

## Strings


*No string differences found*

# Deleted

## FUN_14007e7d0

### Function Meta



|Key|clfs-2026-06.sys|
| :---: | :---: |
|name|FUN_14007e7d0|
|fullname|FUN_14007e7d0|
|refcount|1|
|length|78|
|called|FUN_140004100<br>FUN_1400094e0|
|calling||
|paramcount|4|
|address|14007e7d0|
|sig|undefined __fastcall FUN_14007e7d0(undefined8 param_1, longlong param_2, undefined8 param_3, undefined4 param_4)|
|sym_type|Function|
|sym_source|DEFAULT|
|external|False|


```diff
--- FUN_14007e7d0
+++ FUN_14007e7d0
@@ -1,19 +0,0 @@
-
-void FUN_14007e7d0(undefined8 param_1,longlong param_2,undefined8 param_3,undefined4 param_4)
-
-{
-  byte *pbVar1;
-  
-  if (*(char *)(param_2 + 0x30) != '\0') {
-    pbVar1 = *(byte **)(param_2 + 0x48);
-    FUN_140004100(pbVar1,(uint)*(ushort *)(pbVar1 + 4),pbVar1[2],
-                  CONCAT31((int3)((uint)param_4 >> 8),0x10),(int *)(param_2 + 0x38));
-    *(undefined8 *)(param_2 + 0x48) = 0;
-    *(undefined1 *)(param_2 + 0x30) = 0;
-  }
-  if (*(char *)(param_2 + 0x31) != '\0') {
-    FUN_1400094e0(*(longlong *)(param_2 + 0xb0));
-  }
-  return;
-}
-

```


# Added

## FUN_140011880

### Function Meta



|Key|clfs-2026-07.sys|
| :---: | :---: |
|name|FUN_140011880|
|fullname|FUN_140011880|
|refcount|5|
|length|49|
|called|FUN_1400118b8|
|calling|FUN_140038da4<br>FUN_1400396a0<br>FUN_14007e920|
|paramcount|0|
|address|140011880|
|sig|ulonglong __fastcall FUN_140011880(void)|
|sym_type|Function|
|sym_source|DEFAULT|
|external|False|


```diff
--- FUN_140011880
+++ FUN_140011880
@@ -0,0 +1,17 @@
+
+ulonglong FUN_140011880(void)
+
+{
+  ulonglong uVar1;
+  undefined8 local_res8;
+  
+  local_res8 = (ulonglong)DAT_14002a8b8;
+  if ((DAT_14002a8b8 & 0x10) == 0) {
+    uVar1 = FUN_1400118b8(local_res8,3);
+  }
+  else {
+    uVar1 = (ulonglong)(DAT_14002a8b8 & 1);
+  }
+  return uVar1;
+}
+

```


## FUN_14007e920

### Function Meta



|Key|clfs-2026-07.sys|
| :---: | :---: |
|name|FUN_14007e920|
|fullname|FUN_14007e920|
|refcount|1|
|length|196|
|called|FUN_140004100<br>FUN_140009150<br>FUN_140011880<br>FUN_140064760<br>FUN_140064860|
|calling||
|paramcount|4|
|address|14007e920|
|sig|undefined __fastcall FUN_14007e920(undefined8 param_1, longlong param_2, undefined8 param_3, undefined8 param_4)|
|sym_type|Function|
|sym_source|DEFAULT|
|external|False|


```diff
--- FUN_14007e920
+++ FUN_14007e920
@@ -0,0 +1,49 @@
+
+void FUN_14007e920(undefined8 param_1,longlong param_2,undefined8 param_3,undefined8 param_4)
+
+{
+  byte *pbVar1;
+  int iVar2;
+  ulonglong uVar3;
+  uint uVar4;
+  longlong *plVar5;
+  undefined4 uVar6;
+  
+  uVar6 = (undefined4)((ulonglong)param_4 >> 0x20);
+  if (*(char *)(param_2 + 0x30) != '\0') {
+    pbVar1 = *(byte **)(param_2 + 0x48);
+    uVar4 = CONCAT31((int3)((ulonglong)param_4 >> 8),0x10);
+    FUN_140004100(pbVar1,(uint)*(ushort *)(pbVar1 + 4),pbVar1[2],uVar4,(int *)(param_2 + 0x58));
+    param_4 = CONCAT44(uVar6,uVar4);
+    *(undefined8 *)(param_2 + 0x48) = 0;
+    *(undefined1 *)(param_2 + 0x30) = 0;
+  }
+  uVar3 = FUN_140011880();
+  if ((int)uVar3 != 0) {
+    uVar4 = 0;
+    *(undefined4 *)(param_2 + 0x44) = 0;
+    plVar5 = (longlong *)(*(longlong *)(param_2 + 0xc0) + 0xa0);
+    do {
+      if (*plVar5 != 0) {
+        iVar2 = FUN_140064760(*(longlong *)(param_2 + 0xc0),uVar4,(undefined8 *)(param_2 + 0x38),
+                              param_4);
+        if (iVar2 < 0) {
+          *plVar5 = 0;
+        }
+        else {
+          *(longlong *)(*(longlong *)(param_2 + 0x38) + 0x18) = *plVar5;
+          *plVar5 = 0;
+          FUN_140064860(*(longlong *)(param_2 + 0xc0),(longlong *)(param_2 + 0x38));
+        }
+      }
+      uVar4 = uVar4 + 1;
+      plVar5 = plVar5 + 1;
+    } while (uVar4 < 0x400);
+    *(uint *)(param_2 + 0x44) = uVar4;
+  }
+  if (*(char *)(param_2 + 0x32) != '\0') {
+    FUN_140009150(*(longlong *)(param_2 + 0xc0));
+  }
+  return;
+}
+

```


# Modified


*Modified functions contain code changes*
## FUN_140038da4

### Match Info



|Key|clfs-2026-06.sys - clfs-2026-07.sys|
| :---: | :---: |
|diff_type|code,length,calling,called|
|ratio|0.78|
|i_ratio|0.18|
|m_ratio|0.68|
|b_ratio|0.64|
|match_types|BSIM|

### Function Meta Diff



|Key|clfs-2026-06.sys|clfs-2026-07.sys|
| :---: | :---: | :---: |
|name|FUN_140038da4|FUN_140038da4|
|fullname|FUN_140038da4|FUN_140038da4|
|refcount|2|2|
|`length`|65|118|
|`called`||FUN_140011880<br>FUN_140018c00|
|`calling`|FUN_14003a1dc|FUN_14003a334|
|paramcount|1|1|
|address|140038da4|140038da4|
|sig|undefined8 * __fastcall FUN_140038da4(undefined8 * param_1)|undefined8 * __fastcall FUN_140038da4(undefined8 * param_1)|
|sym_type|Function|Function|
|sym_source|DEFAULT|DEFAULT|
|external|False|False|

### FUN_140038da4 Called Diff


```diff
--- FUN_140038da4 called
+++ FUN_140038da4 called
@@ -0,0 +1,2 @@
+FUN_140011880
+FUN_140018c00
```


### FUN_140038da4 Calling Diff


```diff
--- FUN_140038da4 calling
+++ FUN_140038da4 calling
@@ -1 +1 @@
-FUN_14003a1dc
+FUN_14003a334
```


### FUN_140038da4 Diff


```diff
--- FUN_140038da4
+++ FUN_140038da4
@@ -1,18 +1,24 @@
 
 undefined8 * FUN_140038da4(undefined8 *param_1)
 
 {
+  ulonglong uVar1;
+  
   *(undefined4 *)(param_1 + 0x12) = 0x200;
   *(undefined4 *)(param_1 + 1) = 0;
-  *param_1 = &PTR_FUN_14001c878;
   param_1[2] = 0;
   *(undefined4 *)(param_1 + 3) = 0;
   param_1[4] = 0;
   *(undefined2 *)(param_1 + 5) = 0;
   param_1[6] = 0;
   param_1[7] = 0;
   *(undefined1 *)((longlong)param_1 + 0x94) = 0;
+  *param_1 = &PTR_FUN_14001c878;
   param_1[0x13] = 0;
+  uVar1 = FUN_140011880();
+  if ((int)uVar1 != 0) {
+    FUN_140018c00(param_1 + 0x14,0,(undefined1 *)0x2000);
+  }
   return param_1;
 }
 

```


## FUN_140039668

### Match Info



|Key|clfs-2026-06.sys - clfs-2026-07.sys|
| :---: | :---: |
|diff_type|code,name,fullname,length,sig,address,calling,called|
|ratio|0.24|
|i_ratio|0.28|
|m_ratio|0.83|
|b_ratio|0.61|
|match_types|StringsRefsHasher|

### Function Meta Diff



|Key|clfs-2026-06.sys|clfs-2026-07.sys|
| :---: | :---: | :---: |
|`name`|FUN_140039668|FUN_1400396a0|
|`fullname`|FUN_140039668|FUN_1400396a0|
|refcount|2|2|
|`length`|610|904|
|`called`|FUN_140004100<br>FUN_140004320<br>FUN_1400094e0<br>FUN_140011b64<br>FUN_140018b00<br>NTOSKRNL.EXE::ExAcquireResourceExclusiveLite|FUN_140004100<br>FUN_140004320<br>FUN_140009150<br>FUN_140011880<br>FUN_140011928<br>FUN_140018900<br>FUN_140064760<br>FUN_140064860<br>NTOSKRNL.EXE::ExAcquireResourceExclusiveLite|
|`calling`|FUN_14004a0e8|FUN_14004a238|
|paramcount|5|5|
|`address`|140039668|1400396a0|
|`sig`|int __fastcall FUN_140039668(longlong param_1, uint param_2, uint param_3, char * param_4, uint * param_5)|ulonglong __fastcall FUN_1400396a0(longlong param_1, uint param_2, uint param_3, char * param_4, uint * param_5)|
|sym_type|Function|Function|
|sym_source|DEFAULT|DEFAULT|
|external|False|False|

### FUN_140039668 Called Diff


```diff
--- FUN_140039668 called
+++ FUN_1400396a0 called
@@ -3,3 +3,6 @@
-FUN_1400094e0
-FUN_140011b64
-FUN_140018b00
+FUN_140009150
+FUN_140011880
+FUN_140011928
+FUN_140018900
+FUN_140064760
+FUN_140064860
```


### FUN_140039668 Calling Diff


```diff
--- FUN_140039668 calling
+++ FUN_1400396a0 calling
@@ -1 +1 @@
-FUN_14004a0e8
+FUN_14004a238
```


### FUN_140039668 Diff


```diff
--- FUN_140039668
+++ FUN_1400396a0
@@ -1,113 +1,163 @@
 
-int FUN_140039668(longlong param_1,uint param_2,uint param_3,char *param_4,uint *param_5)
+ulonglong FUN_1400396a0(longlong param_1,uint param_2,uint param_3,char *param_4,uint *param_5)
 
 {
   uint uVar1;
-  bool bVar2;
-  char cVar3;
-  undefined8 uVar4;
-  uint uVar5;
+  char cVar2;
+  int iVar3;
+  ulonglong uVar4;
+  ulonglong uVar5;
   undefined4 in_register_00000014;
-  int iVar6;
-  byte *pbVar7;
-  uint uVar8;
-  ulonglong uVar9;
-  char *pcVar10;
-  int local_70;
-  uint local_6c;
+  ulonglong uVar6;
+  ulonglong uVar7;
+  char *pcVar8;
+  uint uVar9;
+  char cVar10;
+  longlong *plVar11;
+  uint uVar12;
+  byte *pbVar13;
+  uint local_res10;
+  char local_87;
+  longlong local_80;
+  uint local_78;
+  uint local_74;
+  byte *local_70;
   uint local_68;
-  byte *local_60;
+  longlong local_60;
   uint local_58;
-  longlong local_50;
-  ushort *local_48;
+  ushort *local_50;
+  byte *local_48;
   byte *local_40;
   
-  local_60 = (byte *)0x0;
-  uVar9 = 0;
-  local_68 = 0;
-  iVar6 = 0;
+  uVar6 = 0;
+  local_70 = (byte *)0x0;
+  local_40 = (byte *)0x0;
+  local_78 = 0;
+  local_87 = '\0';
+  local_80 = 0;
   if ((param_3 == 0) || (param_4 == (char *)0x0)) {
-    iVar6 = -0x3ffffff3;
+    uVar7 = 0xc000000d;
   }
   else {
     *param_5 = 0;
-    pcVar10 = param_4;
-    cVar3 = ExAcquireResourceExclusiveLite
+    pcVar8 = param_4;
+    cVar2 = ExAcquireResourceExclusiveLite
                       (*(undefined8 *)(param_1 + 0x20),
                        CONCAT71((int7)(CONCAT44(in_register_00000014,param_2) >> 8),1));
-    while( true ) {
-      bVar2 = false;
-      pbVar7 = (byte *)0x0;
-      if (((uint)*(ushort *)(param_1 + 0x28) <= (uint)uVar9) || (param_3 <= *param_5)) break;
-      local_50 = uVar9 * 3;
-      pbVar7 = *(byte **)(*(longlong *)(param_1 + 0x30) + uVar9 * 0x18);
-      local_40 = pbVar7 + 2;
-      local_48 = (ushort *)(pbVar7 + 4);
-      pcVar10 = (char *)CONCAT71((int7)((ulonglong)pcVar10 >> 8),0x10);
-      local_60 = pbVar7;
-      uVar4 = FUN_140004320((longlong)pbVar7,(uint)*local_48 << 9,*local_40,(uint)pcVar10,'\x01');
-      local_70 = (int)uVar4;
-      if (local_70 < 0) {
-        iVar6 = local_70;
+    uVar4 = FUN_140011880();
+    uVar5 = uVar6;
+    uVar7 = uVar6;
+    local_res10 = param_2;
+    if ((int)uVar4 != 0) {
+      local_74 = 0;
+      while (uVar12 = (uint)uVar7, uVar12 < 0x400) {
+        iVar3 = FUN_140064760(param_1,uVar12,&local_80,pcVar8);
+        if (iVar3 < 0) {
+          *(undefined8 *)(param_1 + 0xa0 + uVar7 * 8) = 0;
+        }
+        else {
+          *(undefined8 *)(param_1 + 0xa0 + uVar7 * 8) = *(undefined8 *)(local_80 + 0x18);
+          *(undefined8 *)(local_80 + 0x18) = 0;
+          FUN_140064860(param_1,&local_80);
+        }
+        local_74 = uVar12 + 1;
+        uVar7 = (ulonglong)local_74;
+      }
+      uVar7 = (ulonglong)local_78;
+      uVar5 = 0;
+    }
+    while (((uint)uVar7 < (uint)*(ushort *)(param_1 + 0x28) && (*param_5 < param_3))) {
+      local_60 = uVar7 * 3;
+      pbVar13 = *(byte **)(*(longlong *)(param_1 + 0x30) + uVar7 * 0x18);
+      local_48 = pbVar13 + 2;
+      local_50 = (ushort *)(pbVar13 + 4);
+      pcVar8 = (char *)CONCAT71((int7)((ulonglong)pcVar8 >> 8),0x10);
+      local_70 = pbVar13;
+      uVar4 = FUN_140004320((longlong)pbVar13,(uint)*local_50 << 9,*local_48,(uint)pcVar8,'\x01');
+      uVar7 = uVar4 & 0xffffffff;
+      if ((int)uVar4 < 0) {
+        cVar10 = local_87;
         if (((undefined **)PTR_LOOP_140027020 != &PTR_LOOP_140027020) &&
-           ((*(uint *)(PTR_LOOP_140027020 + 0x2c) >> 0x1b & 1) != 0)) {
-          pcVar10 = "CClfsBaseFileSnapshot::CopyImage";
-          FUN_140011b64(*(undefined8 *)(PTR_LOOP_140027020 + 0x18),0x29,&DAT_0,
+           ((*(uint *)(PTR_LOOP_140027020 + 0x2c) & 0x8000000) != 0)) {
+          pcVar8 = "CClfsBaseFileSnapshot::CopyImage";
+          FUN_140011928(*(undefined8 *)(PTR_LOOP_140027020 + 0x18),0x29,&DAT_0,
                         "CClfsBaseFileSnapshot::CopyImage");
-          iVar6 = local_70;
         }
         goto LAB_1;
       }
-      bVar2 = true;
-      pcVar10 = *(char **)(param_1 + 0x30);
-      uVar5 = *(uint *)(pcVar10 + local_50 * 8 + 0xc);
-      uVar1 = *(uint *)(pcVar10 + local_50 * 8 + 8);
-      if ((param_2 < uVar1 + uVar5) && (uVar5 <= param_2)) {
-        local_58 = param_2 - uVar5;
-        uVar8 = param_3 - *param_5;
-        uVar5 = local_58 + uVar8;
-        if (uVar5 < local_58) {
-          uVar5 = 0xffffffff;
-          iVar6 = -0x3fffff6b;
+      pcVar8 = *(char **)(param_1 + 0x30);
+      uVar12 = *(uint *)(pcVar8 + local_60 * 8 + 0xc);
+      uVar1 = *(uint *)(pcVar8 + local_60 * 8 + 8);
+      if ((param_2 < uVar1 + uVar12) && (uVar12 <= param_2)) {
+        local_58 = param_2 - uVar12;
+        uVar9 = param_3 - *param_5;
+        uVar12 = local_58 + uVar9;
+        uVar5 = uVar6;
+        if (uVar12 < local_58) {
+          uVar12 = 0xffffffff;
+          uVar5 = 0xc0000095;
         }
-        else {
-          iVar6 = 0;
-        }
-        if (iVar6 < 0) {
-          iVar6 = -0x3ffffff3;
-          local_6c = uVar8;
+        cVar10 = '\x01';
+        if ((int)uVar5 < 0) {
+          uVar7 = 0xc000000d;
+          local_68 = uVar9;
           goto LAB_1;
         }
-        if (uVar1 < uVar5) {
-          uVar8 = uVar1 - local_58;
+        if (uVar1 < uVar12) {
+          uVar9 = uVar1 - local_58;
         }
-        local_6c = uVar8;
-        FUN_140018b00((undefined8 *)(param_4 + *param_5),
-                      (undefined8 *)((ulonglong)local_58 + *(longlong *)(pcVar10 + local_50 * 8)),
-                      (ulonglong)uVar8);
-        if (iVar6 < 0) goto LAB_1;
-        *param_5 = *param_5 + uVar8;
-        param_2 = param_2 + uVar8;
-        uVar9 = (ulonglong)local_68;
+        local_68 = uVar9;
+        FUN_140018900((undefined8 *)(param_4 + *param_5),
+                      (undefined8 *)((ulonglong)local_58 + *(longlong *)(pcVar8 + local_60 * 8)),
+                      (ulonglong)uVar9);
+        uVar7 = uVar5;
+        if ((int)uVar5 < 0) goto LAB_1;
+        *param_5 = *param_5 + uVar9;
+        param_2 = local_res10 + uVar9;
+        local_res10 = param_2;
       }
-      pcVar10 = (char *)CONCAT71((int7)((ulonglong)pcVar10 >> 8),0x10);
-      FUN_140004100(pbVar7,(uint)*local_48,*local_40,(uint)pcVar10,&local_70);
-      local_60 = (byte *)0x0;
-      local_68 = (int)uVar9 + 1;
-      uVar9 = (ulonglong)local_68;
+      pcVar8 = (char *)CONCAT71((int7)((ulonglong)pcVar8 >> 8),0x10);
+      FUN_140004100(pbVar13,(uint)*local_50,*local_48,(uint)pcVar8,(int *)&local_60);
+      local_78 = local_78 + 1;
+      uVar7 = (ulonglong)local_78;
     }
+    local_70 = local_40;
+    uVar7 = uVar5;
+    pbVar13 = local_40;
+    cVar10 = (char)local_40;
     if (*param_5 == 0) {
-      iVar6 = -0x7fffffe6;
+      uVar7 = 0x8000001a;
     }
 LAB_1:
-    if (bVar2) {
-      FUN_140004100(pbVar7,(uint)*(ushort *)(pbVar7 + 4),pbVar7[2],
-                    (uint)CONCAT71((int7)((ulonglong)pcVar10 >> 8),0x10),&local_70);
+    if (cVar10 != '\0') {
+      pcVar8 = (char *)CONCAT71((int7)((ulonglong)pcVar8 >> 8),0x10);
+      FUN_140004100(pbVar13,(uint)*(ushort *)(pbVar13 + 4),pbVar13[2],(uint)pcVar8,(int *)&local_60)
+      ;
     }
-    if (cVar3 != '\0') {
-      FUN_1400094e0(param_1);
+    uVar5 = FUN_140011880();
+    if ((int)uVar5 != 0) {
+      plVar11 = (longlong *)(param_1 + 0xa0);
+      do {
+        if (*plVar11 != 0) {
+          iVar3 = FUN_140064760(param_1,(uint)uVar6,&local_80,pcVar8);
+          if (iVar3 < 0) {
+            *plVar11 = 0;
+          }
+          else {
+            *(longlong *)(local_80 + 0x18) = *plVar11;
+            *plVar11 = 0;
+            FUN_140064860(param_1,&local_80);
+          }
+        }
+        uVar12 = (uint)uVar6 + 1;
+        uVar6 = (ulonglong)uVar12;
+        plVar11 = plVar11 + 1;
+      } while (uVar12 < 0x400);
+    }
+    if (cVar2 != '\0') {
+      FUN_140009150(param_1);
     }
   }
-  return iVar6;
+  return uVar7;
 }
 

```


## FUN_1400056a0

### Match Info



|Key|clfs-2026-06.sys - clfs-2026-07.sys|
| :---: | :---: |
|diff_type|code,name,fullname,length,sig,address,calling,called|
|ratio|0.08|
|i_ratio|0.06|
|m_ratio|0.9|
|b_ratio|0.08|
|match_types|Implied Match|

### Function Meta Diff



|Key|clfs-2026-06.sys|clfs-2026-07.sys|
| :---: | :---: | :---: |
|`name`|FUN_1400056a0|FUN_140005e00|
|`fullname`|FUN_1400056a0|FUN_140005e00|
|refcount|6|6|
|`length`|3109|2467|
|`called`|<details><summary>Expand for full list:<br>ClfsLsnCreate<br>FUN_140004500<br>FUN_1400062cc<br>FUN_14000bf24<br>FUN_14000dd94<br>FUN_14000dff0<br>FUN_14000e3dc<br>FUN_140010178<br>FUN_14001073c<br>FUN_140068860<br>FUN_1400714b4</summary>NTOSKRNL.EXE::ExAcquireResourceExclusiveLite<br>NTOSKRNL.EXE::ExAllocateFromNPagedLookasideList<br>NTOSKRNL.EXE::ExInterlockedInsertTailList<br>NTOSKRNL.EXE::ExReleaseResourceForThreadLite<br>NTOSKRNL.EXE::KeBugCheckEx<br>NTOSKRNL.EXE::ObfReferenceObject<br>_guard_dispatch_icall</details>|<details><summary>Expand for full list:<br>ClfsLsnBlockOffset<br>ClfsLsnContainer<br>ClfsLsnCreate<br>FUN_1400044a0<br>FUN_140004500<br>FUN_14000bb38<br>FUN_14000bc94<br>FUN_14000db04<br>FUN_14000dd60<br>FUN_14000e14c<br>FUN_14000fee8</summary>FUN_1400104ac<br>FUN_140016cf0<br>FUN_140068e60<br>FUN_140071604<br>NTOSKRNL.EXE::ExAcquireResourceExclusiveLite<br>NTOSKRNL.EXE::ExAllocateFromNPagedLookasideList<br>NTOSKRNL.EXE::ExInterlockedInsertTailList<br>NTOSKRNL.EXE::ExReleaseResourceForThreadLite<br>NTOSKRNL.EXE::KeBugCheckEx<br>NTOSKRNL.EXE::ObfReferenceObject<br>_guard_dispatch_icall</details>|
|`calling`|FUN_140004530<br>FUN_140005280|FUN_140004c90<br>FUN_1400059e0|
|paramcount|15|15|
|`address`|1400056a0|140005e00|
|`sig`|int __fastcall FUN_1400056a0(longlong * param_1, undefined8 param_2, byte param_3, longlong param_4, uint param_5, int param_6, byte param_7, uint * param_8, uint * param_9, uint * param_10, longlong * param_11, int * param_12, longlong * param_13, longlong * param_14, longlong * param_15)|ulonglong __fastcall FUN_140005e00(longlong * param_1, undefined8 param_2, longlong * param_3, longlong param_4, uint param_5, int param_6, byte param_7, uint * param_8, uint * param_9, uint * param_10, longlong * param_11, undefined4 * param_12, longlong * param_13, longlong * param_14, longlong * param_15)|
|sym_type|Function|Function|
|sym_source|DEFAULT|DEFAULT|
|external|False|False|

### FUN_1400056a0 Called Diff


```diff
--- FUN_1400056a0 called
+++ FUN_140005e00 called
@@ -0,0 +1,2 @@
+ClfsLsnBlockOffset
+ClfsLsnContainer
@@ -1,0 +4 @@
+FUN_1400044a0
@@ -3,9 +6,10 @@
-FUN_1400062cc
-FUN_14000bf24
-FUN_14000dd94
-FUN_14000dff0
-FUN_14000e3dc
-FUN_140010178
-FUN_14001073c
-FUN_140068860
-FUN_1400714b4
+FUN_14000bb38
+FUN_14000bc94
+FUN_14000db04
+FUN_14000dd60
+FUN_14000e14c
+FUN_14000fee8
+FUN_1400104ac
+FUN_140016cf0
+FUN_140068e60
+FUN_140071604
```


### FUN_1400056a0 Calling Diff


```diff
--- FUN_1400056a0 calling
+++ FUN_140005e00 calling
@@ -1,2 +1,2 @@
-FUN_140004530
-FUN_140005280
+FUN_140004c90
+FUN_1400059e0
```


### FUN_1400056a0 Diff


```diff
--- FUN_1400056a0
+++ FUN_140005e00
@@ -1,378 +1,297 @@
 
 /* WARNING: Function: _guard_dispatch_icall replaced with injection: guard_dispatch_icall */
 
-int FUN_1400056a0(longlong *param_1,undefined8 *param_2,byte param_3,longlong param_4,uint param_5,
-                 int param_6,byte param_7,uint *param_8,uint *param_9,uint *param_10,
-                 longlong *param_11,int *param_12,longlong *param_13,longlong *param_14,
-                 longlong *param_15)
+ulonglong FUN_140005e00(longlong *param_1,undefined8 param_2,longlong *param_3,longlong param_4,
+                       uint param_5,int param_6,byte param_7,uint *param_8,uint *param_9,
+                       uint *param_10,longlong *param_11,undefined4 *param_12,longlong *param_13,
+                       longlong *param_14,longlong *param_15)
 
 {
-  uint *puVar1;
-  undefined1 auVar2 [16];
-  undefined1 auVar3 [16];
-  undefined1 auVar4 [16];
-  char cVar5;
-  uint uVar6;
+  ulonglong *puVar1;
+  bool bVar2;
+  char cVar3;
+  int iVar4;
+  uint uVar5;
+  undefined4 uVar6;
   uint uVar7;
-  int iVar8;
-  undefined8 *puVar9;
-  undefined8 *puVar10;
-  undefined8 uVar11;
-  ulonglong uVar12;
-  undefined4 uVar13;
+  ulonglong uVar8;
+  ulonglong uVar9;
+  ulonglong uVar10;
+  longlong lVar11;
+  undefined8 uVar12;
+  ulonglong *puVar13;
   ulonglong uVar14;
-  ulonglong uVar15;
-  ulonglong uVar16;
-  longlong *plVar17;
-  code *pcVar18;
-  uint uVar19;
+  byte bVar15;
+  longlong lVar16;
+  ulonglong *puVar17;
+  longlong lVar18;
+  code *pcVar19;
   undefined8 *puVar20;
-  longlong lVar21;
-  char local_f8;
-  int iVar22;
-  uint local_e0;
-  ulonglong local_d8;
-  int local_c4;
+  char local_b8;
   uint local_b4;
-  longlong local_b0;
-  undefined8 *local_a8;
-  ulonglong local_a0;
-  ulonglong local_98;
+  ulonglong local_a8;
+  int local_9c;
   ulonglong local_90;
-  ulonglong local_88;
-  undefined8 *local_80;
   longlong local_78;
   longlong local_70;
   longlong local_68;
-  undefined8 *local_60;
-  undefined8 *local_58;
+  longlong local_60;
+  ulonglong local_58;
   ulonglong local_50;
   ulonglong local_48;
+  undefined8 local_40;
   
+  bVar15 = (byte)param_3;
+  uVar9 = (ulonglong)param_3 & 0xff;
+  local_90 = 0;
+  local_a8 = 0;
+  local_a8._0_4_ = 0;
   puVar20 = (undefined8 *)0x0;
-  local_b0 = 0;
-  uVar19 = 0;
-  local_d8 = 0;
-  iVar22 = 0;
-  local_f8 = '\0';
-  uVar6 = *(uint *)(param_1[0x59] + 0x90);
-  uVar12 = (ulonglong)uVar6;
-  if (0xfff < uVar6 - 1) {
-    return 0;
-  }
-  if ((uVar6 & 0x1ff) != 0) {
-    return 0;
-  }
-  if ((int)(0x1000 % (ulonglong)uVar6) != 0) {
-    return 0;
+  local_b4 = 0;
+  local_b8 = '\0';
+  uVar7 = *(uint *)(param_1[0x59] + 0x90);
+  uVar14 = (ulonglong)uVar7;
+  if (((0xfff < uVar7 - 1) || ((uVar7 & 0x1ff) != 0)) || ((int)(0x1000 % (ulonglong)uVar7) != 0)) {
+    return 0xc0000098;
   }
   *param_14 = -0x100000000;
   *param_13 = 0;
-  cVar5 = (**(code **)(*param_1 + 0x138))(param_1);
-  if ((((cVar5 != '\0') && (param_3 == 0)) && ((param_7 & 4) == 0)) && ((param_7 & 8) == 0)) {
-    return 0;
-  }
-  cVar5 = (**(code **)(*param_1 + 0x138))(param_1);
-  uVar6 = uVar19;
-  if (cVar5 == '\0') {
-    if ((param_3 == 0) && ((param_7 & 4) == 0)) {
-      uVar6 = 1;
-    }
-  }
-  else if (((param_7 & 4) != 0) || ((param_7 & 8) != 0)) {
-    uVar6 = 1;
-  }
-  if (uVar6 == 0) {
-                    /* WARNING: Subroutine does not return */
-    KeBugCheckEx(0xc1f5,0x32,param_7,param_3,param_1);
-  }
-  if ((*param_8 & 0x1ff) != 0) {
-    return 0;
-  }
-  if ((*param_10 & 0x1ff) != 0) {
-    return 0;
-  }
-  if ((*param_9 & 0x1ff) != 0) {
-    return 0;
-  }
-  local_c4 = param_6;
-  cVar5 = ExAcquireResourceExclusiveLite(param_1 + 0x19,1);
+  cVar3 = (**(code **)(*param_1 + 0x138))(param_1);
+  if (((cVar3 != '\0') && (bVar15 == 0)) && (((param_7 & 4) == 0 && ((param_7 & 8) == 0)))) {
+    return 0xc01a001e;
+  }
+  cVar3 = (**(code **)(*param_1 + 0x138))(param_1);
+  if (cVar3 == '\0') {
+    if ((bVar15 != 0) || (bVar2 = true, (param_7 & 4) != 0)) goto LAB_0;
+  }
+  else if (((param_7 & 4) == 0) && ((param_7 & 8) == 0)) {
+LAB_0:
+    bVar2 = false;
+  }
+  else {
+    bVar2 = true;
+  }
+  if (!bVar2) {
+                    /* WARNING: Subroutine does not return */
+    KeBugCheckEx(0xc1f5,0x32,param_7,uVar9,param_1);
+  }
+  if ((((*param_8 & 0x1ff) != 0) || ((*param_10 & 0x1ff) != 0)) || ((*param_9 & 0x1ff) != 0)) {
+    return 0xc000000d;
+  }
+  local_9c = param_6;
+  cVar3 = ExAcquireResourceExclusiveLite(param_1 + 0x19,1);
   if ((*(uint *)((longlong)param_1 + 0x16c) & 0x1000) != 0) {
-    iVar22 = -0x3fe5ffd5;
-    FUN_14001073c((longlong)param_1,8,0xc01a002b);
-    puVar10 = (undefined8 *)0x0;
-    goto LAB_0;
-  }
-  local_b0 = param_1[0x3b];
+    uVar14 = 0xc01a002b;
+    local_b4 = 0xc01a002b;
+    FUN_1400104ac((longlong)param_1,8,0xc01a002b);
+    puVar20 = (undefined8 *)0x0;
+    goto LAB_1;
+  }
+  puVar1 = (ulonglong *)(param_1 + 0x3b);
+  local_90 = *puVar1;
+  uVar9 = local_90;
   if ((param_7 & 4) == 0) {
-    iVar8 = *(int *)(param_1[0x59] + 0x90);
-    if (iVar8 == 0) {
-      local_90 = 0;
-    }
-    else {
-      local_90 = (ulonglong)(iVar8 - 1U) + local_b0 & ~(ulonglong)(iVar8 - 1U);
-    }
-    if (iVar8 == 0) {
-      local_88 = 0;
-    }
-    else {
-      local_88 = (ulonglong)(iVar8 - 1U) + *(longlong *)param_8 + local_b0 &
-                 ~(ulonglong)(iVar8 - 1U);
-    }
-    lVar21 = (ulonglong)param_5 * 0x200;
-    local_80 = puVar20;
-    if (iVar8 != 0) {
-      local_80 = (undefined8 *)((ulonglong)(iVar8 - 1U) + lVar21 & ~(ulonglong)(iVar8 - 1U));
-    }
-    local_a0 = ((param_1[0x3a] - (longlong)local_80) - local_88) + local_90;
-    if (local_a0 % uVar12 != 0) {
-                    /* WARNING: Subroutine does not return */
-      KeBugCheckEx(0xc1f5,0x33,local_a0 >> 0x20,local_a0 & 0xffffffff,param_1);
-    }
-    if ((longlong)local_a0 < 0) {
-      if ((longlong)(*(longlong *)param_9 + local_a0) < 0) {
-        iVar22 = -0x3fe5ffe3;
-        puVar10 = puVar20;
-        goto LAB_0;
-      }
-      *(ulonglong *)param_9 = local_a0 + *(longlong *)param_9;
-      pcVar18 = *(code **)(*param_1 + 0x128);
-      uVar12 = FUN_140004500((longlong)param_1,lVar21);
-      local_a8 = (undefined8 *)((param_1[0x3a] + param_1[0x3b]) - uVar12);
-      (*pcVar18)(param_1,param_2,&local_a8,0);
+    lVar18 = *(longlong *)param_8 + local_90;
+    lVar11 = (ulonglong)param_5 << 9;
+    uVar8 = FUN_140004500((longlong)param_1,lVar18);
+    lVar16 = param_1[0x3a] - uVar8;
+    uVar8 = FUN_140004500((longlong)param_1,lVar11);
+    lVar16 = lVar16 - uVar8;
+    uVar9 = FUN_140004500((longlong)param_1,uVar9);
+    uVar9 = lVar16 + uVar9;
+    if (uVar9 % uVar14 != 0) {
+                    /* WARNING: Subroutine does not return */
+      KeBugCheckEx(0xc1f5,0x33,uVar9 >> 0x20,uVar9 & 0xffffffff,param_1);
+    }
+    if (-1 < (longlong)uVar9) {
+      uVar9 = 0;
+      param_3 = &local_78;
+      local_78 = lVar18;
+      (**(code **)(*param_1 + 0x128))(param_1,param_2);
+      uVar10 = FUN_140004500((longlong)param_1,(ulonglong)param_5 << 9);
+      uVar10 = param_1[0x3a] - uVar10;
+      param_1[0x3a] = uVar10;
+      uVar8 = *(longlong *)param_10 - *(longlong *)param_9;
+      if (uVar8 % uVar14 != 0) {
+                    /* WARNING: Subroutine does not return */
+        KeBugCheckEx(0xc1f5,0x34,uVar8 >> 0x20,uVar8 & 0xffffffff,param_1);
+      }
+      if ((longlong)uVar8 < 1) {
+        if (-1 < (longlong)uVar8) goto LAB_2;
+        lVar11 = *param_1;
+        local_68 = *puVar1 + uVar8;
+        param_3 = &local_68;
+      }
+      else {
+        if (uVar8 != uVar10 && -1 < (longlong)(uVar8 - uVar10)) {
+          uVar8 = uVar10;
+        }
+        if (uVar8 % uVar14 != 0) {
+                    /* WARNING: Subroutine does not return */
+          KeBugCheckEx(0xc1f5,0x35,uVar8 >> 0x20,uVar8 & 0xffffffff,param_1);
+        }
+        lVar11 = *param_1;
+        local_70 = *puVar1 + uVar8;
+        param_3 = &local_70;
+      }
+      uVar9 = 0;
+      iVar4 = (**(code **)(lVar11 + 0x128))(param_1,param_2);
+      if (-1 < iVar4) {
+        *(ulonglong *)param_9 = *(longlong *)param_9 + uVar8;
+      }
+      goto LAB_2;
+    }
+    if (-1 < (longlong)(*(longlong *)param_9 + uVar9)) {
+      *(ulonglong *)param_9 = uVar9 + *(longlong *)param_9;
+      pcVar19 = *(code **)(*param_1 + 0x128);
+      uVar9 = FUN_140004500((longlong)param_1,lVar11);
+      local_60 = (*puVar1 + param_1[0x3a]) - uVar9;
+      uVar9 = 0;
+      param_3 = &local_60;
+      (*pcVar19)(param_1,param_2);
       param_1[0x3a] = 0;
-    }
-    else {
-      local_78 = *(longlong *)param_8 + local_b0;
-      (**(code **)(*param_1 + 0x128))(param_1,param_2,&local_78,0);
-      local_a8 = puVar20;
-      if (*(int *)(param_1[0x59] + 0x90) != 0) {
-        uVar6 = *(int *)(param_1[0x59] + 0x90) - 1;
-        local_a8 = (undefined8 *)((ulonglong)uVar6 + lVar21 & ~(ulonglong)uVar6);
-      }
-      uVar14 = param_1[0x3a] - (longlong)local_a8;
-      param_1[0x3a] = uVar14;
-      local_a0 = *(longlong *)param_10 - *(longlong *)param_9;
-      if (local_a0 % uVar12 != 0) {
-                    /* WARNING: Subroutine does not return */
-        KeBugCheckEx(0xc1f5,0x34,local_a0 >> 0x20,local_a0 & 0xffffffff,param_1);
-      }
-      if ((longlong)local_a0 < 1) {
-        if (-1 < (longlong)local_a0) goto LAB_1;
-        lVar21 = *param_1;
-        local_68 = param_1[0x3b] + local_a0;
-        plVar17 = &local_68;
+      goto LAB_2;
+    }
+    uVar14 = 0xc01a001d;
+    local_b4 = 0xc01a001d;
+  }
+  else {
+LAB_2:
+    if ((param_5 != 0) && ((param_7 & 2) == 0)) {
+      lVar11 = param_1[0x3f];
+      *(longlong *)(param_4 + 0x18) = lVar11;
+      *(byte *)(param_4 + 3) = bVar15;
+      *(undefined2 *)(param_4 + 6) = *(undefined2 *)(param_4 + 4);
+      if ((param_7 & 1) != 0) {
+        *param_15 = lVar11;
+      }
+    }
+    local_b8 = ExAcquireResourceExclusiveLite(param_1[0xb0],1);
+    local_a8 = 0;
+    while (local_58 = (ulonglong)param_5, local_a8 < local_58 << 9) {
+      puVar1 = (ulonglong *)(param_1 + 0x3f);
+      uVar7 = ClfsLsnContainer((longlong)puVar1);
+      puVar20 = (undefined8 *)ExAllocateFromNPagedLookasideList(&DAT_3);
+      if (puVar20 == (undefined8 *)0x0) {
+        puVar20 = (undefined8 *)0x0;
       }
       else {
-        if (local_a0 != uVar14 && -1 < (longlong)(local_a0 - uVar14)) {
-          local_a0 = uVar14;
-        }
-        if (local_a0 % uVar12 != 0) {
-                    /* WARNING: Subroutine does not return */
-          KeBugCheckEx(0xc1f5,0x35,local_a0 >> 0x20,local_a0 & 0xffffffff,param_1);
-        }
-        lVar21 = *param_1;
-        local_70 = param_1[0x3b] + local_a0;
-        plVar17 = &local_70;
-      }
-      uVar12 = local_a0;
-      iVar8 = (**(code **)(lVar21 + 0x128))(param_1,param_2,plVar17,0);
-      if (-1 < iVar8) {
-        *(ulonglong *)param_9 = *(longlong *)param_9 + uVar12;
-      }
-    }
-  }
+        puVar20 = FUN_14000bb38(puVar20);
+      }
+      if (puVar20 == (undefined8 *)0x0) {
+        FUN_14000dd60(1,0xc0000001);
+        uVar14 = 0xc000009a;
+        local_b4 = 0xc000009a;
+        FUN_14000db04((longlong)param_1,0xd,0xc000009a);
+        goto LAB_4;
+      }
+      (**(code **)puVar20[1])(puVar20 + 1);
+      uVar14 = FUN_140071604((longlong)puVar20,param_1);
+      local_b4 = (uint)uVar14;
+      uVar14 = uVar14 & 0xffffffff;
+      if ((int)local_b4 < 0) {
+        (**(code **)(puVar20[1] + 8))(puVar20 + 1);
+        puVar20 = (undefined8 *)0x0;
+        FUN_14000dd60(2,0xc0000001);
+        FUN_14000db04((longlong)param_1,0xe,local_b4);
+        goto LAB_4;
+      }
+      uVar12 = (**(code **)(*param_11 + 0x30))();
+      puVar20[7] = uVar12;
+      ObfReferenceObject(uVar12);
+      uVar5 = ClfsLsnBlockOffset((uint *)puVar1);
+      uVar8 = param_1[0x57] - (ulonglong)uVar5 >> 9;
+      local_50 = uVar8;
+      uVar14 = FUN_140004500((longlong)param_1,local_a8);
+      uVar14 = local_58 - (uVar14 >> 9);
+      puVar20[6] = *puVar1;
+      puVar20[3] = (local_a8 & 0xffffffff) + param_4;
+      *(byte *)(puVar20 + 10) = bVar15;
+      *(int *)((longlong)puVar20 + 0x24) = local_9c;
+      local_48 = uVar14;
+      uVar6 = ClfsLsnContainer((longlong)(puVar20 + 6));
+      *(undefined4 *)(puVar20 + 0x18) = uVar6;
+      if (uVar8 < uVar14) {
+        *(byte *)(puVar20 + 2) = *(byte *)(puVar20 + 2) & 0xdf;
+        *(int *)(puVar20 + 4) = (int)uVar8;
+        local_9c = local_9c + (int)uVar8;
+        local_a8 = local_a8 + (uVar8 & 0xffffffff) * 0x200;
+        uVar14 = FUN_140016cf0();
+        if ((int)uVar14 != 0) {
+          uVar12 = (**(code **)(*param_11 + 0xc0))(param_11);
+          puVar20[9] = uVar12;
+        }
+        uVar7 = FUN_14000e14c(param_1,(ulonglong)uVar7,param_3,uVar9);
+        if (uVar7 == 0xffffffff) {
+          FUN_14000dd60(10,0xc0000001);
+          uVar14 = 0xc000009a;
+          local_b4 = 0xc000009a;
+          FUN_14000db04((longlong)param_1,0xf,0xc000009a);
+          goto LAB_4;
+        }
+        uVar14 = ClfsLsnCreate(uVar7,0,0);
+        *puVar1 = uVar14;
+        FUN_14000fee8(param_1,bVar15);
+      }
+      else {
+        *(byte *)(puVar20 + 2) = *(byte *)(puVar20 + 2) | 0x20;
+        uVar5 = FUN_1400044a0((longlong)param_1,(int)uVar14 << 9);
+        *(uint *)(puVar20 + 4) = uVar5 >> 9;
+        uVar9 = FUN_140004500((longlong)param_1,(ulonglong)(uVar5 >> 9) << 9);
+        local_a8 = local_a8 + uVar9;
+        uVar12 = (**(code **)(*param_11 + 0xc0))();
+        puVar20[9] = uVar12;
+        if ((param_7 & 4) != 0) {
+          puVar20[0xc] = FUN_14000dab0;
+        }
+        uVar5 = FUN_1400044a0((longlong)param_1,*(int *)(puVar20 + 4) << 9);
+        uVar9 = (ulonglong)uVar5;
+        puVar17 = puVar1;
+        puVar13 = FUN_140068e60((longlong)param_1,&local_40,(uint *)puVar1,uVar5);
+        *puVar1 = *puVar13;
+        while ((uVar5 = ClfsLsnContainer((longlong)puVar1), uVar5 != uVar7 && (uVar7 != 0xffffffff))
+              ) {
+          uVar7 = FUN_14000e14c(param_1,(ulonglong)uVar7,puVar17,uVar9);
+          if (uVar7 != 0xffffffff) {
+            FUN_14000fee8(param_1,bVar15);
+          }
+        }
+      }
+      *(byte *)(puVar20 + 2) = *(byte *)(puVar20 + 2) | 1;
+      LOCK();
+      *(int *)(param_1 + 0xa5) = (int)param_1[0xa5] + *(int *)(puVar20 + 4) * 0x200;
+      UNLOCK();
+      param_1[0xac] = puVar20[6];
+      param_3 = (longlong *)param_1[0x78];
+      ExInterlockedInsertTailList(param_1[0x77],puVar20 + 0x1a);
+    }
+    ExReleaseResourceForThreadLite(param_1[0xb0],SystemReserved1[0xf]);
+    local_b8 = '\0';
+    puVar20 = (undefined8 *)0x0;
+    if ((*(uint *)((longlong)param_1 + 0x524) < *(uint *)(param_1 + 0xa5)) &&
+       (*(int *)((longlong)param_1 + 0x534) == 0)) {
+      FUN_14000bc94(param_1);
+    }
+    uVar14 = (ulonglong)local_b4;
+  }
+LAB_4:
 LAB_1:
-  if ((param_5 != 0) && ((param_7 & 2) == 0)) {
-    lVar21 = param_1[0x3f];
-    *(longlong *)(param_4 + 0x18) = lVar21;
-    *(byte *)(param_4 + 3) = param_3;
-    *(undefined2 *)(param_4 + 6) = *(undefined2 *)(param_4 + 4);
-    if ((param_7 & 1) != 0) {
-      *param_15 = lVar21;
-    }
-  }
-  local_f8 = ExAcquireResourceExclusiveLite(param_1[0xb0],1);
-  local_d8 = 0;
-  while (local_d8 < (ulonglong)param_5 << 9) {
-    puVar1 = (uint *)(param_1 + 0x3f);
-    local_e0 = 0xffffffff;
-    if (puVar1 != (uint *)0x0) {
-      local_e0 = *(uint *)((longlong)param_1 + 0x1fc);
-    }
-    puVar9 = (undefined8 *)ExAllocateFromNPagedLookasideList(&DAT_2);
-    puVar10 = puVar20;
-    if (puVar9 != (undefined8 *)0x0) {
-      puVar10 = FUN_1400062cc(puVar9);
-    }
-    if (puVar10 == (undefined8 *)0x0) {
-      FUN_14000dff0(1,0xc0000001);
-      iVar22 = -0x3fffff66;
-      FUN_14000dd94((longlong)param_1,0xd,0xc000009a);
-      goto LAB_0;
-    }
-    (**(code **)puVar10[1])(puVar10 + 1);
-    uVar11 = FUN_1400714b4((longlong)puVar10,param_1);
-    iVar22 = (int)uVar11;
-    if (iVar22 < 0) {
-      (**(code **)(puVar10[1] + 8))(puVar10 + 1);
-      FUN_14000dff0(2,0xc0000001);
-      FUN_14000dd94((longlong)param_1,0xe,iVar22);
-      puVar10 = puVar20;
-      goto LAB_0;
-    }
-    uVar11 = (**(code **)(*param_11 + 0x30))(param_11);
-    puVar10[7] = uVar11;
-    ObfReferenceObject(uVar11);
-    uVar6 = 0xffffffff;
-    if (puVar1 != (uint *)0x0) {
-      uVar6 = *puVar1 & 0xfffffe00;
-    }
-    local_50 = param_1[0x57] - (ulonglong)uVar6 >> 9;
-    local_60 = puVar20;
-    if (*(int *)(param_1[0x59] + 0x90) != 0) {
-      uVar6 = *(int *)(param_1[0x59] + 0x90) - 1;
-      local_60 = (undefined8 *)(uVar6 + local_d8 & ~(ulonglong)uVar6);
-    }
-    uVar14 = (ulonglong)param_5 - ((ulonglong)local_60 >> 9);
-    lVar21 = param_1[0x3f];
-    puVar10[6] = lVar21;
-    puVar10[3] = (local_d8 & 0xffffffff) + param_4;
-    *(byte *)(puVar10 + 10) = param_3;
-    *(int *)((longlong)puVar10 + 0x24) = local_c4;
-    uVar13 = 0xffffffff;
-    uVar12 = uVar14 & 0xffffffff;
-    if (puVar10 + 6 != (longlong *)0x0) {
-      uVar13 = (undefined4)((ulonglong)lVar21 >> 0x20);
-    }
-    *(undefined4 *)(puVar10 + 0x18) = uVar13;
-    local_48 = uVar14;
-    if (local_50 < uVar14) {
-      *(byte *)(puVar10 + 2) = *(byte *)(puVar10 + 2) & 0xdf;
-      *(int *)(puVar10 + 4) = (int)local_50;
-      local_c4 = local_c4 + (int)local_50;
-      local_d8 = local_d8 + (local_50 & 0xffffffff) * 0x200;
-      uVar6 = FUN_14000e3dc(param_1,(ulonglong)local_e0,uVar12,uVar14);
-      if (uVar6 == 0xffffffff) {
-        FUN_14000dff0(10,0xc0000001);
-        iVar22 = -0x3fffff66;
-        FUN_14000dd94((longlong)param_1,0xf,0xc000009a);
-        goto LAB_0;
-      }
-      uVar12 = ClfsLsnCreate(uVar6,0,0);
-      param_1[0x3f] = uVar12;
-      FUN_140010178(param_1,param_3);
-    }
-    else {
-      *(byte *)(puVar10 + 2) = *(byte *)(puVar10 + 2) | 0x20;
-      iVar8 = *(int *)(param_1[0x59] + 0x90);
-      uVar6 = uVar19;
-      if (iVar8 != 0) {
-        uVar6 = (int)uVar14 * 0x200;
-        uVar12 = (ulonglong)uVar6;
-        uVar6 = iVar8 + -1 + uVar6 & -iVar8;
-      }
-      *(uint *)(puVar10 + 4) = uVar6 >> 9;
-      local_58 = puVar20;
-      if (*(int *)(param_1[0x59] + 0x90) != 0) {
-        uVar7 = *(int *)(param_1[0x59] + 0x90) - 1;
-        local_58 = (undefined8 *)
-                   ((ulonglong)uVar7 + (ulonglong)(uVar6 >> 9) * 0x200 & ~(ulonglong)uVar7);
-      }
-      local_d8 = local_d8 + (longlong)local_58;
-      uVar11 = (**(code **)(*param_11 + 0xc0))(param_11);
-      puVar10[9] = uVar11;
-      if ((param_7 & 4) != 0) {
-        puVar10[0xc] = FUN_14000dd40;
-      }
-      iVar8 = *(int *)(param_1[0x59] + 0x90);
-      if (iVar8 == 0) {
-        local_b4 = 0;
-      }
-      else {
-        local_b4 = *(int *)(puVar10 + 4) * 0x200 + -1 + iVar8 & -iVar8;
-      }
-      puVar1 = (uint *)(param_1 + 0x3f);
-      if ((puVar1 == (uint *)0x0) ||
-         (uVar15 = 0xffffffff00000000, *(longlong *)puVar1 != -0x100000000)) {
-        uVar15 = FUN_140068860((longlong)param_1);
-        if ((char)uVar15 == '\0') {
-          uVar15 = 0xffffffff00000000;
-        }
-        else {
-          uVar12 = 0xffffffff;
-          if (puVar1 != (uint *)0x0) {
-            uVar12 = (ulonglong)(*puVar1 & 0xfffffe00);
-          }
-          uVar15 = 0xffffffff;
-          if (puVar1 != (uint *)0x0) {
-            uVar15 = (ulonglong)*(uint *)((longlong)param_1 + 0x1fc);
-          }
-          local_98 = (ulonglong)local_b4 + uVar15 * param_1[0x57] + uVar12;
-          auVar2._8_8_ = 0;
-          auVar2._0_8_ = param_1[0x57];
-          auVar3._8_8_ = 0;
-          auVar3._0_8_ = local_98;
-          auVar4 = auVar3 / auVar2;
-          uVar12 = auVar4._0_8_;
-          uVar16 = SUB168(auVar3 % auVar2,0);
-          if (auVar4._4_4_ == 0) {
-            uVar15 = 0xffffffff00000000;
-            if (((SUB164(auVar3 % auVar2,4) == 0) && (auVar4._0_4_ != -1)) &&
-               ((uVar16 & 0x1ff) == 0)) {
-              uVar15 = uVar12 << 0x20 | uVar16 & 0xffffffff;
-            }
-          }
-          else {
-            uVar15 = 0xffffffff00000000;
-          }
-        }
-      }
-      param_1[0x3f] = uVar15;
-      while( true ) {
-        uVar6 = 0xffffffff;
-        if (param_1 != (longlong *)0xfffffffffffffe08) {
-          uVar6 = *(uint *)((longlong)param_1 + 0x1fc);
-        }
-        if ((uVar6 == local_e0) || (local_e0 == 0xffffffff)) break;
-        local_e0 = FUN_14000e3dc(param_1,(ulonglong)local_e0,uVar12,uVar14);
-        if (local_e0 != 0xffffffff) {
-          FUN_140010178(param_1,param_3);
-        }
-      }
-    }
-    *(byte *)(puVar10 + 2) = *(byte *)(puVar10 + 2) | 1;
-    LOCK();
-    *(int *)(param_1 + 0xa5) = (int)param_1[0xa5] + *(int *)(puVar10 + 4) * 0x200;
-    UNLOCK();
-    param_1[0xac] = puVar10[6];
-    ExInterlockedInsertTailList(param_1[0x77],puVar10 + 0x1a,param_1[0x78]);
-  }
-  ExReleaseResourceForThreadLite(param_1[0xb0],SystemReserved1[0xf]);
-  local_f8 = '\0';
-  puVar10 = puVar20;
-  if ((*(uint *)((longlong)param_1 + 0x524) < *(uint *)(param_1 + 0xa5)) &&
-     (*(int *)((longlong)param_1 + 0x534) == 0)) {
-    FUN_14000bf24(param_1);
-  }
-LAB_0:
-  *param_13 = param_1[0x3b] - local_b0;
-  *param_12 = iVar22;
-  iVar8 = *(int *)(param_1[0x59] + 0x90);
-  if (iVar8 != 0) {
-    puVar20 = (undefined8 *)(ulonglong)(uint)((int)local_d8 + -1 + iVar8 & -iVar8);
-  }
-  *(undefined8 **)(param_12 + 2) = puVar20;
+  *param_13 = param_1[0x3b] - local_90;
+  *param_12 = (int)uVar14;
+  uVar7 = FUN_1400044a0((longlong)param_1,(int)local_a8);
+  *(ulonglong *)(param_12 + 2) = (ulonglong)uVar7;
   *param_14 = param_1[0x3f];
-  if (puVar10 != (undefined8 *)0x0) {
-    (**(code **)(puVar10[1] + 8))();
-  }
-  if (cVar5 != '\0') {
+  if (puVar20 != (undefined8 *)0x0) {
+    (**(code **)(puVar20[1] + 8))();
+  }
+  if (cVar3 != '\0') {
     ExReleaseResourceForThreadLite(param_1 + 0x19,SystemReserved1[0xf]);
-  }
-  if (local_f8 != '\0') {
+    uVar14 = (ulonglong)local_b4;
+  }
+  if (local_b8 != '\0') {
     ExReleaseResourceForThreadLite(param_1[0xb0],SystemReserved1[0xf]);
-  }
-  return iVar22;
+    uVar14 = (ulonglong)local_b4;
+  }
+  return uVar14;
 }
 

```


# Modified (No Code Changes)


*Slightly modified functions have no code changes, rather differnces in:*
- refcount
- length
- called
- calling
- name
- fullname



<sub>Generated with `ghidriff` version: 1.0.0 on 2026-07-21T23:54:58</sub>