Function at 0x1b614
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x5c0
mov rax, qword [0x0002b100]
xor rax, rsp
mov qword [rsp + 0x5b0], rax
mov eax, 0x44
mov esi, 0x14
lea rdi, [0x00026fa0]
mov word [rsp + 0x78], ax
mov eax, 0x46
mov word [rsp + 0xb8], si
mov word [rsp + 0x7a], ax
lea rax, [0x000269e0]
lea ebp, [rsi + 2]
mov qword [r11 - 0x558], rax
mov eax, 0x5c
mov word [rsp + 0xba], bp
mov word [rsp + 0xc8], ax
mov eax, 0x5e
lea r8, [r11 - 0x520]
mov word [rsp + 0xca], ax
lea rax, [0x00026a30]
lea rdx, [r11 - 0x510]
mov qword [r11 - 0x508], rax
lea rax, [0x00026160]
lea rcx, [rsp + 0x78]
mov r9, rdi
mov qword [r11 - 0x518], rax
call fcn.00016a5c
xor ebx, ebx
cmp al, bl
je 0x1bde4
mov eax, 0x3f0
lea r9, [rsp + 0xb8]
lea r8, [rsp + 0xc8]
mov word [0x01870022], ax
lea rax, [0x01873980]
lea rdx, [rsp + 0x78]
mov qword [0x01870028], rax
lea rax, [0x00026700]
lea rcx, [0x01870020]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call fcn.00016704
cmp al, bl
je 0x1bde4
cmp word [0x01870020], bx
je 0x1bde4
xor eax, eax
lea rcx, [rsp + 0x1b1]
xor edx, edx
mov qword [rsp + 0x6a], rax
mov dword [rsp + 0x72], eax
mov word [rsp + 0x76], ax
mov eax, 0x200
mov r8d, 0x3ff
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x58], rbx
mov word [rsp + 0x68], bx
mov word [rsp + 0x6a], ax
mov byte [rsp + 0x1b0], bl
call fcn.00025100
lea rdx, [rsp + 0x1b0]
mov rcx, rbx
mov qword [rsp + 0x70], rdx
lea rdx, [0x00010000]
movzx eax, word [rcx + rdx + 0x17b00]
add rcx, 2
mov word [rsp + rcx + 0x1ae], ax
cmp ax, bx
jne 0x1b7a4
mov eax, dword [rdx + 0x1b208]
mov rcx, qword [rsp + 0x70]
mov r15d, 0xf003f
mov dword [rcx + 0x46], eax
movzx eax, word [rdx + 0x1b20c]
lea r8, [rsp + 0x88]
mov word [rcx + 0x4a], ax
mov rdi, qword [rsp + 0x70]
xor eax, eax
or rcx, 0xffffffffffffffff
lea r14d, [rax + 1]
mov r12d, 0x240
repne scasw ax, word [rdi]
lea rax, [0x00027ff0]
lea edi, [r14 + 0x2f]
not rcx
mov qword [rsp + 0x100], rax
lea rax, [0x00027b70]
sub rcx, r14
mov qword [rsp + 0x110], rax
lea rax, [rsp + 0x68]
add cx, cx
mov edx, r15d
mov word [rsp + 0xf8], si
mov word [rsp + 0x68], cx
lea rcx, [rsp + 0x50]
mov word [rsp + 0xfa], bp
mov word [rsp + 0x108], si
mov word [rsp + 0x10a], bp
mov dword [rsp + 0x88], edi
mov qword [rsp + 0x90], rbx
mov dword [rsp + 0xa0], r12d
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa8], rbx
mov qword [rsp + 0xb0], rbx
call qword [sym.imp.ntoskrnl.exe_ZwOpenKey]
cmp eax, ebx
jl 0x1bdf9
mov rax, qword [rsp + 0x50]
lea r8, [rsp + 0x88]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x90], rax
lea rax, [rsp + 0xf8]
xor r9d, r9d
mov qword [rsp + 0x98], rax
lea rax, [rsp + 0x60]
mov edx, r15d
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x88], edi
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0xa0], r12d
mov qword [rsp + 0xa8], rbx
mov qword [rsp + 0xb0], rbx
mov dword [rsp + 0x60], ebx
call qword [sym.imp.ntoskrnl.exe_ZwCreateKey]
cmp eax, ebx
mov edi, eax
jge 0x1b91a
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, edi
jmp 0x1bdfe
mov rcx, qword [rsp + 0x40]
mov eax, 0x12
lea rdx, [rsp + 0x188]
mov word [rsp + 0x188], ax
lea rax, [0x00025550]
mov r9d, 2
mov qword [rsp + 0x190], rax
lea rax, [0x00027b90]
xor r8d, r8d
mov dword [rsp + 0x28], 0x5a
mov word [rsp + 0x18a], si
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
mov rcx, qword [rsp + 0x40]
cmp eax, ebx
mov edi, eax
jge 0x1b981
call qword [sym.imp.ntoskrnl.exe_ZwClose]
jmp 0x1b908
mov r12d, 0x18
lea rdx, [rsp + 0xd8]
xor r8d, r8d
lea eax, [r12 + 2]
lea esi, [r12 - 0x14]
mov word [rsp + 0xd8], r12w
mov word [rsp + 0xda], ax
lea rax, [0x00027bf0]
mov r9d, esi
mov qword [rsp + 0xe0], rax
lea rax, [rsp + 0x48]
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x48], r14d
call qword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
cmp eax, ebx
mov rcx, qword [rsp + 0x40]
mov edi, eax
jl 0x1b979
lea eax, [rsi + 8]
lea r15d, [r12 - 0xe]
lea rdx, [rsp + 0x158]
mov word [rsp + 0x15a], ax
lea rax, [0x00027af0]
mov r9d, esi
mov qword [rsp + 0x160], rax
lea rax, [rsp + 0x48]
xor r8d, r8d
mov dword [rsp + 0x28], esi
mov word [rsp + 0x158], r15w
mov dword [rsp + 0x48], 2
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
mov rcx, qword [rsp + 0x40]
cmp eax, ebx
mov edi, eax
jl 0x1b979
lea eax, [rsi + 4]
lea rdx, [rsp + 0x118]
mov r9d, esi
mov word [rsp + 0x118], ax
lea rax, [0x00027c10]
xor r8d, r8d
mov qword [rsp + 0x120], rax
lea eax, [rsi + 0x1c]
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x48], eax
lea rax, [rsp + 0x48]
mov word [rsp + 0x11a], r15w
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
mov rcx, qword [rsp + 0x40]
cmp eax, ebx
mov edi, eax
jl 0x1b979
lea eax, [rsi + 0x1c]
lea rdx, [rsp + 0x198]
mov r9d, esi
mov word [rsp + 0x198], ax
lea eax, [rsi + 0x1e]
xor r8d, r8d
mov word [rsp + 0x19a], ax
lea rax, [0x00027c20]
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x1a0], rax
lea rax, [rsp + 0x48]
mov dword [rsp + 0x48], ebx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
mov rcx, qword [rsp + 0x40]
cmp eax, ebx
mov edi, eax
jl 0x1b979
lea eax, [rsi + 0x10]
lea rdx, [rsp + 0x138]
mov r9d, r14d
mov word [rsp + 0x138], ax
lea rax, [0x00027c50]
xor r8d, r8d
mov qword [rsp + 0x140], rax
lea rax, [0x00027c70]
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], rax
mov word [rsp + 0x13a], bp
call qword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
cmp eax, ebx
mov rcx, qword [rsp + 0x40]
mov edi, eax
jl 0x1b979
lea rax, [0x00027c90]
lea rdx, [rsp + 0x178]
mov r9d, r14d
mov qword [rsp + 0x180], rax
lea rax, [0x00028010]
xor r8d, r8d
mov dword [rsp + 0x28], ebp
mov word [rsp + 0x178], bp
mov word [rsp + 0x17a], r12w
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
mov rcx, qword [rsp + 0x40]
cmp eax, ebx
mov edi, eax
jl 0x1b979
lea rax, [0x00027cf0]
lea rdx, [rsp + 0xe8]
mov r9d, r14d
mov qword [rsp + 0xf0], rax
lea rax, [0x00028030]
xor r8d, r8d
mov dword [rsp + 0x28], 0x64
mov word [rsp + 0xe8], bp
mov word [rsp + 0xea], r12w
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
mov rcx, qword [rsp + 0x40]
cmp eax, ebx
mov edi, eax
jl 0x1b979
lea eax, [rsi + 8]
lea rdx, [rsp + 0x78]
mov r9d, esi
mov word [rsp + 0x7a], ax
lea rax, [0x00027d60]
xor r8d, r8d
mov qword [rsp + 0x80], rax
lea rax, [rsp + 0x48]
mov dword [rsp + 0x28], esi
mov word [rsp + 0x78], r15w
mov dword [rsp + 0x48], r14d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
cmp eax, ebx
mov edi, eax
jge 0x1bc4a
mov rcx, qword [rsp + 0x40]
jmp 0x1b979
mov rax, qword [rsp + 0x40]
lea r8, [rsp + 0x88]
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x90], rax
lea rax, [rsp + 0x108]
xor r9d, r9d
mov qword [rsp + 0x98], rax
lea rax, [rsp + 0x60]
mov edx, 0xf003f
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x88], 0x30
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0xa0], 0x240
mov qword [rsp + 0xa8], rbx
mov qword [rsp + 0xb0], rbx
mov dword [rsp + 0x60], ebx
call qword [sym.imp.ntoskrnl.exe_ZwCreateKey]
cmp eax, ebx
mov edi, eax
jl 0x1bc40
mov rcx, qword [rsp + 0x58]
lea rax, [0x00027d70]
lea rdx, [rsp + 0x128]
mov qword [rsp + 0x130], rax
lea rax, [0x00027d90]
mov r9d, r14d
xor r8d, r8d
mov dword [rsp + 0x28], 6
mov word [rsp + 0x128], bp
mov qword [rsp + 0x20], rax
mov word [rsp + 0x12a], r12w
call qword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
cmp eax, ebx
mov rcx, qword [rsp + 0x58]
mov edi, eax
jge 0x1bd2c
call qword [sym.imp.ntoskrnl.exe_ZwClose]
jmp 0x1bc40
mov eax, 0x14
lea rdx, [rsp + 0x148]
mov r9d, 2
mov word [rsp + 0x148], ax
lea rax, [0x00027da0]
xor r8d, r8d
mov qword [rsp + 0x150], rax
movzx eax, word [0x01870020]
mov word [rsp + 0x14a], bp
mov dword [rsp + 0x28], eax
mov rax, qword [0x01870028]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
mov rcx, qword [rsp + 0x58]
cmp eax, ebx
mov edi, eax
jl 0x1bd21
mov eax, 8
lea rdx, [rsp + 0x168]
mov r9d, esi
mov word [rsp + 0x168], ax
lea rax, [0x000280a0]
xor r8d, r8d
mov qword [rsp + 0x170], rax
lea rax, [rsp + 0x48]
mov dword [rsp + 0x28], esi
mov word [rsp + 0x16a], r15w
mov dword [rsp + 0x48], 0x60ff
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
mov rcx, qword [rsp + 0x58]
mov edi, eax
jmp 0x1bd21
mov word [0x01870022], bx
mov word [0x01870020], bx
mov qword [0x01870028], rbx
mov eax, 0xc0000001
mov rcx, qword [rsp + 0x5b0]
xor rcx, rsp
call fcn.00024bb0
lea r11, [rsp + 0x5c0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret