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

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x1c8]
sub rsp, 0x2b0
mov qword [rbp - 0x70], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
mov rax, qword [0x1400d3258]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
lea r15, [0x1400d0018]
lea r12, [0x1400b1440]
mov rcx, qword [0x1400d0018]
cmp rcx, r15
je 0x140014720
test byte [rcx + 0x1c], 1
je 0x140014720
mov edx, 0x114
mov r8, r12
mov rcx, qword [rcx + 0x10]
call fcn.1400034f0
xor r14d, r14d
mov dword [rsp + 0x40], r14d
mov dword [rsp + 0x28], r14d
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, str.ComputerDisabledSharing
call fcn.14000b660
test eax, eax
js 0x140014add
cmp dword [rsp + 0x40], r14d
je 0x140014add
mov esi, r14d
lea edi, [r14 + 2]
mov eax, 5
mov rcx, qword [0x1400d0018]
cmp rcx, r15
je 0x140014790
test byte [rcx + 0x1c], dil
je 0x140014790
cmp byte [rcx + 0x19], al
jb 0x140014790
mov edx, 0x115
mov r9d, esi
mov r8, r12
mov rcx, qword [rcx + 0x10]
call fcn.1400035c4
mov rbx, r14
mov qword [rsp + 0x78], rbx
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], r14
mov qword [rsp + 0x60], r14
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20219
xor r8d, r8d
lea rdx, [0x1400b13e0]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x1400149bc
mov eax, r14d
mov rbx, qword [rsp + 0x60]
mov qword [rsp + 0x78], rbx
test eax, eax
jne 0x1400149bc
mov dword [rsp + 0x50], 0x100
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x50]
lea r8, [rbp - 0x60]
mov edx, esi
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
nop dword [rax + rax]
cmp eax, 0x103
je 0x1400149f7
test eax, eax
jne 0x14001498e
lea rdx, [0x1400b13e0]
lea rcx, [rsp + 0x48]
call fcn.140004b44
nop
lea rcx, [rbp - 0x60]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], r14w
jne 0x140014852
mov r8d, eax
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x48]
call fcn.140004550
mov qword [rsp + 0x68], r14
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0x20206
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x14001491b
mov rbx, qword [rsp + 0x68]
mov dword [rsp + 0x28], edi
lea rax, [0x1400af3e8]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, [0x1400b13b8]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop dword [rax + rax]
mov rcx, qword [0x1400d0018]
cmp rcx, r15
je 0x140014905
test byte [rcx + 0x1c], dil
je 0x140014905
mov edx, 5
cmp byte [rcx + 0x19], dl
jb 0x140014905
mov edx, 0x119
mov r9d, eax
mov r8, r12
mov rcx, qword [rcx + 0x10]
call fcn.1400035c4
test rbx, rbx
je 0x14001494a
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
jmp 0x14001494a
mov rcx, qword [0x1400d0018]
cmp rcx, r15
je 0x14001494a
test byte [rcx + 0x1c], dil
je 0x14001494a
cmp byte [rcx + 0x19], dil
jb 0x14001494a
mov edx, 0x118
mov r9, qword [rsp + 0x48]
mov r8, r12
mov rcx, qword [rcx + 0x10]
call fcn.14000351c
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140014971
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400688bc.0]
nop
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140014987
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
inc esi
jmp 0x140014760
mov rcx, qword [0x1400d0018]
cmp rcx, r15
je 0x1400149f7
test byte [rcx + 0x1c], dil
je 0x1400149f7
cmp byte [rcx + 0x19], dil
jb 0x1400149f7
mov edx, 0x117
mov r9d, eax
mov r8, r12
mov rcx, qword [rcx + 0x10]
call fcn.1400035c4
jmp 0x1400149f7
movzx r9d, ax
or r9d, 0x80070000
test eax, eax
cmovle r9d, eax
mov rcx, qword [0x1400d0018]
cmp rcx, r15
je 0x1400149f7
test byte [rcx + 0x1c], dil
je 0x1400149f7
cmp byte [rcx + 0x19], dil
jb 0x1400149f7
mov edx, 0x116
mov r8, r12
mov rcx, qword [rcx + 0x10]
call fcn.1400035c4
nop
test rbx, rbx
je 0x140014a0b
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov rsi, r14
mov qword [rsp + 0x70], r14
lea rax, [rsp + 0x70]
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]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x140014a4e
mov ebx, r14d
mov rsi, qword [rsp + 0x70]
mov rcx, qword [0x1400d0018]
cmp rcx, r15
je 0x140014a8d
test byte [rcx + 0x1c], dil
je 0x140014a8d
test ebx, ebx
mov edx, 5
cmove edi, edx
movzx eax, byte [rcx + 0x19]
cmp eax, edi
jb 0x140014a8d
mov edx, 0x11a
mov r9d, ebx
mov r8, r12
mov rcx, qword [rcx + 0x10]
call fcn.1400035c4
mov rcx, qword [0x1400d0018]
test ebx, ebx
jne 0x140014ac9
mov dword [rsp + 0x58], r14d
lea r9d, [rbx + 4]
mov dword [rsp + 0x28], r9d
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.ComputerDisabledSharing
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop dword [rax + rax]
mov rcx, qword [0x1400d0018]
test rsi, rsi
je 0x140014ae4
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov rcx, qword [0x1400d0018]
cmp rcx, r15
je 0x140014b00
test byte [rcx + 0x1c], 1
je 0x140014b00
mov edx, 0x11b
mov r8, r12
mov rcx, qword [rcx + 0x10]
call fcn.1400034f0
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.1400a3a80
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret