Function at 0x140048d60
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xd0
mov rax, qword [0x1400dc040]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rbx, rcx
cmp qword [0x1400e16a8], 0
je 0x140049715
call fcn.140046300
test al, al
je 0x14004973b
mov r14, qword [rcx + 0x340]
test r14, r14
je 0x140049761
lea rdx, [rcx + 0x3a0]
xor r8d, r8d
call fcn.140046330
mov edi, eax
test eax, eax
jns 0x140048e09
mov dword [rsp + 0x20], 0x3c
lea r9, str.dte::mfcodec::DecoderAmdBase::onBeginStreaming
mov r8d, eax
lea rdx, str.getVideoSpecs__m_streamSpecs__nullptr__
lea rcx, str._s____0x_08X___s__d_
call fcn.140011520
mov rcx, rbx
call fcn.14004abc0
mov eax, edi
jmp 0x1400496e2
movzx eax, byte [rbx + 0x3e0]
and al, 0x24
cmp al, 0x24
jne 0x1400496b5
mov r12d, dword [rbx + 0x3d4]
mov eax, dword [rbx + 0x3c4]
cmp r12d, eax
jbe 0x140048e5e
mov r9d, 0x3e
lea r8, str.dte::mfcodec::DecoderAmdBase::onBeginStreaming
lea rdx, str.m_streamSpecs.tgtWidth___m_streamSpecs.srcWidth
lea rcx, str.__s__does_not_hold___s__d_
call fcn.140011520
mov rcx, rbx
call fcn.14004abc0
mov eax, 0x80070057
jmp 0x1400496e2
mov r13d, dword [rbx + 0x3d8]
mov ecx, dword [rbx + 0x3c8]
cmp r13d, ecx
jbe 0x140048ea2
mov r9d, 0x3f
lea r8, str.dte::mfcodec::DecoderAmdBase::onBeginStreaming
lea rdx, str.m_streamSpecs.tgtHeight___m_streamSpecs.srcHeight
lea rcx, str.__s__does_not_hold___s__d_
call fcn.140011520
mov rcx, rbx
call fcn.14004abc0
mov eax, 0x80070057
jmp 0x1400496e2
mov dword [rbp - 0x59], eax
mov dword [rbp - 0x55], ecx
mov dword [rbp - 0x61], 0x10
lea rax, [rbx + 0x3c0]
lea rcx, [rbp - 0x61]
cmp dword [rax], 0x10
cmovb rcx, rax
mov dword [rbp - 0x65], 2
lea rax, [rbp - 0x65]
cmp dword [rcx], 2
cmova rax, rcx
mov eax, dword [rax]
mov dword [rbp - 0x65], eax
movzx eax, byte [rbx + 0x3ea]
mov byte [rbp - 0x69], al
movzx eax, byte [rbx + 0x3e9]
mov byte [rbp - 0x68], al
mov r15, qword [0x1400e16a8]
test r15, r15
je 0x140049787
cmp qword [rbx + 0x350], 0
jne 0x1400497ad
mov rax, qword [r15]
mov qword [rbx + 0x350], 0
lea rdx, [rbx + 0x350]
mov rcx, r15
call qword [rax]
mov ecx, eax
call fcn.1400419e0
mov edi, eax
test eax, eax
jns 0x140048f65
mov dword [rsp + 0x20], 0x4b
lea r9, str.dte::mfcodec::DecoderAmdBase::onBeginStreaming
mov r8d, eax
lea rdx, str.::dte::amd::ToHresult_factory__CreateContext__m_context___
lea rcx, str._s____0x_08X___s__d_
call fcn.140011520
mov rcx, rbx
call fcn.14004abc0
mov eax, edi
jmp 0x1400496e2
mov rcx, qword [rbx + 0x350]
test rcx, rcx
je 0x1400497d3
mov rax, qword [rcx]
mov r8d, 0x6f
mov rdx, r14
call qword [rax + 0x90]
mov ecx, eax
call fcn.1400419e0
mov edi, eax
test eax, eax
jns 0x140048fc8
mov dword [rsp + 0x20], 0x4d
lea r9, str.dte::mfcodec::DecoderAmdBase::onBeginStreaming
mov r8d, eax
lea rdx, str.::dte::amd::ToHresult_m_context__InitDX11__d3dDevice__amf::AMF_DX11_1___
lea rcx, str._s____0x_08X___s__d_
call fcn.140011520
mov rcx, rbx
call fcn.14004abc0
mov eax, edi
jmp 0x1400496e2
lea rdi, [rbx + 0x358]
cmp qword [rdi], 0
jne 0x1400497f9
movzx eax, byte [rbx + 0x3e8]
mov r9, rdi
cmp al, 2
jne 0x140048ff0
lea r8, str.AMFVideoDecoderHW_AV1
jmp 0x140049004
lea rcx, str.AMFVideoDecoderHW_H265_HEVC
lea r8, str.AMFVideoDecoderUVD_H264_AVC
cmp al, 1
cmove r8, rcx
mov rax, qword [r15]
mov r10, qword [rax + 8]
mov qword [r9], 0
mov rdx, qword [rbx + 0x350]
mov rcx, r15
call r10
mov ecx, eax
call fcn.1400419e0
mov esi, eax
test eax, eax
jns 0x140049060
mov dword [rsp + 0x20], 0x55
lea r9, str.dte::mfcodec::DecoderAmdBase::onBeginStreaming
mov r8d, eax
lea rdx, str.::dte::amd::ToHresult_factory__CreateComponent__m_context__decoderName__m_decoder___
lea rcx, str._s____0x_08X___s__d_
call fcn.140011520
mov rcx, rbx
call fcn.14004abc0
mov eax, esi
jmp 0x1400496e2
mov rcx, qword [rdi]
test rcx, rcx
je 0x14004981f
mov rax, qword [rcx]
mov dword [rbp - 0x51], 2
mov qword [rbp - 0x49], 2
movups xmm0, xmmword [rbp - 0x51]
movaps xmmword [rbp - 0x29], xmm0
movsd xmm1, qword [rbp - 0x41]
movsd qword [rbp - 0x19], xmm1
lea r8, [rbp - 0x29]
lea rdx, str.TimestampMode
call qword [rax + 0x18]
nop
mov ecx, eax
call fcn.1400419e0
mov esi, eax
test eax, eax
jns 0x1400490e0
mov dword [rsp + 0x20], 0x59
lea r9, str.dte::mfcodec::DecoderAmdBase::onBeginStreaming
mov r8d, eax
lea rdx, str.::dte::amd::ToHresult_m_decoder__SetProperty__L_TimestampMode___AMF_TS_DECODE___
lea rcx, str._s____0x_08X___s__d_
call fcn.140011520
mov rcx, rbx
call fcn.14004abc0
mov eax, esi
jmp 0x1400496e2
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov dword [rbp - 0x51], 2
mov qword [rbp - 0x49], 2
movups xmm0, xmmword [rbp - 0x51]
movaps xmmword [rbp - 0x29], xmm0
movsd xmm1, qword [rbp - 0x41]
movsd qword [rbp - 0x19], xmm1
lea r8, [rbp - 0x29]
lea rdx, str.ReorderMode
call qword [rax + 0x18]
nop
mov ecx, eax
call fcn.1400419e0
mov esi, eax
test eax, eax
jns 0x140049157
mov dword [rsp + 0x20], 0x5a
lea r9, str.dte::mfcodec::DecoderAmdBase::onBeginStreaming
mov r8d, eax
lea rdx, str.::dte::amd::ToHresult_m_decoder__SetProperty__L_ReorderMode___AMF_VIDEO_DECODER_MODE_LOW_LATENCY___
lea rcx, str._s____0x_08X___s__d_
call fcn.140011520
mov rcx, rbx
call fcn.14004abc0
mov eax, esi
jmp 0x1400496e2
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov dword [rbp - 0x51], 1
mov byte [rbp - 0x49], 1
movups xmm0, xmmword [rbp - 0x51]
movaps xmmword [rbp - 0x29], xmm0
movsd xmm1, qword [rbp - 0x41]
movsd qword [rbp - 0x19], xmm1
lea r8, [rbp - 0x29]
lea rdx, str.LowLatencyDecode
call qword [rax + 0x18]
nop
mov ecx, eax
call fcn.1400419e0
mov esi, eax
test eax, eax
jns 0x1400491ca
mov dword [rsp + 0x20], 0x5b
lea r9, str.dte::mfcodec::DecoderAmdBase::onBeginStreaming
mov r8d, eax
lea rdx, str.::dte::amd::ToHresult_m_decoder__SetProperty__L_LowLatencyDecode___true___
lea rcx, str._s____0x_08X___s__d_
call fcn.140011520
mov rcx, rbx
call fcn.14004abc0
mov eax, esi
jmp 0x1400496e2
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov r9, qword [rax + 0x18]
mov dword [rbp - 0x51], 2
neg byte [rbp - 0x69]
sbb rax, rax
add rax, 2
mov qword [rbp - 0x49], rax
movups xmm0, xmmword [rbp - 0x51]
movaps xmmword [rbp - 0x29], xmm0
movsd xmm1, qword [rbp - 0x41]
movsd qword [rbp - 0x19], xmm1
lea r8, [rbp - 0x29]
lea rdx, str.ColorRange
call r9
nop
mov ecx, eax
call fcn.1400419e0
mov esi, eax
test eax, eax
jns 0x14004924b
mov dword [rsp + 0x20], 0x5d
lea r9, str.dte::mfcodec::DecoderAmdBase::onBeginStreaming
mov r8d, eax
lea rdx, str.::dte::amd::ToHresult_m_decoder__SetProperty__L_ColorRange___colorRange___
lea rcx, str._s____0x_08X___s__d_
call fcn.140011520
mov rcx, rbx
call fcn.14004abc0
mov eax, esi
jmp 0x1400496e2
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov dword [rbp - 0x51], 1
mov byte [rbp - 0x49], 0
movups xmm0, xmmword [rbp - 0x51]
movaps xmmword [rbp - 0x29], xmm0
movsd xmm1, qword [rbp - 0x41]
movsd qword [rbp - 0x19], xmm1
lea r8, [rbp - 0x29]
lea rdx, str.SurfaceCopy
call qword [rax + 0x18]
nop
mov ecx, eax
call fcn.1400419e0
mov esi, eax
test eax, eax
jns 0x1400492be
mov dword [rsp + 0x20], 0x5e
lea r9, str.dte::mfcodec::DecoderAmdBase::onBeginStreaming
mov r8d, eax
lea rdx, str.::dte::amd::ToHresult_m_decoder__SetProperty__L_SurfaceCopy___false___
lea rcx, str._s____0x_08X___s__d_
call fcn.140011520
mov rcx, rbx
call fcn.14004abc0
mov eax, esi
jmp 0x1400496e2
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov dword [rbp - 0x51], 1
mov byte [rbp - 0x49], 0
movups xmm0, xmmword [rbp - 0x51]
movaps xmmword [rbp - 0x29], xmm0
movsd xmm1, qword [rbp - 0x41]
movsd qword [rbp - 0x19], xmm1
lea r8, [rbp - 0x29]
lea rdx, str.SurfaceCpu
call qword [rax + 0x18]
nop
mov ecx, eax
call fcn.1400419e0
mov esi, eax
test eax, eax
jns 0x140049331
mov dword [rsp + 0x20], 0x5f
lea r9, str.dte::mfcodec::DecoderAmdBase::onBeginStreaming
mov r8d, eax
lea rdx, str.::dte::amd::ToHresult_m_decoder__SetProperty__L_SurfaceCpu___false___
lea rcx, str._s____0x_08X___s__d_
call fcn.140011520
mov rcx, rbx
call fcn.14004abc0
mov eax, esi
jmp 0x1400496e2
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov r9, qword [rax + 0x18]
mov dword [rbp - 0x51], 2
mov eax, dword [rbp - 0x65]
mov qword [rbp - 0x49], rax
movups xmm0, xmmword [rbp - 0x51]
movaps xmmword [rbp - 0x29], xmm0
movsd xmm1, qword [rbp - 0x41]
movsd qword [rbp - 0x19], xmm1
lea r8, [rbp - 0x29]
lea rdx, str.SurfacePoolSize
call r9
nop
mov ecx, eax
call fcn.1400419e0
mov esi, eax
test eax, eax
jns 0x1400493ab
mov dword [rsp + 0x20], 0x60
lea r9, str.dte::mfcodec::DecoderAmdBase::onBeginStreaming
mov r8d, eax
lea rdx, str.::dte::amd::ToHresult_m_decoder__SetProperty__L_SurfacePoolSize___buffCount___
lea rcx, str._s____0x_08X___s__d_
call fcn.140011520
mov rcx, rbx
call fcn.14004abc0
mov eax, esi
jmp 0x1400496e2
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov r9, qword [rax + 0x18]
mov dword [rbp - 0x51], 5
mov rax, qword [rbp - 0x59]
mov qword [rbp - 0x49], rax
movups xmm0, xmmword [rbp - 0x51]
movaps xmmword [rbp - 0x29], xmm0
movsd xmm1, qword [rbp - 0x41]
movsd qword [rbp - 0x19], xmm1
lea r8, [rbp - 0x29]
lea rdx, str.CurrentSize
call r9
nop
mov ecx, eax
call fcn.1400419e0
mov esi, eax
test eax, eax
jns 0x140049426
mov dword [rsp + 0x20], 0x61
lea r9, str.dte::mfcodec::DecoderAmdBase::onBeginStreaming
mov r8d, eax
lea rdx, str.::dte::amd::ToHresult_m_decoder__SetProperty__L_CurrentSize___srcSize___
lea rcx, str._s____0x_08X___s__d_
call fcn.140011520
mov rcx, rbx
call fcn.14004abc0
mov eax, esi
jmp 0x1400496e2
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov dword [rbp - 0x51], 1
movzx edx, byte [rbp - 0x68]
mov byte [rbp - 0x49], dl
movups xmm0, xmmword [rbp - 0x51]
movaps xmmword [rbp - 0x29], xmm0
movsd xmm1, qword [rbp - 0x41]
movsd qword [rbp - 0x19], xmm1
lea r8, [rbp - 0x29]
lea rdx, str.EnableDecoderSmartAccessVideo
call qword [rax + 0x18]
nop
mov ecx, eax
call fcn.1400419e0
mov esi, eax
test eax, eax
jns 0x14004949c
mov dword [rsp + 0x20], 0x62
lea r9, str.dte::mfcodec::DecoderAmdBase::onBeginStreaming
mov r8d, eax
lea rdx, str.::dte::amd::ToHresult_m_decoder__SetProperty__L_EnableDecoderSmartAccessVideo___useSmartAccess___
lea rcx, str._s____0x_08X___s__d_
call fcn.140011520
mov rcx, rbx
call fcn.14004abc0
mov eax, esi
jmp 0x1400496e2
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov r9d, r13d
mov r8d, r12d
mov edx, 1
call qword [rax + 0x88]
mov ecx, eax
call fcn.1400419e0
mov esi, eax
test eax, eax
jns 0x1400494f4
mov dword [rsp + 0x20], 0x65
lea r9, str.dte::mfcodec::DecoderAmdBase::onBeginStreaming
mov r8d, eax
lea rdx, str.::dte::amd::ToHresult_m_decoder__Init__amf::AMF_SURFACE_NV12__tgtSize.width__tgtSize.height___
lea rcx, str._s____0x_08X___s__d_
call fcn.140011520
mov rcx, rbx
call fcn.14004abc0
mov eax, esi
jmp 0x1400496e2
cmp byte [rbx + 0x3ec], 0
je 0x1400495de
lea r8, str.AMF_decoder_properties
mov rdx, qword [rdi]
lea rcx, [rbp - 0x51]
call fcn.140041d80
lea rcx, [rbp - 0x51]
cmp qword [rbp - 0x39], 7
cmova rcx, qword [rbp - 0x51]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rdx, qword [rdi]
lea rcx, [rbp - 0x29]
call fcn.140042030
lea rcx, [rbp - 0x29]
cmp qword [rbp - 0x11], 7
cmova rcx, qword [rbp - 0x29]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rdx, qword [rbp - 0x11]
cmp rdx, 7
jbe 0x140049588
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140049583
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004970f
call fcn.140053f90
xor r15d, r15d
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], 7
mov word [rbp - 0x29], r15w
mov rdx, qword [rbp - 0x39]
cmp rdx, 7
jbe 0x1400495e1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400495d7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004970f
call fcn.140053f90
jmp 0x1400495e1
xor r15d, r15d
mov rax, qword [r14]
mov rsi, qword [rax + 0x140]
mov rcx, qword [rbx + 0x360]
test rcx, rcx
je 0x140049605
mov qword [rbx + 0x360], r15
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
lea rdx, [rbx + 0x360]
mov rcx, r14
call rsi
mov dword [rbp - 9], r12d
mov dword [rbp - 5], r13d
mov dword [rbp - 1], 1
mov dword [rbp + 3], 1
mov dword [rbp + 7], 0x67
mov qword [rbp + 0xb], 1
mov qword [rbp + 0x13], 0
mov qword [rbp + 0x1b], 0
mov rax, qword [r14]
mov rsi, qword [rax + 0x28]
mov rcx, qword [rbx + 0x368]
test rcx, rcx
je 0x140049667
mov qword [rbx + 0x368], r15
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
lea r9, [rbx + 0x368]
xor r8d, r8d
lea rdx, [rbp - 9]
mov rcx, r14
call rsi
mov edi, eax
test eax, eax
jns 0x1400496b1
mov dword [rsp + 0x20], 0x7f
lea r9, str.dte::mfcodec::DecoderAmdBase::onBeginStreaming
mov r8d, eax
lea rdx, str.d3dDevice__CreateTexture2D__outTexDesc__nullptr__m_d3dTexOut.ReleaseAndGetAddressOf____
lea rcx, str._s____0x_08X___s__d_
call fcn.140011520
mov rcx, rbx
call fcn.14004abc0
mov eax, edi
jmp 0x1400496e2
xor eax, eax
jmp 0x1400496e2
mov r9d, 0x3d
lea r8, str.dte::mfcodec::DecoderAmdBase::onBeginStreaming
lea rdx, [0x1400c7880]
lea rcx, str.__s__does_not_hold___s__d_
call fcn.140011520
mov rcx, rbx
call fcn.14004abc0
mov eax, 0xc00d36e6
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140053bc0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14005cd7c
int3
mov r9d, 0x33
lea r8, str.dte::mfcodec::DecoderAmdBase::onBeginStreaming
lea rdx, str.Amf.isLoaded___
lea rcx, str.ASSERTION_FAILED:__s___s__d_
call fcn.140011520
call fcn.14005e1c0
int3
mov r9d, 0x34
lea r8, str.dte::mfcodec::DecoderAmdBase::onBeginStreaming
lea rdx, str.canInitialize__
lea rcx, str.ASSERTION_FAILED:__s___s__d_
call fcn.140011520
call fcn.14005e1c0
int3
mov r9d, 0x3a
lea r8, str.dte::mfcodec::DecoderAmdBase::onBeginStreaming
lea rdx, str.nullptr___d3dDevice
lea rcx, str.ASSERTION_FAILED:__s___s__d_
call fcn.140011520
call fcn.14005e1c0
int3
mov r9d, 0x49
lea r8, str.dte::mfcodec::DecoderAmdBase::onBeginStreaming
lea rdx, str.factory
lea rcx, str.ASSERTION_FAILED:__s___s__d_
call fcn.140011520
call fcn.14005e1c0
int3
mov r9d, 0x4a
lea r8, str.dte::mfcodec::DecoderAmdBase::onBeginStreaming
lea rdx, str.nullptr__m_context
lea rcx, str.ASSERTION_FAILED:__s___s__d_
call fcn.140011520
call fcn.14005e1c0
int3
mov r9d, 0x4c
lea r8, str.dte::mfcodec::DecoderAmdBase::onBeginStreaming
lea rdx, str.nullptr___m_context
lea rcx, str.ASSERTION_FAILED:__s___s__d_
call fcn.140011520
call fcn.14005e1c0
int3
mov r9d, 0x50
lea r8, str.dte::mfcodec::DecoderAmdBase::onBeginStreaming
lea rdx, str.nullptr__m_decoder
lea rcx, str.ASSERTION_FAILED:__s___s__d_
call fcn.140011520
call fcn.14005e1c0
int3
mov r9d, 0x56
lea r8, str.dte::mfcodec::DecoderAmdBase::onBeginStreaming
lea rdx, str.nullptr___m_decoder
lea rcx, str.ASSERTION_FAILED:__s___s__d_
call fcn.140011520
call fcn.14005e1c0
int3