Function at 0x14008fd48
Capabilities:
Delete registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov qword [rbp + 0x1f], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rsi, rdx
mov r14, rcx
lea r13, [0x1400cf018]
mov rcx, qword [0x1400cf018]
cmp rcx, r13
je 0x14008fdaf
test byte [rcx + 0x1c], 1
je 0x14008fdaf
cmp byte [rcx + 0x19], 5
jb 0x14008fdaf
mov edx, reloc.OLEAUT32.dll_DispGetParam
mov dword [rsp + 0x20], 1
mov r9, rsi
mov rcx, qword [rcx + 0x10]
call fcn.14008f3b8
xor r15d, r15d
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov rax, qword [0x1400d1e50]
lea rcx, [0x1400d1e50]
mov rax, qword [rax + 0x18]
call qword [str._E_n_]
lea rbx, [rax + 0x18]
mov qword [rbp + 0x7f], rbx
mov edi, r15d
mov dword [rsp + 0x20], r15d
or r12, 0xffffffffffffffff
mov r9d, r12d
mov r8, rsi
mov edx, r12d
lea rcx, str.00_00_00_00_00_00
call qword [sym.imp.KERNEL32.dll_CompareStringOrdinal]
nop dword [rax + rax]
cmp eax, 2
je 0x14009023e
test rsi, rsi
jne 0x14008fe19
mov eax, r15d
jmp 0x14008fe26
mov rax, r12
inc rax
cmp word [rsi + rax*2], r15w
jne 0x14008fe1c
mov r8d, eax
mov rdx, rsi
lea rcx, [rbp + 0x7f]
call fcn.140004f30
lea rcx, [rbp + 0x7f]
call fcn.14002e87c
xor r8d, r8d
lea rdx, [rbp - 0x11]
mov rcx, r14
call fcn.1400915a0
mov edi, eax
mov r10, qword [0x1400cf018]
cmp r10, r13
je 0x14008fe88
test byte [r10 + 0x1c], 2
je 0x14008fe88
cmp byte [r10 + 0x19], 4
jb 0x14008fe88
mov edx, 0x1c
mov r9d, eax
lea r8, [0x1400b9878]
mov rcx, qword [r10 + 0x10]
call fcn.1400035c4
mov r10, qword [0x1400cf018]
mov rbx, qword [rbp + 0x7f]
test edi, edi
jne 0x140090245
mov rdx, rbx
lea rcx, [rbp - 0x11]
call fcn.14008ba28
mov edi, eax
mov r10, qword [0x1400cf018]
cmp r10, r13
je 0x14008fedf
test byte [r10 + 0x1c], 2
je 0x14008fedf
cmp byte [r10 + 0x19], 4
jb 0x14008fedf
mov edx, 0x1d
mov dword [rsp + 0x20], eax
mov r9, rbx
lea r8, [0x1400b9878]
mov rcx, qword [r10 + 0x10]
call fcn.14000542c
mov r10, qword [0x1400cf018]
cmp edi, 2
jne 0x14008ff24
mov edi, 0x490
cmp r10, r13
je 0x14009027f
test byte [r10 + 0x1c], 2
je 0x140090245
cmp byte [r10 + 0x19], 4
jb 0x140090245
mov edx, 0x1e
lea r8, [0x1400b9878]
mov rcx, qword [r10 + 0x10]
call fcn.1400034f0
mov r10, qword [0x1400cf018]
test edi, edi
jne 0x140090245
mov rdx, rbx
mov rcx, qword [rbp - 0x11]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
nop dword [rax + rax]
mov rcx, qword [0x1400cf018]
cmp rcx, r13
je 0x14008ff71
test byte [rcx + 0x1c], 2
je 0x14008ff71
cmp byte [rcx + 0x19], 4
jb 0x14008ff71
lea edx, [rdi + 0x1f]
mov dword [rsp + 0x20], eax
mov r9, rbx
lea r8, [0x1400b9878]
mov rcx, qword [rcx + 0x10]
call fcn.14000542c
mov rax, qword [r14]
lea r8, str.SOFTWAREMicrosoftWindows_Media_Player_NSS3.0Server_Settings
lea rdx, str.SOFTWAREMicrosoftWindows_Media_Player_NSS3.0MAC_Access_Control
lea rcx, [0x14000a980]
cmp qword [rax + 0x58], rcx
cmovne rdx, r8
lea rcx, [rbp - 0x29]
call fcn.140004b44
nop
mov r12, r15
mov qword [rbp + 7], r15
mov qword [rbp + 0xf], r15
mov qword [rbp + 0x17], r15
mov qword [rbp - 0x39], r15
mov qword [rbp - 0x31], r15
mov qword [rbp - 0x21], r15
lea rax, [rbp - 0x21]
mov qword [rsp + 0x20], rax
mov r9d, 0x2011f
xor r8d, r8d
mov rdx, qword [rbp - 0x29]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
mov esi, eax
test eax, eax
jne 0x14008fff0
mov esi, r15d
mov r12, qword [rbp - 0x21]
mov qword [rbp + 7], r12
mov rcx, qword [0x1400cf018]
cmp rcx, r13
je 0x140090025
test byte [rcx + 0x1c], 2
je 0x140090025
cmp byte [rcx + 0x19], 4
jb 0x140090025
mov edx, 0x20
mov dword [rsp + 0x20], esi
mov r9, qword [rbp - 0x29]
lea r8, [0x1400b9878]
mov rcx, qword [rcx + 0x10]
call fcn.14000542c
test esi, esi
jne 0x14009019c
lea rdx, [rbp - 0x39]
lea rcx, [rbp + 7]
call fcn.14008b4c4
mov esi, eax
mov rcx, qword [0x1400cf018]
cmp rcx, r13
je 0x14009006c
test byte [rcx + 0x1c], 2
je 0x14009006c
cmp byte [rcx + 0x19], 4
jb 0x14009006c
mov edx, 0x21
mov r9d, eax
lea r8, [0x1400b9878]
mov rcx, qword [rcx + 0x10]
call fcn.1400035c4
test esi, esi
jne 0x14009019c
mov esi, r15d
mov eax, dword [rbp - 0x31]
test eax, eax
je 0x14009019c
mov r14, r15
test esi, esi
js 0x1400902e1
cmp esi, eax
jge 0x1400902e1
movsxd r13, esi
mov rax, qword [rbp - 0x39]
mov qword [rbp - 0x19], r15
lea rcx, [rbp - 0x19]
mov qword [rsp + 0x20], rcx
mov r9d, 0x2011f
xor r8d, r8d
mov rdx, qword [rax + r13*8]
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
mov r15d, eax
test eax, eax
jne 0x1400900d0
mov r14, qword [rbp - 0x19]
mov rcx, qword [0x1400cf018]
lea rax, [0x1400cf018]
cmp rcx, rax
je 0x14009011a
test byte [rcx + 0x1c], 2
je 0x14009011a
cmp byte [rcx + 0x19], 4
jb 0x14009011a
cmp esi, dword [rbp - 0x31]
jge 0x1400902d6
mov rax, qword [rbp - 0x39]
mov edx, 0x22
mov dword [rsp + 0x20], r15d
mov r9, qword [rax + r13*8]
lea r8, [0x1400b9878]
mov rcx, qword [rcx + 0x10]
call fcn.14000542c
test r15d, r15d
jne 0x14009016d
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
nop dword [rax + rax]
mov rcx, qword [0x1400cf018]
lea r13, [0x1400cf018]
cmp rcx, r13
je 0x140090174
test byte [rcx + 0x1c], 2
je 0x140090174
cmp byte [rcx + 0x19], 4
jb 0x140090174
lea edx, [r15 + 0x23]
mov dword [rsp + 0x20], eax
mov r9, rbx
lea r8, [0x1400b9878]
mov rcx, qword [rcx + 0x10]
call fcn.14000542c
jmp 0x140090174
lea r13, [0x1400cf018]
xor r15d, r15d
test r14, r14
je 0x14009018b
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
inc esi
mov eax, dword [rbp - 0x31]
cmp esi, eax
jb 0x140090082
mov r14, qword [rbp + 0x67]
lea rcx, [rbp - 0x39]
call fcn.140014dc8
nop
test r12, r12
je 0x1400901bb
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
nop
mov rdx, qword [rbp - 0x29]
add rdx, 0xffffffffffffffe8
or r12, 0xffffffffffffffff
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x1400901e6
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [str._E_n_]
mov rax, qword [r14]
mov edx, 0x3ea
mov rcx, r14
mov rax, qword [rax + 0x48]
call qword [str._E_n_]
mov ecx, eax
xor r9d, r9d
xor r8d, r8d
mov rbx, qword [rbp + 0x7f]
mov rdx, rbx
call fcn.140093ca8
mov r10, qword [0x1400cf018]
cmp r10, r13
je 0x14009027f
test byte [r10 + 0x1c], 2
je 0x140090245
cmp byte [r10 + 0x19], 4
jb 0x140090245
mov edx, 0x24
lea r8, [0x1400b9878]
mov rcx, qword [r10 + 0x10]
call fcn.1400034f0
mov r10, qword [0x1400cf018]
cmp r10, r13
je 0x14009027f
test byte [r10 + 0x1c], 1
je 0x14009027f
movzx edx, byte [r10 + 0x19]
mov eax, edi
neg eax
sbb ecx, ecx
and ecx, 0xfffffffd
add ecx, 5
cmp edx, ecx
jb 0x14009027f
mov edx, 0x25
mov r9d, edi
lea r8, [0x1400b9878]
mov rcx, qword [r10 + 0x10]
call fcn.1400035c4
nop
lea rdx, [rbx - 0x18]
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x1400902a3
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [str._E_n_]
nop
mov rcx, qword [rbp - 0x11]
test rcx, rcx
je 0x1400902b8
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, edi
mov rbx, qword [rsp + 0xd8]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0xc000008c
call fcn.14000504c
int3
mov ecx, 0xc000008c
call fcn.14000504c
int3