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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x70
mov qword [rcx + 0xd0], rdx
mov r8d, dword [rdx]
mov rbx, rdx
mov rdi, rcx
mov dword [rcx + 0xc8], r8d
lea rdx, str.CRecorder__d_::FinalConstruct
mov ecx, 8
call fcn.140001110
mov rcx, qword [rbx + 0x248]
xor r12d, r12d
mov qword [rdi + 0x100], rcx
cmp rcx, r12
je 0x14001b18b
mov rax, qword [rcx]
call qword [rax + 8]
mov r8, qword [rdi + 0x100]
lea rdx, str.CRecorderInfo::SetRecorderObject_this_0x_x__m_pRecorderObj_0x_x_
mov r9, rdi
mov ecx, 4
mov qword [r8 + 0x18], rdi
call fcn.140001110
xor r9d, r9d
xor r8d, r8d
lea esi, [r9 + 1]
xor ecx, ecx
mov edx, esi
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rdi + 0x110], rax
cmp rax, r12
je 0x14001b1ad
mov ecx, dword [rdi + 0xc8]
lea r8, [rsp + 0x60]
mov rdx, rax
mov qword [rsp + 0x60], r12
call fcn.140011270
cmp eax, r12d
mov ebx, eax
jl 0x14001b1ec
mov rbp, qword [rsp + 0x60]
lea rax, [rdi + 0x108]
lea r8, [0x140002d70]
mov qword [rsp + 0x28], rax
mov edx, 0x10000
xor ecx, ecx
mov r9, rbp
mov dword [rsp + 0x20], r12d
call qword [sym.imp.KERNEL32.dll_CreateThread]
cmp rax, r12
je 0x14001b1f8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor r8d, r8d
mov edx, esi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateWaitableTimerW]
mov qword [rdi + 0x120], rax
cmp rax, r12
je 0x14001b24f
lea r8, [rsp + 0xb0]
lea rcx, [rdi + 0x98]
or ebx, 0xffffffff
mov rax, qword [rcx]
mov qword [rsp + 0x48], r8
lea r8, [rsp + 0xa8]
mov qword [rsp + 0x40], r8
lea r8, [rsp + 0xa0]
lea rdx, [rdi + 0xf0]
mov qword [rsp + 0x38], r8
lea r8, [rsp + 0x54]
xor r9d, r9d
mov qword [rsp + 0x30], r8
lea r8, [rsp + 0x50]
mov dword [rsp + 0x50], ebx
mov qword [rsp + 0x28], r8
xor r8d, r8d
mov dword [rsp + 0x54], ebx
mov word [rsp + 0xa0], r12w
mov word [rsp + 0xa8], r12w
mov word [rsp + 0xb0], r12w
mov qword [rsp + 0x20], r12
call qword [rax + 0x98]
cmp eax, r12d
mov ebp, eax
jl 0x14001b261
movzx eax, word [rsp + 0x50]
mov rcx, qword [rdi + 0xd0]
or rdx, 0xffffffffffffffff
mov word [rcx + 0x198], ax
movzx eax, word [rsp + 0x54]
mov rcx, qword [rdi + 0xd0]
mov word [rcx + 0x19a], ax
cmp word [rsp + 0xa0], dx
mov rcx, qword [rdi + 0xd0]
mov eax, r12d
sete al
add eax, eax
xor eax, dword [rcx + 0x19c]
and eax, 2
xor dword [rcx + 0x19c], eax
cmp word [rsp + 0xa8], dx
mov rcx, qword [rdi + 0xd0]
mov eax, r12d
sete al
shl eax, 2
xor eax, dword [rcx + 0x19c]
and eax, 4
xor dword [rcx + 0x19c], eax
cmp word [rsp + 0xb0], dx
mov rcx, qword [rdi + 0xd0]
mov eax, r12d
sete al
shl eax, 3
xor eax, dword [rcx + 0x19c]
and eax, 8
xor dword [rcx + 0x19c], eax
mov rax, qword [rdi + 0xd0]
mov dword [rax + 0x1a0], r12d
mov rax, qword [rdi + 0xd0]
cmp dword [rax + 0x1ac], ebx
jne 0x140011168
mov dword [rax + 0x1ac], 0x895440
mov eax, 0x3333
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionMedia_CenterServiceVideo
mov r9d, 0x20019
mov dword [rdi + 0x170], eax
mov dword [rdi + 0x174], eax
lea rax, [rsp + 0x68]
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov dword [rsp + 0xb8], r12d
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x68], r12
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, r12d
jne 0x140011259
mov rbx, qword [rsp + 0x68]
lea rax, [rsp + 0x58]
lea r9, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xb8]
lea rdx, str.VideoLowBitrate
xor r8d, r8d
mov rcx, rbx
mov dword [rsp + 0x58], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r11d, dword [rsp + 0xb8]
cmp r11d, r12d
jne 0x14001b27e
lea rax, [rsp + 0x58]
lea r9, [rsp + 0x60]
lea rdx, str.AudioLowBitrate
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xb8]
xor r8d, r8d
mov rcx, rbx
mov dword [rsp + 0x58], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r11d, dword [rsp + 0xb8]
cmp r11d, r12d
jne 0x14001b28a
cmp rbx, r12
je 0x140011259
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebp
add rsp, 0x70
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov r8d, dword [rdi + 0xc8]
lea rdx, str.CRecorder__d_::FinalConstruct:_pRecInfo__m_pRecorderInfoObj_is_NULL.
lea ecx, [r12 + 1]
call fcn.140001110
mov eax, 0x8007000e
jmp 0x14001125b
or rdx, 0xffffffffffffffff
mov qword [rdi + 0x110], rdx
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.CRecorder__d_::FinalConstruct:_cannot_create_event__0x_x
movzx ebx, ax
or ebx, 0x80070000
cmp eax, r12d
cmovle ebx, eax
mov r9d, ebx
mov r8d, dword [rdi + 0xc8]
mov ecx, esi
call fcn.140001110
mov eax, ebx
jmp 0x14001125b
mov r9d, eax
lea rdx, str.CRecorder__d_::FinalConstruct:_CEventingThreadData::CreateInstance___returned_0x_x
jmp 0x14001b1d7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, dword [rdi + 0xc8]
lea rdx, str.CRecorder__d_::FinalConstruct:_cannot_create_thread__0x_x
movzx ebx, ax
mov ecx, esi
or ebx, 0x80070000
cmp eax, r12d
cmovle ebx, eax
mov r9d, ebx
call fcn.140001110
cmp rbp, r12
je 0x14001b1e5
mov rcx, qword [rbp + 8]
cmp rcx, r12
je 0x14001b239
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbp
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x14001b1e5
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.CRecorder__d_::FinalConstruct:_cannot_create_WaitableTimer__0x_x
jmp 0x14001b1c5
mov r8d, dword [rdi + 0xc8]
lea rdx, str.CRecorder__d_::FinalConstruct:_Failed_to_get_recorder_config__0x_x.
mov r9d, eax
mov ecx, esi
call fcn.140001110
jmp 0x140011259
mov dword [rdi + 0x170], r11d
jmp 0x140011203
mov dword [rdi + 0x174], r11d
jmp 0x14001124b