Function at 0x1401020e0
Capabilities:
Delete registry key
Delete registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov rsi, rdx
mov rdi, rcx
xor r14d, r14d
cmp qword [rcx + 0xf8], r14
je 0x14010242e
mov rbx, qword [rcx + 0xf0]
mov rcx, rbx
call fcn.140100b00
test rax, rax
je 0x14010242e
cmp byte [rbx + 0x28], r14b
jne 0x14010242e
mov rcx, rbx
call fcn.140100b00
test rax, rax
je 0x14010242e
mov rcx, qword [rsi]
mov qword [rbp + 0x17], rcx
mov rax, qword [rsi + 8]
mov qword [rbp + 0x1f], rax
mov rax, qword [rsi + 0x10]
mov qword [rbp + 0x27], rax
test rcx, rcx
je 0x140102168
lock inc dword [rcx]
lea rdx, [rbp + 0x17]
lea rcx, [rbp - 0x19]
call fcn.1401007a0
nop
mov esi, dword [rdi + 0x104]
mov edx, 0x5c
mov r9d, 1
mov r15, 0xffffffffffffffff
mov r8, r15
lea rcx, [rbp - 0x19]
call fcn.140018780
nop
cmp eax, r15d
jne 0x1401021ae
xorps xmm0, xmm0
movdqu xmmword [rbp - 1], xmm0
mov qword [rbp + 0xf], r14
jmp 0x1401021c1
inc eax
movsxd r8, eax
lea rdx, [rbp - 1]
lea rcx, [rbp - 0x19]
call fcn.140018810
nop
cmp qword [rdi + 0xf8], 0
je 0x1401021f2
mov rbx, qword [rdi + 0xf0]
mov rcx, rbx
call fcn.140100b00
test rax, rax
je 0x1401021f2
cmp byte [rbx + 0x28], 0
jne 0x1401021f2
mov rcx, rbx
call fcn.140100b00
mov rbx, rax
jmp 0x1401021f5
mov rbx, r14
mov qword [rbp + 0x67], r14
or esi, 0x2001f
lea rcx, [rbp - 1]
call fcn.14001d9a0
mov rdx, rax
lea rax, [rbp + 0x67]
mov qword [rsp + 0x20], rax
mov r9d, esi
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rbx, r14
test eax, eax
cmove rbx, qword [rbp + 0x67]
mov rcx, qword [rbp - 1]
test rcx, rcx
je 0x140102256
mov eax, r15d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140102256
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp - 1]
call fcn.140030bb0
test rbx, rbx
je 0x1401022b0
lea rdx, [rbp - 0x19]
lea rcx, [rbp + 0x2f]
call fcn.140100e30
nop
mov rcx, rax
call fcn.14001d9a0
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
nop
mov rcx, qword [rbp + 0x2f]
test rcx, rcx
je 0x1401022a7
mov eax, r15d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1401022a7
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp + 0x2f]
call fcn.140030bb0
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [rdi + 0x104]
cmp qword [rdi + 0xf8], 0
je 0x1401022e7
mov rbx, qword [rdi + 0xf0]
mov rcx, rbx
call fcn.140100b00
test rax, rax
je 0x1401022e7
cmp byte [rbx + 0x28], 0
jne 0x1401022e7
mov rcx, rbx
call fcn.140100b00
mov rbx, rax
jmp 0x1401022ea
mov rbx, r14
mov qword [rbp + 0x67], r14
or esi, 0x2001f
lea rcx, [rbp - 0x19]
call fcn.14001d9a0
mov rdx, rax
lea rax, [rbp + 0x67]
mov qword [rsp + 0x20], rax
mov r9d, esi
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140102404
mov rsi, qword [rbp + 0x67]
test rsi, rsi
je 0x140102404
mov edx, dword [rdi + 0x104]
mov rcx, rsi
call fcn.1401005f0
cmp qword [rbp - 9], 0
jne 0x1401023b7
mov r8d, 1
mov rdx, rsi
lea rcx, [rbp - 1]
call fcn.1400ff7b0
nop
mov rbx, qword [rbp + 7]
mov rax, qword [rbp + 0xf]
lea rcx, [rax + rax*2]
lea rdi, [rbx + rcx*8]
mov r14, rsi
cmp rbx, rdi
je 0x1401023ac
nop dword [rax]
mov rcx, rbx
call fcn.14001d9a0
mov rdx, rax
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov esi, eax
test eax, eax
je 0x1401023a3
mov rcx, rbx
call fcn.14001d9a0
mov r8, rax
lea rdx, [0x1402558e8]
mov ecx, esi
call fcn.14001ff70
add rbx, 0x18
cmp rbx, rdi
jne 0x140102370
lea rcx, [rbp - 1]
call fcn.1400026c0
jmp 0x1401023fa
lea rcx, [rbp - 0x19]
call fcn.14001d9a0
mov rbx, rax
mov rcx, rdi
call fcn.140102d50
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ebx, eax
mov r14, rsi
test eax, eax
je 0x1401023fa
lea rcx, [rbp - 0x19]
call fcn.14001d9a0
mov r8, rax
lea rdx, [0x140255920]
mov ecx, ebx
call fcn.14001ff70
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rax, qword [rbp - 0x19]
test rax, rax
je 0x14010243b
lock xadd dword [rax], r15d
cmp r15d, 1
jne 0x14010243b
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp - 0x19]
call fcn.140030bb0
jmp 0x14010243b
mov edx, 1
mov rcx, rdi
call fcn.1400b98b0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret