Function at 0x1a788
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xd0
mov rax, qword [0x00065100]
xor rax, rsp
mov qword [rsp + 0xc8], rax
xor r15d, r15d
mov r13, rdx
mov r14, rcx
mov qword [rsp + 0x38], r15
mov esi, 0xc0000001
call fcn.0001ff14
mov r12, rax
call fcn.0001ff14
lea r8d, [r15 + 0x20]
lea rcx, [rsp + 0xa1]
xor edx, edx
mov rbx, r15
mov rbp, rax
mov dword [rsp + 0x30], r15d
mov byte [rsp + 0xa0], r15b
call fcn.000554c0
cmp r12, r15
jne 0x1a805
cmp rbp, r15
je 0x1acbb
cmp r14, r15
je 0x1acbb
cmp word [r14], r15w
je 0x1acbb
cmp r13, r15
je 0x1acbb
cmp word [r13], r15w
je 0x1acbb
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, r13
repne scasw ax, word [rdi]
not rcx
dec rcx
cmp rcx, 9
je 0x1a84e
cmp rcx, 0xd
jne 0x1acbb
lea rdx, [0x00082ea0]
mov rcx, r13
call qword [sym.imp.ntoskrnl.exe__wcsicmp]
cmp eax, r15d
je 0x1acbb
xor eax, eax
or rsi, 0xffffffffffffffff
mov rdi, r14
mov rcx, rsi
mov rdx, r14
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx + rcx - 2]
mov rcx, r12
call fcn.000550e0
xor eax, eax
lea rdx, [0x00055dd0]
mov rdi, rdx
lea r14d, [rsi + 2]
mov rcx, rsi
repne scasw ax, word [rdi]
mov rdi, r12
not rcx
sub rcx, r14
mov r8, rcx
mov rcx, rsi
repne scasw ax, word [rdi]
add r8, r8
not rcx
sub rcx, r14
lea rcx, [r12 + rcx*2]
call fcn.000550e0
xor eax, eax
mov rcx, rsi
mov rdi, r13
mov rdx, r13
repne scasw ax, word [rdi]
mov rdi, r12
not rcx
sub rcx, r14
mov r8, rcx
mov rcx, rsi
repne scasw ax, word [rdi]
add r8, r8
not rcx
sub rcx, r14
lea rcx, [r12 + rcx*2]
call fcn.000550e0
xor eax, eax
mov qword [rsp + 0x58], r12
mov rcx, rsi
mov rdi, r12
lea r8, [rsp + 0x70]
repne scasw ax, word [rdi]
lea rax, [rsp + 0x50]
mov edx, 0x1f0000
not rcx
mov dword [rsp + 0x70], 0x30
mov qword [rsp + 0x78], r15
sub rcx, r14
mov dword [rsp + 0x88], 0x240
mov qword [rsp + 0x80], rax
add cx, cx
mov qword [rsp + 0x90], r15
mov qword [rsp + 0x98], r15
mov word [rsp + 0x52], cx
mov word [rsp + 0x50], cx
lea rcx, [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_ZwOpenKey]
cmp eax, r15d
mov esi, eax
jl 0x1acbb
lea rdx, [0x00055940]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov rcx, qword [rsp + 0x38]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x28], rdx
lea edi, [r14 + 1]
lea rdx, [rsp + 0x40]
xor r9d, r9d
mov r8d, edi
mov dword [rsp + 0x20], r15d
call qword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
mov r13d, 0xc0000023
mov esi, eax
cmp eax, r13d
jne 0x1acbb
mov edx, dword [rsp + 0x30]
xor ecx, ecx
mov r8d, 0x31313237
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rbx, rax
cmp rax, r15
je 0x1acbb
mov r8d, dword [rsp + 0x30]
xor edx, edx
mov rcx, rax
call fcn.000554c0
mov ecx, dword [rsp + 0x30]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], ecx
mov rcx, qword [rsp + 0x38]
lea rdx, [rsp + 0x40]
mov r9, rbx
mov r8d, edi
call qword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
cmp eax, r15d
mov esi, eax
jl 0x1acbb
cmp dword [rbx + 4], 4
jne 0x1acbb
cmp byte [rbx + 0xc], r14b
jne 0x1acbb
mov edx, 0x31313237
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
lea rdx, [0x00055950]
lea rcx, [rsp + 0x40]
mov rbx, r15
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov rcx, qword [rsp + 0x38]
lea rdx, [rsp + 0x30]
xor r9d, r9d
mov r8d, edi
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x20], r15d
call qword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
mov esi, eax
cmp eax, r13d
jne 0x1acbb
mov edx, dword [rsp + 0x30]
xor ecx, ecx
mov r8d, 0x31313237
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rbx, rax
cmp rax, r15
je 0x1acbb
mov r8d, dword [rsp + 0x30]
xor edx, edx
mov rcx, rax
call fcn.000554c0
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
lea rdx, [rsp + 0x30]
mov r9, rbx
mov r8d, edi
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x20], eax
call qword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
cmp eax, r15d
mov esi, eax
jl 0x1acbb
cmp dword [rbx + 4], r14d
jne 0x1acbb
or rcx, 0xffffffffffffffff
lea r13, [0x00055960]
xor eax, eax
mov rdi, r13
mov rdx, r13
repne scasw ax, word [rdi]
not rcx
sub rcx, r14
mov r8, rcx
lea rcx, [rbx + 0xc]
add r8, r8
call qword [sym.imp.ntoskrnl.exe_RtlCompareMemory]
or rcx, 0xffffffffffffffff
mov rdi, r13
mov r11, rax
xor eax, eax
repne scasw ax, word [rdi]
not rcx
sub rcx, r14
add rcx, rcx
cmp r11, rcx
jne 0x1acbb
mov edx, 0x31313237
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
lea rdx, [0x00055920]
lea rcx, [rsp + 0x40]
mov rbx, r15
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov rcx, qword [rsp + 0x38]
lea rdx, [rsp + 0x30]
lea edi, [r14 + 1]
xor r9d, r9d
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 0x40]
mov r8d, edi
mov dword [rsp + 0x20], r15d
call qword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
mov esi, eax
cmp eax, 0xc0000023
jne 0x1acbb
mov edx, dword [rsp + 0x30]
xor ecx, ecx
mov r8d, 0x31313237
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rbx, rax
cmp rax, r15
je 0x1acbb
mov r8d, dword [rsp + 0x30]
xor edx, edx
mov rcx, rax
call fcn.000554c0
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
lea rdx, [rsp + 0x30]
mov r9, rbx
mov r8d, edi
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x20], eax
call qword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
cmp eax, r15d
mov esi, eax
jl 0x1acbb
cmp dword [rbx + 4], r14d
jne 0x1acbb
or rcx, 0xffffffffffffffff
lea r14, [0x00055d80]
xor eax, eax
mov rdi, r14
mov rdx, r14
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx + rcx - 2]
lea rcx, [rbx + 0xc]
call qword [sym.imp.ntoskrnl.exe_RtlCompareMemory]
or rcx, 0xffffffffffffffff
mov rdi, r14
mov r11, rax
xor eax, eax
repne scasw ax, word [rdi]
not rcx
dec rcx
add rcx, rcx
cmp r11, rcx
jne 0x1acbb
mov r8d, dword [rbx + 8]
lea rdx, [rbx + 0xc]
mov rcx, rbp
call fcn.000550e0
mov rcx, rbp
call fcn.0001a268
cmp al, r15b
jne 0x1acb3
or rcx, 0xffffffffffffffff
xor eax, eax
mov qword [rsp + 0x68], rbp
mov rdi, rbp
lea rdx, [rsp + 0xa0]
repne scasw ax, word [rdi]
not rcx
dec rcx
add cx, cx
mov word [rsp + 0x62], cx
mov word [rsp + 0x60], cx
lea rcx, [rsp + 0x60]
call fcn.00029328
lea rdx, [rsp + 0xa0]
lea rcx, [0x00083268]
mov r8d, 0x20
call qword [sym.imp.ntoskrnl.exe_RtlCompareMemory]
cmp rax, 0x20
jne 0x1acbb
mov rcx, r12
call sym.TdiFltAMD64.sys_DeleteServicesReg
mov rcx, qword [rsp + 0x38]
cmp rcx, r15
je 0x1accb
call qword [sym.imp.ntoskrnl.exe_ZwClose]
cmp rbx, r15
je 0x1acde
mov edx, 0x31313237
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
cmp r12, r15
je 0x1aceb
mov rcx, r12
call fcn.0001febc
cmp rbp, r15
je 0x1acf8
mov rcx, rbp
call fcn.0001febc
mov eax, esi
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.00055060
mov rbx, qword [rsp + 0x120]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret