Function at 0x20eb0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2e0
mov rax, qword [0x00028100]
xor rax, rsp
mov qword [rsp + 0x2d0], rax
mov eax, 0x208
mov r14, rcx
xor r15d, r15d
mov word [rsp + 0x6a], ax
lea rax, [rsp + 0xc0]
lea rcx, [rsp + 0x68]
mov r13d, r15d
mov word [rsp + 0x68], r15w
mov qword [rsp + 0x70], rax
call fcn.0001f648
lea r8d, [r15 + 0x1d]
lea rdx, [0x00024df0]
lea rcx, [rsp + 0x40]
call fcn.00021498
lea rcx, [rsp + 0x68]
mov rdx, rax
call fcn.0001f648
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_RtlFreeUnicodeString]
lea esi, [r15 + 0x14]
lea rdx, [0x00024eb0]
lea rcx, [rsp + 0x78]
mov r8, rsi
call fcn.00021498
lea r8d, [r15 + 0x2f]
lea rdx, [0x000249d8]
lea rcx, [rsp + 0x98]
mov qword [rsp + 0x40], r15
mov rdi, rax
call fcn.00021498
mov ebp, 0xf003f
lea rcx, [rsp + 0x40]
mov r9d, ebp
xor edx, edx
mov r8, rax
call fcn.0002178c
lea rcx, [rsp + 0x98]
mov ebx, eax
call qword [sym.imp.ntoskrnl.exe_RtlFreeUnicodeString]
cmp ebx, r15d
lea rcx, [rsp + 0x40]
jge 0x20fa9
call fcn.00021634
mov bl, r15b
jmp 0x20fc4
mov r8d, ebp
mov rdx, rdi
call fcn.0002180c
lea rcx, [rsp + 0x40]
cmp eax, r15d
setge bl
call fcn.00021634
lea rcx, [rsp + 0x78]
call qword [sym.imp.ntoskrnl.exe_RtlFreeUnicodeString]
cmp bl, r15b
jne 0x210eb
mov r13d, 1
lea rdx, [0x00024f40]
lea rcx, [rsp + 0x58]
lea r8d, [r13 + 0xf]
call fcn.00021498
lea rdx, [0x00024f28]
lea rcx, [rsp + 0x88]
mov r8, rsi
mov r12, rax
call fcn.00021498
lea rdx, [0x00024f10]
lea rcx, [rsp + 0xa8]
mov r8, rsi
mov rbp, rax
call fcn.00021498
lea r8d, [r13 + 0xa]
lea rdx, [0x00024f00]
lea rcx, [rsp + 0x40]
mov rsi, rax
call fcn.00021498
lea r8d, [r13 + 0x34]
lea rdx, [0x00024ec8]
lea rcx, [rsp + 0x98]
mov rdi, rax
call fcn.00021498
lea r8d, [r13 + 0x13]
lea rdx, [0x00024eb0]
lea rcx, [rsp + 0x78]
mov rbx, rax
call fcn.00021498
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], rcx
mov r9, rsi
mov r8, rdi
mov rcx, rax
mov rdx, rbx
mov qword [rsp + 0x20], rbp
call fcn.00020314
lea rcx, [rsp + 0x78]
call qword [sym.imp.ntoskrnl.exe_RtlFreeUnicodeString]
lea rcx, [rsp + 0x98]
call qword [sym.imp.ntoskrnl.exe_RtlFreeUnicodeString]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_RtlFreeUnicodeString]
lea rcx, [rsp + 0xa8]
call qword [sym.imp.ntoskrnl.exe_RtlFreeUnicodeString]
lea rcx, [rsp + 0x88]
call qword [sym.imp.ntoskrnl.exe_RtlFreeUnicodeString]
lea rcx, [rsp + 0x58]
call qword [sym.imp.ntoskrnl.exe_RtlFreeUnicodeString]
mov ebp, 0xf003f
lea esi, [r13 + 0x13]
lea rdx, [0x00024eb0]
lea rcx, [rsp + 0x88]
mov r8, rsi
call fcn.00021498
lea rdx, [0x000249d8]
lea rcx, [rsp + 0x58]
mov r8d, 0x2f
mov qword [rsp + 0x40], r15
mov rdi, rax
call fcn.00021498
lea rcx, [rsp + 0x40]
mov r9d, ebp
mov r8, rax
xor edx, edx
call fcn.0002178c
lea rcx, [rsp + 0x58]
mov ebx, eax
call qword [sym.imp.ntoskrnl.exe_RtlFreeUnicodeString]
cmp ebx, r15d
mov esi, 4
lea rcx, [rsp + 0x40]
jl 0x211ae
mov r8d, ebp
mov rdx, rdi
call fcn.0002180c
cmp eax, r15d
jl 0x211a9
lea r8d, [rsi + 1]
lea rdx, [0x00024e94]
lea rcx, [rsp + 0x58]
call fcn.00021498
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x40]
mov r9d, esi
xor r8d, r8d
mov rdx, rax
mov dword [rsp + 0x50], 2
call qword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
lea rcx, [rsp + 0x58]
call qword [sym.imp.ntoskrnl.exe_RtlFreeUnicodeString]
lea rcx, [rsp + 0x40]
call fcn.00021634
lea rcx, [rsp + 0x88]
call qword [sym.imp.ntoskrnl.exe_RtlFreeUnicodeString]
lea rdx, [0x00024f64]
lea rcx, [rsp + 0x58]
mov r8, rsi
call fcn.00021498
bts r13d, 0x10
mov rcx, r14
mov rdx, rax
mov r8d, r13d
call fcn.0001fe84
lea rcx, [rsp + 0x58]
call qword [sym.imp.ntoskrnl.exe_RtlFreeUnicodeString]
mov rcx, qword [rsp + 0x2d0]
xor rcx, rsp
call fcn.00021dd0
mov rbx, qword [rsp + 0x330]
add rsp, 0x2e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret