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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x698]
sub rsp, 0x790
mov rax, qword [0x1400502a8]
xor rax, rsp
mov qword [rbp + 0x680], rax
movaps xmm0, xmmword [str.S_1_5_80_2375682873_768044350_3534595160_1005545032_2873800392]
lea rcx, str.SOFTWAREMicrosoftWindows_Media_Player_NSS3.0MAC_Access_Control
movaps xmm1, xmmword [0x140047360]
lea rdx, [rbp + 0x1d0]
mov eax, dword [0x1400473c8]
movaps xmmword [rbp + 0x10], xmm0
movaps xmm0, xmmword [0x140047370]
movaps xmmword [rbp + 0x30], xmm0
movaps xmm0, xmmword [0x140047390]
movaps xmmword [rbp + 0x50], xmm0
movaps xmm0, xmmword [0x1400473b0]
movaps xmmword [rbp + 0x70], xmm0
movups xmm0, xmmword [str.S_1_5_4]
mov dword [rbp + 0x88], eax
movzx eax, word [0x1400473cc]
movaps xmmword [rbp + 0x20], xmm1
movaps xmm1, xmmword [0x140047380]
movaps xmmword [rbp + 0x40], xmm1
movaps xmm1, xmmword [0x1400473a0]
movdqu xmmword [rbp - 0x78], xmm0
mov word [rbp + 0x8c], ax
movaps xmm0, xmmword [0x1400473f0]
mov eax, dword [0x140047440]
movaps xmmword [rbp + 0x60], xmm1
movsd xmm1, qword [0x1400473c0]
movaps xmmword [rbp - 0x50], xmm0
movaps xmm0, xmmword [0x140047410]
movsd qword [rbp + 0x80], xmm1
movaps xmm1, xmmword [str.SOFTWAREMicrosoftWindows_Media_Connect_2Devices]
movaps xmmword [rbp - 0x30], xmm0
movaps xmm0, xmmword [0x140047430]
movaps xmmword [rbp - 0x60], xmm1
movaps xmm1, xmmword [0x140047400]
movaps xmmword [rbp - 0x10], xmm0
movaps xmm0, xmmword [str.SOFTWAREMicrosoftWindows_Media_Connect_2Shares]
movaps xmmword [rbp - 0x40], xmm1
movaps xmm1, xmmword [0x140047420]
movaps xmmword [rbp + 0x90], xmm0
movaps xmm0, xmmword [0x140047470]
movaps xmmword [rbp - 0x20], xmm1
movaps xmm1, xmmword [0x140047460]
movaps xmmword [rbp + 0xb0], xmm0
movaps xmm0, xmmword [0x140047490]
movaps xmmword [rbp + 0xa0], xmm1
movaps xmm1, xmmword [0x140047480]
movaps xmmword [rbp + 0xd0], xmm0
movaps xmm0, xmmword [str.SOFTWAREMicrosoftWindows_Media_Player_NSS3.0]
movaps xmmword [rbp + 0xc0], xmm1
movaps xmm1, xmmword [0x1400474a0]
movaps xmmword [rbp + 0x100], xmm0
movaps xmm0, xmmword [0x1400474e0]
movaps xmmword [rbp + 0xe0], xmm1
movaps xmm1, xmmword [0x1400474d0]
movaps xmmword [rbp + 0x120], xmm0
movaps xmm0, xmmword [0x140047500]
movaps xmmword [rbp + 0x110], xmm1
movaps xmm1, xmmword [0x1400474f0]
movaps xmmword [rbp + 0x140], xmm0
movaps xmm0, xmmword [str.SOFTWAREMicrosoftWindows_Media_Player_NSS3.0Devices]
movaps xmmword [rbp + 0x130], xmm1
movaps xmm1, xmmword [0x140047510]
movaps xmmword [rbp + 0x160], xmm0
movaps xmm0, xmmword [0x140047540]
movaps xmmword [rbp + 0x150], xmm1
movaps xmm1, xmmword [0x140047530]
movaps xmmword [rbp + 0x180], xmm0
movaps xmm0, xmmword [0x140047560]
movaps xmmword [rbp + 0x170], xmm1
movaps xmm1, xmmword [0x140047550]
mov dword [rbp], eax
movzx eax, word [0x140047444]
movaps xmmword [rbp + 0x1a0], xmm0
movaps xmm0, xmmword [0x140047580]
movaps xmmword [rbp + 0x190], xmm1
movaps xmm1, xmmword [0x140047570]
mov word [rbp + 4], ax
mov eax, dword [0x1400474b0]
movaps xmmword [rbp + 0x1c0], xmm0
movups xmm0, xmmword [rcx]
mov dword [rbp + 0xf0], eax
movaps xmmword [rbp + 0x1b0], xmm1
movups xmm1, xmmword [rcx + 0x10]
mov eax, 0x80
xor esi, esi
movups xmmword [rdx], xmm0
mov qword [rsp + 0x40], rsi
mov rdi, 0xffffffff80000002
movups xmm0, xmmword [rcx + 0x20]
xor r9d, r9d
xor r8d, r8d
movups xmmword [rdx + 0x10], xmm1
mov qword [rsp + 0x50], rsi
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rdx + 0x20], xmm0
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rdx + 0x30], xmm1
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rdx + 0x40], xmm0
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [rdx + 0x50], xmm1
movups xmmword [rdx + 0x60], xmm0
add rdx, rax
movups xmm0, xmmword [rcx + 0x70]
add rcx, rax
movups xmmword [rdx - 0x10], xmm0
mov eax, dword [rcx]
mov dword [rdx], eax
movzx eax, word [rcx + 4]
mov rcx, rdi
mov word [rdx + 4], ax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea rdx, [rbp + 0x100]
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], esi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebx, eax
test eax, eax
jne 0x14002e6dc
mov rcx, qword [rsp + 0x50]
lea rdx, [rbp + 0x10]
mov r9b, 3
mov r8d, 0x10000000
call fcn.14002df04
mov ebx, eax
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14002e6ec
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x68], rsi
test ebx, ebx
jne 0x14002e9b4
mov qword [rsp + 0x40], rsi
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
lea rdx, [rbp + 0x160]
mov qword [rsp + 0x30], rsi
xor r9d, r9d
mov dword [rsp + 0x28], 0xf003f
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x20], esi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebx, eax
test eax, eax
jne 0x14002e981
mov rcx, qword [rsp + 0x68]
lea rdx, [rbp - 0x78]
mov r9b, 3
mov r8d, 0x20019
call fcn.14002df04
mov ebx, eax
test eax, eax
jne 0x14002e981
lea rax, [rsp + 0x58]
mov r9d, 0x109
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x60]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
jne 0x14002e981
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x58]
call fcn.14002e1dc
mov ebx, eax
test eax, eax
jne 0x14002e981
mov qword [rsp + 0x40], rsi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea rdx, [rbp + 0x1d0]
mov qword [rsp + 0x30], rsi
xor r9d, r9d
mov dword [rsp + 0x28], 0xf003f
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x20], esi
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x50], rsi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebx, eax
test eax, eax
jne 0x14002e95c
mov rcx, qword [rsp + 0x60]
lea rdx, [rbp - 0x78]
xor r9d, r9d
mov r8d, 0x20019
call fcn.14002df04
mov ebx, eax
test eax, eax
jne 0x14002e95c
lea rax, [rsp + 0x50]
mov r9d, 0x109
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x90]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor edx, edx
mov edi, esi
jmp 0x14002e932
lea rdx, [rbp - 0x80]
mov qword [rbp - 0x80], rsi
lea rcx, [rbp + 0x260]
mov qword [rsp + 0x70], rsi
call qword [sym.imp.ADVAPI32.dll_ConvertStringSidToSidW]
test eax, eax
je 0x14002e92e
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rsi
lea rdx, [rbp + 0x260]
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov qword [rsp + 0x30], rsi
xor r8d, r8d
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], esi
mov qword [rbp - 0x80], rsi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14002e91e
mov rcx, qword [rsp + 0x70]
lea rdx, [rbp + 0x260]
mov r9b, 3
mov r8d, 0x2001f
call fcn.14002df04
test eax, eax
jne 0x14002e91e
mov ebx, esi
xor edx, edx
jmp 0x14002e902
mov rcx, qword [rsp + 0x70]
lea rax, [rsp + 0x78]
mov dword [rsp + 0x28], 4
lea rdx, [rbp + 0x470]
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x78], 2
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
inc ebx
mov edx, ebx
mov rcx, qword [rsp + 0x58]
lea r8, [rbp + 0x470]
mov r9d, 0x104
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x14002e8c9
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14002e92e
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc edi
mov edx, edi
mov rcx, qword [rsp + 0x50]
lea r8, [rbp + 0x260]
mov r9d, 0x104
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov ebx, eax
test eax, eax
je 0x14002e839
cmp eax, 0x103
cmove ebx, esi
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14002e971
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x60], rsi
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14002e981
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14002e996
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x58], rsi
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14002e9ab
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x68], rsi
test ebx, ebx
jne 0x14002e9b4
lea eax, [rbx + 1]
jmp 0x14002e9be
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov rcx, qword [rbp + 0x680]
xor rcx, rsp
call fcn.14003c810
lea r11, [rsp + 0x790]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret