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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x30
mov rdi, r8
mov rbx, rcx
xor ecx, ecx
mov r8d, 0x104
mov rbp, rdx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea r8, [0x14018ad30]
mov r9, rdi
sub r9, r8
nop dword [rax]
nop word [rax + rax]
movzx eax, word [r8]
lea r8, [r8 + 2]
mov word [r9 + r8 - 2], ax
test ax, ax
jne 0x140092c30
mov edx, 0x5e7
mov rcx, rbx
mov qword [rsp + 0x40], rsi
call qword [sym.imp.USER32.dll_IsDlgButtonChecked]
mov rdx, rdi
mov rcx, 0xffffffff80000002
test eax, eax
je 0x140092e97
lea r9, [0x140181e34]
mov r8d, 1
mov dword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegSetValueW]
call fcn.1400ec530
cmp eax, 1
jl 0x140092e07
lea rax, [0x14018ac60]
mov r8, rdi
sub r8, rax
nop
movzx edx, word [rax]
lea rax, [rax + 2]
mov word [r8 + rax - 2], dx
test dx, dx
jne 0x140092ca0
lea r8, [rsp + 0x50]
mov rdx, rdi
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x140092f7b
lea rdx, [0x14018adf8]
mov r8, rbp
mov rcx, rdi
call fcn.1400f98c8
or rbx, 0xffffffffffffffff
mov rax, rbx
nop dword [rax + rax]
cmp word [rdi + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x140092cf0
mov rcx, qword [rsp + 0x50]
lea eax, [rax*2 + 2]
lea rdx, [0x14018ae10]
mov dword [rsp + 0x28], eax
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea rsi, [0x140209d60]
mov rax, rbx
cmp word [rsi + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x140092d31
mov rcx, qword [rsp + 0x50]
lea eax, [rax*2 + 2]
lea rdx, [0x14018ae20]
mov dword [rsp + 0x28], eax
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rax, rbx
nop dword [rax + rax]
cmp word [rsi + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x140092d70
mov rcx, qword [rsp + 0x50]
lea eax, [rax*2 + 2]
lea rdx, str.Name
mov dword [rsp + 0x28], eax
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea rdx, [0x14018ae30]
mov r8, rbp
mov rcx, rdi
call fcn.1400f98c8
nop dword [rax]
cmp word [rdi + rbx*2 + 2], 0
lea rbx, [rbx + 1]
jne 0x140092dc0
mov rcx, qword [rsp + 0x50]
lea eax, [rbx*2 + 2]
lea rdx, [0x14018add0]
mov dword [rsp + 0x28], eax
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140092f7b
lea rax, [rsp + 0x50]
mov r9d, 0xf003f
xor r8d, r8d
mov rdx, rdi
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140092f7b
lea rdx, [0x14018adf8]
mov r8, rbp
mov rcx, rdi
call fcn.1400f98c8
or rbx, 0xffffffffffffffff
nop dword [rax + rax]
cmp word [rdi + rbx*2 + 2], 0
lea rbx, [rbx + 1]
jne 0x140092e50
mov rcx, qword [rsp + 0x50]
lea eax, [rbx*2 + 2]
lea rdx, [0x140209d60]
mov dword [rsp + 0x28], eax
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140092f7b
lea rax, [rsp + 0x50]
mov r9d, 0xf003f
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140092ed1
mov rcx, qword [rsp + 0x50]
lea rdx, [0x140209d60]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [0x14018ac60]
mov rdx, rdi
sub rdx, rax
nop
movzx ecx, word [rax]
lea rax, [rax + 2]
mov word [rdx + rax - 2], cx
test cx, cx
jne 0x140092ee0
lea rax, [rsp + 0x50]
mov r9d, 0xf003f
xor r8d, r8d
mov rdx, rdi
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140092f6b
mov rcx, qword [rsp + 0x50]
lea rdx, [0x14018ae10]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x50]
lea rdx, [0x14018ae20]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x50]
lea rdx, str.Name
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x50]
lea rdx, [0x14018add0]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, rdi
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret