Function at 0x14004a794
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x7b0]
sub rsp, 0x8b0
mov rax, qword [0x140114ab8]
xor rax, rsp
mov qword [rbp + 0x7a0], rax
mov r13, r9
mov rbx, r8
mov rsi, rdx
mov r14, rcx
mov r15, qword [rbp + 0x810]
mov r12, qword [rbp + 0x818]
test r8, r8
je 0x14004b1c9
test r9, r9
je 0x14004b1c9
test r15, r15
je 0x14004b1c9
test r12, r12
je 0x14004b1c9
lea rcx, [rsp + 0x40]
call fcn.1400157f4
nop
and qword [rsp + 0x58], 0
lea r9, str.get_FrameProviderInfo__
mov r8, r15
mov rdx, r13
mov rcx, qword [rsp + 0x40]
call fcn.1400159f8
lea rax, [rsp + 0x40]
mov qword [rbp - 0x80], rax
mov byte [rbp - 0x78], 1
mov rax, qword [r12]
mov rdi, qword [rax + 0x30]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14004a867
and qword [rsp + 0x58], 0
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [0x1400de008]
nop
movabs r10, 0x8611365632df5370
lea rdx, [rsp + 0x58]
mov rcx, r12
mov rax, rdi
call qword [0x1400de008]
mov dword [rsp + 0x20], eax
test eax, eax
jns 0x14004a8af
lea rax, [rsp + 0x20]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x30]
call fcn.14004e3d8
mov edi, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
call fcn.140015ba4
nop
jmp 0x14004a8e7
mov rcx, qword [rsp + 0x40]
call fcn.140015ba4
nop
mov rdx, qword [rsp + 0x58]
mov rcx, r15
call fcn.14004c488
mov dword [rsp + 0x20], eax
test eax, eax
jns 0x14004a8ee
lea rax, [rsp + 0x20]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x30]
call fcn.14004e488
mov edi, dword [rsp + 0x20]
xor esi, esi
jmp 0x14004b177
mov qword [r14 + 0x10], rsi
cmp qword [r14 + 0x18], rbx
je 0x14004a93b
mov rax, qword [rbx]
movabs r10, 0xfd41b67356dad870
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [0x1400de008]
mov rcx, qword [r14 + 0x18]
mov qword [r14 + 0x18], rbx
xor esi, esi
test rcx, rcx
je 0x14004a939
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [0x1400de008]
nop
jmp 0x14004a93d
xor esi, esi
cmp qword [r14 + 0x20], r13
je 0x14004a983
mov rax, qword [r13]
movabs r10, 0xfd41b67356dad870
mov rcx, r13
mov rax, qword [rax + 8]
call qword [0x1400de008]
mov rcx, qword [r14 + 0x20]
mov qword [r14 + 0x20], r13
test rcx, rcx
je 0x14004a983
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [0x1400de008]
nop
cmp qword [r14 + 0x28], r15
je 0x14004a9c8
mov rax, qword [r15]
movabs r10, 0xfd41b67356dad870
mov rcx, r15
mov rax, qword [rax + 8]
call qword [0x1400de008]
mov rcx, qword [r14 + 0x28]
mov qword [r14 + 0x28], r15
test rcx, rcx
je 0x14004a9c8
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [0x1400de008]
nop
cmp qword [r14 + 0x30], r12
je 0x14004aa0e
mov rax, qword [r12]
movabs r10, 0xfd41b67356dad870
mov rcx, r12
mov rax, qword [rax + 8]
call qword [0x1400de008]
mov rcx, qword [r14 + 0x30]
mov qword [r14 + 0x30], r12
test rcx, rcx
je 0x14004aa0e
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [0x1400de008]
nop
mov qword [rsp + 0x48], rsi
lea r9, str.get_Properties__
mov r8, r15
mov rdx, r13
mov rcx, qword [rsp + 0x40]
call fcn.1400159f8
lea rax, [rsp + 0x40]
mov qword [rbp - 0x80], rax
mov byte [rbp - 0x78], 1
mov rbx, qword [r14 + 0x30]
mov rax, qword [rbx]
mov rdi, qword [rax + 0x40]
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x14004aa6c
mov qword [rsp + 0x48], rsi
mov rcx, qword [rdx]
mov rax, qword [rcx + 0x10]
movabs r10, 0xbaac1f10365eb170
mov rcx, rdx
call qword [0x1400de008]
nop
movabs r10, 0xe8ed0e4354d3fb70
lea rdx, [rsp + 0x48]
mov rcx, rbx
mov rax, rdi
call qword [0x1400de008]
mov dword [rsp + 0x20], eax
test eax, eax
jns 0x14004aab7
lea rax, [rsp + 0x20]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x30]
call fcn.14004e538
mov edi, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
call fcn.140015ba4
nop
jmp 0x14004b150
mov rcx, qword [rsp + 0x40]
call fcn.140015ba4
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
jne 0x14004ab69
mov qword [rsp + 0x60], rsi
mov rax, qword [r15]
mov rbx, qword [rax + 0x40]
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString]
nop dword [rax + rax]
mov qword [rsp + 0x60], rsi
movabs r10, 0x9138a6df765e3970
lea rdx, [rsp + 0x60]
mov rcx, r15
mov rax, rbx
call qword [0x1400de008]
mov dword [rsp + 0x30], eax
test eax, eax
jns 0x14004ab24
lea rax, [rsp + 0x30]
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x70]
call fcn.14004e5e8
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.14004b25c
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 0x14004b150
mov qword [rsp + 0x50], rsi
mov rax, qword [rcx]
movabs r10, 0xdee01e7974d59970
lea r8, [rsp + 0x50]
lea rdx, [0x1400fbe58]
mov rax, qword [rax]
call qword [0x1400de008]
nop
mov dword [rsp + 0x20], eax
test eax, eax
jns 0x14004abb2
lea rax, [rsp + 0x20]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x30]
call fcn.14004e698
jmp 0x14004ae8b
mov rsi, qword [r14 + 0x28]
mov rax, qword [rsi]
mov rdi, qword [rax + 0x30]
lea rbx, [r14 + 0x48]
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString]
nop dword [rax + rax]
and qword [rbx], 0
movabs r10, 0x919906e97cdc5170
mov rdx, rbx
mov rcx, rsi
mov rax, rdi
call qword [0x1400de008]
mov dword [rsp + 0x20], eax
test eax, eax
jns 0x14004ac0e
lea rax, [rsp + 0x20]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x30]
call fcn.14004e748
jmp 0x14004ae8b
mov rsi, qword [r14 + 0x28]
mov rax, qword [rsi]
mov rdi, qword [rax + 0x40]
lea rbx, [r14 + 0x50]
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString]
nop dword [rax + rax]
and qword [rbx], 0
movabs r10, 0x9138a6df765e3970
mov rdx, rbx
mov rcx, rsi
mov rax, rdi
call qword [0x1400de008]
mov dword [rsp + 0x20], eax
test eax, eax
jns 0x14004ac6a
lea rax, [rsp + 0x20]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x30]
call fcn.14004e7f8
jmp 0x14004ae8b
mov rsi, qword [r14 + 0x28]
mov rax, qword [rsi]
mov rdi, qword [rax + 0x50]
lea rbx, [r14 + 0x58]
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString]
nop dword [rax + rax]
and qword [rbx], 0
movabs r10, 0x886db6953055d070
mov rdx, rbx
mov rcx, rsi
mov rax, rdi
call qword [0x1400de008]
mov dword [rsp + 0x20], eax
test eax, eax
jns 0x14004acc6
lea rax, [rsp + 0x20]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x30]
call fcn.14004e8a8
jmp 0x14004ae8b
mov rcx, qword [r14 + 0x28]
mov rax, qword [rcx]
lea rdx, [r14 + 0x40]
movabs r10, 0x9fcc365478d1d270
mov rax, qword [rax + 0x70]
call qword [0x1400de008]
mov dword [rsp + 0x20], eax
test eax, eax
jns 0x14004ad06
lea rax, [rsp + 0x20]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x30]
call fcn.14004e958
jmp 0x14004ae8b
mov rdi, qword [r14 + 0x28]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x60]
lea rsi, [r14 + 0x38]
mov rcx, qword [rsi]
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString]
nop dword [rax + rax]
and qword [rsi], 0
movabs r10, 0xda8026ee765ae370
mov rdx, rsi
mov rcx, rdi
mov rax, rbx
call qword [0x1400de008]
mov dword [rsp + 0x20], eax
xor edi, edi
test eax, eax
jns 0x14004ad64
lea rax, [rsp + 0x20]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x30]
call fcn.14004ea08
jmp 0x14004ae8b
mov dword [rsp + 0x70], 0xbad
lea r10, str.Windows.Provider.KnownPerceptionFrameKind.Color
or rbx, 0xffffffffffffffff
mov rcx, rbx
inc rcx
cmp word [r10 + rcx*2], di
jne 0x14004ad7a
mov eax, 0xffffffff
cmp rcx, rax
ja 0x14004b1f9
lea eax, [rcx + 1]
cmp eax, ecx
jb 0x14004b204
lea r9, [rbp - 0x68]
lea r8, [rbp - 0x80]
mov edx, ecx
mov rcx, r10
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsCreateStringReference]
nop dword [rax + rax]
test eax, eax
js 0x14004b20f
lea r8, [rsp + 0x70]
mov rdx, qword [rbp - 0x68]
mov rcx, qword [rsi]
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 0x14004adf5
lea rax, [rsp + 0x20]
mov qword [rbp - 0x80], rax
lea rcx, [rbp - 0x80]
call fcn.14004eab8
jmp 0x14004ae8b
cmp dword [rsp + 0x70], edi
sete al
mov byte [r14 + 0xb0], al
mov dword [rsp + 0x60], 0xbad
lea r10, str.Windows.Provider.KnownPerceptionFrameKind.Depth
mov rcx, rbx
inc rcx
cmp word [r10 + rcx*2], di
jne 0x14004ae15
mov eax, 0xffffffff
cmp rcx, rax
ja 0x14004b248
lea eax, [rcx + 1]
cmp eax, ecx
jb 0x14004b217
lea r9, [rbp - 0x68]
lea r8, [rbp - 0x80]
mov edx, ecx
mov rcx, r10
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsCreateStringReference]
nop dword [rax + rax]
test eax, eax
js 0x14004b222
lea r8, [rsp + 0x60]
mov rdx, qword [rbp - 0x68]
mov rcx, qword [rsi]
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 0x14004ae96
lea rax, [rsp + 0x20]
mov qword [rbp - 0x80], rax
lea rcx, [rbp - 0x80]
call fcn.14004eb68
mov edi, dword [rsp + 0x20]
xor esi, esi
jmp 0x14004b129
cmp dword [rsp + 0x60], edi
sete al
mov byte [r14 + 0xb1], al
mov dword [rsp + 0x30], 0xbad
lea rcx, str.Windows.Provider.KnownPerceptionFrameKind.Infrared
inc rbx
cmp word [rcx + rbx*2], di
jne 0x14004aeb3
mov eax, 0xffffffff
cmp rbx, rax
ja 0x14004b23d
lea eax, [rbx + 1]
cmp eax, ebx
jb 0x14004b22a
lea r9, [rbp - 0x68]
lea r8, [rbp - 0x80]
mov edx, ebx
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsCreateStringReference]
nop dword [rax + rax]
test eax, eax
js 0x14004b235
lea r8, [rsp + 0x30]
mov rdx, qword [rbp - 0x68]
mov rcx, qword [rsi]
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsCompareStringOrdinal]
nop dword [rax + rax]
mov dword [rsp + 0x20], eax
xor esi, esi
test eax, eax
jns 0x14004af30
lea rax, [rsp + 0x20]
mov qword [rbp - 0x80], rax
lea rcx, [rbp - 0x80]
call fcn.14004ec18
mov edi, dword [rsp + 0x20]
jmp 0x14004b129
cmp dword [rsp + 0x30], esi
sete al
mov byte [r14 + 0xb2], al
cmp byte [r14 + 0xb0], sil
jne 0x14004af63
cmp byte [r14 + 0xb1], sil
jne 0x14004af63
test al, al
jne 0x14004af63
call fcn.14004ecc8
mov edi, 0x80070057
jmp 0x14004b129
lea rax, [0x14004c910]
mov qword [rbp - 0x80], rax
mov dword [rbp - 0x78], esi
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rsp + 0x30], xmm0
lea r8, [rsp + 0x30]
mov rdx, r14
lea rcx, [rbp - 0x80]
call fcn.14004ed70
nop
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
lea r8, [r14 + 0x60]
movabs r10, 0xb1bd3e991ed4a070
mov rbx, qword [rbp - 0x80]
mov rdx, rbx
mov rax, qword [rax + 0x30]
call qword [0x1400de008]
mov dword [rsp + 0x30], eax
test eax, eax
jns 0x14004afd3
lea rax, [rsp + 0x30]
mov qword [rbp - 0x80], rax
lea rcx, [rbp - 0x80]
call fcn.14004ee48
jmp 0x14004b0e2
lea r9, str.get_Available__
mov r8, r15
mov rdx, r13
mov rcx, qword [rsp + 0x40]
call fcn.1400159f8
lea rax, [rsp + 0x40]
mov qword [rsp + 0x60], rax
mov byte [rsp + 0x68], 1
mov rax, qword [r12]
lea rdx, [r14 + 0xa0]
movabs r10, 0xb0c8a7be70d0a070
mov rcx, r12
mov rax, qword [rax + 0x38]
call qword [0x1400de008]
mov dword [rsp + 0x30], eax
test eax, eax
jns 0x14004b04b
lea rax, [rsp + 0x30]
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x60]
call fcn.14004eef8
mov edi, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
call fcn.140015ba4
nop
jmp 0x14004b109
mov rcx, qword [rsp + 0x40]
call fcn.140015ba4
nop
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x48], rsi
mov rcx, qword [r14 + 0x90]
mov qword [r14 + 0x90], rax
test rcx, rcx
je 0x14004b08b
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [0x1400de008]
nop
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], rsi
mov rcx, qword [r14 + 0x98]
mov qword [r14 + 0x98], rax
test rcx, rcx
je 0x14004b0c0
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [0x1400de008]
nop
mov rcx, r14
call fcn.14004cb08
mov dword [rsp + 0x30], eax
test eax, eax
jns 0x14004b0e8
lea rax, [rsp + 0x30]
mov qword [rbp - 0x80], rax
lea rcx, [rbp - 0x80]
call fcn.14004efa8
mov edi, dword [rsp + 0x30]
jmp 0x14004b109
mov rcx, r14
call fcn.14004d378
test eax, eax
jns 0x14004b107
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, esi
test rbx, rbx
je 0x14004b129
mov rax, qword [rbx]
movabs r10, 0xbaac1f10365eb170
mov rcx, rbx
mov rax, qword [rax + 0x10]
call qword [0x1400de008]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14004b150
mov qword [rsp + 0x50], rsi
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [0x1400de008]
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14004b177
mov qword [rsp + 0x48], rsi
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [0x1400de008]
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14004b19e
mov qword [rsp + 0x58], rsi
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [0x1400de008]
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14004b1c5
mov qword [rsp + 0x40], rsi
mov rdx, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rdx + 0x10]
call qword [0x1400de008]
nop
mov eax, edi
jmp 0x14004b1ce
mov eax, 0x80070057
mov rcx, qword [rbp + 0x7a0]
xor rcx, rsp
call fcn.1400d2540
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.14000ebc0
int3
mov ecx, 0x80070216
call fcn.14000ebc0
int3
mov ecx, eax
call fcn.14000ebc0
int3
mov ecx, 0x80070216
call fcn.14000ebc0
int3
mov ecx, eax
call fcn.14000ebc0
int3
mov ecx, 0x80070216
call fcn.14000ebc0
int3
mov ecx, eax
call fcn.14000ebc0
int3
mov ecx, 0x80070216
call fcn.14000ebc0
int3
mov ecx, 0x80070216
call fcn.14000ebc0
int3