joyce8/EMBER2024-capa huggingface dataset:
Function at 0x13e5c
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov rdi, rcx
call qword [sym.imp.ntoskrnl.exe_KeEnterCriticalRegion]
lea rcx, [0x0001d1e0]
mov dl, 1
call qword [sym.imp.ntoskrnl.exe_ExAcquireResourceExclusiveLite]
mov rbx, qword [0x0001d2c8]
xor ebp, ebp
cmp rbx, rbp
je 0x13ece
mov rcx, qword [rbx]
mov rdx, rdi
call qword [sym.imp.ntoskrnl.exe__wcsicmp]
cmp eax, ebp
je 0x13eb1
mov rbx, qword [rbx + 0x10]
cmp rbx, rbp
jne 0x13e98
cmp rbx, rbp
je 0x13ece
lea rcx, [0x0001d1e0]
call qword [sym.imp.ntoskrnl.exe_ExReleaseResourceLite]
call qword [sym.imp.ntoskrnl.exe_KeLeaveCriticalRegion]
jmp 0x13f9b
mov edx, 0x18
xor ecx, ecx
mov r8d, 0x656c6966
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rbx, rax
cmp rax, rbp
je 0x13f72
mov edx, 0x28
xor ecx, ecx
mov r8d, 0x656c6966
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov qword [rbx], rax
cmp rax, rbp
je 0x13f72
xor edx, edx
mov rcx, rax
lea r8d, [rdx + 0x28]
call fcn.00017320
mov rax, qword [rbx]
mov r11, rsi
cmp rsi, 0x7ffffffe
ja 0x13f5a
mov r8, rdi
mov ecx, 0x14
sub r8, rax
cmp r11, rbp
je 0x13f51
movzx edx, word [r8 + rax]
cmp dx, bp
je 0x13f51
dec rcx
mov word [rax], dx
dec r11
add rax, 2
cmp rcx, rbp
jne 0x13f30
cmp rcx, rbp
jne 0x13f5a
sub rax, 2
mov word [rax], bp
mov rax, qword [0x0001d2c8]
mov dword [rbx + 8], esi
mov qword [rbx + 0x10], rax
mov qword [0x0001d2c8], rbx
lea rcx, [0x0001d1e0]
call qword [sym.imp.ntoskrnl.exe_ExReleaseResourceLite]
call qword [sym.imp.ntoskrnl.exe_KeLeaveCriticalRegion]
lea rdx, [0x00018970]
lea rcx, [0x00018990]
mov r8, rdi
call sub.ntoskrnl.exe_DbgPrint
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14040
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
call qword [sym.imp.ntoskrnl.exe_KeEnterCriticalRegion]
lea rcx, [0x0001d1e0]
mov dl, 1
call qword [sym.imp.ntoskrnl.exe_ExAcquireResourceExclusiveLite]
mov r11, qword [0x0001d2c8]
test r11, r11
je 0x1408e
mov r8, qword [r11]
mov rbx, qword [r11 + 0x10]
test r8, r8
je 0x14086
lea rdx, [0x000189c0]
lea rcx, [0x000189e0]
call sub.ntoskrnl.exe_DbgPrint
mov r11, rbx
test rbx, rbx
jne 0x14067
lea rcx, [0x0001d1e0]
call qword [sym.imp.ntoskrnl.exe_ExReleaseResourceLite]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.ntoskrnl.exe_KeLeaveCriticalRegion]
Function at 0x14160
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov rdi, rcx
call qword [sym.imp.ntoskrnl.exe_KeEnterCriticalRegion]
lea rcx, [0x0001d1e0]
mov dl, 1
call qword [sym.imp.ntoskrnl.exe_ExAcquireResourceExclusiveLite]
mov rbx, qword [0x0001d1b8]
xor ebp, ebp
cmp rbx, rbp
je 0x141d2
mov rcx, qword [rbx]
mov rdx, rdi
call qword [sym.imp.ntoskrnl.exe__wcsicmp]
cmp eax, ebp
je 0x141b5
mov rbx, qword [rbx + 0x10]
cmp rbx, rbp
jne 0x1419c
cmp rbx, rbp
je 0x141d2
lea rcx, [0x0001d1e0]
call qword [sym.imp.ntoskrnl.exe_ExReleaseResourceLite]
call qword [sym.imp.ntoskrnl.exe_KeLeaveCriticalRegion]
jmp 0x142a1
mov edx, 0x18
xor ecx, ecx
mov r8d, 0x656c6966
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rbx, rax
cmp rax, rbp
je 0x14278
mov edx, 0x400
xor ecx, ecx
mov r8d, 0x656c6966
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov qword [rbx], rax
cmp rax, rbp
je 0x14278
xor edx, edx
mov r8d, 0x400
mov rcx, rax
call fcn.00017320
mov rax, qword [rbx]
mov r11, rsi
cmp rsi, 0x7ffffffe
ja 0x14260
mov r8, rdi
mov ecx, 0x200
sub r8, rax
cmp r11, rbp
je 0x14257
movzx edx, word [r8 + rax]
cmp dx, bp
je 0x14257
dec rcx
mov word [rax], dx
dec r11
add rax, 2
cmp rcx, rbp
jne 0x14236
cmp rcx, rbp
jne 0x14260
sub rax, 2
mov word [rax], bp
mov rax, qword [0x0001d1b8]
mov dword [rbx + 8], esi
mov qword [rbx + 0x10], rax
mov qword [0x0001d1b8], rbx
lea rcx, [0x0001d1e0]
call qword [sym.imp.ntoskrnl.exe_ExReleaseResourceLite]
call qword [sym.imp.ntoskrnl.exe_KeLeaveCriticalRegion]
lea rdx, [0x00018a10]
lea rcx, [0x00018a30]
mov r8, rdi
call sub.ntoskrnl.exe_DbgPrint
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14344
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
call qword [sym.imp.ntoskrnl.exe_KeEnterCriticalRegion]
lea rcx, [0x0001d1e0]
mov dl, 1
call qword [sym.imp.ntoskrnl.exe_ExAcquireResourceExclusiveLite]
mov r11, qword [0x0001d1b8]
test r11, r11
je 0x14392
mov r8, qword [r11]
mov rbx, qword [r11 + 0x10]
test r8, r8
je 0x1438a
lea rdx, [0x00018a70]
lea rcx, [0x00018a90]
call sub.ntoskrnl.exe_DbgPrint
mov r11, rbx
test rbx, rbx
jne 0x1436b
lea rcx, [0x0001d1e0]
call qword [sym.imp.ntoskrnl.exe_ExReleaseResourceLite]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.ntoskrnl.exe_KeLeaveCriticalRegion]
Function at 0x14464
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov rdi, rcx
call qword [sym.imp.ntoskrnl.exe_KeEnterCriticalRegion]
lea rcx, [0x0001d1e0]
mov dl, 1
call qword [sym.imp.ntoskrnl.exe_ExAcquireResourceExclusiveLite]
mov rbx, qword [0x0001d2a0]
xor ebp, ebp
cmp rbx, rbp
je 0x144d6
mov rcx, qword [rbx]
mov rdx, rdi
call qword [sym.imp.ntoskrnl.exe__wcsicmp]
cmp eax, ebp
je 0x144b9
mov rbx, qword [rbx + 0x10]
cmp rbx, rbp
jne 0x144a0
cmp rbx, rbp
je 0x144d6
lea rcx, [0x0001d1e0]
call qword [sym.imp.ntoskrnl.exe_ExReleaseResourceLite]
call qword [sym.imp.ntoskrnl.exe_KeLeaveCriticalRegion]
jmp 0x145a5
mov edx, 0x18
xor ecx, ecx
mov r8d, 0x656c6966
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rbx, rax
cmp rax, rbp
je 0x1457c
mov edx, 0x400
xor ecx, ecx
mov r8d, 0x656c6966
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov qword [rbx], rax
cmp rax, rbp
je 0x1457c
xor edx, edx
mov r8d, 0x400
mov rcx, rax
call fcn.00017320
mov rax, qword [rbx]
mov r11, rsi
cmp rsi, 0x7ffffffe
ja 0x14564
mov r8, rdi
mov ecx, 0x200
sub r8, rax
cmp r11, rbp
je 0x1455b
movzx edx, word [r8 + rax]
cmp dx, bp
je 0x1455b
dec rcx
mov word [rax], dx
dec r11
add rax, 2
cmp rcx, rbp
jne 0x1453a
cmp rcx, rbp
jne 0x14564
sub rax, 2
mov word [rax], bp
mov rax, qword [0x0001d2a0]
mov dword [rbx + 8], esi
mov qword [rbx + 0x10], rax
mov qword [0x0001d2a0], rbx
lea rcx, [0x0001d1e0]
call qword [sym.imp.ntoskrnl.exe_ExReleaseResourceLite]
call qword [sym.imp.ntoskrnl.exe_KeLeaveCriticalRegion]
lea rdx, [0x00018ad0]
lea rcx, [0x00018af0]
mov r8, rdi
call sub.ntoskrnl.exe_DbgPrint
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14648
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
call qword [sym.imp.ntoskrnl.exe_KeEnterCriticalRegion]
lea rcx, [0x0001d1e0]
mov dl, 1
call qword [sym.imp.ntoskrnl.exe_ExAcquireResourceExclusiveLite]
mov r11, qword [0x0001d2a0]
test r11, r11
je 0x14696
mov r8, qword [r11]
mov rbx, qword [r11 + 0x10]
test r8, r8
je 0x1468e
lea rdx, [0x00018b30]
lea rcx, [0x00018a90]
call sub.ntoskrnl.exe_DbgPrint
mov r11, rbx
test rbx, rbx
jne 0x1466f
lea rcx, [0x0001d1e0]
call qword [sym.imp.ntoskrnl.exe_ExReleaseResourceLite]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.ntoskrnl.exe_KeLeaveCriticalRegion]
Function at 0x146b8
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r13
sub rsp, 0x20
xor ebx, ebx
mov rbp, rdx
mov rsi, rcx
mov dword [rsp + 0x40], ebx
cmp rcx, rbx
je 0x14853
mov rcx, qword [rcx + 8]
cmp rcx, rbx
je 0x14853
call qword [sym.imp.ntoskrnl.exe_ObfReferenceObject]
mov rcx, qword [rsi + 8]
lea r9, [rsp + 0x40]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_ObQueryNameString]
cmp eax, 0xc0000004
jne 0x14849
mov edx, dword [rsp + 0x40]
xor ecx, ecx
mov r8d, 0x656c6966
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rdi, rax
cmp rax, rbx
je 0x14849
mov r8d, dword [rsp + 0x40]
mov rcx, qword [rsi + 8]
lea r9, [rsp + 0x40]
mov rdx, rax
call qword [sym.imp.ntoskrnl.exe_ObQueryNameString]
cmp eax, ebx
jl 0x1483b
mov rcx, qword [rdi + 8]
cmp rcx, rbx
je 0x1483b
lea r13d, [rbx + 0x10]
lea rdx, [0x00018b50]
mov r8, r13
call qword [sym.imp.ntoskrnl.exe__wcsnicmp]
cmp eax, ebx
jne 0x147ca
mov rcx, qword [rdi + 8]
lea r8d, [rbx + 3]
lea rdx, [0x00018b80]
add rcx, 0x22
call qword [sym.imp.ntoskrnl.exe__wcsnicmp]
cmp eax, ebx
je 0x147ad
mov rcx, qword [rdi + 8]
lea r8d, [rbx + 3]
lea rdx, [0x00018b80]
add rcx, 0x24
call qword [sym.imp.ntoskrnl.exe__wcsnicmp]
cmp eax, ebx
jne 0x147ca
lea rdx, [0x00018b90]
lea rcx, [0x00018bb0]
mov r8, rbp
call sub.ntoskrnl.exe_DbgPrint
mov ebx, 1
jmp 0x1483b
mov rcx, qword [rdi + 8]
lea rdx, [0x00018b50]
mov r8, r13
call qword [sym.imp.ntoskrnl.exe__wcsnicmp]
cmp eax, ebx
jne 0x1483b
mov rcx, qword [rdi + 8]
mov r13d, 4
lea rdx, [0x00018c10]
add rcx, 0x22
mov r8, r13
call qword [sym.imp.ntoskrnl.exe__wcsnicmp]
cmp eax, ebx
je 0x14820
mov rcx, qword [rdi + 8]
lea rdx, [0x00018c10]
mov r8, r13
add rcx, 0x24
call qword [sym.imp.ntoskrnl.exe__wcsnicmp]
cmp eax, ebx
jne 0x1483b
lea rdx, [0x00018b90]
lea rcx, [0x00018c20]
mov r8, rbp
call sub.ntoskrnl.exe_DbgPrint
mov ebx, 2
mov edx, 0x656c6966
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rcx, qword [rsi + 8]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rbp, qword [rsp + 0x50]
mov ax, bx
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop r13
pop rdi
pop rsi
ret
Function at 0x14a70
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x20
mov esi, r8d
mov ebp, edx
mov r12, rcx
call qword [sym.imp.ntoskrnl.exe_KeEnterCriticalRegion]
lea rcx, [0x0001d1e0]
mov dl, 1
call qword [sym.imp.ntoskrnl.exe_ExAcquireResourceExclusiveLite]
mov rbx, qword [0x0001d2b0]
xor r13d, r13d
cmp rbx, r13
je 0x14af3
mov rcx, qword [rbx]
mov r8, rsi
mov rdx, r12
call qword [sym.imp.ntoskrnl.exe__wcsnicmp]
cmp eax, r13d
jne 0x14acd
cmp dword [rbx + 8], ebp
je 0x14ad6
mov rbx, qword [rbx + 0x10]
cmp rbx, r13
jne 0x14ab4
cmp rbx, r13
je 0x14af3
lea rcx, [0x0001d1e0]
call qword [sym.imp.ntoskrnl.exe_ExReleaseResourceLite]
call qword [sym.imp.ntoskrnl.exe_KeLeaveCriticalRegion]
jmp 0x14bc6
mov edi, 0x69676572
mov edx, 0x18
xor ecx, ecx
mov r8d, edi
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rbx, rax
cmp rax, r13
je 0x14b9d
mov r8d, edi
mov edi, 0x400
xor ecx, ecx
mov rdx, rdi
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov qword [rbx], rax
cmp rax, r13
je 0x14b9d
mov r8, rdi
xor edx, edx
mov rcx, rax
call fcn.00017320
mov rax, qword [rbx]
mov r11, rsi
cmp rsi, 0x7ffffffe
ja 0x14b81
mov r8, r12
mov ecx, 0x200
sub r8, rax
cmp r11, r13
je 0x14b78
movzx edx, word [r8 + rax]
cmp dx, r13w
je 0x14b78
dec rcx
mov word [rax], dx
dec r11
add rax, 2
cmp rcx, r13
jne 0x14b56
cmp rcx, r13
jne 0x14b81
sub rax, 2
mov word [rax], r13w
mov rax, qword [0x0001d2b0]
mov dword [rbx + 8], ebp
mov dword [rbx + 0xc], esi
mov qword [0x0001d2b0], rbx
mov qword [rbx + 0x10], rax
lea rcx, [0x0001d1e0]
call qword [sym.imp.ntoskrnl.exe_ExReleaseResourceLite]
call qword [sym.imp.ntoskrnl.exe_KeLeaveCriticalRegion]
lea rdx, [0x00018c80]
lea rcx, [0x00018ca0]
mov r8, r12
call sub.ntoskrnl.exe_DbgPrint
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rax, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r13
pop r12
pop rdi
ret

Function at 0x14c6c
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
call qword [sym.imp.ntoskrnl.exe_KeEnterCriticalRegion]
lea rcx, [0x0001d1e0]
mov dl, 1
call qword [sym.imp.ntoskrnl.exe_ExAcquireResourceExclusiveLite]
mov r11, qword [0x0001d2b0]
test r11, r11
je 0x14cc8
mov r8, qword [r11]
mov rbx, qword [r11 + 0x10]
test r8, r8
je 0x14cc0
cmp dword [r11 + 8], 1
lea rdx, [0x00018cd0]
lea rcx, [0x00018cf0]
je 0x14cbb
lea rcx, [0x00018d20]
call sub.ntoskrnl.exe_DbgPrint
mov r11, rbx
test rbx, rbx
jne 0x14c93
lea rcx, [0x0001d1e0]
call qword [sym.imp.ntoskrnl.exe_ExReleaseResourceLite]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.ntoskrnl.exe_KeLeaveCriticalRegion]
Function at 0x16874
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
sub rsp, 0x30
mov rbp, r8
mov r12, rdx
mov esi, ecx
call qword [sym.imp.ntoskrnl.exe_KeEnterCriticalRegion]
lea rcx, [0x0001d1e0]
mov dl, 1
call qword [sym.imp.ntoskrnl.exe_ExAcquireResourceExclusiveLite]
mov rbx, qword [0x0001d1a0]
xor edi, edi
lea rcx, [0x00019aa0]
mov rax, qword [rbx + 0x10]
mov r9, qword [rbx + 8]
mov r8d, dword [rbx + 0x18]
lea rdx, [0x00019a80]
mov qword [rsp + 0x20], rax
call sub.ntoskrnl.exe_DbgPrint
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1691a
cmp qword [rbx + 0x10], 0
je 0x1691a
cmp dword [rbx + 0x18], esi
je 0x1691a
mov rdx, r12
call qword [sym.imp.ntoskrnl.exe__wcsicmp]
test eax, eax
je 0x1691a
mov rcx, qword [rbx + 0x10]
mov rdx, rbp
call qword [sym.imp.ntoskrnl.exe__wcsicmp]
test eax, eax
je 0x1691a
mov rdi, rbx
mov rbx, qword [rbx + 0x20]
lea rcx, [0x00019ae0]
jmp 0x168ba
mov rax, qword [rbx + 0x20]
test rdi, rdi
je 0x16929
mov qword [rdi + 0x20], rax
jmp 0x16930
mov qword [0x0001d1a0], rax
mov rax, qword [rbx + 0x10]
mov r9, qword [rbx + 8]
mov r8d, dword [rbx + 0x18]
lea rdx, [0x00019a80]
lea rcx, [0x00019b20]
mov qword [rsp + 0x20], rax
call sub.ntoskrnl.exe_DbgPrint
mov rcx, qword [rbx + 8]
mov edi, 0x74647461
test rcx, rcx
je 0x1696a
mov edx, edi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1697b
mov edx, edi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov edx, edi
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
lea rcx, [0x0001d1e0]
call qword [sym.imp.ntoskrnl.exe_ExReleaseResourceLite]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r12
jmp qword [sym.imp.ntoskrnl.exe_KeLeaveCriticalRegion]
Function at 0x169bc
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rsi, rcx
call qword [sym.imp.ntoskrnl.exe_KeEnterCriticalRegion]
lea rcx, [0x0001d1e0]
mov dl, 1
call qword [sym.imp.ntoskrnl.exe_ExAcquireResourceExclusiveLite]
mov rbx, qword [0x0001d1a0]
xor edi, edi
test rbx, rbx
je 0x16a91
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x16a17
mov rdx, rsi
call qword [sym.imp.ntoskrnl.exe__wcsicmp]
test eax, eax
je 0x16a17
mov rdi, rbx
mov rbx, qword [rbx + 0x20]
test rbx, rbx
jne 0x169f5
test rbx, rbx
je 0x16a91
mov rax, qword [rbx + 0x20]
test rdi, rdi
je 0x16a2b
mov qword [rdi + 0x20], rax
jmp 0x16a32
mov qword [0x0001d1a0], rax
mov rax, qword [rbx + 0x10]
mov r9, qword [rbx + 8]
mov r8d, dword [rbx + 0x18]
lea rdx, [0x00019b60]
lea rcx, [0x00019b80]
mov qword [rsp + 0x20], rax
call sub.ntoskrnl.exe_DbgPrint
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x16a6a
mov edx, 0x74647461
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x16a7e
mov edx, 0x74647461
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov edx, 0x74647461
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
jmp 0x169e3
lea rcx, [0x0001d1e0]
call qword [sym.imp.ntoskrnl.exe_ExReleaseResourceLite]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.ntoskrnl.exe_KeLeaveCriticalRegion]

Function at 0x16b58
Capabilities:
Attach user process memory
Find process by pid

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
mov rdi, rdx
cmp rcx, 4
jne 0x16b85
lea rdx, [0x00019c20]
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_RtlAppendUnicodeToString]
jmp 0x16c69
lea rdx, [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov ebx, eax
xor esi, esi
cmp eax, esi
jl 0x16c67
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_PsGetProcessPeb]
mov rbx, rax
cmp rax, rsi
je 0x16c57
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
nop
mov edx, 0x2c8
lea r8d, [rsi + 1]
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ProbeForRead]
mov rcx, qword [rbx + 0x20]
cmp rcx, rsi
je 0x16c36
mov edx, 0x80
lea r8d, [rsi + 1]
call qword [sym.imp.ntoskrnl.exe_ProbeForRead]
mov r11, qword [rbx + 0x20]
cmp qword [r11 + 0x68], rsi
je 0x16c2b
cmp word [r11 + 0x60], si
jbe 0x16c2b
movzx edx, word [r11 + 0x60]
lea r8d, [rsi + 1]
mov rcx, qword [r11 + 0x68]
call qword [sym.imp.ntoskrnl.exe_ProbeForRead]
mov rdx, qword [rbx + 0x20]
add rdx, 0x60
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_RtlAppendUnicodeStringToString]
mov ebx, eax
mov dword [rsp + 0x20], eax
jmp 0x16c3f
mov ebx, 0xc0000001
mov dword [rsp + 0x20], ebx
jmp 0x16c3f
mov ebx, 0xc0000001
mov dword [rsp + 0x20], ebx
jmp 0x16c4a
lea rcx, [rsp + 0x28]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
jmp 0x16c5c
mov ebx, 0xc0000001
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, ebx
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x16c84
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
sub rsp, 0x20
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.ntoskrnl.exe_KeEnterCriticalRegion]
lea rcx, [0x0001d1e0]
mov dl, 1
call qword [sym.imp.ntoskrnl.exe_ExAcquireResourceExclusiveLite]
mov rdi, qword [0x0001d1a8]
xor r12d, r12d
cmp rdi, r12
je 0x16d08
cmp qword [rdi + 0x10], rbp
jne 0x16cdf
mov rcx, qword [rdi + 0x18]
mov rdx, rsi
call qword [sym.imp.ntoskrnl.exe__wcsicmp]
cmp eax, r12d
je 0x16ce8
mov rdi, qword [rdi + 0x20]
cmp rdi, r12
jne 0x16cc7
cmp rdi, r12
je 0x16d08
lea rcx, [0x0001d1e0]
call qword [sym.imp.ntoskrnl.exe_ExReleaseResourceLite]
call qword [sym.imp.ntoskrnl.exe_KeLeaveCriticalRegion]
mov rax, rdi
jmp 0x16e17
mov edi, 0x74657665
mov edx, 0x28
xor ecx, ecx
mov r8d, edi
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rbx, rax
cmp rax, r12
je 0x16de6
mov r8d, edi
mov edx, 0x18
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov qword [rbx], rax
cmp rax, r12
je 0x16d4f
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
mov r8d, edi
mov edi, 0x400
xor ecx, ecx
mov rdx, rdi
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov qword [rbx + 0x18], rax
cmp rax, r12
je 0x16dd0
mov r8, rdi
xor edx, edx
mov rcx, rax
call fcn.00017320
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rsi
repne scasw ax, word [rdi]
mov rax, qword [rbx + 0x18]
not rcx
dec rcx
mov rdi, rcx
cmp rcx, 0x7ffffffe
ja 0x16dcc
mov ecx, 0x200
sub rsi, rax
cmp rdi, r12
je 0x16dc3
movzx edx, word [rsi + rax]
cmp dx, r12w
je 0x16dc3
dec rcx
mov word [rax], dx
dec rdi
add rax, 2
cmp rcx, r12
jne 0x16da2
cmp rcx, r12
jne 0x16dcc
sub rax, 2
mov word [rax], r12w
mov rax, qword [0x0001d1a8]
mov qword [rbx + 0x10], rbp
mov qword [0x0001d1a8], rbx
mov qword [rbx + 0x20], rax
lea rcx, [0x0001d1e0]
call qword [sym.imp.ntoskrnl.exe_ExReleaseResourceLite]
call qword [sym.imp.ntoskrnl.exe_KeLeaveCriticalRegion]
mov r9, qword [rbx + 0x18]
mov r8, qword [rbx + 0x10]
lea rdx, [0x00019c30]
lea rcx, [0x00019c50]
call sub.ntoskrnl.exe_DbgPrint
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret
Function at 0x16e38
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov bpl, r8b
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.ntoskrnl.exe_KeEnterCriticalRegion]
lea rcx, [0x0001d1e0]
mov dl, 1
call qword [sym.imp.ntoskrnl.exe_ExAcquireResourceExclusiveLite]
mov rbx, qword [0x0001d1a8]
test rbx, rbx
je 0x16ef2
cmp qword [rbx + 0x10], rdi
je 0x16eae
mov rcx, qword [rbx + 0x18]
mov rdx, rsi
call qword [sym.imp.ntoskrnl.exe__wcsicmp]
test eax, eax
je 0x16eae
mov rbx, qword [rbx + 0x20]
lea rdx, [0x00019c90]
lea rcx, [0x00019cb0]
mov r9, qword [rbx + 0x18]
mov r8, qword [rbx + 0x10]
call sub.ntoskrnl.exe_DbgPrint
jmp 0x16e76
mov rcx, qword [rbx]
xor r8d, r8d
xor edx, edx
mov byte [rbx + 8], bpl
call qword [sym.imp.ntoskrnl.exe_KeSetEvent]
lea rcx, [0x0001d1e0]
call qword [sym.imp.ntoskrnl.exe_ExReleaseResourceLite]
call qword [sym.imp.ntoskrnl.exe_KeLeaveCriticalRegion]
mov r9, qword [rbx + 0x18]
mov r8, qword [rbx + 0x10]
lea rdx, [0x00019c90]
lea rcx, [0x00019d30]
call sub.ntoskrnl.exe_DbgPrint
mov al, 1
jmp 0x16f1a
lea rdx, [0x00019c90]
lea rcx, [0x00019cf0]
call sub.ntoskrnl.exe_DbgPrint
lea rcx, [0x0001d1e0]
call qword [sym.imp.ntoskrnl.exe_ExReleaseResourceLite]
call qword [sym.imp.ntoskrnl.exe_KeLeaveCriticalRegion]
xor al, al
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x16f38
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, rdx
mov rsi, rcx
call qword [sym.imp.ntoskrnl.exe_KeEnterCriticalRegion]
lea rcx, [0x0001d1e0]
mov dl, 1
call qword [sym.imp.ntoskrnl.exe_ExAcquireResourceExclusiveLite]
mov rbx, qword [0x0001d1a8]
xor edi, edi
test rbx, rbx
je 0x17009
cmp qword [rbx + 0x10], rsi
je 0x16f9c
mov rcx, qword [rbx + 0x18]
mov rdx, rbp
call qword [sym.imp.ntoskrnl.exe__wcsicmp]
test eax, eax
je 0x16f9c
mov rdi, rbx
mov rbx, qword [rbx + 0x20]
test rbx, rbx
jne 0x16f79
test rbx, rbx
je 0x17009
mov sil, byte [rbx + 8]
mov rax, qword [rbx + 0x20]
test rdi, rdi
je 0x16fb4
mov qword [rdi + 0x20], rax
jmp 0x16fbb
mov qword [0x0001d1a8], rax
mov r9, qword [rbx + 0x18]
mov r8, qword [rbx + 0x10]
lea rdx, [0x00019d70]
lea rcx, [0x00019dd0]
call sub.ntoskrnl.exe_DbgPrint
mov rcx, qword [rbx + 0x18]
mov edi, 0x74657665
test rcx, rcx
je 0x16fec
mov edx, edi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rcx, qword [rbx]
test rcx, rcx
je 0x16ffc
mov edx, edi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov edx, edi
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
jmp 0x1701f
lea rdx, [0x00019d70]
lea rcx, [0x00019d90]
call sub.ntoskrnl.exe_DbgPrint
xor sil, sil
lea rcx, [0x0001d1e0]
call qword [sym.imp.ntoskrnl.exe_ExReleaseResourceLite]
call qword [sym.imp.ntoskrnl.exe_KeLeaveCriticalRegion]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov al, sil
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret