Function at 0x140060910
Capabilities:
Delete registry value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
mov eax, 0x22c8
call fcn.140154280
sub rsp, rax
movaps xmmword [rsp + 0x22b0], xmm6
mov dword [rsp + 0x6c], r9d
mov rsi, r8
mov rbx, rdx
mov r14, rcx
mov rax, qword [0x140241038]
xor rax, rsp
mov qword [rsp + 0x22a8], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x90], rax
xor eax, eax
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x90], 0
mov qword [rsp + 0x98], rax
lea rcx, [rsp + 0x20a0]
mov r8d, 0x208
mov dl, 0xaa
call fcn.140157270
mov rcx, r14
mov rdx, rbx
call fcn.1401a3610
mov r12d, eax
test eax, eax
js 0x1400609ce
mov qword [rsp + 0x60], rsi
cmp word [rbx], 0x7d
je 0x1400609ce
xorps xmm6, xmm6
mov rdi, qword [sym.imp.USER32.dll_CharNextW]
jmp 0x140060b04
mov ebp, eax
mov r12d, ebp
jmp 0x1400609ce
mov r12d, 0x80020009
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x1400609e1
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x22a8]
xor rcx, rsp
call fcn.1401542e0
mov eax, r12d
movaps xmm6, xmmword [rsp + 0x22b0]
add rsp, 0x22c8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0xa0]
mov qword [rsp + 0x88], rcx
mov dword [rsp + 0x90], 0
test eax, eax
je 0x140060a68
movups xmmword [rsp + 0x30], xmm6
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x88]
mov rdx, r15
mov r8, rbx
xor r9d, r9d
call fcn.140061d90
test eax, eax
jne 0x140061265
mov rcx, r14
mov rdx, rbx
call fcn.1401a3610
mov ebp, eax
test eax, eax
js 0x1400609c3
movzx eax, word [rbx]
cmp ax, 0x3d
jne 0x140060aa9
mov rcx, r14
lea rdx, [rsp + 0x88]
xor r8d, r8d
mov r9, rbx
call fcn.1400618c0
mov ebp, eax
test eax, eax
js 0x1400609c3
movzx eax, word [rbx]
cmp ax, 0x7b
jne 0x140060afa
mov rcx, rbx
call fcn.14017c094
cmp rax, 1
jne 0x140060afa
mov r8, qword [rsp + 0x88]
mov dword [rsp + 0x20], 0
mov rcx, r14
mov rdx, rbx
mov r9d, dword [rsp + 0x6c]
call fcn.140060910
test eax, eax
js 0x1400609c1
mov rcx, r14
mov rdx, rbx
call fcn.1401a3610
mov ebp, eax
test eax, eax
js 0x1400609c3
cmp word [rbx], 0x7d
je 0x1400609c3
mov rcx, rbx
lea rdx, str.Delete
mov rsi, qword [sym.imp.KERNEL32.dll_lstrcmpiW]
call rsi
mov r15d, eax
mov rcx, rbx
lea rdx, [0x14021e94c]
call rsi
test eax, eax
je 0x1400612f5
test r15d, r15d
je 0x1400612f5
mov rcx, rbx
lea rdx, str.NoRemove
call rsi
mov r15d, eax
test eax, eax
je 0x140060bd2
mov rcx, rbx
lea rdx, [0x14021e944]
call rsi
test eax, eax
je 0x140060d3e
test rbx, rbx
je 0x140060b86
mov rax, rbx
jmp 0x140060b75
test ecx, ecx
je 0x140060b86
mov rcx, rax
call rdi
movzx ecx, word [rax]
cmp ecx, 0x5c
jne 0x140060b6c
test rax, rax
jne 0x1400609c8
cmp dword [rsp + 0x6c], 0
je 0x140060dfa
mov qword [rsp + 0xa0], 0
mov rsi, qword [rsp + 0x98]
test rsi, rsi
je 0x140060bea
cmp qword [rsi], 0
mov r15, qword [rsp + 0x60]
jne 0x140060cd7
cmp dword [rsi + 8], 0
je 0x140060c4f
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x20], rax
jmp 0x140060bfc
mov rcx, r14
mov rdx, rbx
call fcn.1401a3610
test eax, eax
jns 0x140060b4e
jmp 0x1400609c1
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x20], rax
mov r15, qword [rsp + 0x60]
mov rcx, r15
mov rdx, rbx
xor r8d, r8d
mov r9d, 0x2001f
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140060c4f
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x140060cb7
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0xa0]
mov qword [rsp + 0x88], rcx
mov dword [rsp + 0x90], 0
test eax, eax
je 0x140060a68
mov qword [rsp + 0xa0], 0
mov rsi, qword [rsp + 0x98]
test rsi, rsi
je 0x140060c7c
cmp qword [rsi], 0
jne 0x140060d93
cmp dword [rsi + 8], 0
je 0x140060a35
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x20], rax
mov rcx, r15
mov rdx, rbx
xor r8d, r8d
mov r9d, 0x20019
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140060a35
mov rcx, qword [rsp + 0x88]
test rcx, rcx
jne 0x140060a10
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x90], 0
jmp 0x140060a68
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140060c4f
mov rcx, rax
lea rdx, str.RegOpenKeyTransactedW
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140060c4f
mov rcx, qword [rsi]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0xa0]
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x30], 0
mov rcx, r15
mov rdx, rbx
xor r8d, r8d
mov r9d, 0x2001f
call qword [case.0x1401bea20.0]
jmp 0x140060c11
mov r8d, 0x2000
lea rsi, [rsp + 0xa0]
mov rcx, rsi
mov dl, 0xaa
call fcn.140157270
mov rcx, r14
mov rdx, rsi
call fcn.1401a3610
mov r13d, 3
test eax, eax
jns 0x1400614f3
mov ebp, eax
test r13d, r13d
je 0x140060afa
cmp r13d, 2
je 0x140060afa
cmp r13d, 3
je 0x1400609c3
jmp 0x1400609ce
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140060a35
mov rcx, rax
lea rdx, str.RegOpenKeyTransactedW
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140060a35
mov rcx, qword [rsi]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0xa0]
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x30], 0
mov rcx, r15
mov rdx, rbx
xor r8d, r8d
mov r9d, 0x20019
call qword [case.0x1401bea20.0]
jmp 0x140060c9e
mov r13d, 2
cmp dword [rsp + 0x2330], 0
jne 0x140060f04
mov qword [rsp + 0xa0], 0
mov rsi, qword [rsp + 0x98]
test rsi, rsi
je 0x140060ea5
cmp qword [rsi], 0
je 0x140060e99
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r13d, 1
test rax, rax
je 0x140060f04
mov rcx, rax
lea rdx, str.RegOpenKeyTransactedW
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140060f04
mov rcx, qword [rsi]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0xa0]
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x30], 0
mov rcx, qword [rsp + 0x60]
mov rdx, rbx
xor r8d, r8d
mov r9d, 0x20019
call qword [case.0x1401bea20.0]
jmp 0x140060ec9
mov r13d, 1
cmp dword [rsi + 8], 0
je 0x140060f04
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x60]
mov rdx, rbx
xor r8d, r8d
mov r9d, 0x20019
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov r13d, eax
test eax, eax
jne 0x140060f04
mov rcx, qword [rsp + 0x88]
xor r13d, r13d
test rcx, rcx
je 0x140060ee9
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r13d, eax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x90], 0
test r13d, r13d
mov esi, 1
cmove esi, dword [rsp + 0x2330]
mov edx, 0x104
lea rcx, [rsp + 0x20a0]
mov r8, rbx
mov r9, 0xffffffffffffffff
call fcn.14017d8ac
cmp eax, 0x15
jle 0x140060f3f
cmp eax, 0x50
je 0x140060f47
jmp 0x1400612c8
test eax, eax
jne 0x1400612dc
mov rcx, r14
mov rdx, rbx
call fcn.1401a3610
test eax, eax
js 0x1400609c1
mov rcx, r14
mov rdx, rbx
call fcn.1401a3800
mov ebp, eax
test eax, eax
js 0x1400609c3
cmp word [rbx], 0x7b
jne 0x140060fc0
mov rcx, rbx
call fcn.14017c094
cmp rax, 1
jne 0x140060fc0
mov r8, qword [rsp + 0x88]
mov dword [rsp + 0x20], esi
mov rcx, r14
mov rdx, rbx
xor r9d, r9d
call fcn.140060910
test eax, eax
jns 0x140060fab
mov ebp, eax
test esi, esi
je 0x1400609c3
mov rcx, r14
mov rdx, rbx
call fcn.1401a3610
mov ebp, eax
test eax, eax
js 0x1400609c3
cmp r13d, 2
je 0x140060afa
test r13d, r13d
je 0x140060fe5
cmp dword [rsp + 0x2330], 0
jne 0x140060afa
mov ecx, r13d
jmp 0x140061267
cmp dword [rsp + 0x2330], 0
je 0x14006113b
mov rcx, qword [rsp + 0x88]
mov dword [rsp + 0xa0], 0
movups xmmword [rsp + 0x48], xmm6
movups xmmword [rsp + 0x38], xmm6
movups xmmword [rsp + 0x28], xmm6
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x58], 0
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x14006113b
cmp dword [rsp + 0xa0], 0
je 0x14006113b
lea r13, [rsp + 0x20a0]
mov rcx, r13
lea rdx, str.AppID
mov rsi, qword [sym.imp.KERNEL32.dll_lstrcmpiW]
call rsi
test eax, eax
je 0x140060afa
mov rcx, r13
lea rdx, str.CLSID
call rsi
test eax, eax
je 0x140060afa
mov rcx, r13
lea rdx, str.Component_Categories
call rsi
test eax, eax
je 0x140060afa
mov rcx, r13
lea rdx, str.FileType
call rsi
test eax, eax
je 0x140060afa
mov rcx, r13
lea rdx, str.Interface
call rsi
test eax, eax
je 0x140060afa
mov rcx, r13
lea rdx, str.Hardware
call rsi
test eax, eax
je 0x140060afa
mov rcx, r13
lea rdx, str.Mime
call rsi
test eax, eax
je 0x140060afa
mov rcx, r13
lea rdx, [0x14021ea08]
call rsi
test eax, eax
je 0x140060afa
mov rcx, r13
lea rdx, str.SECURITY
call rsi
test eax, eax
je 0x140060afa
mov rcx, r13
lea rdx, str.SYSTEM
call rsi
test eax, eax
jne 0x140061274
jmp 0x140060afa
mov dword [rsp + 0x90], 0
jmp 0x1400611c5
mov rcx, qword [rsp + 0x88]
mov dword [rsp + 0xa0], 0
movups xmmword [rsp + 0x48], xmm6
movups xmmword [rsp + 0x38], xmm6
movups xmmword [rsp + 0x28], xmm6
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x58], 0
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
setne sil
cmp dword [rsp + 0xa0], 0
sete r13b
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x14006112b
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x88], 0
mov dword [rsp + 0x90], 0
test eax, eax
jne 0x140061265
or sil, r13b
test r15d, r15d
sete al
xor sil, 1
or sil, al
jne 0x140060afa
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xa0], rax
xor esi, esi
mov dword [rsp + 0xa8], esi
mov qword [rsp + 0xb0], rsi
lea rcx, [rsp + 0xa0]
lea rdx, [rsp + 0x20a0]
call fcn.140061f30
mov qword [rsp + 0xa0], rsi
mov dword [rsp + 0xa8], esi
mov qword [rsp + 0xb0], rsi
test eax, eax
je 0x140060afa
mov ecx, eax
call fcn.1401a38d0
mov r12d, eax
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x1400609ce
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400609ce
mov ecx, eax
call fcn.1401a38d0
mov r12d, eax
jmp 0x1400609ce
mov rcx, r13
lea rdx, str.Software
call rsi
test eax, eax
je 0x140060afa
lea rcx, [rsp + 0x20a0]
lea rdx, str.TypeLib
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140060afa
test r15d, r15d
je 0x140060afa
lea rcx, [rsp + 0x88]
lea rdx, [rsp + 0x20a0]
call fcn.140061740
jmp 0x140060afa
cmp eax, 0x16
je 0x1400612d2
cmp eax, 0x22
jne 0x1400612eb
mov ecx, 0x80070057
call fcn.1401bead0
cmp eax, 0xc
jne 0x1400612eb
mov ecx, 0x8007000e
call fcn.1401bead0
mov ecx, 0x80004005
call fcn.1401bead0
mov rcx, r14
mov rdx, rbx
call fcn.1401a3610
mov ebp, eax
test eax, eax
js 0x1400609c3
cmp dword [rsp + 0x6c], 0
je 0x140060b37
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xa8], rax
xor eax, eax
mov qword [rsp + 0xa0], rax
mov dword [rsp + 0xa8], 0
mov qword [rsp + 0xb0], rax
test rbx, rbx
je 0x140061375
mov rax, rbx
jmp 0x140061353
mov rcx, rax
call rdi
movzx ecx, word [rax]
test ecx, ecx
je 0x140061375
cmp ecx, 0x5c
jne 0x14006134e
test rax, rax
je 0x140061375
mov r13d, 1
mov r12d, 0x80020009
jmp 0x140061425
mov rcx, rbx
lea rdx, str.AppID
call rsi
test eax, eax
je 0x14006141d
mov rcx, rbx
lea rdx, str.CLSID
call rsi
test eax, eax
je 0x14006141d
mov rcx, rbx
lea rdx, str.Component_Categories
call rsi
test eax, eax
je 0x14006141d
mov rcx, rbx
lea rdx, str.FileType
call rsi
test eax, eax
je 0x14006141d
mov rcx, rbx
lea rdx, str.Interface
call rsi
test eax, eax
je 0x14006141d
mov rcx, rbx
lea rdx, str.Hardware
call rsi
test eax, eax
je 0x14006141d
mov rcx, rbx
lea rdx, str.Mime
call rsi
test eax, eax
je 0x14006141d
mov rcx, rbx
lea rdx, [0x14021ea08]
call rsi
test eax, eax
je 0x14006141d
mov rcx, rbx
lea rdx, str.SECURITY
call rsi
test eax, eax
je 0x14006141d
mov rcx, rbx
lea rdx, str.SYSTEM
call rsi
test eax, eax
jne 0x140061469
xor r13d, r13d
test r15d, r15d
je 0x140061450
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x140061438
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp r13d, 4
je 0x140060aa6
test r13d, r13d
je 0x140060b37
jmp 0x140060d71
mov rcx, r14
mov rdx, rbx
call fcn.1401a3610
test eax, eax
jns 0x1400614d6
mov ebp, eax
mov r13d, 3
jmp 0x140061425
mov rcx, rbx
lea rdx, str.Software
call rsi
test eax, eax
je 0x14006141d
mov rcx, rbx
lea rdx, str.TypeLib
call rsi
test eax, eax
je 0x14006141d
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xa0], rax
xor r13d, r13d
mov dword [rsp + 0xa8], r13d
mov qword [rsp + 0xb0], r13
lea rcx, [rsp + 0xa0]
mov rdx, rbx
call fcn.140061740
mov qword [rsp + 0xa0], r13
mov dword [rsp + 0xa8], r13d
mov qword [rsp + 0xb0], r13
jmp 0x14006141d
mov rcx, r14
mov rdx, rbx
call fcn.1401a3800
mov ebp, eax
mov r13d, eax
sar r13d, 0x1f
add r13d, 4
jmp 0x140061425
mov rcx, r14
mov rdx, rbx
call fcn.1401a3610
mov ebp, eax
test eax, eax
js 0x140060d71
mov r13d, 1
cmp word [rbx], 0x3d
je 0x14006151f
mov r12d, 0x80020009
jmp 0x140060d71
cmp dword [rsp + 0x6c], 0
je 0x14006157d
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], 0
mov qword [rsp + 0x80], 0
mov rcx, r14
lea rdx, [rsp + 0x70]
lea r8, [rsp + 0xa0]
mov r9, rbx
call fcn.1400618c0
mov ebp, eax
test eax, eax
jns 0x140060aa6
mov r12d, ebp
jmp 0x140060d71
cmp dword [rsp + 0x2330], 0
jne 0x1400615f9
test r15d, r15d
je 0x1400615f9
xor eax, eax
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x60]
xor edx, edx
xor r8d, r8d
mov r9d, 0x20006
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov r15d, 0
test eax, eax
jne 0x1400615c2
mov r15, qword [rsp + 0x70]
jne 0x140061616
mov rcx, r15
lea rdx, [rsp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, 0xfffffffd
jne 0x140061616
xor r13d, r13d
mov sil, 1
test r15, r15
je 0x1400615f0
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test sil, sil
je 0x140060d71
mov rcx, r14
mov rdx, rbx
call fcn.1401a3800
mov ebp, eax
mov r13d, eax
shr r13d, 0x1f
or r13d, 2
jmp 0x140060d71
mov ecx, eax
call fcn.1401a38d0
mov ebp, eax
mov r13d, 3
xor esi, esi
jmp 0x1400615e2