Function at 0x14000bbe8
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov r13d, r9d
mov rbp, r8
mov r10, qword [0x14014dd40]
lea rbx, [0x14014dd40]
mov r12d, dword [rsp + 0xc8]
mov eax, 5
mov r14, qword [rsp + 0xc0]
cmp r10, rbx
je 0x14000bc64
test byte [r10 + 0x1c], 1
je 0x14000bc64
cmp byte [r10 + 0x19], al
jb 0x14000bc64
mov eax, dword [r14]
mov rcx, qword [r10 + 0x10]
mov dword [r11 - 0x58], r12d
mov dword [rsp + 0x38], eax
mov dword [r11 - 0x68], r9d
mov qword [r11 - 0x70], r8
call fcn.14000b5f0
mov r10, qword [0x14014dd40]
xor edx, edx
mov rcx, 0xffffffff80000002
mov edi, edx
mov r8d, edx
mov esi, edx
mov r15, rcx
test rbp, rbp
je 0x14000be57
cmp dx, word [rbp]
je 0x14000be57
lea r10, str.SOFTWAREMicrosoftWindows_Media_Player_NSS3.0
mov dword [r14], r13d
test r10, r10
je 0x14000bcca
mov qword [rsp + 0x58], rdx
lea rax, [rsp + 0x58]
mov rdx, r10
mov qword [rsp + 0x20], rax
mov r9d, 0x2011f
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor edx, edx
mov r8d, eax
test eax, eax
jne 0x14000bcd0
mov rsi, qword [rsp + 0x58]
mov r8d, edx
jmp 0x14000bcd0
mov r15, rdx
mov rsi, rcx
test r8d, r8d
jne 0x14000bd54
lea rax, [rsp + 0xa0]
mov dword [rsp + 0xa8], edx
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x50]
lea rax, [rsp + 0xa8]
mov dword [rsp + 0xa0], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor edx, edx
mov r8d, eax
test eax, eax
jne 0x14000bd2e
cmp dword [rsp + 0x50], 4
je 0x14000bd2b
lea r8d, [rax + 0xd]
jmp 0x14000bd3d
mov r8d, edx
test r8d, r8d
jne 0x14000bd3d
mov eax, dword [rsp + 0xa8]
mov dword [r14], eax
cmp r12d, 1
jne 0x14000bd54
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov r8d, eax
xor edx, edx
mov ebx, 2
cmp r8d, 0x490
je 0x14000bd67
cmp r8d, ebx
jne 0x14000bd6a
mov r8d, edx
test r8d, r8d
je 0x14000bdda
movzx edi, r8w
or edi, 0x80070000
test r8d, r8d
cmovle edi, r8d
mov r10, qword [0x14014dd40]
lea rax, [0x14014dd40]
cmp r10, rax
je 0x14000be21
mov r8d, 5
test byte [r10 + 0x1c], bl
je 0x14000bde7
movzx ecx, byte [r10 + 0x19]
test edi, edi
mov eax, ebx
cmovns eax, r8d
cmp ecx, eax
jl 0x14000bde7
lea edx, [r8 + 0x19]
mov eax, dword [r14]
mov r9d, edi
mov rcx, qword [r10 + 0x10]
mov dword [rsp + 0x48], r12d
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x38], r13d
mov qword [rsp + 0x30], rbp
call fcn.14000b330
mov r10, qword [0x14014dd40]
mov r8d, 5
lea rbp, [0x14014dd40]
cmp r10, rbp
je 0x14000be21
test byte [r10 + 0x1c], 1
je 0x14000be21
movzx eax, byte [r10 + 0x19]
test edi, edi
cmovns ebx, r8d
cmp eax, ebx
jl 0x14000be21
mov rcx, qword [r10 + 0x10]
lea r8, [0x14011b7b0]
mov edx, 0x1f
mov r9d, edi
call fcn.1400036d4
test r15, r15
je 0x14000be2f
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test rsi, rsi
je 0x14000be3d
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov rbx, qword [rsp + 0xb0]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov edi, 0x80070057
cmp r10, rbx
je 0x14000be26
mov ebx, 2
test byte [r10 + 0x1c], bl
je 0x14000bde1
cmp byte [r10 + 0x19], bl
jb 0x14000bde1
lea edx, [rbx + 0x1b]
jmp 0x14000bdb8