joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000bd78
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 r14
sub rsp, 0x50
mov bpl, r8b
mov r14d, edx
mov rdi, rcx
mov ebx, 0x200
add bx, word [rcx]
mov r8d, 0x6e4d7350
movzx edx, bx
mov ecx, 1
mov rsi, r9
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
xor r12d, r12d
mov word [rsp + 0x42], bx
mov qword [rsp + 0x48], rax
mov word [rsp + 0x40], r12w
test rax, rax
jne 0x14000bde6
lea rcx, [0x140012430]
call sub.ntoskrnl.exe_DbgPrint
mov eax, 0xc00000a0
jmp 0x14000be91
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.14000b02c
mov ebx, eax
test eax, eax
jns 0x14000be0f
lfence
mov r8, rdi
lea rcx, [0x140013820]
mov edx, eax
call sub.ntoskrnl.exe_DbgPrint
jmp 0x14000be7f
mov rbx, cr8
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentThreadId]
mov rdi, rax
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
lea rcx, [rsp + 0x40]
movzx r9d, bl
mov qword [rsp + 0x30], rcx
lea r8, [0x140014130]
mov edx, 2
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
lea ecx, [rdx + 0x4b]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov rcx, qword [0x14006d180]
lea rdx, [rsp + 0x40]
mov r9, rsi
mov r8d, r14d
call fcn.14000de88
mov ebx, eax
test bpl, bpl
je 0x14000be7f
xor r9d, r9d
lea rcx, [rsp + 0x40]
mov r8b, 1
xor edx, edx
call fcn.14000d8c4
mov rcx, qword [rsp + 0x48]
mov edx, 0x6e4d7350
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, ebx
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop r12
pop rdi
ret
Function at 0x14000cee4
Capabilities:
Find process by pid
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
lea rdx, [rsp + 0x38]
mov ecx, 4
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jns 0x14000cf18
lea rcx, [0x140013370]
call sub.ntoskrnl.exe_DbgPrint
jmp 0x14000cf91
mov rcx, qword [rsi + 0x20]
call fcn.14000b7f8
mov rcx, qword [rsp + 0x38]
mov rbx, rax
call fcn.14000b7f8
mov rdi, rax
test rbx, rbx
je 0x14000cf71
test rax, rax
je 0x14000cf71
lea rcx, [0x14006d100]
call qword [sym.imp.ntoskrnl.exe_KeAcquireGuardedMutex]
mov rdx, qword [rbx]
cmp qword [rbx + 8], rdx
jne 0x14000cf62
mov rax, qword [rdi]
mov qword [rbx + 8], rdi
mov qword [rbx], rax
mov qword [rdi], rbx
mov qword [rax + 8], rbx
lea rcx, [0x14006d100]
call qword [sym.imp.ntoskrnl.exe_KeReleaseGuardedMutex]
jmp 0x14000cf86
mov r8, qword [rsp + 0x38]
lea rcx, [0x1400133b0]
mov rdx, qword [rsi + 0x20]
call sub.ntoskrnl.exe_DbgPrint
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14000d8c4
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
and qword [rbp - 0x60], 0
mov r14b, r8b
and qword [rbp - 0x58], 0
lea r8, [rbp - 0x58]
mov r15b, dl
mov r12, rcx
lea rdx, [rbp - 0x60]
mov ecx, 5
mov sil, r9b
call fcn.14000b434
mov ebx, eax
test eax, eax
jns 0x14000d92c
lfence
mov edx, eax
lea rcx, [0x140014060]
call sub.ntoskrnl.exe_DbgPrint
mov eax, ebx
jmp 0x14000da84
mov rax, qword [rbp - 0x60]
xor ecx, ecx
mov rdi, rax
add rax, rcx
mov qword [rbp - 0x60], rax
cmp qword [rax + 0x50], 0
je 0x14000da6f
and qword [rbp - 0x28], 0
lea r9, [rbp - 0x40]
and qword [rbp - 0x20], 0
lea r8, [rbp - 0x30]
xorps xmm0, xmm0
mov dword [rbp - 0x30], 0x30
movdqu xmmword [rbp - 0x10], xmm0
mov dword [rbp - 0x18], 0x200
lea rcx, [rbp - 0x50]
mov rax, qword [rax + 0x50]
mov edx, 0x1000
and qword [rbp - 0x38], 0
mov qword [rbp - 0x40], rax
call qword [sym.imp.ntoskrnl.exe_ZwOpenProcess]
test eax, eax
jns 0x14000d9ae
mov r8d, eax
lea rcx, [0x1400140a0]
lfence
mov rdx, qword [rbp - 0x60]
mov rdx, qword [rdx + 0x50]
call sub.ntoskrnl.exe_DbgPrint
jmp 0x14000da6b
mov rdx, qword [rbp - 0x50]
lea r9, [rbp - 0x58]
lea r8, [rbp - 0x48]
mov ecx, 0x1b
call fcn.14000b328
mov rcx, qword [rbp - 0x50]
mov ebx, eax
call qword [sym.imp.ntoskrnl.exe_ZwClose]
test ebx, ebx
jns 0x14000d9e0
mov r8d, ebx
lea rcx, [0x1400140e0]
jmp 0x14000d999
mov rcx, qword [rbp - 0x48]
mov r8b, 1
mov rdx, r12
call qword [sym.imp.ntoskrnl.exe_RtlCompareUnicodeString]
test eax, eax
jne 0x14000da62
lea rcx, [0x14006d140]
call qword [sym.imp.ntoskrnl.exe_ExAcquireFastMutex]
mov rcx, qword [rbp - 0x60]
mov rcx, qword [rcx + 0x50]
call fcn.14000e480
mov rbx, rax
test rax, rax
je 0x14000da55
test r15b, r15b
je 0x14000da23
and dword [rax + 0xc], 0
mov byte [rax + 8], 1
test r14b, r14b
je 0x14000da30
and dword [rax + 0x14], 0
mov byte [rax + 0x10], 1
test sil, sil
je 0x14000da55
cmp byte [rax + 0x18], 0
jne 0x14000da4b
mov rcx, rbx
call fcn.14000dc78
mov rcx, rbx
call fcn.14000dce4
and dword [rbx + 0x1c], 0
mov word [rbx + 0x18], 1
lea rcx, [0x14006d140]
call qword [sym.imp.ntoskrnl.exe_ExReleaseFastMutex]
mov rcx, qword [rbp - 0x48]
call fcn.14000afa4
mov rax, qword [rbp - 0x60]
mov ecx, dword [rax]
test rcx, rcx
jne 0x14000d935
mov rcx, rdi
call fcn.14000afa4
xor eax, eax
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x14000dc78
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [rcx + 0x20]
call fcn.14000b7f8
mov rbx, rax
test rax, rax
jne 0x14000dca8
mov rdx, qword [rdi + 0x20]
lea rcx, [0x140013320]
call sub.ntoskrnl.exe_DbgPrint
jmp 0x14000dcd7
lea rcx, [0x14006d100]
call qword [sym.imp.ntoskrnl.exe_KeAcquireGuardedMutex]
mov rdx, qword [rbx + 8]
lea rcx, [0x14006d100]
mov rax, qword [rbx]
mov qword [rdx], rax
mov qword [rax + 8], rdx
mov qword [rbx + 8], rbx
mov qword [rbx], rbx
call qword [sym.imp.ntoskrnl.exe_KeReleaseGuardedMutex]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14000dce4
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rbx, rcx
call fcn.14000b80c
mov rcx, qword [rbx]
mov rdi, rax
test rax, rax
jne 0x14000dd15
mov rdx, rcx
lea rcx, [0x140013560]
call sub.ntoskrnl.exe_DbgPrint
jmp 0x14000dd9a
mov qword [rsp + 0x20], rcx
mov byte [rsp + 0x28], 0
call fcn.14000afb0
test al, al
lea rcx, [0x14000d540]
lea rdx, [0x14000d490]
cmovne rdx, rcx
lea r8, [rsp + 0x20]
xor r9d, r9d
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ExEnumHandleTable]
test al, al
jne 0x14000dd59
mov rdx, qword [rbx]
lea rcx, [0x1400135a0]
jmp 0x14000dd0b
cmp byte [rsp + 0x28], 0
jne 0x14000dd6c
mov rdx, qword [rbx]
lea rcx, [0x1400135e0]
jmp 0x14000dd0b
call fcn.14000afb0
test al, al
jne 0x14000dd87
mov rax, qword [rsp + 0x40]
and qword [rax], 0
mov rax, qword [rsp + 0x40]
and dword [rax + 8], 0
movups xmm0, xmmword [rsp + 0x30]
mov rax, qword [rsp + 0x40]
mov qword [rbx + 0x38], rax
movdqu xmmword [rbx + 0x28], xmm0
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x14000de88
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x20
mov r15, r9
mov edi, r8d
mov r14, rdx
mov r13, rcx
cmp r8d, 3
jbe 0x14000decf
lfence
mov edx, r8d
lea rcx, [0x1400142a0]
call sub.ntoskrnl.exe_DbgPrint
mov eax, 0xc00000f1
jmp 0x14000dfd4
movzx esi, word [rdx]
add esi, 0x20
call fcn.14000b588
mov ecx, eax
mov edx, esi
mov r8d, 0x6c527350
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
xor edx, edx
mov qword [rbp + 0x30], rax
test rax, rax
jne 0x14000df0b
lea rcx, [0x140014270]
call sub.ntoskrnl.exe_DbgPrint
mov eax, 0xc00000a0
jmp 0x14000dfd4
mov dword [rax + 0x18], edi
mov rax, qword [rbp + 0x30]
mov dword [rax + 0x1c], esi
mov rcx, qword [rbp + 0x30]
lea rax, [rcx + 0x20]
mov qword [rcx + 0x10], rax
mov rax, qword [rbp + 0x30]
mov word [rax + 8], dx
mov rdx, r14
movzx ecx, word [r14]
mov rax, qword [rbp + 0x30]
mov word [rax + 0xa], cx
mov rcx, qword [rbp + 0x30]
add rcx, 8
call qword [sym.imp.ntoskrnl.exe_RtlCopyUnicodeString]
lea rcx, [r13 + 0x70]
call qword [sym.imp.ntoskrnl.exe_ExAcquireFastMutex]
mov rsi, qword [r13 + 0x68]
lea r9, [rbp + 0x40]
mov r8d, 8
lea rdx, [rbp + 0x30]
mov rcx, r13
lea rax, [rsi + 1]
mov qword [r13 + 0x68], rax
mov rax, qword [rbp + 0x30]
mov qword [rax], rsi
call qword [sym.imp.ntoskrnl.exe_RtlInsertElementGenericTableAvl]
lea rcx, [r13 + 0x70]
mov rbx, rax
call qword [sym.imp.ntoskrnl.exe_ExReleaseFastMutex]
test rbx, rbx
jne 0x14000dfa7
mov rcx, qword [rbp + 0x30]
mov edx, 0x6c527350
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
lea rcx, [0x1400142d0]
jmp 0x14000defc
cmp byte [rbp + 0x40], 0
jne 0x14000dfcf
mov rcx, qword [rbp + 0x30]
mov edx, 0x6c527350
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
lea rcx, [0x140014310]
call sub.ntoskrnl.exe_DbgPrint
mov eax, 0xc00000bd
jmp 0x14000dfd4
mov qword [r15], rsi
xor eax, eax
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret

Function at 0x14000e120
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rcx
call fcn.14000b588
mov ecx, eax
mov edx, 0xa8
mov r8d, 0x6c527350
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rbx, rax
test rax, rax
jne 0x14000e160
lea rcx, [0x140014270]
call sub.ntoskrnl.exe_DbgPrint
mov eax, 0xc00000a0
jmp 0x14000e1b3
and qword [rbx + 0x78], 0
lea rcx, [rbx + 0x88]
and dword [rbx + 0x80], 0
mov eax, 1
mov edx, eax
mov qword [rbx + 0x68], rax
xor r8d, r8d
mov dword [rbx + 0x70], eax
call qword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
and qword [rsp + 0x20], 0
lea r9, [0x14000e110]
lea r8, [0x14000dff0]
mov rcx, rbx
lea rdx, [0x14000e020]
call qword [sym.imp.ntoskrnl.exe_RtlInitializeGenericTableAvl]
xor eax, eax
mov qword [rdi], rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x14000e1c0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
and qword [rsp + 0x30], 0
mov rbx, rcx
add rcx, 0x70
call qword [sym.imp.ntoskrnl.exe_ExAcquireFastMutex]
jmp 0x14000e219
mov rsi, qword [rax]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_RtlDeleteElementGenericTableAvl]
test al, al
jne 0x14000e205
lea rcx, [0x140014350]
call sub.ntoskrnl.exe_DbgPrint
jmp 0x14000e213
mov edx, 0x6c527350
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
and qword [rsp + 0x30], 0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_RtlEnumerateGenericTableWithoutSplayingAvl]
test rax, rax
jne 0x14000e1e4
lea rcx, [rbx + 0x70]
call qword [sym.imp.ntoskrnl.exe_ExReleaseFastMutex]
mov rbx, qword [rsp + 0x38]
xor eax, eax
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14000e364
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rcx
jmp 0x14000e3ae
test rdi, rdi
je 0x14000e384
mov rcx, rbx
mov rax, rdi
call qword [0x1400162b8]
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rdx, rbx
lea rcx, [0x14006ce60]
call qword [sym.imp.ntoskrnl.exe_RtlDeleteElementGenericTableAvl]
test al, al
jne 0x14000e3ae
lea rcx, [0x1400147c0]
call sub.ntoskrnl.exe_DbgPrint
and qword [rsp + 0x48], 0
lea rdx, [rsp + 0x48]
lea rcx, [0x14006ce60]
call qword [sym.imp.ntoskrnl.exe_RtlEnumerateGenericTableWithoutSplayingAvl]
mov rbx, rax
test rax, rax
jne 0x14000e373
mov rdi, cr8
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentThreadId]
mov rbx, rax
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
mov edx, 2
movzx r9d, dil
mov qword [rsp + 0x28], rbx
lea r8, [0x140014820]
mov qword [rsp + 0x20], rax
lea ecx, [rdx + 0x4b]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x14000ebe0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r14
lea rbp, [rsp - 0x150]
sub rsp, 0x250
mov rax, qword [0x14006cb38]
xor rax, rsp
mov qword [rbp + 0x140], rax
cmp word [rdx], 2
mov rdi, rdx
mov r12d, 0x5c
jbe 0x14000ec39
mov rax, qword [rdx + 8]
cmp word [rax], r12w
jne 0x14000ec39
mov rcx, qword [0x14006ce58]
call fcn.1400105b8
mov dil, al
jmp 0x14000ed65
mov rdx, rcx
lea r9, [rsp + 0x20]
lea rcx, [0x14006ce28]
xor r8d, r8d
xor ebx, ebx
call qword [sym.imp.ntoskrnl.exe_CmCallbackGetKeyObjectID]
mov r14d, eax
test eax, eax
jns 0x14000ec73
lea rcx, [0x140014890]
mov edx, r14d
lfence
call sub.ntoskrnl.exe_DbgPrint
xor al, al
jmp 0x14000ed68
mov rdx, qword [rsp + 0x20]
mov ecx, 0xfffe
movzx esi, word [rdx]
add si, 2
add si, word [rdi]
movzx eax, si
and ax, cx
mov ecx, 0x200
cmp ax, cx
jbe 0x14000ece7
lfence
movzx ebx, si
call fcn.14000b588
mov ecx, eax
mov r8d, 0x46526c46
mov edx, ebx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rbx, rax
test rax, rax
jne 0x14000ecc3
lea rcx, [0x1400148d0]
jmp 0x14000ec61
mov rdx, qword [rsp + 0x20]
mov rcx, rbx
movzx r8d, word [rdx]
mov rdx, qword [rdx + 8]
call fcn.140011300
mov rdx, qword [rsp + 0x20]
mov rcx, rbx
mov qword [rsp + 0x30], rbx
jmp 0x14000ecf1
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x30], rcx
movzx r8d, word [rdx]
mov rdx, qword [rdx + 8]
call fcn.140011300
mov rax, qword [rsp + 0x20]
movzx ecx, word [rax]
mov rax, qword [rsp + 0x30]
shr rcx, 1
mov word [rax + rcx*2], r12w
mov rax, qword [rsp + 0x20]
movzx r8d, word [rdi]
mov rdx, qword [rdi + 8]
movzx ecx, word [rax]
mov rax, qword [rsp + 0x30]
add rax, 2
add rcx, rax
call fcn.140011300
mov rcx, qword [0x14006ce58]
lea rdx, [rsp + 0x28]
mov word [rsp + 0x28], si
mov word [rsp + 0x2a], si
call fcn.1400105b8
mov dil, al
test rbx, rbx
je 0x14000ed65
mov edx, 0x46526c46
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov al, dil
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.140011110
mov rbx, qword [rsp + 0x290]
add rsp, 0x250
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x14000ed90
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp byte [0x14006ce20], 0
jne 0x14000edaf
mov eax, 0xc0000225
jmp 0x14000ee2a
mov rcx, qword [0x14006ce28]
call qword [sym.imp.ntoskrnl.exe_CmUnRegisterCallback]
mov esi, eax
test eax, eax
jns 0x14000edd3
lfence
mov edx, eax
lea rcx, [0x140015170]
call sub.ntoskrnl.exe_DbgPrint
mov rcx, qword [0x14006ce58]
call fcn.14001068c
mov rcx, qword [0x14006ce50]
call fcn.14001068c
mov byte [0x14006ce20], 0
mov rdi, cr8
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentThreadId]
mov rbx, rax
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
mov edx, 2
movzx r9d, dil
mov qword [rsp + 0x28], rbx
lea r8, [0x1400151c0]
mov qword [rsp + 0x20], rax
lea ecx, [rdx + 0x4b]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov eax, esi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14000ef9c
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rdi, rcx
mov edx, 2
lea rcx, [0x14006ce58]
call fcn.140010754
mov ebx, eax
test eax, eax
jns 0x14000efdd
lfence
mov edx, eax
lea rcx, [0x140014ff0]
call sub.ntoskrnl.exe_DbgPrint
mov eax, ebx
jmp 0x14000f10b
mov rcx, qword [0x14006ce58]
lea rdx, [0x14000eeb0]
call fcn.140010808
xor r8d, r8d
lea rdx, [0x14000f120]
lea ecx, [r8 + 2]
call section..text
mov esi, 3
lea rcx, [0x14006ce50]
mov edx, esi
call fcn.140010754
mov ebx, eax
test eax, eax
jns 0x14000f03b
lfence
mov edx, eax
lea rcx, [0x140015040]
call sub.ntoskrnl.exe_DbgPrint
mov rcx, qword [0x14006ce58]
call fcn.14001068c
jmp 0x14000efd6
mov rcx, qword [0x14006ce50]
lea rdx, [0x14000ef30]
call fcn.140010808
xor r8d, r8d
lea rdx, [0x14000f140]
mov ecx, esi
call section..text
lea rdx, [0x1400150a0]
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
and qword [rsp + 0x28], 0
lea rax, [0x14006ce28]
xor r9d, r9d
mov qword [rsp + 0x20], rax
mov r8, rdi
lea rdx, [rsp + 0x30]
lea rcx, [0x14000fb80]
call qword [sym.imp.ntoskrnl.exe_CmRegisterCallbackEx]
mov esi, eax
lfence
test eax, eax
jns 0x14000f0cc
mov edx, eax
lea rcx, [0x1400150b0]
call sub.ntoskrnl.exe_DbgPrint
mov rcx, qword [0x14006ce58]
call fcn.14001068c
mov rcx, qword [0x14006ce50]
call fcn.14001068c
jmp 0x14000f109
mov byte [0x14006ce20], 1
mov rdi, cr8
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentThreadId]
mov rbx, rax
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
mov edx, 2
movzx r9d, dil
mov qword [rsp + 0x28], rbx
lea r8, [0x140015100]
mov qword [rsp + 0x20], rax
lea ecx, [rdx + 0x4b]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov eax, esi
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x14000f154
Capabilities:
Print debug messages
Query or enumerate registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
push rsi
push rdi
push r14
sub rsp, 0x70
mov rsi, rdx
cmp dword [rdx + 8], 0
jl 0x14000f3a0
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
mov rcx, rax
call fcn.14000caf8
test al, al
jne 0x14000f3a0
lea r9, [rsp + 0x48]
xor r8d, r8d
mov rdx, qword [rsi]
lea rcx, [0x14006ce28]
call qword [sym.imp.ntoskrnl.exe_CmCallbackGetKeyObjectID]
test eax, eax
jns 0x14000f1bb
lea rcx, [0x140014a60]
mov edx, eax
lfence
call sub.ntoskrnl.exe_DbgPrint
jmp 0x14000f3a0
mov r14, qword [rsi + 0x10]
lea r8, [rsp + 0x60]
mov rdx, qword [r14 + 0x10]
mov ecx, dword [r14 + 0xc]
call fcn.14000ee3c
test al, al
je 0x14000f3a0
and dword [rsp + 0xa0], 0
lea r9, [rsp + 0xa0]
lea r8, [rsp + 0x60]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [0x14006ce58]
call fcn.1400105c0
test al, al
je 0x14000f24e
mov rbx, cr8
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentThreadId]
mov rdi, rax
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
movzx r9d, bl
mov ecx, dword [rsp + 0xa0]
mov dword [rsp + 0x38], ecx
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
lea r8, [0x140014aa0]
mov edx, 2
lea ecx, [rdx + 0x4b]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
cmp dword [rsp + 0xa0], 0
jbe 0x14000f3a0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x28], 0
mov rax, qword [sym.imp.ntoskrnl.exe_CmKeyObjectType]
mov rcx, qword [rax]
mov qword [rsp + 0x20], rcx
mov r9d, 0xf003f
xor r8d, r8d
mov edx, 0x200
mov rcx, qword [rsi]
call qword [sym.imp.ntoskrnl.exe_ObOpenObjectByPointer]
test eax, eax
jns 0x14000f2a1
lea rcx, [0x140014b20]
jmp 0x14000f1ac
mov edx, dword [r14 + 0x18]
mov ecx, 1
mov r8d, 0x46526c46
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rbx, rax
mov qword [rsp + 0x58], rax
test rax, rax
je 0x14000f390
mov edx, dword [r14 + 8]
add edx, dword [rsp + 0xa0]
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x28], rax
mov ecx, dword [r14 + 0x18]
mov dword [rsp + 0x20], ecx
mov r9, rbx
mov r8d, dword [r14 + 0xc]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_ZwEnumerateKey]
mov edi, eax
mov dword [rsp + 0x40], eax
test eax, eax
js 0x14000f380
lfence
lea r8, [rsp + 0x60]
mov rdx, rbx
mov ecx, dword [r14 + 0xc]
call fcn.14000ee3c
test al, al
je 0x14000f380
lea r9, [rsp + 0xa0]
lea r8, [rsp + 0x60]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [0x14006ce58]
call fcn.1400105c0
test al, al
jne 0x14000f2c7
mov rdx, qword [r14 + 0x20]
mov eax, dword [rsp + 0xa8]
mov dword [rdx], eax
lfence
mov r8d, dword [rsp + 0xa8]
mov rdx, rbx
mov rcx, qword [r14 + 0x10]
call fcn.140011300
jmp 0x14000f380
mov edx, 0x46526c46
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
jmp 0x14000f392
xor edi, edi
mov dword [rsi + 0x18], edi
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
xor eax, eax
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop r14
pop rdi
pop rsi
ret
Function at 0x14000f3b4
Capabilities:
Print debug messages
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
push rsi
push rdi
push r14
sub rsp, 0x70
mov rsi, rdx
cmp dword [rdx + 8], 0
jl 0x14000f600
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
mov rcx, rax
call fcn.14000caf8
test al, al
jne 0x14000f600
lea r9, [rsp + 0x48]
xor r8d, r8d
mov rdx, qword [rsi]
lea rcx, [0x14006ce28]
call qword [sym.imp.ntoskrnl.exe_CmCallbackGetKeyObjectID]
test eax, eax
jns 0x14000f41b
lea rcx, [0x140014a60]
mov edx, eax
lfence
call sub.ntoskrnl.exe_DbgPrint
jmp 0x14000f600
mov r14, qword [rsi + 0x10]
lea r8, [rsp + 0x60]
mov rdx, qword [r14 + 0x10]
mov ecx, dword [r14 + 0xc]
call fcn.14000ee70
test al, al
je 0x14000f600
and dword [rsp + 0xa0], 0
lea r9, [rsp + 0xa0]
lea r8, [rsp + 0x60]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [0x14006ce50]
call fcn.1400105c0
test al, al
je 0x14000f4ae
mov rbx, cr8
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentThreadId]
mov rdi, rax
call qword [sym.imp.ntoskrnl.exe_PsGetCurrentProcessId]
movzx r9d, bl
mov ecx, dword [rsp + 0xa0]
mov dword [rsp + 0x38], ecx
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
lea r8, [0x140014ba0]
mov edx, 2
lea ecx, [rdx + 0x4b]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
cmp dword [rsp + 0xa0], 0
jbe 0x14000f600
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x28], 0
mov rax, qword [sym.imp.ntoskrnl.exe_CmKeyObjectType]
mov rcx, qword [rax]
mov qword [rsp + 0x20], rcx
mov r9d, 0xf003f
xor r8d, r8d
mov edx, 0x200
mov rcx, qword [rsi]
call qword [sym.imp.ntoskrnl.exe_ObOpenObjectByPointer]
test eax, eax
jns 0x14000f501
lea rcx, [0x140014b20]
jmp 0x14000f40c
mov edx, dword [r14 + 0x18]
mov ecx, 1
mov r8d, 0x46526c46
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rbx, rax
mov qword [rsp + 0x58], rax
test rax, rax
je 0x14000f5f0
mov edx, dword [r14 + 8]
add edx, dword [rsp + 0xa0]
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x28], rax
mov ecx, dword [r14 + 0x18]
mov dword [rsp + 0x20], ecx
mov r9, rbx
mov r8d, dword [r14 + 0xc]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_ZwEnumerateValueKey]
mov edi, eax
mov dword [rsp + 0x40], eax
test eax, eax
js 0x14000f5e0
lfence
lea r8, [rsp + 0x60]
mov rdx, rbx
mov ecx, dword [r14 + 0xc]
call fcn.14000ee70
test al, al
je 0x14000f5e0
lea r9, [rsp + 0xa0]
lea r8, [rsp + 0x60]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [0x14006ce50]
call fcn.1400105c0
test al, al
jne 0x14000f527
mov rdx, qword [r14 + 0x20]
mov eax, dword [rsp + 0xa8]
mov dword [rdx], eax
lfence
mov r8d, dword [rsp + 0xa8]
mov rdx, rbx
mov rcx, qword [r14 + 0x10]
call fcn.140011300
jmp 0x14000f5e0
mov edx, 0x46526c46
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
jmp 0x14000f5f2
xor edi, edi
mov dword [rsi + 0x18], edi
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
xor eax, eax
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop r14
pop rdi
pop rsi
ret