Function at 0x14004fad0
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x18d0]
mov eax, 0x19d0
call fcn.1400548d0
sub rsp, rax
mov rax, qword [0x1400dc040]
xor rax, rsp
mov qword [rbp + 0x18c0], rax
mov r8, rdx
mov rbx, rcx
cmp qword [0x1400e1a50], 0
je 0x140050062
cmp qword [0x1400e1970], 0
je 0x140050062
cmp qword [rcx + 0x350], 0
je 0x140050088
test rdx, rdx
je 0x1400500ae
rdtsc
shl rdx, 0x20
or rax, rdx
mov qword [rcx + 0x3d8], rax
xor esi, esi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rsi
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rsi
lea rdx, [rsp + 0x30]
mov rcx, r8
call fcn.1400400e0
mov edi, eax
test eax, eax
jns 0x14004fbdc
mov dword [rsp + 0x20], 0xab
lea r9, str.dte::mfcodec::EncoderNvidiaBase::onInputArrived
mov r8d, eax
lea rdx, str.nv::EncoderInputSampleInfo::FromMF__sample__params__
lea rcx, str._s____0x_08X___s__d_
call fcn.140011520
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14004fbbf
mov qword [rsp + 0x50], rsi
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14004fbd5
mov qword [rsp + 0x30], rsi
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov eax, edi
jmp 0x14004fd13
mov eax, dword [rsp + 0x38]
mov dword [rbx + 0x380], eax
lea rcx, [rbx + 0x398]
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x70], rax
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x78]
call fcn.1400512e0
mov rdi, qword [rax]
mov rax, qword [rdi + 0x18]
test rax, rax
jne 0x14004fd49
mov qword [rbp + 0xcb0], 0x7004000c
mov eax, dword [rsp + 0x5c]
mov dword [rbp + 0xcb8], eax
mov eax, dword [rsp + 0x60]
mov dword [rbp + 0xcbc], eax
mov dword [rbp + 0xcc0], esi
mov eax, dword [rsp + 0x58]
mov dword [rbp + 0xcc4], eax
mov rax, qword [rsp + 0x50]
mov qword [rbp + 0xcc8], rax
mov qword [rbp + 0xcd0], rsi
mov eax, dword [rsp + 0x6c]
mov dword [rbp + 0xcd8], eax
mov dword [rbp + 0xcdc], esi
mov qword [rbp + 0xce0], rsi
xor edx, edx
mov r8d, 0x3dc
lea rcx, [rbp + 0xce8]
call fcn.1400835b0
xor eax, eax
mov dword [rbp + 0x10c4], eax
xor edx, edx
mov r8d, 0x1e8
lea rcx, [rbp + 0x10c8]
call fcn.1400835b0
mov rax, qword [0x1400e19a0]
lea rdx, [rbp + 0xcb0]
mov rcx, qword [rbx + 0x350]
call rax
test eax, eax
je 0x14004fd35
cmp eax, 0x19
ja case.0x14004fcda.1
cdqe
lea rdx, [0x140000000]
movzx eax, byte [rdx + rax + 0x50104]
mov ecx, dword [rdx + rax*4 + 0x500fc]
add rcx, rdx
jmp rcx
mov ebx, esi
jmp 0x14004fce5
mov ebx, 0x80004005
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14004fcfb
mov qword [rsp + 0x50], rsi
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14004fd11
mov qword [rsp + 0x30], rsi
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov eax, ebx
mov rcx, qword [rbp + 0x18c0]
xor rcx, rsp
call fcn.140053bc0
mov rbx, qword [rsp + 0x1a00]
add rsp, 0x19d0
pop rdi
pop rsi
pop rbp
ret
mov rax, qword [rbp + 0xcd0]
test rax, rax
je 0x1400500d4
mov qword [rdi + 0x18], rax
mov qword [rbp + 0x12b0], 0x7004000c
mov qword [rbp + 0x12b8], rsi
mov qword [rbp + 0x12c0], rax
mov qword [rbp + 0x12c8], rsi
mov dword [rbp + 0x12d0], esi
xor edx, edx
mov r8d, 0x3ec
lea rcx, [rbp + 0x12d4]
call fcn.1400835b0
xor edx, edx
mov r8d, 0x1f8
lea rcx, [rbp + 0x16c0]
call fcn.1400835b0
mov rax, qword [0x1400e19b0]
lea rdx, [rbp + 0x12b0]
mov rcx, qword [rbx + 0x350]
call rax
test eax, eax
je 0x14004fe0e
cmp eax, 0x19
ja case.0x14004fdd2.1
cdqe
lea rdx, [0x140000000]
movzx eax, byte [rdx + rax + 0x50128]
mov ecx, dword [rdx + rax*4 + 0x50120]
add rcx, rdx
jmp rcx
mov ebx, esi
jmp 0x14004fddd
mov ebx, 0x80004005
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14004fdf3
mov qword [rsp + 0x50], rsi
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14004fe09
mov qword [rsp + 0x30], rsi
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
jmp 0x14004fd11
mov rdx, qword [rbp + 0x12c8]
test rdx, rdx
je 0x14005003c
mov qword [rbx + 0x390], rdx
movzx eax, byte [rbx + 0x358]
mov byte [rbx + 0x358], sil
neg al
sbb ecx, ecx
and ecx, 2
mov dword [rbp - 0x70], 0xf006000c
mov eax, dword [rsp + 0x5c]
mov dword [rbp - 0x6c], eax
mov eax, dword [rsp + 0x60]
mov dword [rbp - 0x68], eax
mov eax, dword [rsp + 0x64]
mov dword [rbp - 0x64], eax
mov dword [rbp - 0x60], ecx
mov eax, dword [rsp + 0x3c]
mov dword [rbp - 0x5c], eax
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x58], rax
mov rax, qword [rsp + 0x48]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rdx
mov rax, qword [rbx + 0x388]
mov qword [rbp - 0x40], rax
mov rax, qword [rbx + 0x378]
mov qword [rbp - 0x38], rax
mov eax, dword [rbp + 0x12d0]
mov dword [rbp - 0x30], eax
mov dword [rbp - 0x2c], 1
mov dword [rbp - 0x28], 0xff
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], rsi
mov dword [rbp - 0x10], esi
mov qword [rbp - 8], rsi
mov qword [rbp], rsi
mov qword [rbp + 8], rsi
mov qword [rbp + 0x10], rsi
mov qword [rbp + 0x18], rsi
mov qword [rbp + 0x20], rsi
mov dword [rbp + 0x28], esi
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x2c], xmm0
mov qword [rbp + 0x3c], rax
xor edx, edx
mov r8d, 0x3b4
lea rcx, [rbp + 0x44]
call fcn.1400835b0
xor edx, edx
mov r8d, 0x1e8
lea rcx, [rbp + 0x3f8]
call fcn.1400835b0
xorps xmm0, xmm0
movups xmmword [rbp + 0x5e0], xmm0
xorps xmm1, xmm1
movups xmmword [rbp + 0x5f0], xmm1
movups xmmword [rbp + 0x600], xmm1
mov qword [rbp + 0x610], rsi
xor eax, eax
movups xmmword [rbp + 0x618], xmm0
mov qword [rbp + 0x628], rax
movups xmmword [rbp + 0x630], xmm0
mov qword [rbp + 0x640], rsi
mov qword [rbp + 0x648], rsi
mov qword [rbp + 0x650], rax
mov qword [rbp + 0x658], rsi
mov qword [rbp + 0x660], rsi
mov dword [rbp + 0x668], esi
xor edx, edx
mov r8d, 0x474
lea rcx, [rbp + 0x66c]
call fcn.1400835b0
xor edx, edx
mov r8d, 0x1d0
lea rcx, [rbp + 0xae0]
call fcn.1400835b0
mov rax, qword [0x1400e19c0]
lea rdx, [rbp - 0x70]
mov rcx, qword [rbx + 0x350]
call rax
test eax, eax
je 0x14004fff9
cmp eax, 0x19
ja case.0x14004ffbd.1
cdqe
lea rdx, [0x140000000]
movzx eax, byte [rdx + rax + 0x5014c]
mov ecx, dword [rdx + rax*4 + 0x50144]
add rcx, rdx
jmp rcx
mov ebx, esi
jmp 0x14004ffc8
mov ebx, 0x80004005
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14004ffde
mov qword [rsp + 0x50], rsi
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14004fff4
mov qword [rsp + 0x30], rsi
mov rdx, qword [rcx]
call qword [rdx + 0x10]
nop
jmp 0x14004fd11
rdtsc
shl rdx, 0x20
or rax, rdx
mov qword [rbx + 0x3e0], rax
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14005001f
mov qword [rsp + 0x50], rsi
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140050035
mov qword [rsp + 0x30], rsi
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
xor eax, eax
jmp 0x14004fd13
mov r9d, 0xcc
lea r8, str.dte::mfcodec::EncoderNvidiaBase::onInputArrived
lea rdx, str.encMapParams.mappedResource
lea rcx, str.ASSERTION_FAILED:__s___s__d_
call fcn.140011520
call fcn.14005e1c0
int3
mov r9d, 0xa4
lea r8, str.dte::mfcodec::EncoderNvidiaBase::onInputArrived
lea rdx, str.NvEnc.isLoaded___
lea rcx, str.ASSERTION_FAILED:__s___s__d_
call fcn.140011520
call fcn.14005e1c0
int3
mov r9d, 0xa5
lea r8, str.dte::mfcodec::EncoderNvidiaBase::onInputArrived
lea rdx, str.m_encoder
lea rcx, str.ASSERTION_FAILED:__s___s__d_
call fcn.140011520
call fcn.14005e1c0
int3
mov r9d, 0xa6
lea r8, str.dte::mfcodec::EncoderNvidiaBase::onInputArrived
lea rdx, str.sample
lea rcx, str.ASSERTION_FAILED:__s___s__d_
call fcn.140011520
call fcn.14005e1c0
int3
mov r9d, 0xc1
lea r8, str.dte::mfcodec::EncoderNvidiaBase::onInputArrived
lea rdx, str.rrParams.registeredResource
lea rcx, str.ASSERTION_FAILED:__s___s__d_
call fcn.140011520
call fcn.14005e1c0
int3