Function at 0x1c5d8
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 0x1c642
xor eax, eax
jmp 0x1c87e
xor edx, edx
cmp rdi, rbp
jne 0x1c654
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
jmp 0x1c63b
mov r8, r12
mov rcx, rdi
call fcn.00024250
lea rdx, [0x00024e50]
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 0x1c6eb
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rcx, qword [rsp + 0x48]
cmp rcx, rbp
je 0x1c63b
xor edx, edx
jmp 0x1c64c
mov r8, r12
xor edx, edx
mov rcx, rdi
call fcn.00024250
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 0x1c851
mov rcx, qword [rsp + 0x48]
mov r8, r13
xor edx, edx
mov word [rsp + 0x40], bp
mov word [rsp + 0x42], r13w
call fcn.00024250
lea rdx, [0x00024ef0]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_RtlAppendUnicodeToString]
cmp eax, ebp
jl 0x1c829
lea rdx, [rdi + 0x10]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_RtlAppendUnicodeToString]
cmp eax, ebp
jl 0x1c829
mov r8, r12
xor edx, edx
mov rcx, rdi
mov dword [rsp + 0xe0], r12d
mov dword [rsp + 0xe8], 1
call fcn.00024250
lea rdx, [0x00024fa0]
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 0x1c829
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 0x1c829
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, [0x00024fc0]
mov qword [rsp + 0x20], rax
call fcn.00023094
cmp eax, 4
je 0x1c838
inc esi
cmp esi, 0x80
jge 0x1c851
jmp 0x1c6eb
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 0x1c87c
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