Function at 0x1400901a8
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 0x14009020f
test byte [rcx + 0x1c], 1
je 0x14009020f
cmp byte [rcx + 0x19], 5
jb 0x14009020f
mov edx, reloc.OLEAUT32.dll_DispGetParam
mov dword [rsp + 0x20], 1
mov r9, rsi
mov rcx, qword [rcx + 0x10]
call fcn.14008f818
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 [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 0x14009069e
test rsi, rsi
jne 0x140090279
mov eax, r15d
jmp 0x140090286
mov rax, r12
inc rax
cmp word [rsi + rax*2], r15w
jne 0x14009027c
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.140091a00
mov edi, eax
mov r10, qword [0x1400cf018]
cmp r10, r13
je 0x1400902e8
test byte [r10 + 0x1c], 2
je 0x1400902e8
cmp byte [r10 + 0x19], 4
jb 0x1400902e8
mov edx, 0x1c
mov r9d, eax
lea r8, [0x1400b9968]
mov rcx, qword [r10 + 0x10]
call fcn.1400035c4
mov r10, qword [0x1400cf018]
mov rbx, qword [rbp + 0x7f]
test edi, edi
jne 0x1400906a5
mov rdx, rbx
lea rcx, [rbp - 0x11]
call fcn.14008be68
mov edi, eax
mov r10, qword [0x1400cf018]
cmp r10, r13
je 0x14009033f
test byte [r10 + 0x1c], 2
je 0x14009033f
cmp byte [r10 + 0x19], 4
jb 0x14009033f
mov edx, 0x1d
mov dword [rsp + 0x20], eax
mov r9, rbx
lea r8, [0x1400b9968]
mov rcx, qword [r10 + 0x10]
call fcn.14000542c
mov r10, qword [0x1400cf018]
cmp edi, 2
jne 0x140090384
mov edi, 0x490
cmp r10, r13
je 0x1400906df
test byte [r10 + 0x1c], 2
je 0x1400906a5
cmp byte [r10 + 0x19], 4
jb 0x1400906a5
mov edx, 0x1e
lea r8, [0x1400b9968]
mov rcx, qword [r10 + 0x10]
call fcn.1400034f0
mov r10, qword [0x1400cf018]
test edi, edi
jne 0x1400906a5
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 0x1400903d1
test byte [rcx + 0x1c], 2
je 0x1400903d1
cmp byte [rcx + 0x19], 4
jb 0x1400903d1
lea edx, [rdi + 0x1f]
mov dword [rsp + 0x20], eax
mov r9, rbx
lea r8, [0x1400b9968]
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 0x140090450
mov esi, r15d
mov r12, qword [rbp - 0x21]
mov qword [rbp + 7], r12
mov rcx, qword [0x1400cf018]
cmp rcx, r13
je 0x140090485
test byte [rcx + 0x1c], 2
je 0x140090485
cmp byte [rcx + 0x19], 4
jb 0x140090485
mov edx, 0x20
mov dword [rsp + 0x20], esi
mov r9, qword [rbp - 0x29]
lea r8, [0x1400b9968]
mov rcx, qword [rcx + 0x10]
call fcn.14000542c
test esi, esi
jne 0x1400905fc
lea rdx, [rbp - 0x39]
lea rcx, [rbp + 7]
call fcn.14008b904
mov esi, eax
mov rcx, qword [0x1400cf018]
cmp rcx, r13
je 0x1400904cc
test byte [rcx + 0x1c], 2
je 0x1400904cc
cmp byte [rcx + 0x19], 4
jb 0x1400904cc
mov edx, 0x21
mov r9d, eax
lea r8, [0x1400b9968]
mov rcx, qword [rcx + 0x10]
call fcn.1400035c4
test esi, esi
jne 0x1400905fc
mov esi, r15d
mov eax, dword [rbp - 0x31]
test eax, eax
je 0x1400905fc
mov r14, r15
test esi, esi
js 0x140090741
cmp esi, eax
jge 0x140090741
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 0x140090530
mov r14, qword [rbp - 0x19]
mov rcx, qword [0x1400cf018]
lea rax, [0x1400cf018]
cmp rcx, rax
je 0x14009057a
test byte [rcx + 0x1c], 2
je 0x14009057a
cmp byte [rcx + 0x19], 4
jb 0x14009057a
cmp esi, dword [rbp - 0x31]
jge 0x140090736
mov rax, qword [rbp - 0x39]
mov edx, 0x22
mov dword [rsp + 0x20], r15d
mov r9, qword [rax + r13*8]
lea r8, [0x1400b9968]
mov rcx, qword [rcx + 0x10]
call fcn.14000542c
test r15d, r15d
jne 0x1400905cd
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 0x1400905d4
test byte [rcx + 0x1c], 2
je 0x1400905d4
cmp byte [rcx + 0x19], 4
jb 0x1400905d4
lea edx, [r15 + 0x23]
mov dword [rsp + 0x20], eax
mov r9, rbx
lea r8, [0x1400b9968]
mov rcx, qword [rcx + 0x10]
call fcn.14000542c
jmp 0x1400905d4
lea r13, [0x1400cf018]
xor r15d, r15d
test r14, r14
je 0x1400905eb
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 0x1400904e2
mov r14, qword [rbp + 0x67]
lea rcx, [rbp - 0x39]
call fcn.140014e50
nop
test r12, r12
je 0x14009061b
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 0x140090646
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.140094108
mov r10, qword [0x1400cf018]
cmp r10, r13
je 0x1400906df
test byte [r10 + 0x1c], 2
je 0x1400906a5
cmp byte [r10 + 0x19], 4
jb 0x1400906a5
mov edx, 0x24
lea r8, [0x1400b9968]
mov rcx, qword [r10 + 0x10]
call fcn.1400034f0
mov r10, qword [0x1400cf018]
cmp r10, r13
je 0x1400906df
test byte [r10 + 0x1c], 1
je 0x1400906df
movzx edx, byte [r10 + 0x19]
mov eax, edi
neg eax
sbb ecx, ecx
and ecx, 0xfffffffd
add ecx, 5
cmp edx, ecx
jb 0x1400906df
mov edx, 0x25
mov r9d, edi
lea r8, [0x1400b9968]
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 0x140090703
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 0x140090718
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