Function at 0x18b4c
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
push r14
push r15
sub rsp, 0x290
mov rax, qword [0x00013100]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rbp, qword [rcx + 0x40]
mov rcx, rbp
call fcn.0001128c
lea rdx, str.RegistryMACHINESystemCurrentControlSetMultiKeyDumps
lea rcx, [rsp + 0xc0]
xor esi, esi
mov edi, esi
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rax, [rsp + 0xc0]
lea r8, [rsp + 0x80]
lea rcx, [rsp + 0x38]
mov edx, 0x20019
mov qword [rsp + 0x90], rax
mov dword [rsp + 0x80], 0x30
mov qword [rsp + 0x88], rsi
mov dword [rsp + 0x98], 0x240
mov qword [rsp + 0xa0], rsi
mov qword [rsp + 0xa8], rsi
call qword [sym.imp.ntoskrnl.exe_ZwOpenKey]
cmp eax, esi
jl 0x18ff6
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea edx, [rsi + 2]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ZwQueryKey]
mov ebx, 0x1000
lea ecx, [rsi + 1]
cmp dword [rsp + 0x30], ebx
mov eax, ebx
mov r8d, 0x656e6f4e
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, [rsi + 2]
mov r8, r12
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ZwQueryKey]
cmp dword [r12 + 0x14], esi
mov r13d, esi
jbe 0x18fda
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov edx, r13d
mov dword [rsp + 0x20], esi
call qword [sym.imp.ntoskrnl.exe_ZwEnumerateKey]
cmp dword [rsp + 0x30], ebx
mov r11d, ebx
mov r8d, 0x656e6f4e
cmovb r11d, dword [rsp + 0x30]
xor ecx, ecx
mov edx, r11d
mov dword [rsp + 0x30], r11d
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov ecx, dword [rsp + 0x30]
xor r8d, r8d
mov r14, rax
lea rax, [rsp + 0x30]
mov edx, r13d
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ecx
mov rcx, qword [rsp + 0x38]
mov r9, r14
call qword [sym.imp.ntoskrnl.exe_ZwEnumerateKey]
mov edx, dword [r14 + 0xc]
lea rcx, [0x0001a6f0]
mov ebx, esi
mov esi, 1
call sub.ntoskrnl.exe_DbgPrint
mov edx, dword [r14 + 0xc]
xor r8d, r8d
lea rcx, [r14 + 0x10]
mov r11d, r8d
lea r9d, [rsi + 7]
shr edx, 1
cmp edx, r9d
mov eax, edx
cmova eax, r9d
cmp r11d, eax
jae 0x18d6a
cmp word [rcx], 0x30
jb 0x18d32
cmp word [rcx], 0x39
ja 0x18d32
movzx eax, word [rcx]
add ebx, ebx
lea ebx, [rax + rbx*8 - 0x30]
jmp 0x18d5e
cmp word [rcx], 0x41
jb 0x18d49
cmp word [rcx], 0x46
ja 0x18d49
movzx eax, word [rcx]
add ebx, ebx
lea ebx, [rax + rbx*8 - 0x37]
jmp 0x18d5e
cmp word [rcx], 0x61
jb 0x18d67
cmp word [rcx], 0x66
ja 0x18d67
movzx eax, word [rcx]
add ebx, ebx
lea ebx, [rax + rbx*8 - 0x57]
add r11d, esi
add rcx, 2
jmp 0x18d0d
mov esi, r8d
cmp dword [r14 + 0xc], 0x12
lea rcx, [0x0001a710]
mov edx, ebx
cmova esi, r8d
mov r8d, esi
call sub.ntoskrnl.exe_DbgPrint
test esi, esi
je 0x18fbb
xor esi, esi
lea rcx, [rsp + 0x150]
xor edx, edx
lea r8d, [rsi + 0x28]
mov dword [rsp + 0x40], esi
call fcn.000120d0
mov r8d, dword [r14 + 0xc]
lea rdx, [r14 + 0x10]
lea rcx, [rsp + 0x150]
call fcn.00011d80
lea r9, [rsp + 0x150]
lea r8, str.RegistryMACHINESystemCurrentControlSetMultiKeyDumps
lea rdx, [0x0001a730]
lea rcx, [rsp + 0x180]
call qword [sym.imp.ntoskrnl.exe_swprintf]
lea rdx, [rsp + 0x180]
lea rcx, [0x0001a090]
call sub.ntoskrnl.exe_DbgPrint
lea rdx, [rsp + 0x180]
lea rcx, [rsp + 0xb0]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rax, [rsp + 0xb0]
lea r8, [rsp + 0x50]
lea rcx, [rsp + 0x48]
mov edx, 0x20019
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x50], 0x30
mov qword [rsp + 0x58], rsi
mov dword [rsp + 0x68], 0x40
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rsi
call qword [sym.imp.ntoskrnl.exe_ZwOpenKey]
cmp eax, esi
jl 0x18fbd
mov rcx, qword [rsp + 0x48]
lea r9d, [rsi + 4]
lea r8, [rsp + 0x40]
lea rdx, [0x0001a740]
call fcn.00011818
mov esi, dword [rsp + 0x40]
lea rcx, [0x0001a760]
mov edx, esi
call sub.ntoskrnl.exe_DbgPrint
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
lea r11d, [rsi - 1]
cmp r11d, 1
ja 0x18f1e
lea rcx, [0x0001a780]
mov edx, ebx
call sub.ntoskrnl.exe_DbgPrint
xor edx, edx
lea rcx, [rsp + 0xdc]
lea r8d, [rdx + 0x28]
add edi, 1
mov dword [rsp + 0xd0], 0x34
mov dword [rsp + 0xd4], edi
mov dword [rsp + 0xd8], ebx
call fcn.000120d0
mov r8d, dword [r14 + 0xc]
lea rdx, [r14 + 0x10]
lea rcx, [rsp + 0xdc]
call fcn.00011d80
lea rcx, [rsp + 0x104]
lea rdx, [0x0001a7b0]
mov r8d, 0x42
call fcn.00011d80
lea rcx, [rsp + 0xd0]
mov r8, rbp
mov edx, 0x76
call fcn.0001595c
test eax, eax
jns 0x18f1e
add edi, 0xffffffff
cmp esi, 3
jne 0x18fad
lea rcx, [0x0001a800]
mov edx, ebx
call sub.ntoskrnl.exe_DbgPrint
lea r8d, [rsi + 0x25]
lea rcx, [rsp + 0xdc]
add edi, 1
xor edx, edx
mov dword [rsp + 0xd0], 0x34
mov dword [rsp + 0xd4], edi
mov dword [rsp + 0xd8], ebx
call fcn.000120d0
mov r8d, dword [r14 + 0xc]
lea rdx, [r14 + 0x10]
lea rcx, [rsp + 0xdc]
call fcn.00011d80
lea rcx, [rsp + 0x104]
lea rdx, [0x0001a820]
lea r8d, [rsi + 0x41]
call fcn.00011d80
lea edx, [rsi + 0x75]
lea rcx, [rsp + 0xd0]
mov r8, rbp
call fcn.0001595c
test eax, eax
jns 0x18fbb
add edi, 0xffffffff
cmp esi, esi
jbe 0x18fbb
lea rcx, [0x0001a870]
call sub.ntoskrnl.exe_DbgPrint
xor esi, esi
mov rcx, r14
call qword [sym.imp.ntoskrnl.exe_ExFreePool]
add r13d, 1
mov ebx, 0x1000
cmp r13d, dword [r12 + 0x14]
jb 0x18c74
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.000112c0
xor eax, eax
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.00011d10
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret