Function at 0x14002d51c
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r14
lea rbp, [rax - 0x188]
sub rsp, 0x270
mov rax, qword [0x140051580]
xor rax, rsp
mov qword [rbp + 0x160], rax
xor esi, esi
lea rdx, str.Gathering_existing_system_service_data..._r_n
mov rdi, rcx
mov qword [rsp + 0x40], rsi
lea ecx, [rsi + 3]
call fcn.140018e9c
mov rdx, qword [rdi + 0x20]
test rdx, rdx
je 0x14002d579
mov rcx, rdi
call fcn.14002da40
lea rax, [rsp + 0x40]
mov r14d, 1
mov r9d, r14d
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftMediaPlayerPreferences
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
mov r12d, 0x140
test eax, eax
jne 0x14002d835
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
lea rax, [rsp + 0x38]
mov dword [rsp + 0x38], esi
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.LegacyContentProviderFound
mov dword [rsp + 0x30], 4
mov dword [rsp + 0x34], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x14002d714
cmp dword [rsp + 0x38], r14d
jne 0x14002d714
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
lea rax, [rsp + 0x50]
mov dword [rsp + 0x34], 0x208
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.LegacyContentProviderName
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x14002d714
cmp dword [rsp + 0x30], r14d
jne 0x14002d714
mov rbx, qword [rdi + 0x10]
cmp word [rsp + 0x50], si
je 0x14002d6fe
test rbx, rbx
je 0x14002d6b2
mov rax, qword [rbx]
test rax, rax
je 0x14002d6b2
cmp qword [rax], rsi
lea rdx, [0x140040718]
lea rcx, [rsp + 0x50]
cmovne rdx, qword [rax]
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__wcsicmp]
nop dword [rax + rax]
test eax, eax
je 0x14002d6a6
mov rbx, qword [rbx + 8]
jmp 0x14002d670
mov rax, qword [rbx]
mov dword [rax + 0x110], r14d
jmp 0x14002d6fe
mov rcx, r12
call fcn.1400012cc
test rax, rax
je 0x14002d6fe
mov rcx, rax
call fcn.140029458
mov rbx, rax
test rax, rax
je 0x14002d6fe
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.14001d218
mov dword [rbx + 0x110], r14d
test eax, eax
jne 0x14002d6f6
mov rdx, rbx
mov rcx, rdi
call fcn.140029a3c
test eax, eax
je 0x14002d6fe
mov rcx, rbx
call fcn.1400299cc
lea r8, [rsp + 0x50]
mov ecx, 3
lea rdx, str.__Legacy_service_is:__S._r_n
call fcn.140018ed8
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
lea rax, [rsp + 0x50]
mov dword [rsp + 0x34], 0x208
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.DefaultSubscriptionService
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x14002d824
cmp dword [rsp + 0x30], r14d
jne 0x14002d824
mov rbx, qword [rdi + 0x10]
cmp word [rsp + 0x50], si
je 0x14002d80e
test rbx, rbx
je 0x14002d7b4
mov rax, qword [rbx]
test rax, rax
je 0x14002d7b4
cmp qword [rax], rsi
lea rdx, [0x140040718]
lea rcx, [rsp + 0x50]
cmovne rdx, qword [rax]
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__wcsicmp]
nop dword [rax + rax]
test eax, eax
je 0x14002d7a8
mov rbx, qword [rbx + 8]
jmp 0x14002d772
mov rax, qword [rbx]
mov dword [rax + 0x114], r14d
jmp 0x14002d80e
mov rcx, r12
call fcn.1400012cc
test rax, rax
je 0x14002d80e
mov rcx, rax
call fcn.140029458
mov rbx, rax
test rax, rax
je 0x14002d80e
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.14001d218
mov dword [rbx + 0x114], r14d
test eax, eax
jne 0x14002d806
xor edx, edx
mov rcx, rbx
call fcn.14002c4fc
test eax, eax
je 0x14002d806
mov rdx, rbx
mov rcx, rdi
call fcn.140029a3c
test eax, eax
je 0x14002d80e
mov rcx, rbx
call fcn.1400299cc
lea r8, [rsp + 0x50]
mov ecx, 3
lea rdx, str.__Previous_service_is:__S._r_n
call fcn.140018ed8
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
lea rax, [rsp + 0x40]
mov r9d, r14d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareMicrosoftMediaPlayerPreferences
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x14002d982
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x38]
lea rax, [rsp + 0x50]
mov dword [rsp + 0x38], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.OEMServiceOverride11
mov dword [rsp + 0x30], 0x208
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x14002d971
cmp dword [rsp + 0x38], r14d
jne 0x14002d971
cmp word [rsp + 0x50], si
je 0x14002d971
mov rbx, qword [rdi + 0x10]
test rbx, rbx
je 0x14002d90f
mov rax, qword [rbx]
test rax, rax
je 0x14002d90f
cmp qword [rax], rsi
lea rdx, [0x140040718]
lea rcx, [rsp + 0x50]
cmovne rdx, qword [rax]
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__wcsicmp]
nop dword [rax + rax]
test eax, eax
je 0x14002d903
mov rbx, qword [rbx + 8]
jmp 0x14002d8cd
mov rax, qword [rbx]
mov dword [rax + 0x118], r14d
jmp 0x14002d95b
mov rcx, r12
call fcn.1400012cc
test rax, rax
je 0x14002d95b
mov rcx, rax
call fcn.140029458
mov rbx, rax
test rax, rax
je 0x14002d95b
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.14001d218
mov dword [rbx + 0x118], r14d
test eax, eax
jne 0x14002d953
mov rdx, rbx
mov rcx, rdi
call fcn.140029a3c
test eax, eax
je 0x14002d95b
mov rcx, rbx
call fcn.1400299cc
lea r8, [rsp + 0x50]
mov ecx, 3
lea rdx, str.__OEM_service_override_is:__S._r_n
call fcn.140018ed8
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.140001660
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r12
pop rbp
ret