Function at 0x140036120
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 [0x1400592a0]
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 [0x140050590]
lea rdx, [rbp + 0x1d0]
mov eax, dword [0x1400505f8]
movaps xmmword [rbp + 0x10], xmm0
movaps xmm0, xmmword [0x1400505a0]
movaps xmmword [rbp + 0x30], xmm0
movaps xmm0, xmmword [0x1400505c0]
movaps xmmword [rbp + 0x50], xmm0
movaps xmm0, xmmword [0x1400505e0]
movaps xmmword [rbp + 0x70], xmm0
movups xmm0, xmmword [str.S_1_5_4]
mov dword [rbp + 0x88], eax
movzx eax, word [0x1400505fc]
movaps xmmword [rbp + 0x20], xmm1
movaps xmm1, xmmword [0x1400505b0]
movaps xmmword [rbp + 0x40], xmm1
movaps xmm1, xmmword [0x1400505d0]
movdqu xmmword [rbp - 0x78], xmm0
mov word [rbp + 0x8c], ax
movaps xmm0, xmmword [0x140050620]
mov eax, dword [0x140050670]
movaps xmmword [rbp + 0x60], xmm1
movsd xmm1, qword [0x1400505f0]
movaps xmmword [rbp - 0x50], xmm0
movaps xmm0, xmmword [0x140050640]
movsd qword [rbp + 0x80], xmm1
movaps xmm1, xmmword [str.SOFTWAREMicrosoftWindows_Media_Connect_2Devices]
movaps xmmword [rbp - 0x30], xmm0
movaps xmm0, xmmword [0x140050660]
movaps xmmword [rbp - 0x60], xmm1
movaps xmm1, xmmword [0x140050630]
movaps xmmword [rbp - 0x10], xmm0
movaps xmm0, xmmword [str.SOFTWAREMicrosoftWindows_Media_Connect_2Shares]
movaps xmmword [rbp - 0x40], xmm1
movaps xmm1, xmmword [0x140050650]
movaps xmmword [rbp + 0x90], xmm0
movaps xmm0, xmmword [0x1400506a0]
movaps xmmword [rbp - 0x20], xmm1
movaps xmm1, xmmword [0x140050690]
movaps xmmword [rbp + 0xb0], xmm0
movaps xmm0, xmmword [0x1400506c0]
movaps xmmword [rbp + 0xa0], xmm1
movaps xmm1, xmmword [0x1400506b0]
movaps xmmword [rbp + 0xd0], xmm0
movaps xmm0, xmmword [str.SOFTWAREMicrosoftWindows_Media_Player_NSS3.0]
movaps xmmword [rbp + 0xc0], xmm1
movaps xmm1, xmmword [0x1400506d0]
movaps xmmword [rbp + 0x100], xmm0
movaps xmm0, xmmword [0x140050710]
movaps xmmword [rbp + 0xe0], xmm1
movaps xmm1, xmmword [0x140050700]
movaps xmmword [rbp + 0x120], xmm0
movaps xmm0, xmmword [0x140050730]
movaps xmmword [rbp + 0x110], xmm1
movaps xmm1, xmmword [0x140050720]
movaps xmmword [rbp + 0x140], xmm0
movaps xmm0, xmmword [str.SOFTWAREMicrosoftWindows_Media_Player_NSS3.0Devices]
movaps xmmword [rbp + 0x130], xmm1
movaps xmm1, xmmword [0x140050740]
movaps xmmword [rbp + 0x160], xmm0
movaps xmm0, xmmword [0x140050770]
movaps xmmword [rbp + 0x150], xmm1
movaps xmm1, xmmword [0x140050760]
movaps xmmword [rbp + 0x180], xmm0
movaps xmm0, xmmword [0x140050790]
movaps xmmword [rbp + 0x170], xmm1
movaps xmm1, xmmword [0x140050780]
mov dword [rbp], eax
movzx eax, word [0x140050674]
movaps xmmword [rbp + 0x1a0], xmm0
movaps xmm0, xmmword [0x1400507b0]
movaps xmmword [rbp + 0x190], xmm1
movaps xmm1, xmmword [0x1400507a0]
mov word [rbp + 4], ax
mov eax, dword [0x1400506e0]
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]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x14003640a
mov rcx, qword [rsp + 0x50]
lea rdx, [rbp + 0x10]
mov r9b, 3
mov r8d, 0x10000000
call fcn.1400371c4
mov ebx, eax
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140036420
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x68], rsi
test ebx, ebx
jne 0x140036746
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]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x140036707
mov rcx, qword [rsp + 0x68]
lea rdx, [rbp - 0x78]
mov r9b, 3
mov r8d, 0x20019
call fcn.1400371c4
mov ebx, eax
test eax, eax
jne 0x140036707
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]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x140036707
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x58]
call fcn.140036f78
mov ebx, eax
test eax, eax
jne 0x140036707
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]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x1400366d6
mov rcx, qword [rsp + 0x60]
lea rdx, [rbp - 0x78]
xor r9d, r9d
mov r8d, 0x20019
call fcn.1400371c4
mov ebx, eax
test eax, eax
jne 0x1400366d6
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]
nop dword [rax + rax]
xor edx, edx
mov edi, esi
jmp 0x1400366a6
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]
nop dword [rax + rax]
test eax, eax
je 0x1400366a2
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop dword [rax + rax]
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]
nop dword [rax + rax]
test eax, eax
jne 0x14003668c
mov rcx, qword [rsp + 0x70]
lea rdx, [rbp + 0x260]
mov r9b, 3
mov r8d, 0x2001f
call fcn.1400371c4
test eax, eax
jne 0x14003668c
mov ebx, esi
xor edx, edx
jmp 0x14003666a
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]
nop dword [rax + rax]
inc ebx
mov edx, ebx
mov rcx, qword [rsp + 0x58]
lea r8, [rbp + 0x470]
mov r9d, 0x104
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
nop dword [rax + rax]
test eax, eax
je 0x14003662b
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1400366a2
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
inc edi
mov edx, edi
mov rcx, qword [rsp + 0x50]
lea r8, [rbp + 0x260]
mov r9d, 0x104
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
je 0x140036585
cmp eax, 0x103
cmove ebx, esi
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1400366f1
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov qword [rsp + 0x60], rsi
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140036707
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140036722
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov qword [rsp + 0x58], rsi
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14003673d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov qword [rsp + 0x68], rsi
test ebx, ebx
jne 0x140036746
lea eax, [rbx + 1]
jmp 0x140036756
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
xor eax, eax
mov rcx, qword [rbp + 0x680]
xor rcx, rsp
call fcn.1400017f0
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