Function at 0x1400087b4
Capabilities:
Delete registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x21e8]
mov eax, 0x22e8
call fcn.1400146f0
sub rsp, rax
mov rax, qword [0x140055110]
xor rax, rsp
mov qword [rbp + 0x21d0], rax
mov r14d, r9d
mov dword [rsp + 0x40], r9d
mov r13, r8
mov rdi, rdx
mov r15, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xor esi, esi
mov qword [rsp + 0x48], rsi
mov dword [rsp + 0x50], esi
mov qword [rsp + 0x58], rsi
call fcn.140006b90
mov ebx, eax
test eax, eax
js 0x140008d96
lfence
cmp word [rdi], 0x7d
je 0x140008d96
mov r12d, 1
lea rdx, str.Delete
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
sete sil
lea rdx, [0x140039cf8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140008864
test esi, esi
je 0x14000893f
mov rdx, rdi
mov rcx, r15
call fcn.140006b90
mov ebx, eax
xor edx, edx
test eax, eax
js 0x140008d96
lfence
test r14d, r14d
je 0x14000893f
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x70], rdx
mov rcx, rdi
movzx eax, word [rdi]
jmp 0x1400088b0
cmp ax, 0x5c
je 0x1400088b7
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x14000889e
jmp 0x1400088c0
test rcx, rcx
jne 0x140008dfb
lea rbx, str.AppID
mov rdx, qword [rbx]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor ecx, ecx
test eax, eax
je 0x14000890e
add rbx, 8
lea rax, [0x14003a730]
cmp rbx, rax
jl 0x1400088c7
lfence
mov qword [rsp + 0x60], r13
mov dword [rsp + 0x68], ecx
mov qword [rsp + 0x70], rcx
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.140007e40
xor ecx, ecx
mov qword [rsp + 0x60], rcx
test esi, esi
je 0x14000893f
lfence
mov rdx, rdi
mov rcx, r15
call fcn.140006b90
mov ebx, eax
xor esi, esi
test eax, eax
js 0x140008d96
lfence
mov rdx, rdi
mov rcx, r15
call fcn.140009390
jmp 0x140008b46
lea rdx, str.NoRemove
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor esi, esi
test eax, eax
jne 0x14000896d
mov r12d, esi
mov rdx, rdi
mov rcx, r15
call fcn.140006b90
mov ebx, eax
test eax, eax
js 0x140008d96
lea rdx, [0x140039cf0]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x140008a81
lea rdx, [rbp + 0x1d0]
mov rcx, r15
call fcn.140006b90
mov ebx, eax
test eax, eax
js 0x140008d96
lfence
mov rdx, rdi
mov rcx, r15
call fcn.140006b90
mov ebx, eax
test eax, eax
js 0x140008d96
cmp word [rdi], 0x3d
jne 0x140008dfb
test r14d, r14d
je 0x1400089ff
lfence
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rsp + 0x78], r13
mov dword [rbp - 0x80], esi
mov qword [rbp - 0x78], rsi
mov r9, rdi
lea r8, [rbp + 0x1d0]
lea rdx, [rsp + 0x78]
mov rcx, r15
call fcn.140002ed8
mov ebx, eax
mov qword [rsp + 0x78], rsi
jmp 0x140008b48
cmp dword [rbp + 0x2250], esi
jne 0x140008a64
test r12d, r12d
je 0x140008a64
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x60], rsi
mov r9d, 0x20006
xor r8d, r8d
mov rdx, r13
lea rcx, [rbp - 0x70]
call fcn.140006d2c
test eax, eax
jne 0x140008de1
lea rdx, [rbp + 0x1d0]
mov rsi, qword [rbp - 0x70]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, 0xfffffffd
jne 0x140008dce
test rsi, rsi
je 0x140008a62
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
lfence
mov rdx, rdi
mov rcx, r15
call fcn.140009390
mov ebx, eax
test eax, eax
js 0x140008d96
jmp 0x140008822
mov rcx, rdi
movzx eax, word [rdi]
jmp 0x140008a9b
cmp ax, 0x5c
je 0x140008aa2
call qword [sym.imp.USER32.dll_CharNextW]
mov rcx, rax
movzx eax, word [rax]
test ax, ax
jne 0x140008a89
jmp 0x140008aab
test rcx, rcx
jne 0x140008dfb
test r14d, r14d
je 0x140008ba0
mov ebx, 0x2001f
mov r9d, ebx
mov r8, rdi
mov rdx, r13
lea rcx, [rsp + 0x48]
call fcn.140006d2c
test eax, eax
je 0x140008b15
lea r9d, [rbx - 6]
mov r8, rdi
mov rdx, r13
lea rcx, [rsp + 0x48]
call fcn.140006d2c
test eax, eax
je 0x140008b15
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], esi
xor r9d, r9d
mov r8, rdi
mov rdx, r13
lea rcx, [rsp + 0x48]
call fcn.14000493c
test eax, eax
jne 0x140008d8d
mov rdx, rdi
mov rcx, r15
call fcn.140006b90
mov ebx, eax
test eax, eax
js 0x140008d96
cmp word [rdi], 0x3d
jne 0x140008b50
lfence
mov r9, rdi
xor r8d, r8d
lea rdx, [rsp + 0x48]
mov rcx, r15
call fcn.140002ed8
mov ebx, eax
test eax, eax
js 0x140008d96
cmp word [rdi], 0x7b
jne 0x140008822
mov rcx, rdi
call fcn.14001bda8
cmp rax, 1
jne 0x140008822
mov dword [rsp + 0x20], esi
mov r9d, r14d
mov r8, qword [rsp + 0x48]
mov rdx, rdi
mov rcx, r15
call fcn.1400087b4
mov ebx, eax
test eax, eax
js 0x140008d96
lfence
mov rdx, rdi
mov rcx, r15
call fcn.140006b90
jmp 0x140008a72
cmp dword [rbp + 0x2250], esi
jne 0x140008bc2
mov r9d, 0x20019
mov r8, rdi
mov rdx, r13
lea rcx, [rsp + 0x48]
call fcn.140006d2c
mov esi, eax
jmp 0x140008bc7
mov esi, 2
mov r14d, 1
test esi, esi
cmove r14d, dword [rbp + 0x2250]
or r9, 0xffffffffffffffff
mov r8, rdi
mov edx, 0x104
lea rcx, [rbp - 0x40]
call fcn.14001bcac
test eax, eax
je 0x140008c14
cmp eax, 0xc
je 0x140008e06
cmp eax, 0x16
je 0x140008e1c
cmp eax, 0x22
je 0x140008e1c
cmp eax, 0x50
jne 0x140008e11
mov rdx, rdi
mov rcx, r15
call fcn.140006b90
mov ebx, eax
test eax, eax
js 0x140008d96
lfence
mov rdx, rdi
mov rcx, r15
call fcn.140009390
mov ebx, eax
xor edx, edx
test eax, eax
js 0x140008d96
cmp word [rdi], 0x7b
jne 0x140008ca2
lfence
mov rcx, rdi
call fcn.14001bda8
cmp rax, 1
jne 0x140008ca0
lfence
mov dword [rsp + 0x20], r14d
xor r9d, r9d
mov r8, qword [rsp + 0x48]
mov rdx, rdi
mov rcx, r15
call fcn.1400087b4
mov ebx, eax
test eax, eax
jns 0x140008c84
test r14d, r14d
je 0x140008d96
lfence
mov rdx, rdi
mov rcx, r15
call fcn.140006b90
mov ebx, eax
xor edx, edx
test eax, eax
js 0x140008d96
jmp 0x140008ca2
xor edx, edx
cmp esi, 2
je 0x140008cb7
test esi, esi
je 0x140008cc3
cmp dword [rbp + 0x2250], edx
je 0x140008e02
xor esi, esi
mov r14d, dword [rsp + 0x40]
jmp 0x140008822
cmp dword [rbp + 0x2250], edx
je 0x140008d1e
lfence
mov rdx, qword [rsp + 0x48]
mov rcx, r15
call fcn.1400058f4
test eax, eax
je 0x140008d1e
lea rsi, str.AppID
mov rdx, qword [rsi]
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140008cb7
add rsi, 8
lea rax, [0x14003a730]
cmp rsi, rax
jl 0x140008ce6
xor esi, esi
test r12d, r12d
je 0x140008cb9
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x48]
call fcn.140007e40
jmp 0x140008cb9
lfence
mov rsi, qword [rsp + 0x48]
mov rdx, rsi
mov rcx, r15
call fcn.1400058f4
mov r14d, eax
xor ecx, ecx
mov eax, ecx
test rsi, rsi
je 0x140008d4d
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov qword [rsp + 0x48], rsi
mov dword [rsp + 0x50], esi
test eax, eax
jne 0x140008d8d
test r12d, r12d
je 0x140008cb9
test r14d, r14d
jne 0x140008cb9
and qword [rbp - 0x50], 0
mov qword [rbp - 0x58], r13
mov qword [rbp - 0x48], rsi
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x58]
call fcn.140004de8
mov qword [rbp - 0x58], rsi
test eax, eax
je 0x140008cb9
mov ecx, eax
call fcn.140003840
mov ebx, eax
mov rsi, qword [rsp + 0x48]
test rsi, rsi
je 0x140008da9
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x21d0]
xor rcx, rsp
call fcn.140014260
add rsp, 0x22e8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, eax
call fcn.140003840
mov ebx, eax
test rsi, rsi
je 0x140008d96
mov rcx, rsi
jmp 0x140008df3
mov ecx, eax
call fcn.140003840
mov ebx, eax
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x140008d96
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140008d96
mov ebx, 0x80020009
jmp 0x140008d96
mov ecx, esi
jmp 0x140008d8f
mov ecx, 0x8007000e
call fcn.1400042e0
int3
mov ecx, 0x80004005
call fcn.1400042e0
int3
mov ecx, 0x80070057
call fcn.1400042e0
int3