Function at 0x14000b020
Capabilities:
Print debug messages
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x4e8
mov rax, qword [0x1400102d0]
xor rax, rsp
mov qword [rsp + 0x4d0], rax
mov dword [rsp + 0x44], 0
mov byte [rsp + 0x40], 1
mov dword [rsp + 0x50], 0
mov rax, qword [rsp + 0x500]
cmp dword [rax + 8], 0
jge 0x14000b06a
xor eax, eax
jmp 0x14000b46e
lea rdx, [0x140016cc8]
lea rcx, [rsp + 0x68]
call fcn.140001220
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x58]
xor r8d, r8d
mov rax, qword [rsp + 0x500]
mov rdx, qword [rax]
lea rcx, [0x140016cc0]
call qword [sym.imp.ntoskrnl.exe_CmCallbackGetKeyObjectIDEx]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jge 0x14000b0c9
mov dword [rsp + 0x78], 0
lea rcx, [rsp + 0x68]
call fcn.140001260
mov eax, dword [rsp + 0x78]
jmp 0x14000b46e
lea rax, [rsp + 0xb0]
mov rdi, rax
mov rsi, qword [rsp + 0x58]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov edx, 3
lea rcx, [rsp + 0xb0]
call fcn.140001fb0
movzx eax, al
test eax, eax
jne 0x14000b11f
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ntoskrnl.exe_CmCallbackReleaseKeyObjectIDEx]
mov dword [rsp + 0x7c], 0
lea rcx, [rsp + 0x68]
call fcn.140001260
mov eax, dword [rsp + 0x7c]
jmp 0x14000b46e
mov rax, qword [rsp + 0x500]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x48], rax
lea r8, [rsp + 0x90]
mov rax, qword [rsp + 0x48]
mov rdx, qword [rax + 0x10]
mov rax, qword [rsp + 0x48]
mov ecx, dword [rax + 0xc]
call fcn.1400038c0
movzx eax, al
test eax, eax
jne 0x14000b181
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ntoskrnl.exe_CmCallbackReleaseKeyObjectIDEx]
mov dword [rsp + 0x80], 0
lea rcx, [rsp + 0x68]
call fcn.140001260
mov eax, dword [rsp + 0x80]
jmp 0x14000b46e
movzx eax, word [rsp + 0x90]
xor edx, edx
mov ecx, 2
div rcx
xor ecx, ecx
mov rdx, qword [rsp + 0x98]
mov word [rdx + rax*2], cx
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x6864694e
mov byte [rsp + 0x28], 0
mov rax, qword [sym.imp.ntoskrnl.exe_CmKeyObjectType]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
mov edx, 0x200
mov rax, qword [rsp + 0x500]
mov rcx, qword [rax]
call qword [sym.imp.ntoskrnl.exe_ObOpenObjectByPointerWithTag]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jge 0x14000b220
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ntoskrnl.exe_CmCallbackReleaseKeyObjectIDEx]
mov dword [rsp + 0x84], 0
lea rcx, [rsp + 0x68]
call fcn.140001260
mov eax, dword [rsp + 0x84]
jmp 0x14000b46e
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x18]
mov r8d, 0x6864694e
mov edx, eax
mov ecx, 1
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
je 0x14000b422
mov dword [rsp + 0xc4], 3
mov rax, qword [rsp + 0x58]
movzx eax, word [rax]
xor edx, edx
mov ecx, 2
div rcx
mov r8, rax
mov rax, qword [rsp + 0x58]
mov rdx, qword [rax + 8]
lea rcx, [rsp + 0xc8]
call fcn.1400011e0
movzx eax, byte [rsp + 0x40]
test eax, eax
je 0x14000b410
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 8]
add eax, dword [rsp + 0x50]
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x48]
mov ecx, dword [rcx + 0x18]
mov dword [rsp + 0x20], ecx
mov r9, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x48]
mov r8d, dword [rcx + 0xc]
mov edx, eax
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.ntoskrnl.exe_ZwEnumerateValueKey]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jge 0x14000b2e1
mov byte [rsp + 0x40], 0
jmp 0x14000b282
lea r8, [rsp + 0x90]
mov rax, qword [rsp + 0x48]
mov rdx, qword [rax + 0x10]
mov rax, qword [rsp + 0x48]
mov ecx, dword [rax + 0xc]
call fcn.1400038c0
movzx eax, al
test eax, eax
jne 0x14000b30b
mov byte [rsp + 0x40], 0
movzx eax, word [rsp + 0x90]
xor edx, edx
mov ecx, 2
div rcx
xor ecx, ecx
mov rdx, qword [rsp + 0x98]
mov word [rdx + rax*2], cx
mov eax, 2
imul rax, rax, 0
xor ecx, ecx
mov word [rsp + rax + 0x2c6], cx
movzx eax, word [rsp + 0x90]
xor edx, edx
mov ecx, 2
div rcx
mov r8, rax
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0x2c6]
call fcn.1400011a0
lea rcx, [rsp + 0xc0]
call fcn.140002a00
movzx eax, al
test eax, eax
jne 0x14000b3cc
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x20]
mov ecx, dword [rsp + 0x60]
mov dword [rax], ecx
mov eax, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
mov rdi, qword [rcx + 0x10]
mov rsi, qword [rsp + 0x70]
mov ecx, eax
rep movsb byte [rdi], byte [rsi]
jmp 0x14000b3c0
mov byte [rsp + 0x40], 0
jmp 0x14000b282
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
call qword [sym.imp.ntoskrnl.exe_KeGetCurrentIrql]
mov byte [rsp + 0x41], al
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_KeLowerIrql]
lea rdx, [rsp + 0xc8]
lea rcx, [0x14000d490]
call sub.ntoskrnl.exe_DbgPrint
movzx ecx, byte [rsp + 0x41]
call qword [sym.imp.ntoskrnl.exe_KfRaiseIrql]
mov byte [rsp + 0x41], al
jmp 0x14000b282
mov edx, 0x6864694e
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
jmp 0x14000b42a
mov dword [rsp + 0x44], 0
mov rax, qword [rsp + 0x500]
mov ecx, dword [rsp + 0x44]
mov dword [rax + 0x18], ecx
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ntoskrnl.exe_CmCallbackReleaseKeyObjectIDEx]
mov dword [rsp + 0x8c], 0
lea rcx, [rsp + 0x68]
call fcn.140001260
mov eax, dword [rsp + 0x8c]
mov rcx, qword [rsp + 0x4d0]
xor rcx, rsp
call fcn.14000d060
add rsp, 0x4e8
pop rdi
pop rsi
ret