Function at 0x14002c960
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xe0
mov rax, qword [0x1400dc040]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov rbx, rdx
mov rdi, rcx
cmp qword [0x1400e1678], 0
je 0x14002d12a
cmp qword [rcx + 0x350], 0
je 0x14002d150
cmp qword [rcx + 0x358], 0
je 0x14002d176
test rdx, rdx
je 0x14002d104
rdtsc
shl rdx, 0x20
or rax, rdx
mov qword [rcx + 0x3d0], rax
xor r13d, r13d
mov r14d, r13d
xchg byte [rcx + 0x360], r14b
mov rax, qword [rbx]
lea r8, [rbp + 0xf]
lea rdx, [0x1400b1810]
mov rcx, rbx
call qword [rax + 0x38]
mov esi, 0xffffffff
test eax, eax
mov eax, esi
js 0x14002ca02
mov eax, dword [rbp + 0xf]
mov r12d, eax
mov rax, qword [rbx]
lea r8, [rbp + 0x17]
lea rdx, [0x1400b1858]
mov rcx, rbx
call qword [rax + 0x38]
test eax, eax
js 0x14002ca20
mov esi, dword [rbp + 0x17]
mov r15d, esi
mov qword [rsp + 0x30], r13
mov qword [rbp + 0x17], r13
mov qword [rbp + 0xf], r13
mov rax, qword [rbx]
lea rdx, [rbp + 0x17]
mov rcx, rbx
call qword [rax + 0x118]
mov esi, eax
test eax, eax
jns 0x14002ca84
mov dword [rsp + 0x20], 0xdc
lea r9, str.dte::mfcodec::EncoderAmdH264::onInputArrived
mov r8d, eax
lea rdx, str.sample__GetSampleTime__timestamp__
lea rcx, str._s____0x_08X___s__d_
call fcn.140011520
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14002ca7d
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov eax, esi
jmp 0x14002d0dd
mov rax, qword [rbx]
lea rdx, [rbp + 0xf]
mov rcx, rbx
call qword [rax + 0x128]
mov esi, eax
test eax, eax
jns 0x14002cad8
mov dword [rsp + 0x20], 0xdd
lea r9, str.dte::mfcodec::EncoderAmdH264::onInputArrived
mov r8d, eax
lea rdx, str.sample__GetSampleDuration__duration__
lea rcx, str._s____0x_08X___s__d_
call fcn.140011520
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14002cad1
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov eax, esi
jmp 0x14002d0dd
mov qword [rsp + 0x38], r13
mov rax, qword [rbx]
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rbx
call qword [rax + 0x140]
mov ebx, eax
test eax, eax
jns 0x14002cb4a
mov dword [rsp + 0x20], 0xdf
lea r9, str.dte::mfcodec::EncoderAmdH264::onInputArrived
mov r8d, eax
lea rdx, str.sample__GetBufferByIndex__0__mfBuffer.ReleaseAndGetAddressOf____
lea rcx, str._s____0x_08X___s__d_
call fcn.140011520
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14002cb32
mov qword [rsp + 0x38], r13
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14002cb43
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov eax, ebx
jmp 0x14002d0dd
mov qword [rbp - 0x79], r13
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
lea r8, [rbp - 0x79]
lea rdx, [0x1400ba940]
call qword [rax]
mov ebx, eax
test eax, eax
jns 0x14002cbd1
mov dword [rsp + 0x20], 0xe1
lea r9, str.dte::mfcodec::EncoderAmdH264::onInputArrived
mov r8d, eax
lea rdx, str.mfBuffer__QueryInterface__dxBuffer.ReleaseAndGetAddressOf____
lea rcx, str._s____0x_08X___s__d_
call fcn.140011520
nop
mov rcx, qword [rbp - 0x79]
test rcx, rcx
je 0x14002cba3
mov qword [rbp - 0x79], r13
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14002cbb9
mov qword [rsp + 0x38], r13
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14002cbca
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov eax, ebx
jmp 0x14002d0dd
mov dword [rbp - 0x69], r13d
mov rcx, qword [rbp - 0x79]
mov rax, qword [rcx]
lea rdx, [rbp - 0x69]
call qword [rax + 0x20]
mov ebx, eax
test eax, eax
jns 0x14002cc51
mov dword [rsp + 0x20], 0xe3
lea r9, str.dte::mfcodec::EncoderAmdH264::onInputArrived
mov r8d, eax
lea rdx, str.dxBuffer__GetSubresourceIndex__subRcIdx__
lea rcx, str._s____0x_08X___s__d_
call fcn.140011520
nop
mov rcx, qword [rbp - 0x79]
test rcx, rcx
je 0x14002cc23
mov qword [rbp - 0x79], r13
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14002cc39
mov qword [rsp + 0x38], r13
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14002cc4a
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov eax, ebx
jmp 0x14002d0dd
mov qword [rbp - 0x71], r13
mov rcx, qword [rbp - 0x79]
mov rax, qword [rcx]
lea r8, [rbp - 0x71]
lea rdx, [0x1400b6408]
call qword [rax + 0x18]
mov ebx, eax
test eax, eax
jns 0x14002ccec
mov dword [rsp + 0x20], 0xe5
lea r9, str.dte::mfcodec::EncoderAmdH264::onInputArrived
mov r8d, eax
lea rdx, str.dxBuffer__GetResource__IID_PPV_ARGS__texture.ReleaseAndGetAddressOf______
lea rcx, str._s____0x_08X___s__d_
call fcn.140011520
nop
mov rcx, qword [rbp - 0x71]
test rcx, rcx
je 0x14002ccaa
mov qword [rbp - 0x71], r13
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rbp - 0x79]
test rcx, rcx
je 0x14002ccbe
mov qword [rbp - 0x79], r13
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14002ccd4
mov qword [rsp + 0x38], r13
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14002cce5
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov eax, ebx
jmp 0x14002d0dd
mov rbx, qword [rdi + 0x350]
mov rax, qword [rbx]
mov rsi, qword [rax + 0x188]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14002cd0d
mov rax, qword [rcx]
call qword [rax + 8]
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, qword [rbp - 0x71]
mov rcx, rbx
call rsi
mov ecx, eax
call fcn.1400419e0
mov ebx, eax
test eax, eax
jns 0x14002cda7
mov dword [rsp + 0x20], 0xe8
lea r9, str.dte::mfcodec::EncoderAmdH264::onInputArrived
mov r8d, eax
lea rdx, str.::dte::amd::ToHresult_m_context__CreateSurfaceFromDX11Native__texture.Get____surface__nullptr___
lea rcx, str._s____0x_08X___s__d_
call fcn.140011520
nop
mov rcx, qword [rbp - 0x71]
test rcx, rcx
je 0x14002cd65
mov qword [rbp - 0x71], r13
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rbp - 0x79]
test rcx, rcx
je 0x14002cd79
mov qword [rbp - 0x79], r13
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14002cd8f
mov qword [rsp + 0x38], r13
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14002cda0
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov eax, ebx
jmp 0x14002d0dd
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
mov rdx, qword [rbp + 0x17]
call qword [rax + 0x98]
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
mov rdx, qword [rbp + 0xf]
call qword [rax + 0xa8]
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0xe0]
test r14b, r14b
je 0x14002cea5
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
mov dword [rbp - 0x39], 2
mov qword [rbp - 0x31], 2
movups xmm0, xmmword [rbp - 0x39]
movaps xmmword [rbp - 0x59], xmm0
movsd xmm1, qword [rbp - 0x29]
movsd qword [rbp - 0x49], xmm1
lea r8, [rbp - 0x59]
lea rdx, str.ForcePictureType
call qword [rax + 0x18]
nop
mov ecx, eax
call fcn.1400419e0
mov ebx, eax
test eax, eax
jns 0x14002cea5
mov dword [rsp + 0x20], 0xf1
lea r9, str.dte::mfcodec::EncoderAmdH264::onInputArrived
mov r8d, eax
lea rdx, str.::dte::amd::ToHresult_surface__SetProperty__L_ForcePictureType___AMF_VIDEO_ENCODER_PICTURE_TYPE_IDR___
lea rcx, str._s____0x_08X___s__d_
call fcn.140011520
nop
mov rcx, qword [rbp - 0x71]
test rcx, rcx
je 0x14002ce63
mov qword [rbp - 0x71], r13
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rbp - 0x79]
test rcx, rcx
je 0x14002ce77
mov qword [rbp - 0x79], r13
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14002ce8d
mov qword [rsp + 0x38], r13
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14002ce9e
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov eax, ebx
jmp 0x14002d0dd
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
mov dword [rbp - 0x21], 2
mov qword [rbp - 0x19], r12
movups xmm0, xmmword [rbp - 0x21]
movaps xmmword [rbp - 0x59], xmm0
movsd xmm1, qword [rbp - 0x11]
movsd qword [rbp - 0x49], xmm1
lea r8, [rbp - 0x59]
lea rdx, str.DteStreamNum
call qword [rax + 0x18]
nop
mov ecx, eax
call fcn.1400419e0
mov ebx, eax
test eax, eax
jns 0x14002cf62
mov dword [rsp + 0x20], 0xf4
lea r9, str.dte::mfcodec::EncoderAmdH264::onInputArrived
mov r8d, eax
lea rdx, str.::dte::amd::ToHresult_surface__SetProperty__DTE_STR_STREAMNUM__streamNum___
lea rcx, str._s____0x_08X___s__d_
call fcn.140011520
nop
mov rcx, qword [rbp - 0x71]
test rcx, rcx
je 0x14002cf20
mov qword [rbp - 0x71], r13
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rbp - 0x79]
test rcx, rcx
je 0x14002cf34
mov qword [rbp - 0x79], r13
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14002cf4a
mov qword [rsp + 0x38], r13
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14002cf5b
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov eax, ebx
jmp 0x14002d0dd
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
mov dword [rbp - 9], 2
mov qword [rbp - 1], r15
movups xmm0, xmmword [rbp - 9]
movaps xmmword [rbp - 0x59], xmm0
movsd xmm1, qword [rbp + 7]
movsd qword [rbp - 0x49], xmm1
lea r8, [rbp - 0x59]
lea rdx, str.DteFrameNum
call qword [rax + 0x18]
nop
mov ecx, eax
call fcn.1400419e0
mov ebx, eax
test eax, eax
jns 0x14002d01f
mov dword [rsp + 0x20], 0xf5
lea r9, str.dte::mfcodec::EncoderAmdH264::onInputArrived
mov r8d, eax
lea rdx, str.::dte::amd::ToHresult_surface__SetProperty__DTE_STR_FRAMENUM__frameNum___
lea rcx, str._s____0x_08X___s__d_
call fcn.140011520
nop
mov rcx, qword [rbp - 0x71]
test rcx, rcx
je 0x14002cfdd
mov qword [rbp - 0x71], r13
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rbp - 0x79]
test rcx, rcx
je 0x14002cff1
mov qword [rbp - 0x79], r13
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14002d007
mov qword [rsp + 0x38], r13
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14002d018
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov eax, ebx
jmp 0x14002d0dd
mov rcx, qword [rbp - 0x71]
test rcx, rcx
je 0x14002d033
mov qword [rbp - 0x71], r13
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rbp - 0x79]
test rcx, rcx
je 0x14002d047
mov qword [rbp - 0x79], r13
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14002d05d
mov qword [rsp + 0x38], r13
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rdi + 0x358]
mov rax, qword [rcx]
mov rdx, qword [rsp + 0x30]
call qword [rax + 0xb0]
mov ecx, eax
call fcn.1400419e0
mov ebx, eax
test eax, eax
jns 0x14002d0ba
mov dword [rsp + 0x20], 0xf9
lea r9, str.dte::mfcodec::EncoderAmdH264::onInputArrived
mov r8d, eax
lea rdx, str.::dte::amd::ToHresult_m_encoder__SubmitInput__surface___
lea rcx, str._s____0x_08X___s__d_
call fcn.140011520
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14002d0b6
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov eax, ebx
jmp 0x14002d0dd
rdtsc
shl rdx, 0x20
or rax, rdx
mov qword [rdi + 0x3d8], rax
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14002d0db
mov rax, qword [rcx]
call qword [rax + 8]
nop
xor eax, eax
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.140053bc0
mov rbx, qword [rsp + 0x130]
add rsp, 0xe0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r9d, 0xce
lea r8, str.dte::mfcodec::EncoderAmdH264::onInputArrived
lea rdx, str.sample
lea rcx, str.ASSERTION_FAILED:__s___s__d_
call fcn.140011520
call fcn.14005e1c0
int3
mov r9d, 0xcb
lea r8, str.dte::mfcodec::EncoderAmdH264::onInputArrived
lea rdx, str.Amf.isLoaded___
lea rcx, str.ASSERTION_FAILED:__s___s__d_
call fcn.140011520
call fcn.14005e1c0
int3
mov r9d, 0xcc
lea r8, str.dte::mfcodec::EncoderAmdH264::onInputArrived
lea rdx, str.m_context
lea rcx, str.ASSERTION_FAILED:__s___s__d_
call fcn.140011520
call fcn.14005e1c0
int3
mov r9d, 0xcd
lea r8, str.dte::mfcodec::EncoderAmdH264::onInputArrived
lea rdx, str.m_encoder
lea rcx, str.ASSERTION_FAILED:__s___s__d_
call fcn.140011520
call fcn.14005e1c0
int3