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

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x2218]
mov eax, 0x2318
call fcn.1400d6730
sub rsp, rax
mov qword [rbp - 0x18], 0xfffffffffffffffe
mov rax, qword [0x1401c3e90]
xor rax, rsp
mov qword [rbp + 0x2200], rax
mov dword [rsp + 0x70], r9d
mov qword [rsp + 0x50], r8
mov rsi, rdx
mov rax, rcx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
mov ecx, dword [rbp + 0x2260]
mov dword [rbp - 0x68], ecx
mov rcx, rax
call fcn.14006c2e0
mov ebx, eax
test eax, eax
js 0x14006d94a
cmp word [rsi], 0x7d
je 0x14006d94a
mov dword [rsp + 0x48], 1
lea rdx, str.Delete
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor edi, edi
test eax, eax
sete dil
lea rdx, str.ForceRemove
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x14006d163
test edi, edi
je 0x14006d26f
mov rdx, rsi
mov rcx, qword [rsp + 0x40]
call fcn.14006c2e0
mov ebx, eax
test eax, eax
js 0x14006d94a
cmp dword [rsp + 0x70], 0
je 0x14006d26f
xor edx, edx
mov qword [rbp - 0x80], rdx
mov dword [rbp - 0x78], edx
mov qword [rbp - 0x70], rdx
mov rcx, rsi
movzx eax, word [rsi]
test ax, ax
je 0x14006d1c2
nop dword [rax]
cmp ax, 0x5c
je 0x14006d1b9
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x14006d1a0
jmp 0x14006d1c2
test rcx, rcx
jne 0x14006d8b4
lea rbx, str.AppID
nop dword [rax]
mov rdx, qword [rbx]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x14006d22b
add rbx, 8
lea rax, [0x140153b90]
cmp rbx, rax
jl 0x14006d1d0
mov rax, qword [rsp + 0x50]
mov qword [rbp - 0x80], rax
mov dword [rbp - 0x78], 0
mov qword [rbp - 0x70], 0
mov rdx, rsi
lea rcx, [rbp - 0x80]
call fcn.14001da60
mov qword [rbp - 0x80], 0
mov dword [rbp - 0x78], 0
mov qword [rbp - 0x70], 0
test edi, edi
je 0x14006d268
mov rdx, rsi
mov rdi, qword [rsp + 0x40]
mov rcx, rdi
call fcn.14006c2e0
mov ebx, eax
test eax, eax
js 0x14006d8bd
mov rdx, rsi
mov rcx, rdi
call fcn.14006ca20
mov ebx, eax
test eax, eax
js 0x14006d8bd
xor ecx, ecx
mov dword [rbp - 0x78], ecx
jmp 0x14006d5ba
mov dword [rbp - 0x78], 0
lea rdx, str.NoRemove
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x14006d2a2
xor edi, edi
mov dword [rsp + 0x48], edi
mov rdx, rsi
mov rcx, qword [rsp + 0x40]
call fcn.14006c2e0
mov ebx, eax
test eax, eax
js 0x14006d94a
jmp 0x14006d2a6
mov edi, dword [rsp + 0x48]
lea rdx, [0x140153748]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x14006d40b
lea rdx, [rbp + 0x200]
mov rcx, qword [rsp + 0x40]
call fcn.14006c2e0
mov ebx, eax
test eax, eax
js 0x14006d94a
mov rdx, rsi
mov rcx, qword [rsp + 0x40]
call fcn.14006c2e0
mov ebx, eax
test eax, eax
js 0x14006d94a
cmp word [rsi], 0x3d
jne 0x14006d903
cmp dword [rsp + 0x70], 0
je 0x14006d358
xor ecx, ecx
mov qword [rbp - 0x60], rcx
mov dword [rbp - 0x58], ecx
mov qword [rbp - 0x50], rcx
mov rax, qword [rsp + 0x50]
mov qword [rbp - 0x60], rax
mov dword [rbp - 0x58], ecx
mov qword [rbp - 0x50], rcx
mov r9, rsi
lea r8, [rbp + 0x200]
lea rdx, [rbp - 0x60]
mov rdi, qword [rsp + 0x40]
mov rcx, rdi
call fcn.14006c4a0
mov ebx, eax
xor ecx, ecx
mov qword [rbp - 0x60], rcx
mov dword [rbp - 0x58], ecx
mov qword [rbp - 0x50], rcx
mov dword [rbp - 0x58], ecx
test eax, eax
js 0x14006d94a
jmp 0x14006d5ba
cmp dword [rbp + 0x2260], 0
jne 0x14006d3f9
test edi, edi
je 0x14006d3f9
mov qword [rbp - 0x30], 0
mov dword [rbp - 0x28], 0
mov qword [rbp - 0x20], 0
mov qword [rsp + 0x78], 0
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 0x20006
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14006d8f1
mov dword [rbp - 0x28], eax
mov rdi, qword [rsp + 0x78]
mov qword [rbp - 0x30], rdi
lea rdx, [rbp + 0x200]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, 0xfffffffd
jne 0x14006d8c9
test rdi, rdi
je 0x14006d3f2
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x30], 0
mov dword [rbp - 0x28], 0
mov rdx, rsi
mov rcx, qword [rsp + 0x40]
call fcn.14006ca20
jmp 0x14006d113
mov rcx, rsi
movzx eax, word [rsi]
test ax, ax
je 0x14006d438
cmp ax, 0x5c
je 0x14006d42f
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x14006d416
jmp 0x14006d438
test rcx, rcx
jne 0x14006d903
cmp dword [rsp + 0x70], 0
je 0x14006d612
xor edi, edi
mov qword [rsp + 0x48], rdi
mov rbx, qword [rsp + 0x68]
lea rax, [rsp + 0x48]
test rbx, rbx
je 0x14006d478
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2001f
mov r8, rsi
mov rdx, qword [rsp + 0x50]
mov rcx, rbx
call fcn.14001d6b0
jmp 0x14006d494
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14006d4c7
mov eax, edi
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14006d4af
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x58], rdi
mov dword [rsp + 0x60], edi
mov rdi, qword [rsp + 0x48]
mov qword [rsp + 0x58], rdi
test eax, eax
je 0x14006d57b
jmp 0x14006d4cc
mov rdi, qword [rsp + 0x58]
mov qword [rsp + 0x48], 0
lea rax, [rsp + 0x48]
test rbx, rbx
je 0x14006d503
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x20019
mov r8, rsi
mov rdx, qword [rsp + 0x50]
mov rcx, rbx
call fcn.14001d6b0
mov rbx, qword [rsp + 0x50]
jmp 0x14006d522
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rsi
mov rbx, qword [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14006d553
test rdi, rdi
je 0x14006d53d
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x60], 0
mov rdi, qword [rsp + 0x48]
mov qword [rsp + 0x58], rdi
test eax, eax
je 0x14006d57b
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], 0
mov r8, rsi
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.14001d990
test eax, eax
jne 0x14006d941
mov rdx, rsi
mov rdi, qword [rsp + 0x40]
mov rcx, rdi
call fcn.14006c2e0
mov ebx, eax
test eax, eax
js 0x14006d94a
cmp word [rsi], 0x3d
jne 0x14006d5b8
mov r9, rsi
xor r8d, r8d
lea rdx, [rsp + 0x58]
mov rcx, rdi
call fcn.14006c4a0
mov ebx, eax
test eax, eax
js 0x14006d94a
xor ecx, ecx
cmp word [rsi], 0x7b
jne 0x14006d11d
or rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rsi + rax*2], 0
jne 0x14006d5d0
cmp rax, 1
jne 0x14006d11d
mov dword [rsp + 0x20], ecx
mov r9d, dword [rsp + 0x70]
mov r8, qword [rsp + 0x58]
mov rdx, rsi
mov rcx, rdi
call fcn.14006d0a0
mov ebx, eax
test eax, eax
js 0x14006d94a
mov rdx, rsi
mov rcx, rdi
jmp 0x14006d10e
cmp dword [rbp + 0x2260], 0
jne 0x14006d6ab
xor ebx, ebx
mov qword [rsp + 0x78], rbx
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x14006d654
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0x20019
mov r8, rsi
mov rdx, qword [rsp + 0x50]
mov rcx, rax
call fcn.14001d6b0
jmp 0x14006d675
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test eax, eax
jne 0x14006d6b0
mov edi, ebx
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x14006d697
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, eax
mov qword [rsp + 0x58], rbx
mov dword [rsp + 0x60], ebx
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x58], rax
test edi, edi
je 0x14006d6ba
jmp 0x14006d6b0
mov edi, 2
mov dword [rbp + 0x2260], 1
or r9, 0xffffffffffffffff
mov r8, rsi
mov edx, 0x104
lea rcx, [rbp - 0x10]
call fcn.1400d6480
test eax, eax
je 0x14006d6f7
cmp eax, 0xc
je 0x14006d920
cmp eax, 0x16
je 0x14006d915
cmp eax, 0x22
je 0x14006d915
cmp eax, 0x50
jne 0x14006d90a
mov rdx, rsi
mov rcx, qword [rsp + 0x40]
call fcn.14006c2e0
mov ebx, eax
test eax, eax
js 0x14006d94a
mov rdx, rsi
mov rcx, qword [rsp + 0x40]
call fcn.14006ca20
mov ebx, eax
test eax, eax
js 0x14006d94a
cmp word [rsi], 0x7b
jne 0x14006d789
or rax, 0xffffffffffffffff
nop
inc rax
cmp word [rsi + rax*2], 0
jne 0x14006d730
cmp rax, 1
jne 0x14006d789
mov eax, dword [rbp + 0x2260]
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8, qword [rsp + 0x58]
mov rdx, rsi
mov rcx, qword [rsp + 0x40]
call fcn.14006d0a0
mov ebx, eax
test eax, eax
jns 0x14006d772
cmp dword [rbp + 0x2260], 0
je 0x14006d94a
mov rdx, rsi
mov rcx, qword [rsp + 0x40]
call fcn.14006c2e0
mov ebx, eax
test eax, eax
js 0x14006d94a
mov eax, dword [rbp - 0x68]
mov dword [rbp + 0x2260], eax
cmp edi, 2
je 0x14006d11d
test edi, edi
je 0x14006d7ac
test eax, eax
je 0x14006d92b
jmp 0x14006d11d
test eax, eax
je 0x14006d814
mov rdx, qword [rsp + 0x58]
call fcn.14006c9b0
test eax, eax
je 0x14006d814
lea rdi, str.AppID
nop word [rax + rax]
mov rdx, qword [rdi]
lea rcx, [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x14006d11d
add rdi, 8
lea rax, [0x140153b90]
cmp rdi, rax
jl 0x14006d7d0
mov eax, dword [rsp + 0x48]
test eax, eax
je 0x14006d11d
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x58]
call fcn.14001da60
jmp 0x14006d11d
mov rdx, qword [rsp + 0x58]
call fcn.14006c9b0
mov edi, eax
xor eax, eax
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14006d839
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
mov qword [rsp + 0x58], rcx
mov dword [rsp + 0x60], 0
test eax, eax
jne 0x14006d941
mov eax, dword [rsp + 0x48]
test eax, eax
je 0x14006d11d
test edi, edi
jne 0x14006d11d
mov qword [rbp - 0x48], 0
mov dword [rbp - 0x40], edi
mov qword [rbp - 0x38], 0
mov rax, qword [rsp + 0x50]
mov qword [rbp - 0x48], rax
mov dword [rbp - 0x40], edi
mov qword [rbp - 0x38], 0
lea rdx, [rbp - 0x10]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov qword [rbp - 0x48], 0
mov dword [rbp - 0x40], edi
mov qword [rbp - 0x38], 0
test eax, eax
jne 0x14006d92f
mov dword [rbp - 0x40], eax
jmp 0x14006d11d
mov dword [rbp - 0x78], 0
jmp 0x14006d903
mov dword [rbp - 0x78], 0
jmp 0x14006d94a
mov ecx, eax
call fcn.14006b620
mov ebx, eax
test rdi, rdi
je 0x14006d8e8
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x30], 0
mov dword [rbp - 0x28], 0
jmp 0x14006d94a
mov ecx, eax
call fcn.14006b620
mov ebx, eax
mov dword [rbp - 0x28], 0
jmp 0x14006d94a
mov ebx, 0x80020009
jmp 0x14006d94a
mov ecx, 0x80004005
call fcn.140001920
int3
mov ecx, 0x80070057
call fcn.140001920
int3
mov ecx, 0x8007000e
call fcn.140001920
int3
mov ecx, edi
jmp 0x14006d943
mov ecx, eax
call fcn.14006b620
mov ebx, eax
mov dword [rbp - 0x40], 0
jmp 0x14006d94a
mov ecx, eax
call fcn.14006b620
mov ebx, eax
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x14006d966
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x60], 0
mov eax, ebx
mov rcx, qword [rbp + 0x2200]
xor rcx, rsp
call fcn.1400d1680
add rsp, 0x2318
pop rdi
pop rsi
pop rbx
pop rbp
ret