Function at 0x14003c900
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.14012cef0
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.14012fee0
mov rcx, r14
mov rdx, rbx
call fcn.14016be00
mov r15d, eax
test eax, eax
js 0x14003c9c1
mov qword [rsp + 0x68], rdi
cmp word [rbx], 0x7d
je 0x14003c9c1
xorps xmm6, xmm6
mov rdi, qword [sym.imp.USER32.dll_CharNextW]
jmp 0x14003caf8
mov ecx, eax
call fcn.14016c0e0
mov r15d, eax
jmp 0x14003c9c1
mov r15d, 0x80020009
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x14003c9d4
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x22a8]
xor rcx, rsp
call fcn.14012cf50
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 0x14003ca5b
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.14003ddd0
test eax, eax
jne 0x14003c9af
mov rcx, r14
mov rdx, rbx
call fcn.14016be00
mov r15d, eax
test eax, eax
js 0x14003c9c1
movzx eax, word [rbx]
cmp ax, 0x3d
jne 0x14003ca9e
mov rcx, r14
lea rdx, [rsp + 0x88]
xor r8d, r8d
mov r9, rbx
call fcn.14003d8f0
mov r15d, eax
test eax, eax
js 0x14003c9c1
movzx eax, word [rbx]
cmp ax, 0x7b
jne 0x14003caee
mov rcx, rbx
call fcn.14014ecd4
cmp rax, 1
jne 0x14003caee
mov r8, qword [rsp + 0x88]
mov dword [rsp + 0x20], 0
mov rcx, r14
mov rdx, rbx
mov r9d, esi
call fcn.14003c900
test eax, eax
js 0x14003c9b6
mov rcx, r14
mov rdx, rbx
call fcn.14016be00
mov r15d, eax
test eax, eax
js 0x14003c9c1
cmp word [rbx], 0x7d
je 0x14003c9c1
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, [0x1401cabcc]
call r13
test eax, eax
je 0x14003d175
test r12d, r12d
je 0x14003d175
mov rcx, rbx
lea rdx, str.NoRemove
call r13
mov r12d, eax
test eax, eax
je 0x14003cbc8
mov rcx, rbx
lea rdx, [0x1401cabc4]
call r13
test eax, eax
je 0x14003cd35
test rbx, rbx
je 0x14003cb7e
mov rax, rbx
jmp 0x14003cb6d
test ecx, ecx
je 0x14003cb7e
mov rcx, rax
call rdi
movzx ecx, word [rax]
cmp ecx, 0x5c
jne 0x14003cb64
test rax, rax
jne 0x14003c9bb
test esi, esi
je 0x14003cdee
mov qword [rsp + 0xa0], 0
mov r15, qword [rsp + 0x98]
test r15, r15
je 0x14003cbe0
cmp qword [r15], 0
mov r12, qword [rsp + 0x68]
jne 0x14003ccce
cmp dword [r15 + 8], 0
je 0x14003cc45
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x20], rax
jmp 0x14003cbf2
mov rcx, r14
mov rdx, rbx
call fcn.14016be00
test eax, eax
jns 0x14003cb45
jmp 0x14003c9b6
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 0x14003cc45
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x14003ccae
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 0x14003ca5b
mov qword [rsp + 0xa0], 0
mov r15, qword [rsp + 0x98]
test r15, r15
je 0x14003cc73
cmp qword [r15], 0
jne 0x14003cd87
cmp dword [r15 + 8], 0
je 0x14003ca28
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 0x14003ca28
mov rcx, qword [rsp + 0x88]
test rcx, rcx
jne 0x14003ca03
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x90], 0
jmp 0x14003ca5b
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14003cc45
mov rcx, rax
lea rdx, str.RegOpenKeyTransactedW
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14003cc45
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 0x14003cc07
mov r8d, 0x2000
lea r15, [rsp + 0xa0]
mov rcx, r15
mov dl, 0xaa
call fcn.14012fee0
mov rcx, r14
mov rdx, r15
call fcn.14016be00
mov ebp, 3
test eax, eax
jns 0x14003d421
mov r15d, eax
test ebp, ebp
je 0x14003caee
cmp ebp, 2
je 0x14003caee
cmp ebp, 3
je 0x14003c9c1
jmp 0x14003d417
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14003ca28
mov rcx, rax
lea rdx, str.RegOpenKeyTransactedW
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14003ca28
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 0x14003cc95
mov ebp, 2
cmp dword [rsp + 0x2330], 0
jne 0x14003cef3
mov qword [rsp + 0xa0], 0
mov r15, qword [rsp + 0x98]
test r15, r15
je 0x14003ce97
cmp qword [r15], 0
je 0x14003ce8b
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebp, 1
test rax, rax
je 0x14003cef3
mov rcx, rax
lea rdx, str.RegOpenKeyTransactedW
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14003cef3
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 0x14003cebb
mov ebp, 1
cmp dword [r15 + 8], 0
je 0x14003cef3
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 0x14003cef3
mov rcx, qword [rsp + 0x88]
xor ebp, ebp
test rcx, rcx
je 0x14003ced8
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.1401507d4
cmp eax, 0x15
jle 0x14003cf2f
cmp eax, 0x50
je 0x14003cf37
jmp 0x14003d616
test eax, eax
jne 0x14003d62a
mov rcx, r14
mov rdx, rbx
call fcn.14016be00
test eax, eax
js 0x14003c9b6
mov rcx, r14
mov rdx, rbx
call fcn.14016c010
mov r15d, eax
test eax, eax
js 0x14003c9c1
cmp word [rbx], 0x7b
jne 0x14003cfb5
mov rcx, rbx
call fcn.14014ecd4
cmp rax, 1
jne 0x14003cfb5
mov r8, qword [rsp + 0x88]
mov dword [rsp + 0x20], r13d
mov rcx, r14
mov rdx, rbx
xor r9d, r9d
call fcn.14003c900
test eax, eax
jns 0x14003cf9f
mov r15d, eax
test r13d, r13d
je 0x14003c9c1
mov rcx, r14
mov rdx, rbx
call fcn.14016be00
mov r15d, eax
test eax, eax
js 0x14003c9c1
cmp ebp, 2
je 0x14003caee
test ebp, ebp
je 0x14003cfd5
cmp dword [rsp + 0x2330], 0
jne 0x14003caee
jmp 0x14003d556
cmp dword [rsp + 0x2330], 0
je 0x14003d2ea
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 0x14003d2ea
cmp dword [rsp + 0xa0], 0
je 0x14003d2ea
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 0x14003caee
mov rcx, rbp
lea rdx, str.CLSID
call r13
test eax, eax
je 0x14003caee
mov rcx, rbp
lea rdx, str.Component_Categories
call r13
test eax, eax
je 0x14003caee
mov rcx, rbp
lea rdx, str.FileType
call r13
test eax, eax
je 0x14003caee
mov rcx, rbp
lea rdx, str.Interface
call r13
test eax, eax
je 0x14003caee
mov rcx, rbp
lea rdx, str.Hardware
call r13
test eax, eax
je 0x14003caee
mov rcx, rbp
lea rdx, str.Mime
call r13
test eax, eax
je 0x14003caee
mov rcx, rbp
lea rdx, [0x1401cac88]
call r13
test eax, eax
je 0x14003caee
mov rcx, rbp
lea rdx, str.SECURITY
call r13
test eax, eax
je 0x14003caee
mov rcx, rbp
lea rdx, str.SYSTEM
call r13
test eax, eax
je 0x14003caee
mov rcx, rbp
lea rdx, str.Software
call r13
test eax, eax
je 0x14003caee
lea rcx, [rsp + 0x20a0]
lea rdx, str.TypeLib
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x14003caee
test r12d, r12d
je 0x14003caee
lea rcx, [rsp + 0x88]
lea rdx, [rsp + 0x20a0]
call fcn.14003d770
jmp 0x14003caee
mov rcx, r14
mov rdx, rbx
call fcn.14016be00
mov r15d, eax
test eax, eax
js 0x14003c9c1
test esi, esi
je 0x14003cb2d
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 0x14003d1f2
mov rax, rbx
jmp 0x14003d1d1
mov rcx, rax
call rdi
movzx ecx, word [rax]
test ecx, ecx
je 0x14003d1f2
cmp ecx, 0x5c
jne 0x14003d1cc
test rax, rax
je 0x14003d1f2
mov ebp, 1
mov r12d, 0x80020009
jmp 0x14003d28a
mov rcx, rbx
lea rdx, str.AppID
call r13
test eax, eax
je 0x14003d27e
mov rcx, rbx
lea rdx, str.CLSID
call r13
test eax, eax
je 0x14003d27e
mov rcx, rbx
lea rdx, str.Component_Categories
call r13
test eax, eax
je 0x14003d27e
mov rcx, rbx
lea rdx, str.FileType
call r13
test eax, eax
je 0x14003d27e
mov rcx, rbx
lea rdx, str.Interface
call r13
test eax, eax
je 0x14003d27e
mov rcx, rbx
lea rdx, str.Hardware
call r13
test eax, eax
je 0x14003d27e
mov rcx, rbx
lea rdx, str.Mime
call r13
test eax, eax
je 0x14003d27e
mov rcx, rbx
lea rdx, [0x1401cac88]
call r13
test eax, eax
jne 0x14003d55d
xor ebp, ebp
test r12d, r12d
je 0x14003d2b8
mov r12d, dword [rsp + 0x64]
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x14003d29d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rsp + 0x64], r12d
cmp ebp, 4
je 0x14003ca9b
test ebp, ebp
je 0x14003cb2d
jmp 0x14003cd68
mov rcx, r14
mov rdx, rbx
call fcn.14016be00
test eax, eax
mov r12d, dword [rsp + 0x64]
jns 0x14003d5fb
mov r15d, eax
mov ebp, 3
jmp 0x14003d28a
mov dword [rsp + 0x90], 0
jmp 0x14003d374
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 0x14003d2da
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x88], 0
mov dword [rsp + 0x90], 0
test eax, eax
jne 0x14003c9af
or bpl, r13b
test r12d, r12d
sete al
xor bpl, 1
or bpl, al
jne 0x14003caee
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.14003df70
mov qword [rsp + 0xa0], r12
mov dword [rsp + 0xa8], r12d
mov qword [rsp + 0xb0], r12
test eax, eax
je 0x14003caee
mov ecx, eax
call fcn.14016c0e0
mov r15d, eax
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x14003c9c1
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14003c9c1
mov r15d, dword [rsp + 0x64]
jmp 0x14003c9c1
mov rcx, r14
mov rdx, rbx
call fcn.14016be00
mov r15d, eax
test eax, eax
js 0x14003cd68
mov ebp, 1
cmp word [rbx], 0x3d
je 0x14003d44f
mov dword [rsp + 0x64], 0x80020009
jmp 0x14003cd68
test esi, esi
je 0x14003d4ad
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.14003d8f0
mov r15d, eax
test eax, eax
jns 0x14003ca9b
mov dword [rsp + 0x64], r15d
jmp 0x14003cd68
cmp dword [rsp + 0x2330], 0
jne 0x14003d527
test r12d, r12d
je 0x14003d527
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 0x14003d542
lea rdx, [rsp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, 0xfffffffd
jne 0x14003d542
xor ebp, ebp
mov r13b, 1
test r12, r12
je 0x14003d51e
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test r13b, r13b
je 0x14003cd68
mov rcx, r14
mov rdx, rbx
call fcn.14016c010
mov r15d, eax
mov ebp, eax
shr ebp, 0x1f
or ebp, 2
jmp 0x14003cd68
mov ecx, eax
call fcn.14016c0e0
mov r15d, eax
mov ebp, 3
xor r13d, r13d
jmp 0x14003d510
mov ecx, ebp
jmp 0x14003c9b1
mov rcx, rbx
lea rdx, str.SECURITY
call r13
test eax, eax
je 0x14003d27e
mov rcx, rbx
lea rdx, str.SYSTEM
call r13
test eax, eax
je 0x14003d27e
mov rcx, rbx
lea rdx, str.Software
call r13
test eax, eax
je 0x14003d27e
mov rcx, rbx
lea rdx, str.TypeLib
call r13
test eax, eax
je 0x14003d27e
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.14003d770
mov qword [rsp + 0xa0], rbp
mov dword [rsp + 0xa8], ebp
mov qword [rsp + 0xb0], rbp
jmp 0x14003d27e
mov rcx, r14
mov rdx, rbx
call fcn.14016c010
mov r15d, eax
mov ebp, eax
sar ebp, 0x1f
add ebp, 4
jmp 0x14003d28a
cmp eax, 0x16
je 0x14003d620
cmp eax, 0x22
jne 0x14003d639
mov ecx, 0x80070057
call fcn.1401855e0
cmp eax, 0xc
jne 0x14003d639
mov ecx, 0x8007000e
call fcn.1401855e0
mov ecx, 0x80004005
call fcn.1401855e0
int3