Function at 0x140032fb4
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 r14
push r15
lea rbp, [rax - 0x188]
sub rsp, 0x270
mov rax, qword [0x1400592a0]
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.140019ae0
mov rdx, qword [rdi + 0x20]
test rdx, rdx
je 0x140033011
mov rcx, rdi
call fcn.140033484
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 r15d, 0x140
test eax, eax
jne 0x1400332e2
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 0x1400331af
cmp dword [rsp + 0x38], r14d
jne 0x1400331af
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 0x1400331af
cmp dword [rsp + 0x30], r14d
jne 0x1400331af
mov rbx, qword [rdi + 0x10]
cmp word [rsp + 0x50], si
je 0x140033199
jmp 0x14003313d
mov rax, qword [rbx]
test rax, rax
je 0x140033142
cmp qword [rax], rsi
lea rdx, [0x1400486c8]
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 0x14003320f
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x14003310a
mov rcx, r15
call fcn.140001460
test rax, rax
je 0x140033199
mov rcx, rax
call fcn.14002dcac
mov rbx, rax
test rax, rax
je 0x140033199
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.14001e0f8
mov dword [rbx + 0x110], r14d
test eax, eax
jne 0x140033186
mov rdx, rbx
mov rcx, rdi
call fcn.14002e28c
test eax, eax
je 0x140033199
mov rcx, rbx
call fcn.14002dde0
mov rdx, r15
mov rcx, rbx
call fcn.140001818
lea r8, [rsp + 0x50]
mov ecx, 3
lea rdx, str.__Legacy_service_is:__S._r_n
call fcn.140019b1c
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 0x1400332d1
cmp dword [rsp + 0x30], r14d
jne 0x1400332d1
mov rbx, qword [rdi + 0x10]
cmp word [rsp + 0x50], si
je 0x1400332bb
jmp 0x140033251
mov rax, qword [rbx]
mov dword [rax + 0x110], r14d
jmp 0x140033199
mov rax, qword [rbx]
test rax, rax
je 0x140033256
cmp qword [rax], rsi
lea rdx, [0x1400486c8]
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 0x14003337f
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x14003321e
mov rcx, r15
call fcn.140001460
test rax, rax
je 0x1400332bb
mov rcx, rax
call fcn.14002dcac
mov rbx, rax
test rax, rax
je 0x1400332bb
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.14001e0f8
mov dword [rbx + 0x114], r14d
test eax, eax
jne 0x1400332a8
xor edx, edx
mov rcx, rbx
call fcn.140031f10
test eax, eax
je 0x1400332a8
mov rdx, rbx
mov rcx, rdi
call fcn.14002e28c
test eax, eax
je 0x1400332bb
mov rcx, rbx
call fcn.14002dde0
mov rdx, r15
mov rcx, rbx
call fcn.140001818
lea r8, [rsp + 0x50]
mov ecx, 3
lea rdx, str.__Previous_service_is:__S._r_n
call fcn.140019b1c
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 0x140033444
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 0x140033433
cmp dword [rsp + 0x38], r14d
jne 0x140033433
movzx eax, word [rsp + 0x50]
test ax, ax
je 0x140033433
mov rbx, qword [rdi + 0x10]
jmp 0x1400333c1
mov rax, qword [rbx]
mov dword [rax + 0x114], r14d
jmp 0x1400332bb
mov rax, qword [rbx]
test rax, rax
je 0x1400333c6
cmp qword [rax], rsi
lea rdx, [0x1400486c8]
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 0x140033471
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x14003338e
mov rcx, r15
call fcn.140001460
test rax, rax
je 0x14003341d
mov rcx, rax
call fcn.14002dcac
mov rbx, rax
test rax, rax
je 0x14003341d
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.14001e0f8
mov dword [rbx + 0x118], r14d
test eax, eax
jne 0x14003340a
mov rdx, rbx
mov rcx, rdi
call fcn.14002e28c
test eax, eax
je 0x14003341d
mov rcx, rbx
call fcn.14002dde0
mov rdx, r15
mov rcx, rbx
call fcn.140001818
lea r8, [rsp + 0x50]
mov ecx, 3
lea rdx, str.__OEM_service_override_is:__S._r_n
call fcn.140019b1c
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.1400017f0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov rax, qword [rbx]
mov dword [rax + 0x118], r14d
jmp 0x14003341d