Function at 0x14000850c
Capabilities:
Delete registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x21f8]
mov eax, 0x22f8
call fcn.1400142a0
sub rsp, rax
mov qword [rbp - 0x38], 0xfffffffffffffffe
mov rax, qword [0x140052108]
xor rax, rsp
mov qword [rbp + 0x21e0], rax
mov dword [rsp + 0x40], r9d
mov r15, r8
mov qword [rsp + 0x48], r8
mov rdi, rdx
mov r12, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xor r13d, r13d
mov r14d, r13d
mov qword [rsp + 0x50], r13
mov dword [rsp + 0x58], r13d
mov qword [rsp + 0x60], r13
call fcn.140006a00
test eax, eax
mov ebx, eax
js 0x140008aef
cmp word [rdi], 0x7d
je 0x140008aef
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, [0x140034c78]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1400085ce
test esi, esi
je 0x1400086a8
mov rdx, rdi
mov rcx, r12
call fcn.140006a00
mov ebx, eax
xor edx, edx
test eax, eax
js 0x140008aef
cmp dword [rsp + 0x40], edx
je 0x1400086a6
mov qword [rsp + 0x70], rdx
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x78], rdx
mov rcx, rdi
movzx eax, word [rdi]
jmp 0x140008618
cmp ax, 0x5c
je 0x14000861f
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x140008606
jmp 0x140008628
test rcx, rcx
jne 0x140008b4f
lea rbx, str.AppID
mov rdx, qword [rbx]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x14000866a
add rbx, 8
lea rax, [0x140035c20]
cmp rbx, rax
jl 0x14000862f
mov qword [rsp + 0x68], r15
mov rdx, rdi
lea rcx, [rsp + 0x68]
call fcn.140007bb4
xor ebx, ebx
mov qword [rsp + 0x68], rbx
jmp 0x14000866c
xor ebx, ebx
test esi, esi
je 0x1400086a8
mov rdx, rdi
mov rcx, r12
call fcn.140006a00
mov ebx, eax
xor r13d, r13d
test eax, eax
js 0x140008aef
mov rdx, rdi
mov rcx, r12
call fcn.1400091a0
mov ebx, eax
test eax, eax
js 0x140008aef
mov esi, dword [rsp + 0x40]
jmp 0x1400088b7
xor ebx, ebx
lea rdx, str.NoRemove
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1400086d4
mov r13d, ebx
mov rdx, rdi
mov rcx, r12
call fcn.140006a00
mov ebx, eax
test eax, eax
js 0x140008aef
lea rdx, [0x140034c70]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1400087df
lea rdx, [rbp + 0x1e0]
mov rcx, r12
call fcn.140006a00
mov ebx, eax
test eax, eax
js 0x140008aef
mov rdx, rdi
mov rcx, r12
call fcn.140006a00
mov ebx, eax
xor edx, edx
test eax, eax
js 0x140008aef
cmp word [rdi], 0x3d
jne 0x140008b4f
mov esi, dword [rsp + 0x40]
test esi, esi
je 0x14000876c
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x80], r15
mov dword [rbp - 0x78], edx
mov qword [rbp - 0x70], rdx
mov r9, rdi
lea r8, [rbp + 0x1e0]
lea rdx, [rbp - 0x80]
mov rcx, r12
call fcn.140002fb4
mov ebx, eax
xor r13d, r13d
mov qword [rbp - 0x80], r13
test eax, eax
js 0x140008aef
jmp 0x1400088b7
cmp dword [rbp + 0x2260], edx
jne 0x1400087cf
test r13d, r13d
je 0x1400087cf
mov qword [rbp - 0x60], rdx
mov qword [rbp - 0x68], rdx
mov qword [rbp - 0x58], rdx
mov r9d, 0x20006
xor r8d, r8d
mov rdx, r15
lea rcx, [rbp - 0x68]
call fcn.140006bb8
test eax, eax
jne 0x140008b35
lea rdx, [rbp + 0x1e0]
mov rsi, qword [rbp - 0x68]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, 0xfffffffd
jne 0x140008b22
test rsi, rsi
je 0x1400087cf
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, rdi
mov rcx, r12
call fcn.1400091a0
jmp 0x14000857c
mov rcx, rdi
movzx eax, word [rdi]
jmp 0x1400087f9
cmp ax, 0x5c
je 0x140008800
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x1400087e7
jmp 0x140008809
test rcx, rcx
jne 0x140008b4f
mov esi, dword [rsp + 0x40]
test esi, esi
je 0x140008902
mov ebx, 0x2001f
mov r9d, ebx
mov r8, rdi
mov rdx, r15
lea rcx, [rsp + 0x50]
call fcn.140006bb8
xor r13d, r13d
test eax, eax
je 0x14000887a
lea r9d, [rbx - 6]
mov r8, rdi
mov rdx, r15
lea rcx, [rsp + 0x50]
call fcn.140006bb8
test eax, eax
je 0x14000887a
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], r13d
xor r9d, r9d
mov r8, rdi
mov rdx, r15
lea rcx, [rsp + 0x50]
call fcn.140004a2c
test eax, eax
jne 0x140008b56
mov rdx, rdi
mov rcx, r12
call fcn.140006a00
mov ebx, eax
test eax, eax
js 0x140008b5f
cmp word [rdi], 0x3d
jne 0x1400088b2
mov r9, rdi
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, r12
call fcn.140002fb4
mov ebx, eax
test eax, eax
js 0x140008b5f
mov r14, qword [rsp + 0x50]
cmp word [rdi], 0x7b
jne 0x140008586
mov rcx, rdi
call fcn.140019654
mov ecx, 1
cmp rax, rcx
jne 0x140008586
mov dword [rsp + 0x20], r13d
mov r9d, esi
mov r8, r14
mov rdx, rdi
mov rcx, r12
call fcn.14000850c
mov ebx, eax
test eax, eax
js 0x140008aef
mov rdx, rdi
mov rcx, r12
jmp 0x140008577
mov ebx, dword [rbp + 0x2260]
test ebx, ebx
jne 0x14000892b
mov r9d, 0x20019
mov r8, rdi
mov rdx, r15
lea rcx, [rsp + 0x50]
call fcn.140006bb8
mov esi, eax
mov r14, qword [rsp + 0x50]
jmp 0x140008930
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 - 0x30]
call fcn.140019570
test eax, eax
je 0x14000897b
cmp eax, 0xc
je 0x140008b6d
cmp eax, 0x16
je 0x140008b83
cmp eax, 0x22
je 0x140008b83
cmp eax, 0x50
jne 0x140008b78
mov rdx, rdi
mov rcx, r12
call fcn.140006a00
mov ebx, eax
test eax, eax
js 0x140008aef
mov rdx, rdi
mov rcx, r12
call fcn.1400091a0
mov ebx, eax
xor edx, edx
test eax, eax
js 0x140008aef
cmp word [rdi], 0x7b
jne 0x1400089ff
mov rcx, rdi
call fcn.140019654
mov ecx, 1
cmp rax, rcx
jne 0x1400089fd
mov dword [rsp + 0x20], r15d
xor r9d, r9d
mov r8, r14
mov rdx, rdi
mov rcx, r12
call fcn.14000850c
mov ebx, eax
test eax, eax
jns 0x1400089e4
test r15d, r15d
je 0x140008aef
mov rdx, rdi
mov rcx, r12
call fcn.140006a00
mov ebx, eax
xor edx, edx
test eax, eax
js 0x140008aef
jmp 0x1400089ff
xor edx, edx
cmp esi, 2
je 0x140008a14
test esi, esi
je 0x140008a1e
cmp dword [rbp + 0x2260], edx
je 0x140008b66
mov r15, qword [rsp + 0x48]
jmp 0x140008586
cmp dword [rbp + 0x2260], edx
je 0x140008a77
mov rdx, r14
mov rcx, r12
call fcn.140005a94
test eax, eax
je 0x140008a77
lea rsi, str.AppID
mov rdx, qword [rsi]
lea rcx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140008a14
add rsi, 8
lea rax, [0x140035c20]
cmp rsi, rax
jl 0x140008a3c
test r13d, r13d
je 0x140008a14
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x50]
call fcn.140007bb4
mov r14, qword [rsp + 0x50]
jmp 0x140008a14
mov rdx, r14
mov rcx, r12
call fcn.140005a94
mov esi, eax
xor edx, edx
mov eax, edx
test r14, r14
je 0x140008aa0
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
mov r14d, edx
mov qword [rsp + 0x50], rdx
mov dword [rsp + 0x58], edx
test eax, eax
jne 0x140008ae6
test r13d, r13d
je 0x140008a14
mov r15, qword [rsp + 0x48]
test esi, esi
jne 0x140008586
and qword [rbp - 0x48], 0
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x40], rdx
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x50]
call fcn.140004ef8
xor ecx, ecx
mov qword [rbp - 0x50], rcx
test eax, eax
je 0x140008586
mov ecx, eax
call fcn.140003930
mov ebx, eax
test r14, r14
je 0x140008afd
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x21e0]
xor rcx, rsp
call fcn.140013e00
add rsp, 0x22f8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, eax
call fcn.140003930
mov ebx, eax
test rsi, rsi
je 0x140008aef
mov rcx, rsi
jmp 0x140008b47
mov ecx, eax
call fcn.140003930
mov ebx, eax
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x140008aef
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140008aef
mov ebx, 0x80020009
jmp 0x140008aef
mov ecx, eax
call fcn.140003930
mov ebx, eax
mov r14, qword [rsp + 0x50]
jmp 0x140008aef
mov ecx, esi
jmp 0x140008ae8
mov ecx, 0x8007000e
call fcn.140004454
int3
mov ecx, 0x80004005
call fcn.140004454
int3
mov ecx, 0x80070057
call fcn.140004454
int3