Function at 0x181c0
Capabilities:
Print debug messages
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
sub rsp, 0xe0
mov rax, qword [0x00013200]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov rbp, qword [rcx + 0x40]
mov rcx, rbp
call fcn.00010308
lea rdx, str.RegistryMACHINESystemCurrentControlSetR4NDDump
lea rcx, [rsp + 0x70]
xor edi, edi
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
and qword [rsp + 0x48], rdi
and qword [rsp + 0x60], rdi
and qword [rsp + 0x68], rdi
lea eax, [rdi + 0x30]
mov dword [rsp + 0x40], eax
lea rax, [rsp + 0x70]
lea r8, [rsp + 0x40]
lea rcx, [rsp + 0x38]
mov edx, 0x20019
mov dword [rsp + 0x58], 0x240
mov qword [rsp + 0x50], rax
call qword [sym.imp.ntoskrnl.exe_ZwOpenKey]
test eax, eax
js 0x18435
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea edx, [rdi + 2]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ZwQueryKey]
mov ebx, 0x1000
lea ecx, [rdi + 1]
cmp dword [rsp + 0x30], ebx
mov eax, ebx
mov r8d, 0x62735556
cmovb eax, dword [rsp + 0x30]
mov edx, eax
mov dword [rsp + 0x30], eax
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov r9d, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov r12, rax
lea rax, [rsp + 0x30]
lea edx, [rdi + 2]
mov r8, r12
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ZwQueryKey]
xor esi, esi
cmp dword [r12 + 0x14], esi
jbe 0x18419
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], 0
xor r8d, r8d
mov edx, esi
call qword [sym.imp.ntoskrnl.exe_ZwEnumerateKey]
cmp dword [rsp + 0x30], ebx
mov r11d, ebx
cmovb r11d, dword [rsp + 0x30]
mov ecx, 1
mov r8d, 0x62735556
mov edx, r11d
mov dword [rsp + 0x30], r11d
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov ecx, dword [rsp + 0x30]
xor r8d, r8d
mov r13, rax
lea rax, [rsp + 0x30]
mov edx, esi
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ecx
mov rcx, qword [rsp + 0x38]
mov r9, r13
call qword [sym.imp.ntoskrnl.exe_ZwEnumerateKey]
mov r8d, dword [r13 + 0xc]
xor ebx, ebx
xor edx, edx
shr r8d, 1
je 0x183a0
lea rcx, [r13 + 0x10]
mov eax, 0x30
cmp word [rcx], ax
jb 0x18361
cmp word [rcx], 0x39
ja 0x18361
movzx eax, word [rcx]
add ebx, ebx
lea ebx, [rax + rbx*8 - 0x30]
jmp 0x18395
cmp word [rcx], 0x41
jb 0x18378
cmp word [rcx], 0x46
ja 0x18378
movzx eax, word [rcx]
add ebx, ebx
lea ebx, [rax + rbx*8 - 0x37]
jmp 0x18395
cmp word [rcx], 0x61
jb 0x18464
cmp word [rcx], 0x66
ja 0x18464
movzx eax, word [rcx]
add ebx, ebx
lea ebx, [rax + rbx*8 - 0x57]
inc edx
add rcx, 2
cmp edx, r8d
jb 0x18346
lea rcx, [0x000188f0]
mov edx, ebx
call sub.ntoskrnl.exe_DbgPrint
lea rcx, [rsp + 0x8c]
lea rdx, [0x00018900]
inc edi
mov r8d, 0x42
mov dword [rsp + 0x80], 0xc
mov dword [rsp + 0x84], edi
mov dword [rsp + 0x88], ebx
call fcn.000127a0
lea rcx, [rsp + 0x80]
mov r8, rbp
mov edx, 0x4e
call fcn.000166c4
test eax, eax
jns 0x183fe
dec edi
mov rcx, r13
call qword [sym.imp.ntoskrnl.exe_ExFreePool]
inc esi
mov ebx, 0x1000
cmp esi, dword [r12 + 0x14]
jb 0x182c5
mov rcx, r12
call qword [sym.imp.ntoskrnl.exe_ExFreePool]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov rcx, rbp
call fcn.00010338
xor eax, eax
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.000125a0
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rdi
ret
lea rcx, [0x00018950]
call sub.ntoskrnl.exe_DbgPrint
jmp 0x183fe