Function at 0x14003b440
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.140125900
sub rsp, rax
movaps xmmword [rsp + 0x22b0], xmm6
mov esi, r9d
mov rdi, r8
mov rbx, rdx
mov r14, rcx
mov rax, qword [0x1401df038]
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.1401288f0
mov rcx, r14
mov rdx, rbx
call fcn.1401631c0
mov r15d, eax
test eax, eax
js 0x14003b501
mov qword [rsp + 0x68], rdi
cmp word [rbx], 0x7d
je 0x14003b501
xorps xmm6, xmm6
mov rdi, qword [sym.imp.USER32.dll_CharNextW]
jmp 0x14003b638
mov ecx, eax
call fcn.1401634a0
mov r15d, eax
jmp 0x14003b501
mov r15d, 0x80020009
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x14003b514
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x22a8]
xor rcx, rsp
call fcn.140125960
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 0x14003b59b
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.14003c8f0
test eax, eax
jne 0x14003b4ef
mov rcx, r14
mov rdx, rbx
call fcn.1401631c0
mov r15d, eax
test eax, eax
js 0x14003b501
movzx eax, word [rbx]
cmp ax, 0x3d
jne 0x14003b5de
mov rcx, r14
lea rdx, [rsp + 0x88]
xor r8d, r8d
mov r9, rbx
call fcn.14003c430
mov r15d, eax
test eax, eax
js 0x14003b501
movzx eax, word [rbx]
cmp ax, 0x7b
jne 0x14003b62e
mov rcx, rbx
call fcn.1401476a4
cmp rax, 1
jne 0x14003b62e
mov r8, qword [rsp + 0x88]
mov dword [rsp + 0x20], 0
mov rcx, r14
mov rdx, rbx
mov r9d, esi
call fcn.14003b440
test eax, eax
js 0x14003b4f6
mov rcx, r14
mov rdx, rbx
call fcn.1401631c0
mov r15d, eax
test eax, eax
js 0x14003b501
cmp word [rbx], 0x7d
je 0x14003b501
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, [0x1401b9f3c]
call r13
test eax, eax
je 0x14003bcb5
test r12d, r12d
je 0x14003bcb5
mov rcx, rbx
lea rdx, str.NoRemove
call r13
mov r12d, eax
test eax, eax
je 0x14003b708
mov rcx, rbx
lea rdx, [0x1401b9f34]
call r13
test eax, eax
je 0x14003b875
test rbx, rbx
je 0x14003b6be
mov rax, rbx
jmp 0x14003b6ad
test ecx, ecx
je 0x14003b6be
mov rcx, rax
call rdi
movzx ecx, word [rax]
cmp ecx, 0x5c
jne 0x14003b6a4
test rax, rax
jne 0x14003b4fb
test esi, esi
je 0x14003b92e
mov qword [rsp + 0xa0], 0
mov r15, qword [rsp + 0x98]
test r15, r15
je 0x14003b720
cmp qword [r15], 0
mov r12, qword [rsp + 0x68]
jne 0x14003b80e
cmp dword [r15 + 8], 0
je 0x14003b785
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x20], rax
jmp 0x14003b732
mov rcx, r14
mov rdx, rbx
call fcn.1401631c0
test eax, eax
jns 0x14003b685
jmp 0x14003b4f6
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 0x14003b785
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x14003b7ee
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 0x14003b59b
mov qword [rsp + 0xa0], 0
mov r15, qword [rsp + 0x98]
test r15, r15
je 0x14003b7b3
cmp qword [r15], 0
jne 0x14003b8c7
cmp dword [r15 + 8], 0
je 0x14003b568
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 0x14003b568
mov rcx, qword [rsp + 0x88]
test rcx, rcx
jne 0x14003b543
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x90], 0
jmp 0x14003b59b
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14003b785
mov rcx, rax
lea rdx, str.RegOpenKeyTransactedW
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14003b785
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 [0x1401d0260]
jmp 0x14003b747
mov r8d, 0x2000
lea r15, [rsp + 0xa0]
mov rcx, r15
mov dl, 0xaa
call fcn.1401288f0
mov rcx, r14
mov rdx, r15
call fcn.1401631c0
mov ebp, 3
test eax, eax
jns 0x14003bf61
mov r15d, eax
test ebp, ebp
je 0x14003b62e
cmp ebp, 2
je 0x14003b62e
cmp ebp, 3
je 0x14003b501
jmp 0x14003bf57
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14003b568
mov rcx, rax
lea rdx, str.RegOpenKeyTransactedW
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14003b568
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 [0x1401d0260]
jmp 0x14003b7d5
mov ebp, 2
cmp dword [rsp + 0x2330], 0
jne 0x14003ba33
mov qword [rsp + 0xa0], 0
mov r15, qword [rsp + 0x98]
test r15, r15
je 0x14003b9d7
cmp qword [r15], 0
je 0x14003b9cb
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebp, 1
test rax, rax
je 0x14003ba33
mov rcx, rax
lea rdx, str.RegOpenKeyTransactedW
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14003ba33
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 [0x1401d0260]
jmp 0x14003b9fb
mov ebp, 1
cmp dword [r15 + 8], 0
je 0x14003ba33
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 0x14003ba33
mov rcx, qword [rsp + 0x88]
xor ebp, ebp
test rcx, rcx
je 0x14003ba18
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.1401491a4
cmp eax, 0x15
jle 0x14003ba6f
cmp eax, 0x50
je 0x14003ba77
jmp 0x14003c156
test eax, eax
jne 0x14003c16a
mov rcx, r14
mov rdx, rbx
call fcn.1401631c0
test eax, eax
js 0x14003b4f6
mov rcx, r14
mov rdx, rbx
call fcn.1401633d0
mov r15d, eax
test eax, eax
js 0x14003b501
cmp word [rbx], 0x7b
jne 0x14003baf5
mov rcx, rbx
call fcn.1401476a4
cmp rax, 1
jne 0x14003baf5
mov r8, qword [rsp + 0x88]
mov dword [rsp + 0x20], r13d
mov rcx, r14
mov rdx, rbx
xor r9d, r9d
call fcn.14003b440
test eax, eax
jns 0x14003badf
mov r15d, eax
test r13d, r13d
je 0x14003b501
mov rcx, r14
mov rdx, rbx
call fcn.1401631c0
mov r15d, eax
test eax, eax
js 0x14003b501
cmp ebp, 2
je 0x14003b62e
test ebp, ebp
je 0x14003bb15
cmp dword [rsp + 0x2330], 0
jne 0x14003b62e
jmp 0x14003c096
cmp dword [rsp + 0x2330], 0
je 0x14003be2a
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 0x14003be2a
cmp dword [rsp + 0xa0], 0
je 0x14003be2a
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 0x14003b62e
mov rcx, rbp
lea rdx, str.CLSID
call r13
test eax, eax
je 0x14003b62e
mov rcx, rbp
lea rdx, str.Component_Categories
call r13
test eax, eax
je 0x14003b62e
mov rcx, rbp
lea rdx, str.FileType
call r13
test eax, eax
je 0x14003b62e
mov rcx, rbp
lea rdx, str.Interface
call r13
test eax, eax
je 0x14003b62e
mov rcx, rbp
lea rdx, str.Hardware
call r13
test eax, eax
je 0x14003b62e
mov rcx, rbp
lea rdx, str.Mime
call r13
test eax, eax
je 0x14003b62e
mov rcx, rbp
lea rdx, [0x1401b9ff8]
call r13
test eax, eax
je 0x14003b62e
mov rcx, rbp
lea rdx, str.SECURITY
call r13
test eax, eax
je 0x14003b62e
mov rcx, rbp
lea rdx, str.SYSTEM
call r13
test eax, eax
je 0x14003b62e
mov rcx, rbp
lea rdx, str.Software
call r13
test eax, eax
je 0x14003b62e
lea rcx, [rsp + 0x20a0]
lea rdx, str.TypeLib
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x14003b62e
test r12d, r12d
je 0x14003b62e
lea rcx, [rsp + 0x88]
lea rdx, [rsp + 0x20a0]
call fcn.14003c2b0
jmp 0x14003b62e
mov rcx, r14
mov rdx, rbx
call fcn.1401631c0
mov r15d, eax
test eax, eax
js 0x14003b501
test esi, esi
je 0x14003b66d
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 0x14003bd32
mov rax, rbx
jmp 0x14003bd11
mov rcx, rax
call rdi
movzx ecx, word [rax]
test ecx, ecx
je 0x14003bd32
cmp ecx, 0x5c
jne 0x14003bd0c
test rax, rax
je 0x14003bd32
mov ebp, 1
mov r12d, 0x80020009
jmp 0x14003bdca
mov rcx, rbx
lea rdx, str.AppID
call r13
test eax, eax
je 0x14003bdbe
mov rcx, rbx
lea rdx, str.CLSID
call r13
test eax, eax
je 0x14003bdbe
mov rcx, rbx
lea rdx, str.Component_Categories
call r13
test eax, eax
je 0x14003bdbe
mov rcx, rbx
lea rdx, str.FileType
call r13
test eax, eax
je 0x14003bdbe
mov rcx, rbx
lea rdx, str.Interface
call r13
test eax, eax
je 0x14003bdbe
mov rcx, rbx
lea rdx, str.Hardware
call r13
test eax, eax
je 0x14003bdbe
mov rcx, rbx
lea rdx, str.Mime
call r13
test eax, eax
je 0x14003bdbe
mov rcx, rbx
lea rdx, [0x1401b9ff8]
call r13
test eax, eax
jne 0x14003c09d
xor ebp, ebp
test r12d, r12d
je 0x14003bdf8
mov r12d, dword [rsp + 0x64]
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x14003bddd
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rsp + 0x64], r12d
cmp ebp, 4
je 0x14003b5db
test ebp, ebp
je 0x14003b66d
jmp 0x14003b8a8
mov rcx, r14
mov rdx, rbx
call fcn.1401631c0
test eax, eax
mov r12d, dword [rsp + 0x64]
jns 0x14003c13b
mov r15d, eax
mov ebp, 3
jmp 0x14003bdca
mov dword [rsp + 0x90], 0
jmp 0x14003beb4
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 0x14003be1a
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x88], 0
mov dword [rsp + 0x90], 0
test eax, eax
jne 0x14003b4ef
or bpl, r13b
test r12d, r12d
sete al
xor bpl, 1
or bpl, al
jne 0x14003b62e
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.14003ca90
mov qword [rsp + 0xa0], r12
mov dword [rsp + 0xa8], r12d
mov qword [rsp + 0xb0], r12
test eax, eax
je 0x14003b62e
mov ecx, eax
call fcn.1401634a0
mov r15d, eax
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x14003b501
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14003b501
mov r15d, dword [rsp + 0x64]
jmp 0x14003b501
mov rcx, r14
mov rdx, rbx
call fcn.1401631c0
mov r15d, eax
test eax, eax
js 0x14003b8a8
mov ebp, 1
cmp word [rbx], 0x3d
je 0x14003bf8f
mov dword [rsp + 0x64], 0x80020009
jmp 0x14003b8a8
test esi, esi
je 0x14003bfed
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.14003c430
mov r15d, eax
test eax, eax
jns 0x14003b5db
mov dword [rsp + 0x64], r15d
jmp 0x14003b8a8
cmp dword [rsp + 0x2330], 0
jne 0x14003c067
test r12d, r12d
je 0x14003c067
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 0x14003c082
lea rdx, [rsp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, 0xfffffffd
jne 0x14003c082
xor ebp, ebp
mov r13b, 1
test r12, r12
je 0x14003c05e
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test r13b, r13b
je 0x14003b8a8
mov rcx, r14
mov rdx, rbx
call fcn.1401633d0
mov r15d, eax
mov ebp, eax
shr ebp, 0x1f
or ebp, 2
jmp 0x14003b8a8
mov ecx, eax
call fcn.1401634a0
mov r15d, eax
mov ebp, 3
xor r13d, r13d
jmp 0x14003c050
mov ecx, ebp
jmp 0x14003b4f1
mov rcx, rbx
lea rdx, str.SECURITY
call r13
test eax, eax
je 0x14003bdbe
mov rcx, rbx
lea rdx, str.SYSTEM
call r13
test eax, eax
je 0x14003bdbe
mov rcx, rbx
lea rdx, str.Software
call r13
test eax, eax
je 0x14003bdbe
mov rcx, rbx
lea rdx, str.TypeLib
call r13
test eax, eax
je 0x14003bdbe
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.14003c2b0
mov qword [rsp + 0xa0], rbp
mov dword [rsp + 0xa8], ebp
mov qword [rsp + 0xb0], rbp
jmp 0x14003bdbe
mov rcx, r14
mov rdx, rbx
call fcn.1401633d0
mov r15d, eax
mov ebp, eax
sar ebp, 0x1f
add ebp, 4
jmp 0x14003bdca
cmp eax, 0x16
je 0x14003c160
cmp eax, 0x22
jne 0x14003c179
mov ecx, 0x80070057
call fcn.14017b7f0
cmp eax, 0xc
jne 0x14003c179
mov ecx, 0x8007000e
call fcn.14017b7f0
mov ecx, 0x80004005
call fcn.14017b7f0
int3