Function at 0x7ffb9689849c
Capabilities:
Create thread
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x80
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rsi, rcx
lea rax, [0x7ffb968c9f28]
mov qword [rsp + 0x20], rax
lea r9, [rcx + 0x201d8]
lea rdx, str.iTV_Data_Capture_filter
call fcn.7ffb96897590
nop
lea rax, [0x7ffb968c8590]
mov qword [rsi], rax
lea rax, [0x7ffb968c8860]
mov qword [rsi + 0x18], rax
lea rax, [0x7ffb968ca860]
mov qword [rsi + 0x20], rax
lea rax, [0x7ffb968c8648]
mov qword [rsi + 0x78], rax
lea rax, [0x7ffb968c86b0]
mov qword [rsi + 0x80], rax
lea r13, [rsi + 0x88]
xor r14d, r14d
mov qword [r13], r14
lea r12, [rsi + 0x90]
mov qword [r12], r14
mov qword [rsi + 0x98], r14
mov qword [rsi + 0xa0], r14
mov qword [rsi + 0xa8], r14
mov qword [rsi + 0xb0], r14
mov qword [rsi + 0xb8], r14
mov qword [rsi + 0xc0], r14
lea rcx, [rsi + 0xd0]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
nop
movdqu xmm0, xmmword [0x7ffb968c8668]
movdqu xmmword [rsi + 0xf8], xmm0
mov dword [rsi + 0x108], r14d
mov qword [rsi + 0x110], r14
mov qword [rsi + 0x118], r14
mov qword [rsi + 0x120], r14
mov qword [rsi + 0x128], r14
lea rcx, [rsi + 0x130]
mov rbp, qword [rsp + 0xd0]
mov r8, rbp
xor edx, edx
call fcn.7ffb9689820c
nop
mov dword [rsi + 0x138], r14d
mov dword [rsi + 0x20164], 0xffff
lea rcx, [rsi + 0x20168]
call fcn.7ffb96897500
mov qword [rsi + 0x20170], rax
mov byte [rax + 0x21], 1
mov rax, qword [rsi + 0x20170]
mov qword [rax + 8], rax
mov rax, qword [rsi + 0x20170]
mov qword [rax], rax
mov rax, qword [rsi + 0x20170]
mov qword [rax + 0x10], rax
mov qword [rsi + 0x20178], r14
lea rcx, [rsi + 0x20180]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
nop
mov dword [rsi + 0x201a8], 1
mov dword [rsi + 0x201ac], r14d
mov qword [rsi + 0x201b0], r14
mov qword [rsi + 0x201b8], r14
mov byte [rsi + 0x201c4], r14b
movdqu xmm0, xmmword [0x7ffb968c8668]
movdqu xmmword [rsi + 0x201c8], xmm0
lea rcx, [rsi + 0x201d8]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
nop
cmp dword [rbp], r14d
jl 0x7ffb9689891f
mov qword [rsp + 0x20], r13
lea r9, [0x7ffb968c99c8]
xor edx, edx
lea r8d, [r14 + 0x17]
lea rcx, [0x7ffb968c99b8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov rcx, qword [r13]
lea edi, [r14 + 4]
cmp rcx, r14
je 0x7ffb968986e0
movdqu xmm0, xmmword [0x7ffb968c99a8]
movdqu xmmword [rsp + 0x70], xmm0
mov rax, qword [rcx]
xor r8d, r8d
lea rdx, [rsp + 0x70]
call qword [rax + 0x18]
mov rbx, qword [r13]
cmp rbx, r14
je 0x7ffb968986e0
mov rcx, qword [r12]
cmp rcx, r14
jne 0x7ffb968a130d
mov qword [r12], r14
mov rax, qword [rbx]
mov qword [rsp + 0x20], r12
xor r9d, r9d
mov r8d, edi
xor edx, edx
mov rcx, rbx
call qword [rax + 0x20]
cmp qword [rsi + 0x50], r14
je 0x7ffb968a131c
mov ecx, 0x168
call fcn.7ffb96891130
mov qword [rsp + 0xd0], rax
cmp rax, r14
je 0x7ffb968a1329
mov qword [rsp + 0x20], rbp
mov r9, qword [rsi + 0x50]
mov r8, rsi
lea rdx, str.iTV_Data_In
mov rcx, rax
call fcn.7ffb96897d14
jmp 0x7ffb96898722
mov qword [rsi + 0x98], rax
cmp rax, r14
je 0x7ffb968a13f0
mov eax, dword [rbp]
cmp eax, r14d
jl 0x7ffb968a13f5
mov ecx, 0xf0
call fcn.7ffb96891130
mov rbx, rax
mov qword [rsp + 0xd0], rax
cmp rax, r14
je 0x7ffb968a1331
lea rax, str.iTV_Data_Out
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbp
mov r9, qword [rsi + 0x50]
mov r8, rsi
xor edx, edx
mov rcx, rbx
call fcn.7ffb968981c0
lea r11, [0x7ffb968c84d0]
mov qword [rbx], r11
lea rax, [0x7ffb968c8b90]
mov qword [rbx + 0x18], rax
lea rax, [0x7ffb968ca7e8]
mov qword [rbx + 0x20], rax
mov qword [rbx + 0xe8], rsi
jmp 0x7ffb968987a7
mov qword [rsi + 0xa0], rbx
cmp rbx, r14
je 0x7ffb968a13e3
mov eax, dword [rbp]
cmp eax, r14d
jl 0x7ffb968a13e8
mov ecx, 0x100
mov qword [rsi + 0x128], rcx
mov eax, 8
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.7ffb96891190
mov qword [rsi + 0x110], rax
cmp rax, r14
je 0x7ffb968a1339
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r14d
mov r9, rsi
lea r8, [0x7ffb96897fc0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsi + 0x140], rax
cmp rax, r14
je 0x7ffb968a1346
mov ecx, r14d
mov dword [rbp], ecx
mov rbx, r14
mov qword [rsp + 0x50], r14
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov ebp, 0x20019
mov r9d, ebp
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionMedia_CenterServiceITV
mov r12, 0xffffffff80000002
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, r14d
je 0x7ffb968a1360
cmp byte [rsi + 0x201c4], r14b
jne 0x7ffb968a13c2
cmp rbx, r14
jne 0x7ffb968a13d4
mov rcx, rsi
call fcn.7ffb96898944
mov qword [rsp + 0x48], r14
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, ebp
xor r8d, r8d
lea rdx, [0x7ffb968ca8e0]
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, r14d
jne 0x7ffb9689891f
mov rbx, qword [rsp + 0x48]
mov dword [rsp + 0x34], r14d
mov dword [rsp + 0x38], edi
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x3c]
xor r8d, r8d
lea rdx, str.fAllowDvbsMHEG
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, r14d
jne 0x7ffb96898900
cmp dword [rsp + 0x3c], edi
jne 0x7ffb9689890f
mov eax, r14d
cmp eax, r14d
jne 0x7ffb9689890f
mov eax, dword [rsp + 0x34]
mov dword [rsi + 0x108], eax
cmp rbx, r14
je 0x7ffb9689891f
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x7ffb9689891f
mov rax, rsi
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [r12], r14
jmp 0x7ffb968986c6
mov eax, 0x8007000e
mov dword [rbp], eax
jmp 0x7ffb9689891f
mov rax, r14
jmp 0x7ffb96898722
mov rbx, r14
jmp 0x7ffb968987a7
mov eax, 0x8007000e
mov dword [rbp], eax
jmp 0x7ffb9689891f
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
cmp eax, r14d
cmovle ecx, eax
jmp 0x7ffb96898830
mov rbx, qword [rsp + 0x50]
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x40], edi
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x5c]
xor r8d, r8d
lea rdx, str.ForceDetection
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [rsp + 0x30], r14d
setne al
mov byte [rsi + 0x201c4], al
cmp rbx, r14
je 0x7ffb96898870
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, r14
jmp 0x7ffb96898870
lea rcx, str.__ITV_F__FORCED_DETECTION_FLAG_IS_SET____
call fcn.7ffb968911f4
nop
jmp 0x7ffb9689887d
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
jmp 0x7ffb96898886
mov eax, 0x8007000e
mov dword [rbp], eax
jmp 0x7ffb9689891f
mov eax, 0x8007000e
mov dword [rbp], eax
jmp 0x7ffb9689891f