Function at 0x140045628
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x7e8]
sub rsp, 0x8b0
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rax, qword [0x14012aab8]
xor rax, rsp
mov qword [rbp + 0x7a0], rax
mov r15, r9
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
mov r14, qword [rbp + 0x810]
mov r12, qword [rbp + 0x818]
xor r13d, r13d
test r8, r8
je 0x140045f11
test r9, r9
je 0x140045f11
test r14, r14
je 0x140045f11
test r12, r12
je 0x140045f11
lea rcx, [rsp + 0x40]
call fcn.140013a58
nop
mov qword [rsp + 0x58], r13
lea r9, str.get_FrameProviderInfo__
mov r8, r14
mov rdx, r15
mov rcx, qword [rsp + 0x40]
call fcn.140013c4c
lea rax, [rsp + 0x40]
mov qword [rbp - 0x80], rax
mov byte [rbp - 0x78], 1
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1400456f3
mov qword [rsp + 0x58], r13
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400549ae.0]
mov rax, qword [r12]
lea rdx, [rsp + 0x58]
mov rcx, r12
mov rax, qword [rax + 0x30]
call qword [case.0x1400549ae.0]
mov dword [rsp + 0x20], eax
test eax, eax
jns 0x140045738
lea rax, [rsp + 0x20]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x30]
call fcn.140048e50
mov edi, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
call fcn.140013dc4
jmp 0x140045ed4
mov rcx, qword [rsp + 0x40]
call fcn.140013dc4
mov rdx, qword [rsp + 0x58]
mov rcx, r14
call fcn.140046f94
mov dword [rsp + 0x20], eax
test eax, eax
jns 0x140045774
lea rax, [rsp + 0x20]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x30]
call fcn.140048f00
mov edi, dword [rsp + 0x20]
jmp 0x140045ed4
mov qword [rsi + 0x10], rdi
cmp qword [rsi + 0x18], rbx
je 0x1400457a8
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x1400549ae.0]
mov rcx, qword [rsi + 0x18]
mov qword [rsi + 0x18], rbx
test rcx, rcx
je 0x1400457a8
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400549ae.0]
cmp qword [rsi + 0x20], r15
je 0x1400457d8
mov rax, qword [r15]
mov rcx, r15
mov rax, qword [rax + 8]
call qword [case.0x1400549ae.0]
mov rcx, qword [rsi + 0x20]
mov qword [rsi + 0x20], r15
test rcx, rcx
je 0x1400457d8
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400549ae.0]
cmp qword [rsi + 0x28], r14
je 0x140045808
mov rax, qword [r14]
mov rcx, r14
mov rax, qword [rax + 8]
call qword [case.0x1400549ae.0]
mov rcx, qword [rsi + 0x28]
mov qword [rsi + 0x28], r14
test rcx, rcx
je 0x140045808
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400549ae.0]
cmp qword [rsi + 0x30], r12
je 0x140045839
mov rax, qword [r12]
mov rcx, r12
mov rax, qword [rax + 8]
call qword [case.0x1400549ae.0]
mov rcx, qword [rsi + 0x30]
mov qword [rsi + 0x30], r12
test rcx, rcx
je 0x140045839
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400549ae.0]
mov qword [rsp + 0x48], r13
lea r9, str.get_Properties__
mov r8, r14
mov rdx, r15
mov rcx, qword [rsp + 0x40]
call fcn.140013c4c
lea rax, [rsp + 0x40]
mov qword [rbp - 0x80], rax
mov byte [rbp - 0x78], 1
mov rbx, qword [rsi + 0x30]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140045882
mov qword [rsp + 0x48], r13
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400549ae.0]
mov rax, qword [rbx]
lea rdx, [rsp + 0x48]
mov rcx, rbx
mov rax, qword [rax + 0x40]
call qword [case.0x1400549ae.0]
mov dword [rsp + 0x20], eax
test eax, eax
jns 0x1400458c6
lea rax, [rsp + 0x20]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x30]
call fcn.140048fb0
mov edi, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
call fcn.140013dc4
jmp 0x140045eb7
mov rcx, qword [rsp + 0x40]
call fcn.140013dc4
mov rcx, qword [rsp + 0x48]
test rcx, rcx
jne 0x14004596a
mov qword [rsp + 0x60], r13
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString]
nop dword [rax + rax]
mov qword [rsp + 0x60], r13
mov rax, qword [r14]
lea rdx, [rsp + 0x60]
mov rcx, r14
mov rax, qword [rax + 0x40]
call qword [case.0x1400549ae.0]
mov dword [rsp + 0x30], eax
test eax, eax
jns 0x140045925
lea rax, [rsp + 0x30]
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x70]
call fcn.140049060
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp - 0x60]
call sub.msvcrt.dll_memset
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x30]
call fcn.140045fa4
nop
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString]
nop dword [rax + rax]
mov edi, 0x80004005
jmp 0x140045eb7
mov qword [rsp + 0x50], r13
mov rax, qword [rcx]
lea r8, [rsp + 0x50]
lea rdx, [0x1400f5778]
mov rax, qword [rax]
call qword [case.0x1400549ae.0]
mov dword [rsp + 0x20], eax
test eax, eax
jns 0x1400459a8
lea rax, [rsp + 0x20]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x30]
call fcn.140049110
jmp 0x140045ccc
mov rdi, qword [rsi + 0x28]
lea rbx, [rsi + 0x48]
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString]
nop dword [rax + rax]
mov qword [rbx], r13
mov rax, qword [rdi]
mov rdx, rbx
mov rcx, rdi
mov rax, qword [rax + 0x30]
call qword [case.0x1400549ae.0]
mov dword [rsp + 0x20], eax
test eax, eax
jns 0x1400459f6
lea rax, [rsp + 0x20]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x30]
call fcn.1400491c0
jmp 0x140045ccc
mov rdi, qword [rsi + 0x28]
lea rbx, [rsi + 0x50]
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString]
nop dword [rax + rax]
mov qword [rbx], r13
mov rax, qword [rdi]
mov rdx, rbx
mov rcx, rdi
mov rax, qword [rax + 0x40]
call qword [case.0x1400549ae.0]
mov dword [rsp + 0x20], eax
test eax, eax
jns 0x140045a44
lea rax, [rsp + 0x20]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x30]
call fcn.140049270
jmp 0x140045ccc
mov rdi, qword [rsi + 0x28]
lea rbx, [rsi + 0x58]
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString]
nop dword [rax + rax]
mov qword [rbx], r13
mov rax, qword [rdi]
mov rdx, rbx
mov rcx, rdi
mov rax, qword [rax + 0x50]
call qword [case.0x1400549ae.0]
mov dword [rsp + 0x20], eax
test eax, eax
jns 0x140045a92
lea rax, [rsp + 0x20]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x30]
call fcn.140049320
jmp 0x140045ccc
mov rcx, qword [rsi + 0x28]
mov rax, qword [rcx]
lea rdx, [rsi + 0x40]
mov rax, qword [rax + 0x70]
call qword [case.0x1400549ae.0]
mov dword [rsp + 0x20], eax
test eax, eax
jns 0x140045ac8
lea rax, [rsp + 0x20]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x30]
call fcn.1400493d0
jmp 0x140045ccc
mov rbx, qword [rsi + 0x28]
lea rdi, [rsi + 0x38]
mov rcx, qword [rdi]
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString]
nop dword [rax + rax]
mov qword [rdi], r13
mov rax, qword [rbx]
mov rdx, rdi
mov rcx, rbx
mov rax, qword [rax + 0x60]
call qword [case.0x1400549ae.0]
mov dword [rsp + 0x20], eax
test eax, eax
jns 0x140045b16
lea rax, [rsp + 0x20]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x30]
call fcn.140049480
jmp 0x140045ccc
mov dword [rsp + 0x70], 0xbad
lea rcx, str.Windows.Provider.KnownPerceptionFrameKind.Color
or rbx, 0xffffffffffffffff
mov rax, rbx
inc rax
cmp word [rcx + rax*2], r13w
jne 0x140045b2c
mov edx, 0xffffffff
cmp rax, rdx
ja 0x140045f41
lea edx, [rax + 1]
cmp edx, eax
jb 0x140045f90
dec edx
lea r9, [rbp - 0x68]
lea r8, [rbp - 0x80]
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsCreateStringReference]
nop dword [rax + rax]
test eax, eax
js 0x140045f4c
lea r8, [rsp + 0x70]
mov rdx, qword [rbp - 0x68]
mov rcx, qword [rdi]
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsCompareStringOrdinal]
nop dword [rax + rax]
mov dword [rsp + 0x20], eax
test eax, eax
jns 0x140045ba4
lea rax, [rsp + 0x20]
mov qword [rbp - 0x80], rax
lea rcx, [rbp - 0x80]
call fcn.140049530
jmp 0x140045ccc
cmp dword [rsp + 0x70], r13d
sete al
mov byte [rsi + 0xb0], al
mov dword [rsp + 0x60], 0xbad
lea rcx, str.Windows.Provider.KnownPerceptionFrameKind.Depth
mov rax, rbx
inc rax
cmp word [rcx + rax*2], r13w
jne 0x140045bc4
mov edx, 0xffffffff
cmp rax, rdx
ja 0x140045f85
lea edx, [rax + 1]
cmp edx, eax
jb 0x140045f7a
dec edx
lea r9, [rbp - 0x68]
lea r8, [rbp - 0x80]
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsCreateStringReference]
nop dword [rax + rax]
test eax, eax
js 0x140045f54
lea r8, [rsp + 0x60]
mov rdx, qword [rbp - 0x68]
mov rcx, qword [rdi]
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsCompareStringOrdinal]
nop dword [rax + rax]
mov dword [rsp + 0x20], eax
test eax, eax
jns 0x140045c3c
lea rax, [rsp + 0x20]
mov qword [rbp - 0x80], rax
lea rcx, [rbp - 0x80]
call fcn.1400495e0
jmp 0x140045ccc
cmp dword [rsp + 0x60], r13d
sete al
mov byte [rsi + 0xb1], al
mov dword [rsp + 0x30], 0xbad
lea rcx, str.Windows.Provider.KnownPerceptionFrameKind.Infrared
inc rbx
cmp word [rcx + rbx*2], r13w
jne 0x140045c59
mov eax, 0xffffffff
cmp rbx, rax
ja 0x140045f6f
lea edx, [rbx + 1]
cmp edx, ebx
jb 0x140045f64
dec edx
lea r9, [rbp - 0x68]
lea r8, [rbp - 0x80]
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsCreateStringReference]
nop dword [rax + rax]
test eax, eax
js 0x140045f5c
lea r8, [rsp + 0x30]
mov rdx, qword [rbp - 0x68]
mov rcx, qword [rdi]
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsCompareStringOrdinal]
nop dword [rax + rax]
mov dword [rsp + 0x20], eax
test eax, eax
jns 0x140045cd5
lea rax, [rsp + 0x20]
mov qword [rbp - 0x80], rax
lea rcx, [rbp - 0x80]
call fcn.140049690
mov edi, dword [rsp + 0x20]
jmp 0x140045e9a
cmp dword [rsp + 0x30], r13d
sete al
mov byte [rsi + 0xb2], al
cmp byte [rsi + 0xb0], r13b
jne 0x140045d08
cmp byte [rsi + 0xb1], r13b
jne 0x140045d08
test al, al
jne 0x140045d08
call fcn.140049740
mov edi, 0x80070057
jmp 0x140045e9a
lea rax, [0x1400473a0]
mov qword [rbp - 0x80], rax
mov dword [rbp - 0x78], r13d
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rsp + 0x30], xmm0
lea r8, [rsp + 0x30]
mov rdx, rsi
lea rcx, [rbp - 0x80]
call fcn.1400497e8
nop
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
lea r8, [rsi + 0x60]
mov rbx, qword [rbp - 0x80]
mov rdx, rbx
mov rax, qword [rax + 0x30]
call qword [case.0x1400549ae.0]
mov dword [rsp + 0x30], eax
test eax, eax
jns 0x140045d6f
lea rax, [rsp + 0x30]
mov qword [rbp - 0x80], rax
lea rcx, [rbp - 0x80]
call fcn.1400498c4
jmp 0x140045e5c
lea r9, str.get_Available__
mov r8, r14
mov rdx, r15
mov rcx, qword [rsp + 0x40]
call fcn.140013c4c
lea rax, [rsp + 0x40]
mov qword [rsp + 0x60], rax
mov byte [rsp + 0x68], 1
mov rax, qword [r12]
lea rdx, [rsi + 0xa0]
mov rcx, r12
mov rax, qword [rax + 0x38]
call qword [case.0x1400549ae.0]
mov dword [rsp + 0x30], eax
test eax, eax
jns 0x140045ddc
lea rax, [rsp + 0x30]
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x60]
call fcn.140049974
mov edi, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
call fcn.140013dc4
jmp 0x140045e84
mov rcx, qword [rsp + 0x40]
call fcn.140013dc4
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x48], r13
mov rcx, qword [rsi + 0x90]
mov qword [rsi + 0x90], rax
test rcx, rcx
je 0x140045e10
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400549ae.0]
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], r13
mov rcx, qword [rsi + 0x98]
mov qword [rsi + 0x98], rax
test rcx, rcx
je 0x140045e3a
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400549ae.0]
mov rcx, rsi
call fcn.140047560
mov dword [rsp + 0x30], eax
test eax, eax
jns 0x140045e62
lea rax, [rsp + 0x30]
mov qword [rbp - 0x80], rax
lea rcx, [rbp - 0x80]
call fcn.140049a24
mov edi, dword [rsp + 0x30]
jmp 0x140045e84
mov rcx, rsi
call fcn.140047d80
test eax, eax
jns 0x140045e81
lea rcx, str.Detected_an_invalid_VideoProfile_n
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
nop dword [rax + rax]
mov edi, r13d
test rbx, rbx
je 0x140045e9a
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x10]
call qword [case.0x1400549ae.0]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140045eb7
mov qword [rsp + 0x50], r13
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400549ae.0]
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140045ed4
mov qword [rsp + 0x48], r13
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400549ae.0]
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140045ef1
mov qword [rsp + 0x58], r13
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400549ae.0]
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140045f0d
mov qword [rsp + 0x40], r13
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x10]
call qword [case.0x1400549ae.0]
mov eax, edi
jmp 0x140045f16
mov eax, 0x80070057
mov rcx, qword [rbp + 0x7a0]
xor rcx, rsp
call fcn.1400c9570
mov rbx, qword [rsp + 0x8f8]
add rsp, 0x8b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80070216
call fcn.14000df60
int3
mov ecx, eax
call fcn.14000df60
int3
mov ecx, eax
call fcn.14000df60
int3
mov ecx, eax
call fcn.14000df60
int3
mov ecx, 0x80070216
call fcn.14000df60
int3
mov ecx, 0x80070216
call fcn.14000df60
int3
mov ecx, 0x80070216
call fcn.14000df60
int3
mov ecx, 0x80070216
call fcn.14000df60
int3
mov ecx, 0x80070216
call fcn.14000df60
int3