Function at 0x17950
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x4b0
mov rax, qword [0x00013100]
xor rax, rsp
mov qword [rsp + 0x4a0], rax
xor r15d, r15d
mov r13d, r8d
mov rbp, rdx
mov r14, rcx
mov ebx, 0xc0000001
mov edi, r15d
cmp r8d, r15d
jbe 0x17c0a
lea rcx, [rsp + 0x292]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x290], r15w
call fcn.00011320
lea rcx, [rsp + 0x82]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x80], r15w
call fcn.00011320
lea rax, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov edx, edi
mov rcx, r14
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x20], r15d
call qword [sym.imp.ntoskrnl.exe_ZwEnumerateKey]
cmp eax, r15d
mov ebx, eax
jge 0x17a1e
cmp eax, 0xc0000023
je 0x17a1e
mov r9d, eax
lea rdx, [0x0001a510]
mov r8, rbp
xor ecx, ecx
call fcn.0001923c
jmp 0x17bff
mov r12d, dword [rsp + 0x30]
mov ecx, 1
mov r8d, 0x62525249
mov rdx, r12
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rsi, rax
cmp rax, r15
jne 0x17a55
lea rdx, [0x0001a560]
mov r8, rbp
xor ecx, ecx
call fcn.0001923c
jmp 0x17bff
lea rax, [rsp + 0x30]
mov r9, rsi
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov edx, edi
mov rcx, r14
mov dword [rsp + 0x20], r12d
call qword [sym.imp.ntoskrnl.exe_ZwEnumerateKey]
cmp eax, r15d
mov ebx, eax
jge 0x17a99
mov edx, 0x62525249
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov r9d, ebx
lea rdx, [0x0001a5a0]
jmp 0x17a0f
lea rax, [rsp + 0x290]
lea rcx, [rsp + 0x38]
mov r12d, 0x208
mov rdx, rbp
mov word [rsp + 0x38], r15w
mov qword [rsp + 0x40], rax
mov word [rsp + 0x3a], r12w
call qword [sym.imp.ntoskrnl.exe_RtlCopyUnicodeString]
lea rdx, [0x0001a5f0]
lea rcx, [rsp + 0x38]
call fcn.00011008
cmp eax, r15d
mov ebx, eax
jge 0x17b00
mov edx, 0x62525249
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov r9d, ebx
lea r8, [rsp + 0x38]
lea rdx, [0x0001a600]
jmp 0x17a12
lea rcx, [rsp + 0x80]
mov r8, r12
xor edx, edx
call fcn.00011320
mov r8d, dword [rsi + 0xc]
lea rdx, [rsi + 0x10]
lea rcx, [rsp + 0x80]
call fcn.00011420
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x38]
call fcn.00011008
cmp eax, r15d
mov ebx, eax
jge 0x17b72
mov edx, 0x62525249
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
lea r9, [rsp + 0x80]
lea r8, [rsp + 0x38]
lea rdx, [0x0001a640]
xor ecx, ecx
mov dword [rsp + 0x20], ebx
call fcn.0001923c
jmp 0x17bff
lea rax, [rsp + 0x38]
lea r8, [rsp + 0x50]
lea rcx, [rsp + 0x48]
mov edx, 0xf003f
mov dword [rsp + 0x50], 0x30
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], 0x240
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], r15
call qword [sym.imp.ntoskrnl.exe_ZwOpenKey]
cmp eax, r15d
mov ebx, eax
jl 0x17be4
lea rcx, [rsp + 0x38]
call fcn.00017754
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_ZwDeleteKey]
lea r8, [rsp + 0x38]
lea rdx, [0x0001a690]
mov r9d, eax
xor ecx, ecx
mov ebx, eax
call fcn.0001923c
mov edx, 0x62525249
mov rcx, rsi
dec edi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
inc edi
cmp edi, r13d
jb 0x17996
mov eax, ebx
mov rcx, qword [rsp + 0x4a0]
xor rcx, rsp
call fcn.00011290
mov rbx, qword [rsp + 0x500]
add rsp, 0x4b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret