Function at 0x14004a924
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 [0x140115ab8]
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 0x14004b35d
test r9, r9
je 0x14004b35d
test r15, r15
je 0x14004b35d
test r12, r12
je 0x14004b35d
lea rcx, [rsp + 0x40]
call fcn.140015a98
nop
and qword [rsp + 0x58], 0
lea r9, str.get_FrameProviderInfo__
mov r8, r15
mov rdx, r13
mov rcx, qword [rsp + 0x40]
call fcn.140015c9c
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 0x14004a9f7
and qword [rsp + 0x58], 0
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [0x1400de010]
nop
movabs r10, 0x8611365632df5370
lea rdx, [rsp + 0x58]
mov rcx, r12
mov rax, rdi
call qword [0x1400de010]
mov dword [rsp + 0x20], eax
test eax, eax
jns 0x14004aa3f
lea rax, [rsp + 0x20]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x30]
call fcn.14004e530
mov edi, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
call fcn.140015e44
nop
jmp 0x14004aa77
mov rcx, qword [rsp + 0x40]
call fcn.140015e44
nop
mov rdx, qword [rsp + 0x58]
mov rcx, r15
call fcn.14004c5fc
mov dword [rsp + 0x20], eax
test eax, eax
jns 0x14004aa7e
lea rax, [rsp + 0x20]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x30]
call fcn.14004e5e0
mov edi, dword [rsp + 0x20]
xor esi, esi
jmp 0x14004b30b
mov qword [r14 + 0x10], rsi
cmp qword [r14 + 0x18], rbx
je 0x14004aacc
mov rax, qword [rbx]
movabs r10, 0xfd41b67356dad870
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [0x1400de010]
nop
mov rcx, qword [r14 + 0x18]
mov qword [r14 + 0x18], rbx
xor esi, esi
test rcx, rcx
je 0x14004aaca
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [0x1400de010]
nop
jmp 0x14004aace
xor esi, esi
cmp qword [r14 + 0x20], r13
je 0x14004ab15
mov rax, qword [r13]
movabs r10, 0xfd41b67356dad870
mov rcx, r13
mov rax, qword [rax + 8]
call qword [0x1400de010]
nop
mov rcx, qword [r14 + 0x20]
mov qword [r14 + 0x20], r13
test rcx, rcx
je 0x14004ab15
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [0x1400de010]
nop
cmp qword [r14 + 0x28], r15
je 0x14004ab5b
mov rax, qword [r15]
movabs r10, 0xfd41b67356dad870
mov rcx, r15
mov rax, qword [rax + 8]
call qword [0x1400de010]
nop
mov rcx, qword [r14 + 0x28]
mov qword [r14 + 0x28], r15
test rcx, rcx
je 0x14004ab5b
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [0x1400de010]
nop
cmp qword [r14 + 0x30], r12
je 0x14004aba2
mov rax, qword [r12]
movabs r10, 0xfd41b67356dad870
mov rcx, r12
mov rax, qword [rax + 8]
call qword [0x1400de010]
nop
mov rcx, qword [r14 + 0x30]
mov qword [r14 + 0x30], r12
test rcx, rcx
je 0x14004aba2
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [0x1400de010]
nop
mov qword [rsp + 0x48], rsi
lea r9, str.get_Properties__
mov r8, r15
mov rdx, r13
mov rcx, qword [rsp + 0x40]
call fcn.140015c9c
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 0x14004ac00
mov qword [rsp + 0x48], rsi
mov rcx, qword [rdx]
mov rax, qword [rcx + 0x10]
movabs r10, 0xbaac1f10365eb170
mov rcx, rdx
call qword [0x1400de010]
nop
movabs r10, 0xe8ed0e4354d3fb70
lea rdx, [rsp + 0x48]
mov rcx, rbx
mov rax, rdi
call qword [0x1400de010]
mov dword [rsp + 0x20], eax
test eax, eax
jns 0x14004ac4b
lea rax, [rsp + 0x20]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x30]
call fcn.14004e690
mov edi, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
call fcn.140015e44
nop
jmp 0x14004b2e4
mov rcx, qword [rsp + 0x40]
call fcn.140015e44
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
jne 0x14004acfd
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 [0x1400de010]
mov dword [rsp + 0x30], eax
test eax, eax
jns 0x14004acb8
lea rax, [rsp + 0x30]
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x70]
call fcn.14004e740
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.14004b3f0
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 0x14004b2e4
mov qword [rsp + 0x50], rsi
mov rax, qword [rcx]
movabs r10, 0xdee01e7974d59970
lea r8, [rsp + 0x50]
lea rdx, [0x1400fbe88]
mov rax, qword [rax]
call qword [0x1400de010]
nop
mov dword [rsp + 0x20], eax
test eax, eax
jns 0x14004ad46
lea rax, [rsp + 0x20]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x30]
call fcn.14004e7f0
jmp 0x14004b01f
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 [0x1400de010]
mov dword [rsp + 0x20], eax
test eax, eax
jns 0x14004ada2
lea rax, [rsp + 0x20]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x30]
call fcn.14004e8a0
jmp 0x14004b01f
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 [0x1400de010]
mov dword [rsp + 0x20], eax
test eax, eax
jns 0x14004adfe
lea rax, [rsp + 0x20]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x30]
call fcn.14004e950
jmp 0x14004b01f
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 [0x1400de010]
mov dword [rsp + 0x20], eax
test eax, eax
jns 0x14004ae5a
lea rax, [rsp + 0x20]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x30]
call fcn.14004ea00
jmp 0x14004b01f
mov rcx, qword [r14 + 0x28]
mov rax, qword [rcx]
lea rdx, [r14 + 0x40]
movabs r10, 0x9fcc365478d1d270
mov rax, qword [rax + 0x70]
call qword [0x1400de010]
mov dword [rsp + 0x20], eax
test eax, eax
jns 0x14004ae9a
lea rax, [rsp + 0x20]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x30]
call fcn.14004eab0
jmp 0x14004b01f
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 [0x1400de010]
mov dword [rsp + 0x20], eax
xor edi, edi
test eax, eax
jns 0x14004aef8
lea rax, [rsp + 0x20]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x30]
call fcn.14004eb60
jmp 0x14004b01f
mov dword [rsp + 0x70], 0xbad
lea r10, str.Windows.Provider.KnownPerceptionFrameKind.Color
or rbx, 0xffffffffffffffff
mov rax, rbx
inc rax
cmp word [r10 + rax*2], di
jne 0x14004af0e
mov ecx, 0xffffffff
cmp rax, rcx
ja 0x14004b38d
lea ecx, [rax + 1]
cmp ecx, eax
jb 0x14004b3dc
mov edx, eax
lea r9, [rbp - 0x68]
lea r8, [rbp - 0x80]
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 0x14004b398
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 0x14004af89
lea rax, [rsp + 0x20]
mov qword [rbp - 0x80], rax
lea rcx, [rbp - 0x80]
call fcn.14004ec10
jmp 0x14004b01f
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 rax, rbx
inc rax
cmp word [r10 + rax*2], di
jne 0x14004afa9
mov ecx, 0xffffffff
cmp rax, rcx
ja 0x14004b3d1
lea ecx, [rax + 1]
cmp ecx, eax
jb 0x14004b3c6
mov edx, eax
lea r9, [rbp - 0x68]
lea r8, [rbp - 0x80]
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 0x14004b3a0
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 0x14004b02a
lea rax, [rsp + 0x20]
mov qword [rbp - 0x80], rax
lea rcx, [rbp - 0x80]
call fcn.14004ecc0
mov edi, dword [rsp + 0x20]
xor esi, esi
jmp 0x14004b2bd
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 0x14004b047
mov eax, 0xffffffff
cmp rbx, rax
ja 0x14004b3bb
lea eax, [rbx + 1]
cmp eax, ebx
jb 0x14004b3b0
mov edx, ebx
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 0x14004b3a8
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 0x14004b0c4
lea rax, [rsp + 0x20]
mov qword [rbp - 0x80], rax
lea rcx, [rbp - 0x80]
call fcn.14004ed70
mov edi, dword [rsp + 0x20]
jmp 0x14004b2bd
cmp dword [rsp + 0x30], esi
sete al
mov byte [r14 + 0xb2], al
cmp byte [r14 + 0xb0], sil
jne 0x14004b0f7
cmp byte [r14 + 0xb1], sil
jne 0x14004b0f7
test al, al
jne 0x14004b0f7
call fcn.14004ee20
mov edi, 0x80070057
jmp 0x14004b2bd
lea rax, [0x14004ca80]
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.14004eec8
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 [0x1400de010]
mov dword [rsp + 0x30], eax
test eax, eax
jns 0x14004b167
lea rax, [rsp + 0x30]
mov qword [rbp - 0x80], rax
lea rcx, [rbp - 0x80]
call fcn.14004efa0
jmp 0x14004b276
lea r9, str.get_Available__
mov r8, r15
mov rdx, r13
mov rcx, qword [rsp + 0x40]
call fcn.140015c9c
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 [0x1400de010]
mov dword [rsp + 0x30], eax
test eax, eax
jns 0x14004b1df
lea rax, [rsp + 0x30]
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x60]
call fcn.14004f050
mov edi, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
call fcn.140015e44
nop
jmp 0x14004b29d
mov rcx, qword [rsp + 0x40]
call fcn.140015e44
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 0x14004b21f
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [0x1400de010]
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 0x14004b254
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [0x1400de010]
nop
mov rcx, r14
call fcn.14004cc78
mov dword [rsp + 0x30], eax
test eax, eax
jns 0x14004b27c
lea rax, [rsp + 0x30]
mov qword [rbp - 0x80], rax
lea rcx, [rbp - 0x80]
call fcn.14004f100
mov edi, dword [rsp + 0x30]
jmp 0x14004b29d
mov rcx, r14
call fcn.14004d4c4
test eax, eax
jns 0x14004b29b
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 0x14004b2bd
mov rax, qword [rbx]
movabs r10, 0xbaac1f10365eb170
mov rcx, rbx
mov rax, qword [rax + 0x10]
call qword [0x1400de010]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14004b2e4
mov qword [rsp + 0x50], rsi
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [0x1400de010]
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14004b30b
mov qword [rsp + 0x48], rsi
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [0x1400de010]
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14004b332
mov qword [rsp + 0x58], rsi
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [0x1400de010]
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14004b359
mov qword [rsp + 0x40], rsi
mov rdx, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rdx + 0x10]
call qword [0x1400de010]
nop
mov eax, edi
jmp 0x14004b362
mov eax, 0x80070057
mov rcx, qword [rbp + 0x7a0]
xor rcx, rsp
call fcn.1400d22a0
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.14000ec00
int3
mov ecx, eax
call fcn.14000ec00
int3
mov ecx, eax
call fcn.14000ec00
int3
mov ecx, eax
call fcn.14000ec00
int3
mov ecx, 0x80070216
call fcn.14000ec00
int3
mov ecx, 0x80070216
call fcn.14000ec00
int3
mov ecx, 0x80070216
call fcn.14000ec00
int3
mov ecx, 0x80070216
call fcn.14000ec00
int3
mov ecx, 0x80070216
call fcn.14000ec00
int3