Function at 0x14003ca00
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.14012cff0
sub rsp, rax
movaps xmmword [rsp + 0x22b0], xmm6
mov esi, r9d
mov rdi, r8
mov rbx, rdx
mov r14, rcx
mov rax, qword [0x1401f0038]
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.14012ffe0
mov rcx, r14
mov rdx, rbx
call fcn.14016bf00
mov r15d, eax
test eax, eax
js 0x14003cac1
mov qword [rsp + 0x68], rdi
cmp word [rbx], 0x7d
je 0x14003cac1
xorps xmm6, xmm6
mov rdi, qword [sym.imp.USER32.dll_CharNextW]
jmp 0x14003cbf8
mov ecx, eax
call fcn.14016c1e0
mov r15d, eax
jmp 0x14003cac1
mov r15d, 0x80020009
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x14003cad4
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x22a8]
xor rcx, rsp
call fcn.14012d050
mov eax, r15d
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 0x14003cb5b
movups xmmword [rsp + 0x30], xmm6
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x88]
mov rdx, r12
mov r8, rbx
xor r9d, r9d
call fcn.14003ded0
test eax, eax
jne 0x14003caaf
mov rcx, r14
mov rdx, rbx
call fcn.14016bf00
mov r15d, eax
test eax, eax
js 0x14003cac1
movzx eax, word [rbx]
cmp ax, 0x3d
jne 0x14003cb9e
mov rcx, r14
lea rdx, [rsp + 0x88]
xor r8d, r8d
mov r9, rbx
call fcn.14003d9f0
mov r15d, eax
test eax, eax
js 0x14003cac1
movzx eax, word [rbx]
cmp ax, 0x7b
jne 0x14003cbee
mov rcx, rbx
call fcn.14014edd4
cmp rax, 1
jne 0x14003cbee
mov r8, qword [rsp + 0x88]
mov dword [rsp + 0x20], 0
mov rcx, r14
mov rdx, rbx
mov r9d, esi
call fcn.14003ca00
test eax, eax
js 0x14003cab6
mov rcx, r14
mov rdx, rbx
call fcn.14016bf00
mov r15d, eax
test eax, eax
js 0x14003cac1
cmp word [rbx], 0x7d
je 0x14003cac1
mov rcx, rbx
lea rdx, str.Delete
mov r13, qword [sym.imp.KERNEL32.dll_lstrcmpiW]
call r13
mov r12d, eax
mov rcx, rbx
lea rdx, [0x1401cad6c]
call r13
test eax, eax
je 0x14003d275
test r12d, r12d
je 0x14003d275
mov rcx, rbx
lea rdx, str.NoRemove
call r13
mov r12d, eax
test eax, eax
je 0x14003ccc8
mov rcx, rbx
lea rdx, [0x1401cad64]
call r13
test eax, eax
je 0x14003ce35
test rbx, rbx
je 0x14003cc7e
mov rax, rbx
jmp 0x14003cc6d
test ecx, ecx
je 0x14003cc7e
mov rcx, rax
call rdi
movzx ecx, word [rax]
cmp ecx, 0x5c
jne 0x14003cc64
test rax, rax
jne 0x14003cabb
test esi, esi
je 0x14003ceee
mov qword [rsp + 0xa0], 0
mov r15, qword [rsp + 0x98]
test r15, r15
je 0x14003cce0
cmp qword [r15], 0
mov r12, qword [rsp + 0x68]
jne 0x14003cdce
cmp dword [r15 + 8], 0
je 0x14003cd45
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x20], rax
jmp 0x14003ccf2
mov rcx, r14
mov rdx, rbx
call fcn.14016bf00
test eax, eax
jns 0x14003cc45
jmp 0x14003cab6
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x20], rax
mov r12, qword [rsp + 0x68]
mov rcx, r12
mov rdx, rbx
xor r8d, r8d
mov r9d, 0x2001f
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14003cd45
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x14003cdae
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 0x14003cb5b
mov qword [rsp + 0xa0], 0
mov r15, qword [rsp + 0x98]
test r15, r15
je 0x14003cd73
cmp qword [r15], 0
jne 0x14003ce87
cmp dword [r15 + 8], 0
je 0x14003cb28
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x20], rax
mov rcx, r12
mov rdx, rbx
xor r8d, r8d
mov r9d, 0x20019
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14003cb28
mov rcx, qword [rsp + 0x88]
test rcx, rcx
jne 0x14003cb03
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x90], 0
jmp 0x14003cb5b
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14003cd45
mov rcx, rax
lea rdx, str.RegOpenKeyTransactedW
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14003cd45
mov rcx, qword [r15]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0xa0]
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x30], 0
mov rcx, r12
mov rdx, rbx
xor r8d, r8d
mov r9d, 0x2001f
call qword [0x140224008]
jmp 0x14003cd07
mov r8d, 0x2000
lea r15, [rsp + 0xa0]
mov rcx, r15
mov dl, 0xaa
call fcn.14012ffe0
mov rcx, r14
mov rdx, r15
call fcn.14016bf00
mov ebp, 3
test eax, eax
jns 0x14003d521
mov r15d, eax
test ebp, ebp
je 0x14003cbee
cmp ebp, 2
je 0x14003cbee
cmp ebp, 3
je 0x14003cac1
jmp 0x14003d517
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14003cb28
mov rcx, rax
lea rdx, str.RegOpenKeyTransactedW
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14003cb28
mov rcx, qword [r15]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0xa0]
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x30], 0
mov rcx, r12
mov rdx, rbx
xor r8d, r8d
mov r9d, 0x20019
call qword [0x140224008]
jmp 0x14003cd95
mov ebp, 2
cmp dword [rsp + 0x2330], 0
jne 0x14003cff3
mov qword [rsp + 0xa0], 0
mov r15, qword [rsp + 0x98]
test r15, r15
je 0x14003cf97
cmp qword [r15], 0
je 0x14003cf8b
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebp, 1
test rax, rax
je 0x14003cff3
mov rcx, rax
lea rdx, str.RegOpenKeyTransactedW
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14003cff3
mov rcx, qword [r15]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0xa0]
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x30], 0
mov rcx, qword [rsp + 0x68]
mov rdx, rbx
xor r8d, r8d
mov r9d, 0x20019
call qword [0x140224008]
jmp 0x14003cfbb
mov ebp, 1
cmp dword [r15 + 8], 0
je 0x14003cff3
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x68]
mov rdx, rbx
xor r8d, r8d
mov r9d, 0x20019
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebp, eax
test eax, eax
jne 0x14003cff3
mov rcx, qword [rsp + 0x88]
xor ebp, ebp
test rcx, rcx
je 0x14003cfd8
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebp, eax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x90], 0
test ebp, ebp
mov r13d, 1
cmove r13d, dword [rsp + 0x2330]
mov edx, 0x104
lea rcx, [rsp + 0x20a0]
mov r8, rbx
mov r9, 0xffffffffffffffff
call fcn.1401508d4
cmp eax, 0x15
jle 0x14003d02f
cmp eax, 0x50
je 0x14003d037
jmp 0x14003d716
test eax, eax
jne 0x14003d72a
mov rcx, r14
mov rdx, rbx
call fcn.14016bf00
test eax, eax
js 0x14003cab6
mov rcx, r14
mov rdx, rbx
call fcn.14016c110
mov r15d, eax
test eax, eax
js 0x14003cac1
cmp word [rbx], 0x7b
jne 0x14003d0b5
mov rcx, rbx
call fcn.14014edd4
cmp rax, 1
jne 0x14003d0b5
mov r8, qword [rsp + 0x88]
mov dword [rsp + 0x20], r13d
mov rcx, r14
mov rdx, rbx
xor r9d, r9d
call fcn.14003ca00
test eax, eax
jns 0x14003d09f
mov r15d, eax
test r13d, r13d
je 0x14003cac1
mov rcx, r14
mov rdx, rbx
call fcn.14016bf00
mov r15d, eax
test eax, eax
js 0x14003cac1
cmp ebp, 2
je 0x14003cbee
test ebp, ebp
je 0x14003d0d5
cmp dword [rsp + 0x2330], 0
jne 0x14003cbee
jmp 0x14003d656
cmp dword [rsp + 0x2330], 0
je 0x14003d3ea
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 0x14003d3ea
cmp dword [rsp + 0xa0], 0
je 0x14003d3ea
lea rbp, [rsp + 0x20a0]
mov rcx, rbp
lea rdx, str.AppID
mov r13, qword [sym.imp.KERNEL32.dll_lstrcmpiW]
call r13
test eax, eax
je 0x14003cbee
mov rcx, rbp
lea rdx, str.CLSID
call r13
test eax, eax
je 0x14003cbee
mov rcx, rbp
lea rdx, str.Component_Categories
call r13
test eax, eax
je 0x14003cbee
mov rcx, rbp
lea rdx, str.FileType
call r13
test eax, eax
je 0x14003cbee
mov rcx, rbp
lea rdx, str.Interface
call r13
test eax, eax
je 0x14003cbee
mov rcx, rbp
lea rdx, str.Hardware
call r13
test eax, eax
je 0x14003cbee
mov rcx, rbp
lea rdx, str.Mime
call r13
test eax, eax
je 0x14003cbee
mov rcx, rbp
lea rdx, [0x1401cae28]
call r13
test eax, eax
je 0x14003cbee
mov rcx, rbp
lea rdx, str.SECURITY
call r13
test eax, eax
je 0x14003cbee
mov rcx, rbp
lea rdx, str.SYSTEM
call r13
test eax, eax
je 0x14003cbee
mov rcx, rbp
lea rdx, str.Software
call r13
test eax, eax
je 0x14003cbee
lea rcx, [rsp + 0x20a0]
lea rdx, str.TypeLib
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x14003cbee
test r12d, r12d
je 0x14003cbee
lea rcx, [rsp + 0x88]
lea rdx, [rsp + 0x20a0]
call fcn.14003d870
jmp 0x14003cbee
mov rcx, r14
mov rdx, rbx
call fcn.14016bf00
mov r15d, eax
test eax, eax
js 0x14003cac1
test esi, esi
je 0x14003cc2d
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 0x14003d2f2
mov rax, rbx
jmp 0x14003d2d1
mov rcx, rax
call rdi
movzx ecx, word [rax]
test ecx, ecx
je 0x14003d2f2
cmp ecx, 0x5c
jne 0x14003d2cc
test rax, rax
je 0x14003d2f2
mov ebp, 1
mov r12d, 0x80020009
jmp 0x14003d38a
mov rcx, rbx
lea rdx, str.AppID
call r13
test eax, eax
je 0x14003d37e
mov rcx, rbx
lea rdx, str.CLSID
call r13
test eax, eax
je 0x14003d37e
mov rcx, rbx
lea rdx, str.Component_Categories
call r13
test eax, eax
je 0x14003d37e
mov rcx, rbx
lea rdx, str.FileType
call r13
test eax, eax
je 0x14003d37e
mov rcx, rbx
lea rdx, str.Interface
call r13
test eax, eax
je 0x14003d37e
mov rcx, rbx
lea rdx, str.Hardware
call r13
test eax, eax
je 0x14003d37e
mov rcx, rbx
lea rdx, str.Mime
call r13
test eax, eax
je 0x14003d37e
mov rcx, rbx
lea rdx, [0x1401cae28]
call r13
test eax, eax
jne 0x14003d65d
xor ebp, ebp
test r12d, r12d
je 0x14003d3b8
mov r12d, dword [rsp + 0x64]
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x14003d39d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rsp + 0x64], r12d
cmp ebp, 4
je 0x14003cb9b
test ebp, ebp
je 0x14003cc2d
jmp 0x14003ce68
mov rcx, r14
mov rdx, rbx
call fcn.14016bf00
test eax, eax
mov r12d, dword [rsp + 0x64]
jns 0x14003d6fb
mov r15d, eax
mov ebp, 3
jmp 0x14003d38a
mov dword [rsp + 0x90], 0
jmp 0x14003d474
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 bpl
cmp dword [rsp + 0xa0], 0
sete r13b
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x14003d3da
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x88], 0
mov dword [rsp + 0x90], 0
test eax, eax
jne 0x14003caaf
or bpl, r13b
test r12d, r12d
sete al
xor bpl, 1
or bpl, al
jne 0x14003cbee
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0xa0], rax
xor r12d, r12d
mov dword [rsp + 0xa8], r12d
mov qword [rsp + 0xb0], r12
lea rcx, [rsp + 0xa0]
lea rdx, [rsp + 0x20a0]
call fcn.14003e070
mov qword [rsp + 0xa0], r12
mov dword [rsp + 0xa8], r12d
mov qword [rsp + 0xb0], r12
test eax, eax
je 0x14003cbee
mov ecx, eax
call fcn.14016c1e0
mov r15d, eax
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x14003cac1
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14003cac1
mov r15d, dword [rsp + 0x64]
jmp 0x14003cac1
mov rcx, r14
mov rdx, rbx
call fcn.14016bf00
mov r15d, eax
test eax, eax
js 0x14003ce68
mov ebp, 1
cmp word [rbx], 0x3d
je 0x14003d54f
mov dword [rsp + 0x64], 0x80020009
jmp 0x14003ce68
test esi, esi
je 0x14003d5ad
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x68]
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.14003d9f0
mov r15d, eax
test eax, eax
jns 0x14003cb9b
mov dword [rsp + 0x64], r15d
jmp 0x14003ce68
cmp dword [rsp + 0x2330], 0
jne 0x14003d627
test r12d, r12d
je 0x14003d627
xor eax, eax
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x68]
xor edx, edx
xor r8d, r8d
mov r9d, 0x20006
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rcx, qword [rsp + 0x70]
mov r12d, 0
test eax, eax
cmove r12, rcx
jne 0x14003d642
lea rdx, [rsp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, 0xfffffffd
jne 0x14003d642
xor ebp, ebp
mov r13b, 1
test r12, r12
je 0x14003d61e
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test r13b, r13b
je 0x14003ce68
mov rcx, r14
mov rdx, rbx
call fcn.14016c110
mov r15d, eax
mov ebp, eax
shr ebp, 0x1f
or ebp, 2
jmp 0x14003ce68
mov ecx, eax
call fcn.14016c1e0
mov r15d, eax
mov ebp, 3
xor r13d, r13d
jmp 0x14003d610
mov ecx, ebp
jmp 0x14003cab1
mov rcx, rbx
lea rdx, str.SECURITY
call r13
test eax, eax
je 0x14003d37e
mov rcx, rbx
lea rdx, str.SYSTEM
call r13
test eax, eax
je 0x14003d37e
mov rcx, rbx
lea rdx, str.Software
call r13
test eax, eax
je 0x14003d37e
mov rcx, rbx
lea rdx, str.TypeLib
call r13
test eax, eax
je 0x14003d37e
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0xa0], rax
xor ebp, ebp
mov dword [rsp + 0xa8], ebp
mov qword [rsp + 0xb0], rbp
lea rcx, [rsp + 0xa0]
mov rdx, rbx
call fcn.14003d870
mov qword [rsp + 0xa0], rbp
mov dword [rsp + 0xa8], ebp
mov qword [rsp + 0xb0], rbp
jmp 0x14003d37e
mov rcx, r14
mov rdx, rbx
call fcn.14016c110
mov r15d, eax
mov ebp, eax
sar ebp, 0x1f
add ebp, 4
jmp 0x14003d38a
cmp eax, 0x16
je 0x14003d720
cmp eax, 0x22
jne 0x14003d739
mov ecx, 0x80070057
call fcn.1401856e0
cmp eax, 0xc
jne 0x14003d739
mov ecx, 0x8007000e
call fcn.1401856e0
mov ecx, 0x80004005
call fcn.1401856e0
int3