Function at 0x140090458
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, [0x1400d0018]
mov rcx, qword [0x1400d0018]
cmp rcx, r13
je 0x1400904bf
test byte [rcx + 0x1c], 1
je 0x1400904bf
cmp byte [rcx + 0x19], 5
jb 0x1400904bf
mov edx, reloc.OLEAUT32.dll_DispGetParam
mov dword [rsp + 0x20], 1
mov r9, rsi
mov rcx, qword [rcx + 0x10]
call fcn.14008fac8
xor r15d, r15d
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov rax, qword [0x1400d2e50]
lea rcx, [0x1400d2e50]
mov rax, qword [rax + 0x18]
call qword [case.0x1400688bc.0]
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 0x14009094e
test rsi, rsi
jne 0x140090529
mov eax, r15d
jmp 0x140090536
mov rax, r12
inc rax
cmp word [rsi + rax*2], r15w
jne 0x14009052c
mov r8d, eax
mov rdx, rsi
lea rcx, [rbp + 0x7f]
call fcn.140004f30
lea rcx, [rbp + 0x7f]
call fcn.14002ea2c
xor r8d, r8d
lea rdx, [rbp - 0x11]
mov rcx, r14
call fcn.140091cb0
mov edi, eax
mov r10, qword [0x1400d0018]
cmp r10, r13
je 0x140090598
test byte [r10 + 0x1c], 2
je 0x140090598
cmp byte [r10 + 0x19], 4
jb 0x140090598
mov edx, 0x1c
mov r9d, eax
lea r8, [0x1400ba8e8]
mov rcx, qword [r10 + 0x10]
call fcn.1400035c4
mov r10, qword [0x1400d0018]
mov rbx, qword [rbp + 0x7f]
test edi, edi
jne 0x140090955
mov rdx, rbx
lea rcx, [rbp - 0x11]
call fcn.14008c4ec
mov edi, eax
mov r10, qword [0x1400d0018]
cmp r10, r13
je 0x1400905ef
test byte [r10 + 0x1c], 2
je 0x1400905ef
cmp byte [r10 + 0x19], 4
jb 0x1400905ef
mov edx, 0x1d
mov dword [rsp + 0x20], eax
mov r9, rbx
lea r8, [0x1400ba8e8]
mov rcx, qword [r10 + 0x10]
call fcn.14000542c
mov r10, qword [0x1400d0018]
cmp edi, 2
jne 0x140090634
mov edi, 0x490
cmp r10, r13
je 0x14009098f
test byte [r10 + 0x1c], 2
je 0x140090955
cmp byte [r10 + 0x19], 4
jb 0x140090955
mov edx, 0x1e
lea r8, [0x1400ba8e8]
mov rcx, qword [r10 + 0x10]
call fcn.1400034f0
mov r10, qword [0x1400d0018]
test edi, edi
jne 0x140090955
mov rdx, rbx
mov rcx, qword [rbp - 0x11]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
nop dword [rax + rax]
mov rcx, qword [0x1400d0018]
cmp rcx, r13
je 0x140090681
test byte [rcx + 0x1c], 2
je 0x140090681
cmp byte [rcx + 0x19], 4
jb 0x140090681
lea edx, [rdi + 0x1f]
mov dword [rsp + 0x20], eax
mov r9, rbx
lea r8, [0x1400ba8e8]
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 0x140090700
mov esi, r15d
mov r12, qword [rbp - 0x21]
mov qword [rbp + 7], r12
mov rcx, qword [0x1400d0018]
cmp rcx, r13
je 0x140090735
test byte [rcx + 0x1c], 2
je 0x140090735
cmp byte [rcx + 0x19], 4
jb 0x140090735
mov edx, 0x20
mov dword [rsp + 0x20], esi
mov r9, qword [rbp - 0x29]
lea r8, [0x1400ba8e8]
mov rcx, qword [rcx + 0x10]
call fcn.14000542c
test esi, esi
jne 0x1400908ac
lea rdx, [rbp - 0x39]
lea rcx, [rbp + 7]
call fcn.14008ba14
mov esi, eax
mov rcx, qword [0x1400d0018]
cmp rcx, r13
je 0x14009077c
test byte [rcx + 0x1c], 2
je 0x14009077c
cmp byte [rcx + 0x19], 4
jb 0x14009077c
mov edx, 0x21
mov r9d, eax
lea r8, [0x1400ba8e8]
mov rcx, qword [rcx + 0x10]
call fcn.1400035c4
test esi, esi
jne 0x1400908ac
mov esi, r15d
mov eax, dword [rbp - 0x31]
test eax, eax
je 0x1400908ac
mov r14, r15
test esi, esi
js 0x1400909f1
cmp esi, eax
jge 0x1400909f1
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 0x1400907e0
mov r14, qword [rbp - 0x19]
mov rcx, qword [0x1400d0018]
lea rax, [0x1400d0018]
cmp rcx, rax
je 0x14009082a
test byte [rcx + 0x1c], 2
je 0x14009082a
cmp byte [rcx + 0x19], 4
jb 0x14009082a
cmp esi, dword [rbp - 0x31]
jge 0x1400909e6
mov rax, qword [rbp - 0x39]
mov edx, 0x22
mov dword [rsp + 0x20], r15d
mov r9, qword [rax + r13*8]
lea r8, [0x1400ba8e8]
mov rcx, qword [rcx + 0x10]
call fcn.14000542c
test r15d, r15d
jne 0x14009087d
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
nop dword [rax + rax]
mov rcx, qword [0x1400d0018]
lea r13, [0x1400d0018]
cmp rcx, r13
je 0x140090884
test byte [rcx + 0x1c], 2
je 0x140090884
cmp byte [rcx + 0x19], 4
jb 0x140090884
lea edx, [r15 + 0x23]
mov dword [rsp + 0x20], eax
mov r9, rbx
lea r8, [0x1400ba8e8]
mov rcx, qword [rcx + 0x10]
call fcn.14000542c
jmp 0x140090884
lea r13, [0x1400d0018]
xor r15d, r15d
test r14, r14
je 0x14009089b
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 0x140090792
mov r14, qword [rbp + 0x67]
lea rcx, [rbp - 0x39]
call fcn.140014e50
nop
test r12, r12
je 0x1400908cb
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 0x1400908f6
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400688bc.0]
mov rax, qword [r14]
mov edx, 0x3ea
mov rcx, r14
mov rax, qword [rax + 0x48]
call qword [case.0x1400688bc.0]
mov ecx, eax
xor r9d, r9d
xor r8d, r8d
mov rbx, qword [rbp + 0x7f]
mov rdx, rbx
call fcn.1400943b8
mov r10, qword [0x1400d0018]
cmp r10, r13
je 0x14009098f
test byte [r10 + 0x1c], 2
je 0x140090955
cmp byte [r10 + 0x19], 4
jb 0x140090955
mov edx, 0x24
lea r8, [0x1400ba8e8]
mov rcx, qword [r10 + 0x10]
call fcn.1400034f0
mov r10, qword [0x1400d0018]
cmp r10, r13
je 0x14009098f
test byte [r10 + 0x1c], 1
je 0x14009098f
movzx edx, byte [r10 + 0x19]
mov eax, edi
neg eax
sbb ecx, ecx
and ecx, 0xfffffffd
add ecx, 5
cmp edx, ecx
jb 0x14009098f
mov edx, 0x25
mov r9d, edi
lea r8, [0x1400ba8e8]
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 0x1400909b3
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400688bc.0]
nop
mov rcx, qword [rbp - 0x11]
test rcx, rcx
je 0x1400909c8
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