Function at 0x140018f14
Capabilities:
Query or enumerate registry key
Set registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1c8]
sub rsp, 0x2a0
mov qword [rbp - 0x78], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x14014d030]
xor rax, rsp
mov qword [rbp + 0x190], rax
lea r13, [0x14014dd40]
lea r14, [0x14011b7b0]
mov rcx, qword [0x14014dd40]
cmp rcx, r13
je 0x140018f84
test byte [rcx + 0x1c], 1
je 0x140018f84
mov edx, 0x14c
mov r8, r14
mov rcx, qword [rcx + 0x10]
call fcn.140003614
xor r12d, r12d
mov dword [rsp + 0x48], r12d
mov dword [rsp + 0x28], r12d
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, str.ComputerDisabledSharing
call fcn.14000bbe8
test eax, eax
js 0x140019319
cmp dword [rsp + 0x48], r12d
je 0x140019319
mov r15d, r12d
lea esi, [r12 + 2]
lea edi, [rsi + 3]
mov rcx, qword [0x14014dd40]
cmp rcx, r13
je 0x140018ff4
test byte [rcx + 0x1c], sil
je 0x140018ff4
cmp byte [rcx + 0x19], dil
jb 0x140018ff4
mov edx, 0x14d
mov r9d, r15d
mov r8, r14
mov rcx, qword [rcx + 0x10]
call fcn.1400036d4
mov rbx, r12
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], r12
mov qword [rsp + 0x58], r12
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 0x20219
xor r8d, r8d
lea rdx, [0x14011b750]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140019210
mov eax, r12d
mov rbx, qword [rsp + 0x58]
mov qword [rsp + 0x70], rbx
test eax, eax
jne 0x140019210
mov dword [rsp + 0x4c], pe_nt_image_headers64
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x4c]
lea r8, [rbp - 0x70]
mov edx, r15d
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
je 0x14001924b
test eax, eax
jne 0x1400191e2
lea rdx, [0x14011b750]
lea rcx, [rsp + 0x40]
call fcn.140004d1c
nop
lea rcx, [rbp - 0x70]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], r12w
jne 0x1400190ac
mov r8d, eax
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x40]
call fcn.1400046e8
mov qword [rsp + 0x68], r12
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0x20206
xor r8d, r8d
mov rdx, qword [rsp + 0x40]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001915f
mov rbx, qword [rsp + 0x68]
mov dword [rsp + 0x28], esi
lea rax, [0x14011a1b8]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, [0x14011b720]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [0x14014dd40]
cmp rcx, r13
je 0x14001914f
test byte [rcx + 0x1c], sil
je 0x14001914f
cmp byte [rcx + 0x19], dil
jb 0x14001914f
mov edx, 0x151
mov r9d, eax
mov r8, r14
mov rcx, qword [rcx + 0x10]
call fcn.1400036d4
test rbx, rbx
je 0x14001918e
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14001918e
mov rcx, qword [0x14014dd40]
cmp rcx, r13
je 0x14001918e
test byte [rcx + 0x1c], sil
je 0x14001918e
cmp byte [rcx + 0x19], sil
jb 0x14001918e
mov edx, 0x150
mov r9, qword [rsp + 0x40]
mov r8, r14
mov rcx, qword [rcx + 0x10]
call fcn.140003638
nop
mov r14, qword [rsp + 0x40]
or eax, 0xffffffff
lock xadd dword [r14 - 8], eax
sub eax, 1
jg 0x1400191c3
mov rdi, qword [r14 - 0x18]
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call qword [fcn.140009050]
lea rdx, [r14 - 0x18]
mov rcx, rdi
call rbx
mov edi, 5
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1400191d3
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc r15d
lea r14, [0x14011b7b0]
jmp 0x140018fc8
mov rcx, qword [0x14014dd40]
cmp rcx, r13
je 0x14001924b
test byte [rcx + 0x1c], sil
je 0x14001924b
cmp byte [rcx + 0x19], sil
jb 0x14001924b
mov edx, 0x14f
mov r9d, eax
mov r8, r14
mov rcx, qword [rcx + 0x10]
call fcn.1400036d4
jmp 0x14001924b
movzx r9d, ax
or r9d, 0x80070000
test eax, eax
cmovle r9d, eax
mov rcx, qword [0x14014dd40]
cmp rcx, r13
je 0x14001924b
test byte [rcx + 0x1c], sil
je 0x14001924b
cmp byte [rcx + 0x19], sil
jb 0x14001924b
mov edx, 0x14e
mov r8, r14
mov rcx, qword [rcx + 0x10]
call fcn.1400036d4
nop
test rbx, rbx
je 0x140019259
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, r12
mov qword [rsp + 0x60], r12
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20106
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindows_Media_Player_NSS3.0
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
jne 0x140019296
mov ebx, r12d
mov rdi, qword [rsp + 0x60]
mov rcx, qword [0x14014dd40]
cmp rcx, r13
je 0x1400192d5
test byte [rcx + 0x1c], sil
je 0x1400192d5
test ebx, ebx
mov eax, 5
cmove esi, eax
movzx eax, byte [rcx + 0x19]
cmp eax, esi
jl 0x1400192d5
mov edx, 0x152
mov r9d, ebx
mov r8, r14
mov rcx, qword [rcx + 0x10]
call fcn.1400036d4
mov rcx, qword [0x14014dd40]
test ebx, ebx
jne 0x14001930b
mov dword [rsp + 0x50], r12d
lea r9d, [rbx + 4]
mov dword [rsp + 0x28], r9d
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.ComputerDisabledSharing
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [0x14014dd40]
test rdi, rdi
je 0x140019320
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [0x14014dd40]
cmp rcx, r13
je 0x14001933c
test byte [rcx + 0x1c], 1
je 0x14001933c
mov edx, 0x153
mov r8, r14
mov rcx, qword [rcx + 0x10]
call fcn.140003614
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.140106ed0
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret