Function at 0x180004028
Capabilities:
Delete registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2218]
mov eax, 0x2318
call fcn.180038620
sub rsp, rax
mov qword [rbp - 0x18], 0xfffffffffffffffe
mov rax, qword [0x18008d0c0]
xor rax, rsp
mov qword [rbp + 0x2200], rax
mov dword [rsp + 0x64], r9d
mov r15, r8
mov qword [rbp - 0x20], r8
mov rdi, rdx
mov r12, rcx
xor eax, eax
mov r14d, eax
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x70], eax
mov qword [rsp + 0x78], rax
call fcn.180003308
mov ebx, eax
xor edx, edx
test eax, eax
js 0x18000475d
cmp word [rdi], 0x7d
je 0x18000475d
mov eax, 1
mov r13d, eax
lea rdx, str.Delete
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor ebx, ebx
mov esi, ebx
test eax, eax
sete sil
lea rdx, str.ForceRemove
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1800040e1
test esi, esi
je 0x1800041c9
mov rdx, rdi
mov rcx, r12
call fcn.180003308
mov ebx, eax
xor edx, edx
test eax, eax
js 0x18000475d
cmp dword [rsp + 0x64], edx
je 0x1800041c7
mov qword [rbp - 0x80], rdx
mov dword [rbp - 0x78], edx
mov qword [rbp - 0x70], rdx
mov rcx, rdi
movzx eax, word [rdi]
jmp 0x180004129
cmp ax, 0x5c
je 0x180004130
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
xor edx, edx
test ax, ax
jne 0x180004115
jmp 0x180004139
test rcx, rcx
jne 0x1800046ef
lea rbx, str.AppID
mov rdx, qword [rbx]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x180004186
add rbx, 8
lea rax, [0x1800743e0]
cmp rbx, rax
jl 0x180004140
mov qword [rbp - 0x80], r15
xor ebx, ebx
mov dword [rbp - 0x78], ebx
mov qword [rbp - 0x70], rbx
mov rdx, rdi
lea rcx, [rbp - 0x80]
call fcn.180002aa8
mov qword [rbp - 0x80], rbx
mov dword [rbp - 0x78], ebx
mov qword [rbp - 0x70], rbx
jmp 0x180004188
xor ebx, ebx
test esi, esi
je 0x1800041c2
mov rdx, rdi
mov rcx, r12
call fcn.180003308
mov ebx, eax
xor edx, edx
test eax, eax
js 0x1800046f9
mov rdx, rdi
mov rcx, r12
call fcn.1800039b8
mov ebx, eax
xor edx, edx
mov dword [rbp - 0x78], edx
test eax, eax
js 0x18000475d
jmp 0x180004696
mov dword [rbp - 0x78], ebx
jmp 0x1800041c9
xor ebx, ebx
lea rdx, str.NoRemove
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1800041f7
mov r13d, ebx
mov rdx, rdi
mov rcx, r12
call fcn.180003308
mov ebx, eax
xor edx, edx
test eax, eax
js 0x18000475d
lea rdx, [0x180073d40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor edx, edx
test eax, eax
jne 0x18000431f
lea rdx, [rbp + 0x200]
mov rcx, r12
call fcn.180003308
mov ebx, eax
xor edx, edx
test eax, eax
js 0x18000475d
mov rdx, rdi
mov rcx, r12
call fcn.180003308
mov ebx, eax
xor edx, edx
test eax, eax
js 0x18000475d
cmp word [rdi], 0x3d
jne 0x1800046f2
cmp dword [rsp + 0x64], edx
je 0x180004296
mov qword [rbp - 0x68], rdx
mov dword [rbp - 0x60], edx
mov qword [rbp - 0x58], rdx
mov qword [rbp - 0x68], r15
mov dword [rbp - 0x60], edx
mov qword [rbp - 0x58], rdx
mov r9, rdi
lea r8, [rbp + 0x200]
lea rdx, [rbp - 0x68]
mov rcx, r12
call fcn.1800034c0
mov ebx, eax
xor edx, edx
mov qword [rbp - 0x68], rdx
mov dword [rbp - 0x60], edx
mov qword [rbp - 0x58], rdx
mov dword [rbp - 0x60], edx
jmp 0x1800041b5
cmp dword [rbp + 0x2280], edx
jne 0x180004303
test r13d, r13d
je 0x180004303
mov qword [rbp - 0x50], rdx
mov dword [rbp - 0x48], edx
mov qword [rbp - 0x40], rdx
mov r9d, 0x20006
xor r8d, r8d
mov rdx, r15
lea rcx, [rbp - 0x50]
call fcn.180002960
xor edx, edx
test eax, eax
jne 0x180004713
lea rdx, [rbp + 0x200]
mov rsi, qword [rbp - 0x50]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, 0xfffffffd
jne 0x1800046fe
xor ebx, ebx
test rsi, rsi
je 0x180004300
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x50], rbx
mov dword [rbp - 0x48], ebx
mov rdx, rdi
mov rcx, r12
call fcn.1800039b8
mov ebx, eax
xor edx, edx
test eax, eax
js 0x18000475d
jmp 0x1800045bb
mov rcx, rdi
movzx eax, word [rdi]
jmp 0x18000433b
cmp ax, 0x5c
je 0x180004342
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
xor edx, edx
test ax, ax
jne 0x180004327
jmp 0x18000434b
test rcx, rcx
jne 0x1800046f2
cmp dword [rsp + 0x64], edx
je 0x180004400
mov esi, 0x2001f
mov r9d, esi
mov r8, rdi
mov rdx, r15
lea rcx, [rsp + 0x68]
call fcn.180002960
xor ebx, ebx
test eax, eax
je 0x1800043ba
lea r9d, [rsi - 6]
mov r8, rdi
mov rdx, r15
lea rcx, [rsp + 0x68]
call fcn.180002960
test eax, eax
je 0x1800043ba
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], ebx
xor r9d, r9d
mov r8, rdi
mov rdx, r15
lea rcx, [rsp + 0x68]
call fcn.18000287c
xor edx, edx
test eax, eax
jne 0x180004736
mov rdx, rdi
mov rcx, r12
call fcn.180003308
mov ebx, eax
xor edx, edx
test eax, eax
js 0x18000473f
cmp word [rdi], 0x3d
jne 0x1800043f6
mov r9, rdi
xor r8d, r8d
lea rdx, [rsp + 0x68]
mov rcx, r12
call fcn.1800034c0
mov ebx, eax
xor edx, edx
test eax, eax
js 0x18000473f
mov r14, qword [rsp + 0x68]
jmp 0x180004696
mov ebx, dword [rbp + 0x2280]
test ebx, ebx
jne 0x180004429
mov r9d, 0x20019
mov r8, rdi
mov rdx, r15
lea rcx, [rsp + 0x68]
call fcn.180002960
mov esi, eax
mov r14, qword [rsp + 0x68]
jmp 0x18000442e
mov esi, 2
mov r15d, ebx
test esi, esi
mov eax, 1
cmovne r15d, eax
or r9, 0xffffffffffffffff
mov r8, rdi
mov edx, 0x104
lea rcx, [rbp - 0x10]
call fcn.180042c78
test eax, eax
je 0x180004479
cmp eax, 0xc
je 0x18000479b
cmp eax, 0x16
je 0x1800047b1
cmp eax, 0x22
je 0x1800047b1
cmp eax, 0x50
jne 0x1800047a6
mov rdx, rdi
mov rcx, r12
call fcn.180003308
mov ebx, eax
xor edx, edx
test eax, eax
js 0x18000475d
mov rdx, rdi
mov rcx, r12
call fcn.1800039b8
mov ebx, eax
xor edx, edx
test eax, eax
js 0x18000475d
cmp word [rdi], 0x7b
jne 0x1800044fd
mov rcx, rdi
call fcn.1800429ec
cmp rax, 1
jne 0x1800044fb
mov dword [rsp + 0x20], r15d
xor r9d, r9d
mov r8, r14
mov rdx, rdi
mov rcx, r12
call fcn.180004028
mov ebx, eax
xor edx, edx
test eax, eax
jns 0x1800044e2
test r15d, r15d
je 0x18000475d
mov rdx, rdi
mov rcx, r12
call fcn.180003308
mov ebx, eax
xor edx, edx
test eax, eax
js 0x18000475d
jmp 0x1800044fd
xor edx, edx
cmp esi, 2
je 0x1800045bb
test esi, esi
je 0x18000451d
cmp dword [rbp + 0x2280], edx
jne 0x1800045bb
mov ecx, esi
jmp 0x180004756
cmp dword [rbp + 0x2280], edx
je 0x1800045ce
mov dword [rsp + 0x60], edx
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rdx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
xor edx, edx
test eax, eax
jne 0x1800045ce
cmp dword [rsp + 0x60], edx
jbe 0x1800045ce
lea rsi, str.AppID
mov rdx, qword [rsi]
lea rcx, [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor edx, edx
test eax, eax
je 0x1800045bb
add rsi, 8
lea rax, [0x1800743e0]
cmp rsi, rax
jl 0x18000457e
test r13d, r13d
je 0x1800045bb
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x68]
call fcn.180002aa8
mov r14, qword [rsp + 0x68]
xor edx, edx
cmp word [rdi], 0x7d
je 0x18000475d
mov r15, qword [rbp - 0x20]
jmp 0x1800040a3
mov dword [rsp + 0x60], edx
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rdx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
xor edx, edx
mov esi, edx
test eax, eax
jne 0x180004620
cmp dword [rsp + 0x60], edx
seta sil
mov eax, edx
test r14, r14
je 0x18000463a
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
mov r14d, edx
mov qword [rsp + 0x68], rdx
mov dword [rsp + 0x70], edx
test eax, eax
jne 0x180004754
test r13d, r13d
je 0x1800045bb
test esi, esi
jne 0x1800045bb
mov qword [rbp - 0x38], rdx
mov dword [rbp - 0x30], edx
mov qword [rbp - 0x28], rdx
mov rax, qword [rbp - 0x20]
mov qword [rbp - 0x38], rax
mov dword [rbp - 0x30], edx
mov qword [rbp - 0x28], rdx
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x38]
call fcn.1800027b8
xor edx, edx
mov qword [rbp - 0x38], rdx
mov dword [rbp - 0x30], edx
mov qword [rbp - 0x28], rdx
test eax, eax
jne 0x180004746
mov dword [rbp - 0x30], edx
mov r15d, dword [rsp + 0x64]
test r15d, r15d
je 0x1800045bb
cmp word [rdi], 0x7b
jne 0x1800045bb
mov rcx, rdi
call fcn.1800429ec
cmp rax, 1
jne 0x1800045b9
xor eax, eax
mov dword [rsp + 0x20], eax
mov r9d, r15d
mov r8, r14
mov rdx, rdi
mov rcx, r12
call fcn.180004028
mov ebx, eax
xor edx, edx
test eax, eax
js 0x18000475d
mov rdx, rdi
mov rcx, r12
call fcn.180003308
jmp 0x18000430e
mov dword [rbp - 0x78], edx
mov ebx, 0x80020009
jmp 0x18000475d
mov dword [rbp - 0x78], edx
jmp 0x18000475d
mov ecx, eax
call fcn.1800023e8
mov ebx, eax
xor edx, edx
test rsi, rsi
je 0x180004731
mov rcx, rsi
jmp 0x180004725
mov ecx, eax
call fcn.1800023e8
mov ebx, eax
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x180004731
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
mov qword [rbp - 0x50], rdx
mov dword [rbp - 0x48], edx
jmp 0x18000475d
mov ecx, eax
call fcn.1800023e8
mov ebx, eax
mov r14, qword [rsp + 0x68]
jmp 0x18000475d
mov ecx, eax
call fcn.1800023e8
mov ebx, eax
mov dword [rbp - 0x30], edx
jmp 0x18000475d
mov ecx, eax
call fcn.1800023e8
mov ebx, eax
test r14, r14
je 0x180004772
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
mov qword [rsp + 0x68], rdx
mov dword [rsp + 0x70], edx
mov eax, ebx
mov rcx, qword [rbp + 0x2200]
xor rcx, rsp
call fcn.180037620
add rsp, 0x2318
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, 0x8007000e
call fcn.1800023a4
int3
mov ecx, 0x80004005
call fcn.1800023a4
int3
mov ecx, 0x80070057
call fcn.1800023a4
int3