Function at 0x19594
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0xb0
mov r12d, 0x200
xor ebp, ebp
xor ecx, ecx
mov rdx, r12
mov ebx, ebp
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov r13d, 0x400
xor ecx, ecx
mov rdx, r13
mov dword [rsp + 0x30], ebp
mov dword [rsp + 0x34], ebp
mov rdi, rax
mov dword [rsp + 0x38], ebp
mov dword [rsp + 0x3c], ebp
mov esi, ebp
mov word [rsp + 0x40], bp
mov word [rsp + 0x42], r13w
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov qword [rsp + 0x48], rax
cmp rax, rbp
jne 0x195fe
xor eax, eax
jmp 0x1983a
xor edx, edx
cmp rdi, rbp
jne 0x19610
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
jmp 0x195f7
mov r8, r12
mov rcx, rdi
call fcn.00022a90
lea rdx, [0x00023180]
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rax, [rsp + 0x60]
lea r8, [rsp + 0x80]
lea rcx, [rsp + 0xf0]
mov edx, 0x20019
mov qword [rsp + 0x90], rax
mov dword [rsp + 0x80], 0x30
mov qword [rsp + 0x88], rbp
mov dword [rsp + 0x98], 0x240
mov qword [rsp + 0xa0], rbp
mov qword [rsp + 0xa8], rbp
call qword [sym.imp.ntoskrnl.exe_ZwOpenKey]
cmp eax, ebp
jge 0x196a7
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rcx, qword [rsp + 0x48]
cmp rcx, rbp
je 0x195f7
xor edx, edx
jmp 0x19608
mov r8, r12
xor edx, edx
mov rcx, rdi
call fcn.00022a90
mov rcx, qword [rsp + 0xf0]
lea r11, [rsp + 0xe0]
mov qword [rsp + 0x28], r11
mov r9, rdi
xor r8d, r8d
mov edx, esi
mov dword [rsp + 0x20], r12d
call qword [sym.imp.ntoskrnl.exe_ZwEnumerateKey]
cmp eax, ebp
jl 0x1980d
mov rcx, qword [rsp + 0x48]
mov r8, r13
xor edx, edx
mov word [rsp + 0x40], bp
mov word [rsp + 0x42], r13w
call fcn.00022a90
lea rdx, [0x00023220]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_RtlAppendUnicodeToString]
cmp eax, ebp
jl 0x197e5
lea rdx, [rdi + 0x10]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_RtlAppendUnicodeToString]
cmp eax, ebp
jl 0x197e5
mov r8, r12
xor edx, edx
mov rcx, rdi
mov dword [rsp + 0xe0], r12d
mov dword [rsp + 0xe8], 1
call fcn.00022a90
lea rdx, [0x000232d0]
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea r11, [rsp + 0xe0]
lea r8, [rsp + 0xe8]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x40]
mov r9, rdi
mov qword [rsp + 0x20], r11
call fcn.000129a8
cmp eax, ebp
jne 0x197e5
lea rcx, [rsp + 0x50]
mov rdx, rdi
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
mov r8b, 1
call qword [sym.imp.ntoskrnl.exe_RtlUnicodeStringToAnsiString]
cmp eax, ebp
jne 0x197e5
mov rcx, qword [rsp + 0x78]
lea rax, [rsp + 0x3c]
lea r9, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
lea r8, [rsp + 0x30]
lea rdx, [0x000232f0]
mov qword [rsp + 0x20], rax
call fcn.000218d8
cmp eax, 4
je 0x197f4
inc esi
cmp esi, 0x80
jge 0x1980d
jmp 0x196a7
mov ebx, dword [rsp + 0x3c]
shl ebx, 8
or ebx, dword [rsp + 0x38]
shl ebx, 8
or ebx, dword [rsp + 0x34]
shl ebx, 8
or ebx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0xf0]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rcx, qword [rsp + 0x48]
cmp rcx, rbp
je 0x19838
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, ebx
mov rbx, qword [rsp + 0xf8]
add rsp, 0xb0
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret