Function at 0x14008b6c0
Capabilities:
Delete registry key
Set registry value

Disassembly:
mov r11, rsp
push rbp
push rbx
push rsi
push rdi
lea rbp, [r11 - 0x3a8]
sub rsp, 0x488
mov rax, qword [0x1401f7280]
xor rax, rsp
mov qword [rbp + 0x360], rax
mov qword [r11 + 0x20], r12
mov qword [r11 - 0x28], r13
mov r13, qword [rbp + 0x3d0]
mov qword [r11 - 0x30], r14
mov r14d, dword [rbp + 0x3d8]
mov qword [r11 - 0x38], r15
mov r15d, r9d
mov r12, r8
mov rdi, rdx
mov rsi, rcx
test r14d, r14d
je 0x14008b83d
mov r8, rcx
lea rdx, [0x14018aff0]
lea rcx, [rsp + 0x40]
call fcn.1400f98c8
lea r9, [0x140181e34]
lea rdx, [rsp + 0x40]
mov r8d, 1
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegSetValueW]
lea rax, [rsp + 0x30]
lea rdx, [rsp + 0x40]
mov r9d, 0xf003f
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
or rbx, 0xffffffffffffffff
test eax, eax
jne 0x14008b7eb
lea r8, [0x140209d60]
lea rdx, str._s._s
lea rcx, [rsp + 0x40]
mov r9, rdi
call fcn.1400f98c8
lea rcx, [rsp + 0x40]
mov rax, rbx
cmp word [rcx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x14008b7a4
mov rcx, qword [rsp + 0x30]
lea eax, [rax*2 + 2]
lea rdx, [0x14018b070]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x40]
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rbp + 0x3e8], 0
je 0x14008b8af
lea r8, [0x140209d60]
lea rdx, str._s._s
lea rcx, [rsp + 0x40]
mov r9, rdi
call fcn.1400f98c8
lea rdx, [0x14018b148]
lea rcx, [rbp + 0x150]
mov r8, rsi
call fcn.1400f98c8
lea rcx, [rsp + 0x40]
mov rax, rbx
inc rax
cmp word [rcx + rax*2], 0
jne 0x14008b831
jmp 0x14008b88a
mov r9, rdx
lea r8, [0x140209d60]
lea rcx, [rsp + 0x40]
lea rdx, str._s._s
call fcn.1400f98c8
lea rdx, [0x14018b148]
lea rcx, [rbp + 0x150]
mov r8, rsi
call fcn.1400f98c8
or rbx, 0xffffffffffffffff
lea rcx, [rsp + 0x40]
mov rax, rbx
nop word [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x14008b880
add eax, eax
lea r9, [rsp + 0x40]
lea rdx, [rbp + 0x150]
mov r8d, 1
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x20], eax
call qword [sym.imp.ADVAPI32.dll_RegSetValueW]
mov r9, r13
mov r8d, r15d
mov rdx, r12
mov rcx, rdi
mov dword [rsp + 0x20], r14d
call fcn.140095ed0
cmp dword [rbp + 0x3e0], 0
mov r15, qword [rsp + 0x470]
mov r14, qword [rsp + 0x478]
mov r13, qword [rsp + 0x480]
mov r12, qword [rsp + 0x4c8]
je 0x14008b9a7
mov rdx, rdi
mov rcx, rsi
call fcn.14008b490
lea rdx, [0x14018b080]
lea rcx, [rsp + 0x40]
mov r8, rsi
call fcn.1400f98c8
lea rdx, [rsp + 0x40]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x40]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x14008b9a7
lea r8, [0x140209d60]
lea rdx, str._s._s
lea rcx, [rsp + 0x40]
mov r9, rdi
call fcn.1400f98c8
lea rax, [rsp + 0x40]
nop
cmp word [rax + rbx*2 + 2], 0
lea rbx, [rbx + 1]
jne 0x14008b960
mov rcx, qword [rsp + 0x30]
lea eax, [rbx*2 + 2]
lea rdx, [0x14018b118]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x40]
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x360]
xor rcx, rsp
call fcn.1400f9a80
add rsp, 0x488
pop rdi
pop rsi
pop rbx
pop rbp
ret