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

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x21e8]
mov eax, 0x22e8
call fcn.1401c1f10
sub rsp, rax
mov qword [rbp - 0x48], 0xfffffffffffffffe
mov rax, qword [0x1402f2208]
xor rax, rsp
mov qword [rbp + 0x21d0], rax
mov dword [rsp + 0x74], r9d
mov qword [rsp + 0x78], r8
mov rsi, rdx
mov rax, rcx
mov qword [rsp + 0x68], rcx
xor ecx, ecx
mov edi, ecx
mov qword [rbp - 0x68], rcx
mov dword [rbp - 0x60], ecx
mov qword [rbp - 0x58], rcx
mov ecx, dword [rbp + 0x2230]
mov dword [rbp - 0x50], ecx
mov rcx, rax
call fcn.140008eb0
mov ebx, eax
test eax, eax
jns 0x14000ac27
jmp 0x14000b2ef
cmp word [rsi], 0x7d
je 0x14000b2df
mov eax, 1
mov dword [rsp + 0x70], eax
lea rdx, str.Delete
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor ecx, ecx
mov ebx, ecx
test eax, eax
sete bl
mov dword [rsp + 0x60], ebx
lea rdx, str.ForceRemove
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x14000ac73
test ebx, ebx
je 0x14000ad4d
mov rdx, rsi
mov rcx, qword [rsp + 0x68]
call fcn.140008eb0
mov ebx, eax
xor edx, edx
test eax, eax
js 0x14000b2df
cmp dword [rsp + 0x74], edx
je 0x14000ad4d
mov qword [rbp - 0x80], rdx
mov dword [rbp - 0x78], edx
mov qword [rbp - 0x70], rdx
mov rcx, rsi
movzx eax, word [rsi]
jmp 0x14000acbb
cmp ax, 0x5c
je 0x14000acc2
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x14000aca9
jmp 0x14000accb
test rcx, rcx
jne 0x14000b268
lea rbx, str.AppID
mov rdx, qword [rbx]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x14000ad12
add rbx, 8
lea rax, str.RegOpenKeyTransactedW
cmp rbx, rax
jl 0x14000acd2
mov rax, qword [rsp + 0x78]
mov qword [rbp - 0x80], rax
xor ebx, ebx
mov dword [rbp - 0x78], ebx
mov qword [rbp - 0x70], rbx
mov rdx, rsi
lea rcx, [rbp - 0x80]
call fcn.140009244
jmp 0x14000ad14
xor ebx, ebx
cmp dword [rsp + 0x60], ebx
je 0x14000ad4f
mov rdx, rsi
mov rcx, qword [rsp + 0x68]
call fcn.140008eb0
mov ebx, eax
test eax, eax
js 0x14000b2df
mov rdx, rsi
mov rcx, qword [rsp + 0x68]
call fcn.140009030
mov ebx, eax
test eax, eax
js 0x14000b2df
jmp 0x14000af73
xor ebx, ebx
lea rdx, str.NoRemove
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x14000ad80
mov dword [rsp + 0x70], ebx
mov rdx, rsi
mov rcx, qword [rsp + 0x68]
call fcn.140008eb0
mov ebx, eax
test eax, eax
js 0x14000b2df
xor ebx, ebx
lea rdx, [0x140226458]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x14000ae96
lea rdx, [rbp + 0x1d0]
mov rcx, qword [rsp + 0x68]
call fcn.140008eb0
mov ebx, eax
test eax, eax
js 0x14000b2df
mov rdx, rsi
mov rcx, qword [rsp + 0x68]
call fcn.140008eb0
mov ebx, eax
xor edx, edx
test eax, eax
js 0x14000b2df
cmp word [rsi], 0x3d
jne 0x14000b299
cmp dword [rsp + 0x74], edx
je 0x14000ae13
mov rax, qword [rsp + 0x78]
mov qword [rbp - 0x80], rax
mov dword [rbp - 0x78], edx
mov qword [rbp - 0x70], rdx
mov r9, rsi
lea r8, [rbp + 0x1d0]
lea rdx, [rbp - 0x80]
mov rcx, qword [rsp + 0x68]
call fcn.14000a72c
mov ebx, eax
test eax, eax
js 0x14000b27d
jmp 0x14000af73
cmp dword [rbp + 0x2230], edx
jne 0x14000ae7a
cmp dword [rsp + 0x70], edx
je 0x14000ae7a
mov qword [rbp - 0x80], rdx
mov dword [rbp - 0x78], edx
mov qword [rbp - 0x70], rdx
mov r9d, 0x20006
xor r8d, r8d
mov rdx, qword [rsp + 0x78]
lea rcx, [rbp - 0x80]
call fcn.140008b44
test eax, eax
jne 0x14000b27f
lea rdx, [rbp + 0x1d0]
mov rbx, qword [rbp - 0x80]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x14000ae6c
cmp eax, 2
jne 0x14000b27f
test rbx, rbx
je 0x14000ae7a
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, rsi
mov rcx, qword [rsp + 0x68]
call fcn.140009030
mov ebx, eax
test eax, eax
js 0x14000b2df
jmp 0x14000ac27
mov rcx, rsi
movzx eax, word [rsi]
jmp 0x14000aeb0
cmp ax, 0x5c
je 0x14000aeb7
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x14000ae9e
jmp 0x14000aec0
test rcx, rcx
jne 0x14000b29b
cmp dword [rsp + 0x74], ebx
je 0x14000afca
mov r9d, 0x2001f
mov r8, rsi
mov rbx, qword [rsp + 0x78]
mov rdx, rbx
lea rcx, [rbp - 0x68]
call fcn.140008b44
xor edi, edi
test eax, eax
je 0x14000af33
mov r9d, 0x20019
mov r8, rsi
mov rdx, rbx
lea rcx, [rbp - 0x68]
call fcn.140008b44
test eax, eax
je 0x14000af33
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], edi
xor r9d, r9d
mov r8, rsi
mov rdx, rbx
lea rcx, [rbp - 0x68]
call fcn.140008a58
test eax, eax
jne 0x14000b29d
mov rdx, rsi
mov rdi, qword [rsp + 0x68]
mov rcx, rdi
call fcn.140008eb0
mov ebx, eax
test eax, eax
js 0x14000b2b1
cmp word [rsi], 0x3d
jne 0x14000af6f
mov r9, rsi
xor r8d, r8d
lea rdx, [rbp - 0x68]
mov rcx, rdi
call fcn.14000a72c
mov ebx, eax
test eax, eax
js 0x14000b2b1
mov rdi, qword [rbp - 0x68]
cmp word [rsi], 0x7b
jne 0x14000ac27
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, 1
cmp eax, ecx
jne 0x14000ac27
xor eax, eax
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x74]
mov r8, rdi
mov rdx, rsi
mov rcx, qword [rsp + 0x68]
call fcn.14000abb4
mov ebx, eax
test eax, eax
js 0x14000b2df
mov rdx, rsi
mov rcx, qword [rsp + 0x68]
call fcn.140008eb0
jmp 0x14000ae87
mov ebx, dword [rbp + 0x2230]
test ebx, ebx
jne 0x14000aff1
mov r9d, 0x20019
mov r8, rsi
mov rdx, qword [rsp + 0x78]
lea rcx, [rbp - 0x68]
call fcn.140008b44
mov rdi, qword [rbp - 0x68]
jmp 0x14000aff6
mov eax, 2
mov dword [rsp + 0x60], eax
test eax, eax
mov eax, 1
cmovne ebx, eax
mov dword [rbp + 0x2230], ebx
or r9, 0xffffffffffffffff
mov r8, rsi
mov edx, 0x104
lea rcx, [rbp - 0x40]
call fcn.1401c1df0
test eax, eax
je 0x14000b047
cmp eax, 0xc
je 0x14000b2c3
cmp eax, 0x16
je 0x14000b2bd
cmp eax, 0x22
je 0x14000b2bd
cmp eax, 0x50
jne 0x14000b2b7
mov rdx, rsi
mov rcx, qword [rsp + 0x68]
call fcn.140008eb0
mov ebx, eax
test eax, eax
js 0x14000b2df
mov rdx, rsi
mov rcx, qword [rsp + 0x68]
call fcn.140009030
mov ebx, eax
xor edx, edx
test eax, eax
js 0x14000b2df
cmp word [rsi], 0x7b
jne 0x14000b0dd
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, 1
cmp eax, ecx
jne 0x14000b0db
mov eax, dword [rbp + 0x2230]
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8, rdi
mov rdx, rsi
mov rcx, qword [rsp + 0x68]
call fcn.14000abb4
mov ebx, eax
xor edx, edx
test eax, eax
jns 0x14000b0c0
cmp dword [rbp + 0x2230], edx
je 0x14000b2df
mov rdx, rsi
mov rcx, qword [rsp + 0x68]
call fcn.140008eb0
mov ebx, eax
xor edx, edx
test eax, eax
js 0x14000b2df
jmp 0x14000b0dd
xor edx, edx
mov ecx, dword [rbp - 0x50]
mov dword [rbp + 0x2230], ecx
mov eax, dword [rsp + 0x60]
cmp eax, 2
je 0x14000ac27
test eax, eax
je 0x14000b104
test ecx, ecx
je 0x14000b2c9
jmp 0x14000ac27
test ecx, ecx
je 0x14000b1be
mov dword [rsp + 0x60], edx
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rdx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
xor edx, edx
test eax, eax
jne 0x14000b1be
mov eax, edx
cmp dword [rsp + 0x60], edx
seta al
test eax, eax
je 0x14000b1be
lea rax, str.AppID
mov qword [rsp + 0x60], rax
mov rdx, qword [rax]
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor edx, edx
test eax, eax
je 0x14000ac27
mov rax, qword [rsp + 0x60]
add rax, 8
mov qword [rsp + 0x60], rax
lea rcx, str.RegOpenKeyTransactedW
cmp rax, rcx
jl 0x14000b16d
cmp dword [rsp + 0x70], edx
je 0x14000ac27
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x68]
call fcn.140009244
mov rdi, qword [rbp - 0x68]
jmp 0x14000ac27
mov dword [rsp + 0x60], edx
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rdx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
xor edx, edx
test eax, eax
je 0x14000b20c
mov dword [rsp + 0x60], edx
jmp 0x14000b219
mov ecx, edx
cmp dword [rsp + 0x60], edx
seta cl
mov dword [rsp + 0x60], ecx
mov eax, edx
test rdi, rdi
je 0x14000b231
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
mov edi, edx
mov qword [rbp - 0x68], rdx
mov dword [rbp - 0x60], edx
test eax, eax
jne 0x14000b2d4
cmp dword [rsp + 0x70], edx
je 0x14000ac27
cmp dword [rsp + 0x60], edx
jne 0x14000ac27
lea rdx, [rbp - 0x40]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x14000b2c9
jmp 0x14000ac27
test rdi, rdi
je 0x14000b276
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x80020009
jmp 0x14000b2ef
jmp 0x14000b2df
mov ecx, eax
call fcn.1400087a4
mov ebx, eax
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x14000b2df
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14000b2df
jmp 0x14000b268
jmp 0x14000b268
mov ecx, eax
call fcn.1400087a4
mov ebx, eax
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x14000b2ed
jmp 0x14000b2e7
mov rdi, qword [rbp - 0x68]
jmp 0x14000b2df
call fcn.140067c74
int3
call fcn.140067c74
int3
call fcn.140067c2c
int3
mov ecx, eax
call fcn.1400087a4
mov ebx, eax
jmp 0x14000b2df
mov ecx, eax
call fcn.1400087a4
mov ebx, eax
jmp 0x14000b2df
test rdi, rdi
je 0x14000b2ed
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x21d0]
xor rcx, rsp
call fcn.1401c0410
add rsp, 0x22e8
pop rdi
pop rsi
pop rbx
pop rbp
ret