Function at 0x1400577b0
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.14014ce70
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 [0x14022f038]
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.14014fe30
mov rcx, r14
mov rdx, rbx
call fcn.140191b10
mov r12d, eax
test eax, eax
js 0x14005847c
mov qword [rsp + 0x60], rsi
cmp word [rbx], 0x7d
je 0x14005847c
xorps xmm6, xmm6
mov rdi, qword [sym.imp.USER32.dll_CharNextW]
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, str.ForceRemove
call rsi
test eax, eax
je 0x140057b7a
test r15d, r15d
je 0x140057b7a
mov rcx, rbx
lea rdx, str.NoRemove
mov r13, qword [sym.imp.KERNEL32.dll_lstrcmpiW]
call r13
mov r15d, eax
test eax, eax
je 0x140057bf0
test r15d, r15d
setne sil
mov rcx, rbx
lea rdx, [0x14020db0a]
call r13
test eax, eax
je 0x140057c08
test rbx, rbx
je 0x1400578f6
mov rax, rbx
movzx ecx, word [rax]
cmp ecx, 0x5c
je 0x1400578ed
test ecx, ecx
je 0x1400578f6
mov rcx, rax
call rdi
jmp 0x1400578da
test rax, rax
jne 0x14005846f
cmp dword [rsp + 0x6c], 0
jne 0x14005799a
mov r13d, 2
cmp dword [rsp + 0x2330], 0
jne 0x140057d7b
mov qword [rsp + 0xa0], 0
mov rsi, qword [rsp + 0x98]
test rsi, rsi
jne 0x140057a45
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 0x140057d7b
mov rcx, qword [rsp + 0x88]
xor r13d, r13d
test rcx, rcx
je 0x14005797a
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
jmp 0x140057d7b
mov qword [rsp + 0xa0], 0
mov rsi, qword [rsp + 0x98]
test rsi, rsi
jne 0x1400579c7
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x20], rax
mov r15, qword [rsp + 0x60]
jmp 0x1400579ed
cmp qword [rsi], 0
mov r15, qword [rsp + 0x60]
jne 0x140057a64
cmp dword [rsi + 8], 0
je 0x140057a8f
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x20], rax
mov rcx, r15
mov rdx, rbx
xor r8d, r8d
mov r9d, 0x2001f
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140057a8f
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x140057af3
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
jne 0x140057a8f
jmp 0x140057cab
cmp qword [rsi], 0
jne 0x140057d4a
mov r13d, 1
cmp dword [rsi + 8], 0
jne 0x140057932
jmp 0x140057d7b
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140057a8f
mov rcx, rax
lea rdx, str.RegOpenKeyTransactedW
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x140058087
mov qword [rsp + 0xa0], 0
mov rsi, qword [rsp + 0x98]
test rsi, rsi
je 0x140057ab8
cmp qword [rsi], 0
jne 0x140057b13
cmp dword [rsi + 8], 0
je 0x140057c78
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 0x140057c78
mov rcx, qword [rsp + 0x88]
test rcx, rcx
jne 0x140057c53
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x90], 0
jmp 0x140057cab
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140057c78
mov rcx, rax
lea rdx, str.RegOpenKeyTransactedW
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140057c78
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.0x1401b58f0.0]
jmp 0x140057ada
mov rcx, r14
mov rdx, rbx
call fcn.140191b10
mov ebp, eax
test eax, eax
js 0x140058479
cmp dword [rsp + 0x6c], 0
je 0x140057897
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 0x1400580d5
mov rax, rbx
movzx ecx, word [rax]
test ecx, ecx
je 0x1400580d5
cmp ecx, 0x5c
je 0x1400580bf
mov rcx, rax
call rdi
jmp 0x140057bd5
mov rcx, r14
mov rdx, rbx
call fcn.140191b10
test eax, eax
jns 0x1400578b6
jmp 0x140058477
mov r8d, 0x2000
lea r15, [rsp + 0xa0]
mov rcx, r15
mov dl, 0xaa
call fcn.14014fe30
mov rcx, r14
mov rdx, r15
call fcn.140191b10
mov r13d, 3
test eax, eax
jns 0x1400582f1
mov ebp, eax
test r13d, r13d
je 0x140057e50
cmp r13d, 2
je 0x140057e50
jmp 0x1400584ca
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 0x140057cab
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.140058cb0
test eax, eax
jne 0x1400584be
mov rcx, r14
mov rdx, rbx
call fcn.140191b10
mov ebp, eax
test eax, eax
js 0x140058479
movzx eax, word [rbx]
cmp ax, 0x3d
jne 0x140057cec
mov rcx, r14
lea rdx, [rsp + 0x88]
xor r8d, r8d
mov r9, rbx
call fcn.1400587e0
mov ebp, eax
test eax, eax
js 0x140058479
movzx eax, word [rbx]
cmp ax, 0x7b
jne 0x140057e50
mov rcx, rbx
call fcn.140174394
cmp rax, 1
jne 0x140057e50
mov r8, qword [rsp + 0x88]
mov dword [rsp + 0x20], 0
mov rcx, r14
mov rdx, rbx
mov r9d, dword [rsp + 0x6c]
call fcn.1400577b0
test eax, eax
js 0x140058477
mov rcx, r14
mov rdx, rbx
call fcn.140191b10
mov ebp, eax
test eax, eax
jns 0x140057e50
jmp 0x140058479
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r13d, 1
test rax, rax
je 0x140057d7b
mov rcx, rax
lea rdx, str.RegOpenKeyTransactedW
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x140058231
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.140175bac
cmp eax, 0x15
jle 0x140057db6
cmp eax, 0x50
je 0x140057dbe
jmp 0x1400584f6
test eax, eax
jne 0x14005850a
mov rcx, r14
mov rdx, rbx
call fcn.140191b10
test eax, eax
js 0x140058477
mov rcx, r14
mov rdx, rbx
call fcn.140191d10
mov ebp, eax
test eax, eax
js 0x140058479
cmp word [rbx], 0x7b
jne 0x140057e37
mov rcx, rbx
call fcn.140174394
cmp rax, 1
jne 0x140057e37
mov r8, qword [rsp + 0x88]
mov dword [rsp + 0x20], esi
mov rcx, r14
mov rdx, rbx
xor r9d, r9d
call fcn.1400577b0
test eax, eax
jns 0x140057e22
mov ebp, eax
test esi, esi
je 0x140058479
mov rcx, r14
mov rdx, rbx
call fcn.140191b10
mov ebp, eax
test eax, eax
js 0x140058479
cmp r13d, 2
je 0x140057e50
test r13d, r13d
je 0x140057e5f
cmp dword [rsp + 0x2330], 0
je 0x1400584d2
cmp word [rbx], 0x7d
jne 0x140057864
jmp 0x140058479
cmp dword [rsp + 0x2330], 0
je 0x140057ff4
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 0x140057ff4
cmp dword [rsp + 0xa0], 0
je 0x140057ff4
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 0x140057e50
mov rcx, r13
lea rdx, str.CLSID
call rsi
test eax, eax
je 0x140057e50
mov rcx, r13
lea rdx, str.Component_Categories
call rsi
test eax, eax
je 0x140057e50
mov rcx, r13
lea rdx, str.FileType
call rsi
test eax, eax
je 0x140057e50
mov rcx, r13
lea rdx, str.Interface
call rsi
test eax, eax
je 0x140057e50
mov rcx, r13
lea rdx, str.Hardware
call rsi
test eax, eax
je 0x140057e50
mov rcx, r13
lea rdx, str.Mime
call rsi
test eax, eax
je 0x140057e50
mov rcx, r13
lea rdx, [0x14020dbce]
call rsi
test eax, eax
je 0x140057e50
mov rcx, r13
lea rdx, str.SECURITY
call rsi
test eax, eax
je 0x140057e50
mov rcx, r13
lea rdx, str.SYSTEM
call rsi
test eax, eax
je 0x140057e50
mov rcx, r13
lea rdx, str.Software
call rsi
test eax, eax
je 0x140057e50
lea rcx, [rsp + 0x20a0]
lea rdx, str.TypeLib
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140057e50
test r15d, r15d
je 0x140057e50
lea rcx, [rsp + 0x88]
lea rdx, [rsp + 0x20a0]
call fcn.140058660
jmp 0x140057e50
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
sete sil
cmp dword [rsp + 0xa0], 0
setne r13b
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x14005826b
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x88], 0
mov dword [rsp + 0x90], 0
test eax, eax
je 0x140058276
jmp 0x1400584be
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.0x1401b58f0.0]
jmp 0x140057a02
test rax, rax
je 0x1400580d5
mov r13d, 1
mov r12d, 0x80020009
jmp 0x140058206
mov rcx, rbx
lea rdx, str.AppID
call rsi
test eax, eax
je 0x1400581fa
mov rcx, rbx
lea rdx, str.CLSID
call rsi
test eax, eax
je 0x1400581fa
mov rcx, rbx
lea rdx, str.Component_Categories
call rsi
test eax, eax
je 0x1400581fa
mov rcx, rbx
lea rdx, str.FileType
call rsi
test eax, eax
je 0x1400581fa
mov rcx, rbx
lea rdx, str.Interface
call rsi
test eax, eax
je 0x1400581fa
mov rcx, rbx
lea rdx, str.Hardware
call rsi
test eax, eax
je 0x1400581fa
mov rcx, rbx
lea rdx, str.Mime
call rsi
test eax, eax
je 0x1400581fa
mov rcx, rbx
lea rdx, [0x14020dbce]
call rsi
test eax, eax
je 0x1400581fa
mov rcx, rbx
lea rdx, str.SECURITY
call rsi
test eax, eax
je 0x1400581fa
mov rcx, rbx
lea rdx, str.SYSTEM
call rsi
test eax, eax
je 0x1400581fa
mov rcx, rbx
lea rdx, str.Software
call rsi
test eax, eax
je 0x1400581fa
mov rcx, rbx
lea rdx, str.TypeLib
call rsi
test eax, eax
je 0x1400581fa
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]
mov rdx, rbx
call fcn.140058660
mov qword [rsp + 0xa0], rsi
mov dword [rsp + 0xa8], esi
mov qword [rsp + 0xb0], rsi
xor r13d, r13d
test r15d, r15d
je 0x140058378
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x140058219
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp r13d, 4
je 0x140057ce9
test r13d, r13d
je 0x140057897
jmp 0x140057c3b
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.0x1401b58f0.0]
jmp 0x140057956
mov dword [rsp + 0x90], 0
and sil, r13b
test r15d, r15d
sete al
or al, sil
jne 0x140057e50
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.140058e50
mov qword [rsp + 0xa0], rsi
mov dword [rsp + 0xa8], esi
mov qword [rsp + 0xb0], rsi
test eax, eax
je 0x140057e50
jmp 0x1400584d7
mov rcx, r14
mov rdx, rbx
call fcn.140191b10
mov ebp, eax
test eax, eax
js 0x140057c3b
mov r13d, 1
cmp word [rbx], 0x3d
jne 0x140058398
cmp dword [rsp + 0x6c], 0
je 0x1400583a3
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.1400587e0
mov ebp, eax
test eax, eax
jns 0x140057ce9
mov r12d, ebp
jmp 0x140057c3b
mov rcx, r14
mov rdx, rbx
call fcn.140191b10
test eax, eax
jns 0x14005843f
mov ebp, eax
mov r13d, 3
jmp 0x140058206
mov r12d, 0x80020009
jmp 0x140057c3b
cmp dword [rsp + 0x2330], 0
sete al
and al, sil
cmp al, 1
jne 0x140058422
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 0x1400583eb
mov r15, qword [rsp + 0x70]
jne 0x14005845c
mov rcx, r15
lea rdx, [rsp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, 0xfffffffd
jne 0x14005845c
xor r13d, r13d
mov sil, 1
test r15, r15
je 0x140058419
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test sil, sil
je 0x140057c3b
mov rcx, r14
mov rdx, rbx
call fcn.140191d10
mov ebp, eax
mov r13d, eax
shr r13d, 0x1f
or r13d, 2
jmp 0x140057c3b
mov rcx, r14
mov rdx, rbx
call fcn.140191d10
mov ebp, eax
mov r13d, eax
sar r13d, 0x1f
add r13d, 4
jmp 0x140058206
mov ecx, eax
call fcn.140191de0
mov ebp, eax
mov r13d, 3
xor esi, esi
jmp 0x14005840b
mov r12d, 0x80020009
jmp 0x14005847c
mov ebp, eax
mov r12d, ebp
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x14005848f
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x22a8]
xor rcx, rsp
call fcn.14014ced0
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
mov ecx, eax
call fcn.140191de0
mov r12d, eax
jmp 0x14005847c
cmp r13d, 3
je 0x140058479
jmp 0x14005847c
mov ecx, r13d
jmp 0x1400584c0
mov ecx, eax
call fcn.140191de0
mov r12d, eax
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x14005847c
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14005847c
cmp eax, 0x16
je 0x140058500
cmp eax, 0x22
jne 0x140058519
mov ecx, 0x80070057
call fcn.1401b5890
cmp eax, 0xc
jne 0x140058519
mov ecx, 0x8007000e
call fcn.1401b5890
mov ecx, 0x80004005
call fcn.1401b5890
int3