Function at 0x1f4b4
Capabilities:
Delete registry value
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x520
mov rax, qword [0x0002b100]
xor rax, rsp
mov qword [rsp + 0x510], rax
xor eax, eax
xor ebp, ebp
mov rbx, rcx
mov qword [rsp + 0x5a], rax
mov dword [rsp + 0x62], eax
mov word [rsp + 0x66], ax
mov eax, 0x200
mov rsi, rdx
lea rcx, [rsp + 0x111]
mov r8d, 0x3ff
xor edx, edx
mov qword [rsp + 0x50], rbp
mov word [rsp + 0x5a], ax
mov qword [rsp + 0x40], rbp
mov word [rsp + 0x58], bp
mov byte [rsp + 0x110], bpl
call fcn.00025100
lea rdx, [rsp + 0x110]
mov qword [rsp + 0x60], rdx
mov rcx, rbp
lea rdx, [0x00010000]
movzx eax, word [rcx + rdx + 0x17b00]
add rcx, 2
mov word [rsp + rcx + 0x10e], ax
cmp ax, bp
jne 0x1f544
mov eax, dword [rdx + 0x1b208]
mov rcx, qword [rsp + 0x60]
mov r14d, 0xf003f
mov dword [rcx + 0x46], eax
movzx eax, word [rdx + 0x1b20c]
lea r8, [rsp + 0x70]
mov word [rcx + 0x4a], ax
mov rdi, qword [rsp + 0x60]
or rcx, 0xffffffffffffffff
xor eax, eax
mov r13d, 0x240
mov edx, r14d
repne scasw ax, word [rdi]
lea edi, [rax + 0x30]
lea rax, [rsp + 0x58]
not rcx
mov dword [rsp + 0x70], edi
mov qword [rsp + 0x78], rbp
dec rcx
mov dword [rsp + 0x88], r13d
mov qword [rsp + 0x80], rax
add cx, cx
mov qword [rsp + 0x90], rbp
mov qword [rsp + 0x98], rbp
mov word [rsp + 0x58], cx
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_ZwOpenKey]
cmp eax, ebp
jge 0x1f5f0
mov eax, 0xc0000001
jmp 0x1f8ca
mov rax, qword [rsp + 0x50]
lea r8, [rsp + 0x70]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x68]
xor r9d, r9d
mov qword [rsp + 0x30], rax
mov edx, r14d
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rbp
mov dword [rsp + 0x70], edi
mov dword [rsp + 0x88], r13d
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x90], rbp
mov qword [rsp + 0x98], rbp
mov dword [rsp + 0x68], ebp
call qword [sym.imp.ntoskrnl.exe_ZwCreateKey]
cmp eax, ebp
mov edi, eax
jl 0x1f8bd
mov rcx, qword [rsp + 0x40]
mov edi, 0x14
lea rdx, [rsp + 0xf0]
lea eax, [rdi + 2]
mov word [rsp + 0xf0], di
mov word [rsp + 0xf2], ax
lea rax, [0x00028570]
mov qword [rsp + 0xf8], rax
call qword [sym.imp.ntoskrnl.exe_ZwDeleteValueKey]
mov rcx, qword [rsp + 0x40]
lea rax, [0x00025550]
lea edx, [rdi - 2]
lea r9d, [rdi - 0x12]
mov qword [rsp + 0xa8], rax
movzx eax, word [rsi]
mov word [rsp + 0xa0], dx
add eax, 2
lea rdx, [rsp + 0xa0]
xor r8d, r8d
mov dword [rsp + 0x28], eax
mov rax, qword [rsi + 8]
mov word [rsp + 0xa2], di
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
mov rcx, qword [rsp + 0x40]
cmp eax, ebp
mov edi, eax
jl 0x1f8b7
mov r14d, 0x18
lea rdx, [rsp + 0xc0]
xor r8d, r8d
lea eax, [r14 + 2]
lea esi, [r14 - 0x14]
mov word [rsp + 0xc0], r14w
mov word [rsp + 0xc2], ax
lea rax, [0x00027bf0]
mov r9d, esi
mov qword [rsp + 0xc8], rax
lea rax, [rsp + 0x48]
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x48], 1
call qword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
cmp eax, ebp
mov rcx, qword [rsp + 0x40]
mov edi, eax
jl 0x1f8b7
lea rax, [0x00027af0]
lea r13d, [r14 - 0xe]
lea r15d, [r14 - 0xc]
mov qword [rsp + 0x108], rax
lea rax, [rsp + 0x48]
lea rdx, [rsp + 0x100]
mov r9d, esi
xor r8d, r8d
mov dword [rsp + 0x28], esi
mov word [rsp + 0x100], r13w
mov word [rsp + 0x102], r15w
mov dword [rsp + 0x48], 1
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
mov rcx, qword [rsp + 0x40]
cmp eax, ebp
mov edi, eax
jl 0x1f8b7
lea eax, [rsi + 4]
lea rdx, [rsp + 0xe0]
mov r9d, esi
mov word [rsp + 0xe0], ax
lea rax, [0x00027c10]
xor r8d, r8d
mov qword [rsp + 0xe8], rax
lea rax, [rsp + 0x48]
mov dword [rsp + 0x28], esi
mov word [rsp + 0xe2], r13w
mov dword [rsp + 0x48], 1
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
mov rcx, qword [rsp + 0x40]
cmp eax, ebp
mov edi, eax
jl 0x1f8b7
lea eax, [rsi + 0x12]
lea r9d, [r14 - 0x17]
lea rdx, [rsp + 0xb0]
mov word [rsp + 0xb0], ax
lea rax, [0x00027c90]
xor r8d, r8d
mov qword [rsp + 0xb8], rax
movzx eax, word [rbx]
mov word [rsp + 0xb2], r14w
mov dword [rsp + 0x28], eax
mov rax, qword [rbx + 8]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
mov rcx, qword [rsp + 0x40]
cmp eax, ebp
mov edi, eax
jl 0x1f8b7
lea rax, [0x00027d60]
lea rdx, [rsp + 0xd0]
mov r9d, esi
mov qword [rsp + 0xd8], rax
lea rax, [rsp + 0x48]
xor r8d, r8d
mov dword [rsp + 0x28], esi
mov word [rsp + 0xd0], r13w
mov word [rsp + 0xd2], r15w
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x48], 1
call qword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
mov rcx, qword [rsp + 0x40]
mov edi, eax
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, edi
mov rcx, qword [rsp + 0x510]
xor rcx, rsp
call fcn.00024bb0
lea r11, [rsp + 0x520]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret