Function at 0x14003e6f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
mov rax, qword [0x14022b800]
xor rax, rsp
mov qword [rbp + 0x1d8], rax
mov rdi, r9
mov rsi, r8
mov rbx, rdx
mov r14, rcx
mov qword [rbp + 0x68], r8
mov qword [rbp + 0x60], r9
xor r12d, r12d
mov r15d, r12d
mov dword [rsp + 0x20], r12d
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
test rdx, rdx
je 0x14003e794
mov qword [rsp + 0x50], rdx
mov eax, 1
lock xadd dword [rdx], eax
inc eax
cmp eax, 1
jle 0x14003e782
mov rax, qword gs:[0x30]
mov ecx, dword [rax + 0x48]
cmp dword [rdx + 4], ecx
je 0x14003e791
mov edx, 0xffffffff
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rax, qword gs:[0x30]
mov ecx, dword [rax + 0x48]
mov dword [rbx + 4], ecx
inc dword [rbx + 8]
lea rdx, str.AV1_Encoder_Caps
mov ecx, 6
call fcn.140083970
mov rbx, qword [rdi]
mov qword [rsp + 0x70], rbx
mov qword [rbp + 0x70], r12
movdqa xmm0, xmmword [0x1401f9e10]
movdqu xmmword [rsp + 0x2c], xmm0
mov dword [rsp + 0x3c], 0x5f5e100
mov byte [rsp + 0x40], 0
mov dword [rsp + 0x44], 0x3bc40
mov word [rsp + 0x48], 0
mov byte [rsp + 0x4a], 0
mov byte [rsp + 0x28], 0
lea r8, [rbp + 0x90]
lea rdx, str.DisableAV1
lea rcx, str.SOFTWAREAMDDVR
call fcn.1400074d0
test al, al
jne 0x14003e83c
lea r8, [rbp + 0x90]
lea rdx, str.DisableAV1
lea rcx, str.SOFTWAREAMDDVR
call fcn.1400075b0
test al, al
jne 0x14003e83c
lea rdx, [rbp + 0x90]
lea rcx, str.DisableAV1
call fcn.140007690
test al, al
je 0x14003e8f4
cmp dword [rbp + 0x90], 0
je 0x14003e8f4
lea rdx, str.AV1_disabled_by_reg_key
mov ecx, 6
call fcn.140083970
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [r14], xmm0
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [r14 + 0x10], xmm1
mov eax, dword [rsp + 0x48]
mov dword [r14 + 0x20], eax
mov rcx, qword [rbp + 0x70]
test rcx, rcx
je 0x14003e885
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rax, qword [rsp + 0x50]
test rax, rax
je 0x14003e8c6
add dword [rax + 8], 0xffffffff
mov ecx, dword [rax + 8]
jne 0x14003e89c
mov dword [rax + 4], r12d
mov rbx, 0xffffffffffffffff
lock xadd dword [rax], ebx
cmp ebx, 1
je 0x14003e8c6
test ecx, ecx
jne 0x14003e8c6
xor r8d, r8d
lea edx, [rcx + 1]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
nop
lea rcx, [rsi + 0x48]
call fcn.14000fbc0
nop
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x14003e8e0
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsi]
test rcx, rcx
je 0x14003e8ef
mov rax, qword [rcx]
call qword [rax + 8]
nop
jmp 0x14003ef57
mov r8d, r12d
test rbx, rbx
setne r8b
lea rdx, str.preExistingEncoder___d
mov ecx, 6
call fcn.140083970
test rbx, rbx
jne 0x14003ef6e
mov rbx, qword [0x140230b40]
mov rcx, qword [rbp + 0x70]
test rcx, rcx
je 0x14003e92e
mov rax, qword [rcx]
call qword [rax + 8]
mov qword [rbp + 0x70], r12
mov rax, qword [rbx]
lea rdx, [rbp + 0x70]
mov rcx, rbx
call qword [rax]
mov r12d, eax
mov rbx, qword [rsi + 0x20]
test rbx, rbx
je 0x14003e970
mov rbx, qword [rbx + 8]
test rbx, rbx
je 0x14003e968
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 8]
mov r15d, 1
movzx r13d, r15b
jmp 0x14003e977
mov r15d, 1
jmp 0x14003e974
mov rbx, qword [rbp + 0x60]
xor r13b, r13b
test r15b, 1
je 0x14003e98b
test rbx, rbx
je 0x14003e98b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
test r13b, r13b
je 0x14003e9e7
lea rdx, str.GetEncoderBaseCapsAV1:_Init_AMF_context_with_DX11
mov ecx, 6
call fcn.140083970
mov r15, qword [rbp + 0x70]
mov rbx, qword [rsi + 0x20]
mov rbx, qword [rbx + 8]
mov qword [rsp + 0x68], rbx
test rbx, rbx
je 0x14003e9c1
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
nop
mov rax, qword [r15]
mov r8d, 0x6e
mov rdx, rbx
mov rcx, r15
call qword [rax + 0x90]
mov r12d, eax
test rbx, rbx
je 0x14003e9e7
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
test r12d, r12d
je 0x14003eaa9
mov ecx, r12d
call fcn.14000c8c0
mov r8, rax
lea rdx, str.GetEncoderBaseCapsAV1:_Init_AMF_context_failed:_returned__s
mov ecx, 6
call fcn.1400838f0
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [r14], xmm0
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [r14 + 0x10], xmm1
mov eax, dword [rsp + 0x48]
mov dword [r14 + 0x20], eax
mov rcx, qword [rbp + 0x70]
test rcx, rcx
je 0x14003ea37
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rax, qword [rsp + 0x50]
test rax, rax
je 0x14003ea7b
add dword [rax + 8], 0xffffffff
mov ecx, dword [rax + 8]
jne 0x14003ea51
mov dword [rax + 4], 0
mov rbx, 0xffffffffffffffff
lock xadd dword [rax], ebx
cmp ebx, 1
je 0x14003ea7b
test ecx, ecx
jne 0x14003ea7b
xor r8d, r8d
lea edx, [rcx + 1]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
nop
lea rcx, [rsi + 0x48]
call fcn.14000fbc0
nop
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x14003ea95
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsi]
test rcx, rcx
je 0x14003eaa4
mov rax, qword [rcx]
call qword [rax + 8]
nop
jmp 0x14003ef57
mov rbx, qword [0x140230b40]
mov rcx, qword [rdi]
test rcx, rcx
je 0x14003eabe
mov rax, qword [rcx]
call qword [rax + 8]
xor r15d, r15d
mov qword [rdi], r15
mov rax, qword [rbx]
mov r9, rdi
lea r8, str.AMFVideoEncoderHW_AV1
mov rdx, qword [rbp + 0x70]
mov rcx, rbx
call qword [rax + 8]
test eax, eax
jne 0x14003ee85
mov rcx, qword [rdi]
test rcx, rcx
je 0x14003ee85
mov dword [rbp - 0x40], 2
mov qword [rbp - 0x38], r15
movups xmm0, xmmword [rbp - 0x40]
movaps xmmword [rbp + 0x20], xmm0
movsd xmm1, qword [rbp - 0x30]
movsd qword [rbp + 0x30], xmm1
mov rax, qword [rcx]
lea r8, [rbp + 0x20]
lea rdx, str.Av1Usage
call qword [rax + 0x18]
mov ebx, eax
lea rcx, [rbp - 0x40]
call fcn.14000b9c0
nop
test ebx, ebx
je 0x14003ec07
mov ecx, ebx
call fcn.14000c8c0
mov r8, rax
lea rdx, str.GetEncoderBaseCapsAV1:_SetProperty_AMF_VIDEO_ENCODER_AV1_USAGE:_AMF_VIDEO_ENCODER_AV1_USAGE_TRANSCONDING:_returned__s
lea ecx, [r15 + 6]
call fcn.1400838f0
mov rcx, qword [rdi]
test rcx, rcx
je 0x14003eb6d
mov rax, qword [rcx]
call qword [rax + 0x98]
mov rcx, qword [rdi]
test rcx, rcx
je 0x14003eb6d
mov qword [rdi], r15
mov rax, qword [rcx]
call qword [rax + 8]
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [r14], xmm0
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [r14 + 0x10], xmm1
mov eax, dword [rsp + 0x48]
mov dword [r14 + 0x20], eax
mov rcx, qword [rbp + 0x70]
test rcx, rcx
je 0x14003eb98
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rax, qword [rsp + 0x50]
test rax, rax
je 0x14003ebd9
add dword [rax + 8], 0xffffffff
mov ecx, dword [rax + 8]
jne 0x14003ebaf
mov dword [rax + 4], r15d
mov rbx, 0xffffffffffffffff
lock xadd dword [rax], ebx
cmp ebx, 1
je 0x14003ebd9
test ecx, ecx
jne 0x14003ebd9
xor r8d, r8d
lea edx, [rcx + 1]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
nop
lea rcx, [rsi + 0x48]
call fcn.14000fbc0
nop
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x14003ebf3
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsi]
test rcx, rcx
je 0x14003ec02
mov rax, qword [rcx]
call qword [rax + 8]
nop
jmp 0x14003ef57
mov dword [rsp + 0x20], 0x3c
mov dword [rsp + 0x24], 1
mov rcx, qword [rdi]
mov dword [rbp - 0x58], 7
mov rax, qword [rsp + 0x20]
mov qword [rbp - 0x50], rax
movups xmm0, xmmword [rbp - 0x58]
movaps xmmword [rbp], xmm0
movsd xmm1, qword [rbp - 0x48]
movsd qword [rbp + 0x10], xmm1
mov rax, qword [rcx]
lea r8, [rbp]
lea rdx, str.Av1FrameRate
call qword [rax + 0x18]
mov ebx, eax
lea rcx, [rbp - 0x58]
call fcn.14000b9c0
nop
test ebx, ebx
je 0x14003ed38
mov ecx, ebx
call fcn.14000c8c0
mov r8, rax
lea rdx, str.GetEncoderBaseCapsAV1:_SetProperty_AMF_VIDEO_ENCODER_AV1_FRAMERATE:_60_1:_returned__s
mov ecx, 6
call fcn.1400838f0
mov rcx, qword [rdi]
test rcx, rcx
je 0x14003ec9e
mov rax, qword [rcx]
call qword [rax + 0x98]
mov rcx, qword [rdi]
test rcx, rcx
je 0x14003ec9e
mov qword [rdi], r15
mov rax, qword [rcx]
call qword [rax + 8]
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [r14], xmm0
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [r14 + 0x10], xmm1
mov eax, dword [rsp + 0x48]
mov dword [r14 + 0x20], eax
mov rcx, qword [rbp + 0x70]
test rcx, rcx
je 0x14003ecc9
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rax, qword [rsp + 0x50]
test rax, rax
je 0x14003ed0a
add dword [rax + 8], 0xffffffff
mov ecx, dword [rax + 8]
jne 0x14003ece0
mov dword [rax + 4], r15d
mov rbx, 0xffffffffffffffff
lock xadd dword [rax], ebx
cmp ebx, 1
je 0x14003ed0a
test ecx, ecx
jne 0x14003ed0a
xor r8d, r8d
lea edx, [rcx + 1]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
nop
lea rcx, [rsi + 0x48]
call fcn.14000fbc0
nop
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x14003ed24
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsi]
test rcx, rcx
je 0x14003ed33
mov rax, qword [rcx]
call qword [rax + 8]
nop
jmp 0x14003ef57
mov rcx, qword [rdi]
mov dword [rbp - 0x70], 2
mov qword [rbp - 0x68], 3
movups xmm0, xmmword [rbp - 0x70]
movaps xmmword [rbp - 0x20], xmm0
movsd xmm1, qword [rbp - 0x60]
movsd qword [rbp - 0x10], xmm1
mov rax, qword [rcx]
lea r8, [rbp - 0x20]
lea rdx, str.Av1AlignmentMode
call qword [rax + 0x18]
nop
lea rcx, [rbp - 0x70]
call fcn.14000b9c0
nop
lea rdx, str.GetEncoderBaseCapsAV1:_Initing_AV1_encoder:_NV12__1920x1088_
mov ecx, 6
call fcn.140083970
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov edx, 1
mov r9d, 0x440
mov r8d, 0x780
call qword [rax + 0x88]
test eax, eax
je 0x14003ef6e
mov ecx, eax
call fcn.14000c8c0
mov r8, rax
lea rdx, str.GetEncoderBaseCapsAV1:_Init_AV1_encoder_failed:_returned__s
mov ecx, 6
call fcn.1400838f0
mov rcx, qword [rdi]
test rcx, rcx
je 0x14003edeb
mov rax, qword [rcx]
call qword [rax + 0x98]
mov rcx, qword [rdi]
test rcx, rcx
je 0x14003edeb
mov qword [rdi], r15
mov rax, qword [rcx]
call qword [rax + 8]
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [r14], xmm0
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [r14 + 0x10], xmm1
mov eax, dword [rsp + 0x48]
mov dword [r14 + 0x20], eax
mov rcx, qword [rbp + 0x70]
test rcx, rcx
je 0x14003ee16
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rax, qword [rsp + 0x50]
test rax, rax
je 0x14003ee57
add dword [rax + 8], 0xffffffff
mov ecx, dword [rax + 8]
jne 0x14003ee2d
mov dword [rax + 4], r15d
mov rbx, 0xffffffffffffffff
lock xadd dword [rax], ebx
cmp ebx, 1
je 0x14003ee57
test ecx, ecx
jne 0x14003ee57
xor r8d, r8d
lea edx, [rcx + 1]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
nop
lea rcx, [rsi + 0x48]
call fcn.14000fbc0
nop
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x14003ee71
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsi]
test rcx, rcx
je 0x14003ee80
mov rax, qword [rcx]
call qword [rax + 8]
nop
jmp 0x14003ef57
mov ecx, eax
call fcn.14000c8c0
mov r8, rax
lea rdx, str.GetEncoderBaseCapsAV1:_CreateComponent_encoder_failed:_returned__s
mov ecx, 6
call fcn.1400838f0
mov rcx, qword [rdi]
test rcx, rcx
je 0x14003eec2
mov rax, qword [rcx]
call qword [rax + 0x98]
mov rcx, qword [rdi]
test rcx, rcx
je 0x14003eec2
mov qword [rdi], r15
mov rax, qword [rcx]
call qword [rax + 8]
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [r14], xmm0
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [r14 + 0x10], xmm1
mov eax, dword [rsp + 0x48]
mov dword [r14 + 0x20], eax
mov rcx, qword [rbp + 0x70]
test rcx, rcx
je 0x14003eeed
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rax, qword [rsp + 0x50]
test rax, rax
je 0x14003ef2e
add dword [rax + 8], 0xffffffff
mov ecx, dword [rax + 8]
jne 0x14003ef04
mov dword [rax + 4], r15d
mov rbx, 0xffffffffffffffff
lock xadd dword [rax], ebx
cmp ebx, 1
je 0x14003ef2e
test ecx, ecx
jne 0x14003ef2e
xor r8d, r8d
lea edx, [rcx + 1]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
nop
lea rcx, [rsi + 0x48]
call fcn.14000fbc0
nop
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x14003ef48
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsi]
test rcx, rcx
je 0x14003ef57
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rdi]
test rcx, rcx
je 0x14003f6c3
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x14003f6c3
mov r13d, 0x870
mov dword [rsp + 0x38], r13d
mov r15d, 0x1000
mov dword [rsp + 0x30], r15d
mov r12d, 0x10
mov dword [rsp + 0x2c], r12d
mov eax, r12d
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x34], eax
mov byte [rsp + 0x28], 1
mov rcx, qword [rdi]
mov qword [rbp + 0x78], 0
mov rax, qword [rcx]
lea rdx, [rbp + 0x78]
call qword [rax + 0xd0]
lea rbx, [r12 - 0x11]
test eax, eax
jne 0x14003f5a1
mov r15, rbx
xor r13d, r13d
mov dword [rbp + 0x130], r13d
mov rcx, qword [rbp + 0x78]
mov rax, qword [rcx]
lea r8, [rbp + 0x130]
lea rdx, str.Av1CapColorConversion
call qword [rax + 0x20]
test eax, eax
jne 0x14003f044
mov eax, dword [rbp + 0x130]
mov r15d, r13d
test eax, eax
je 0x14003f044
cmp eax, 2
jne 0x14003f008
mov r15, qword [rbp + 0x138]
jmp 0x14003f044
mov dword [rbp + 0x148], r13d
mov r8d, 2
lea rdx, [rbp + 0x130]
lea rcx, [rbp + 0x148]
call fcn.14000d3d0
cmp dword [rbp + 0x148], 0
cmovne r15, qword [rbp + 0x150]
lea rcx, [rbp + 0x148]
call fcn.14000b9c0
nop
lea rcx, [rbp + 0x130]
call fcn.14000b9c0
nop
mov r8, r15
lea rdx, str.Color_conversion_type:__d
mov ecx, 6
call fcn.140083970
test r15, r15
jne 0x14003f06e
mov al, 1
jmp 0x14003f07b
call fcn.140061c90
mov rcx, rax
call fcn.140024120
mov byte [rsp + 0x40], al
movzx r8d, al
lea rdx, str.EFC_Support:__d
mov ecx, 6
call fcn.140083970
mov r15d, r13d
mov dword [rbp + 0x118], r13d
mov rcx, qword [rbp + 0x78]
mov rax, qword [rcx]
lea r8, [rbp + 0x118]
lea rdx, str.Av1MaxProfile
call qword [rax + 0x20]
test eax, eax
jne 0x14003f10e
mov eax, dword [rbp + 0x118]
test eax, eax
je 0x14003f10e
cmp eax, 2
jne 0x14003f0d2
mov r15d, dword [rbp + 0x120]
jmp 0x14003f10e
mov dword [rbp + 0x160], r13d
mov r8d, 2
lea rdx, [rbp + 0x118]
lea rcx, [rbp + 0x160]
call fcn.14000d3d0
cmp dword [rbp + 0x160], 0
cmovne r15d, dword [rbp + 0x168]
lea rcx, [rbp + 0x160]
call fcn.14000b9c0
nop
lea rcx, [rbp + 0x118]
call fcn.14000b9c0
nop
mov r8d, r15d
lea rdx, str.Maximum_profile:__d
mov ecx, 6
call fcn.140083970
mov r15d, r13d
mov dword [rbp + 0xb8], r13d
mov rcx, qword [rbp + 0x78]
mov rax, qword [rcx]
lea r8, [rbp + 0xb8]
lea rdx, str.Av1MaxLevel
call qword [rax + 0x20]
test eax, eax
jne 0x14003f1a9
mov eax, dword [rbp + 0xb8]
test eax, eax
je 0x14003f1a9
cmp eax, 2
jne 0x14003f16d
mov r15d, dword [rbp + 0xc0]
jmp 0x14003f1a9
mov dword [rbp + 0x178], r13d
mov r8d, 2
lea rdx, [rbp + 0xb8]
lea rcx, [rbp + 0x178]
call fcn.14000d3d0
cmp dword [rbp + 0x178], 0
cmovne r15d, dword [rbp + 0x180]
lea rcx, [rbp + 0x178]
call fcn.14000b9c0
nop
lea rcx, [rbp + 0xb8]
call fcn.14000b9c0
nop
mov r8d, r15d
lea rdx, str.Maximum_level:__d
mov ecx, 6
call fcn.140083970
mov r15d, r13d
mov dword [rbp + 0xd0], r13d
mov rcx, qword [rbp + 0x78]
mov rax, qword [rcx]
lea r8, [rbp + 0xd0]
lea rdx, str.Av1MaxBitrate
call qword [rax + 0x20]
test eax, eax
jne 0x14003f244
mov eax, dword [rbp + 0xd0]
test eax, eax
je 0x14003f244
cmp eax, 2
jne 0x14003f208
mov r15d, dword [rbp + 0xd8]
jmp 0x14003f244
mov dword [rbp + 0x190], r13d
mov r8d, 2
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0x190]
call fcn.14000d3d0
cmp dword [rbp + 0x190], 0
cmovne r15d, dword [rbp + 0x198]
lea rcx, [rbp + 0x190]
call fcn.14000b9c0
nop
lea rcx, [rbp + 0xd0]
call fcn.14000b9c0
nop
mov r8d, r15d
lea rdx, str.Maximum_bit_rate:__d
mov ecx, 6
call fcn.140083970
xor r8d, r8d
lea rdx, str.B_frame_and_enhanced_filtering_supported:__d
lea ecx, [r8 + 6]
call fcn.140083970
mov r12d, r13d
mov dword [rbp + 0xe8], r13d
mov rcx, qword [rbp + 0x78]
mov rax, qword [rcx]
lea r8, [rbp + 0xe8]
lea rdx, str.Av1CapNumOfHwInstances
call qword [rax + 0x20]
test eax, eax
jne 0x14003f2f2
mov eax, dword [rbp + 0xe8]
test eax, eax
je 0x14003f2f2
cmp eax, 2
jne 0x14003f2b6
mov r12d, dword [rbp + 0xf0]
jmp 0x14003f2f2
mov dword [rbp + 0x1a8], r13d
mov r8d, 2
lea rdx, [rbp + 0xe8]
lea rcx, [rbp + 0x1a8]
call fcn.14000d3d0
cmp dword [rbp + 0x1a8], 0
cmovne r12d, dword [rbp + 0x1b0]
lea rcx, [rbp + 0x1a8]
call fcn.14000b9c0
nop
lea rcx, [rbp + 0xe8]
call fcn.14000b9c0
nop
mov r8d, r12d
lea rdx, str.Number_HW_instances:__d
mov ecx, 6
call fcn.140083970
mov dword [rsp + 0x3c], r15d
mov dword [rbp + 0x88], r13d
mov dword [rbp + 0x8c], r13d
mov dword [rbp + 0x80], r13d
mov dword [rbp + 0x84], r13d
mov qword [rbp + 0xa8], r13
mov rcx, qword [rbp + 0x78]
mov rax, qword [rcx]
lea rdx, [rbp + 0xa8]
call qword [rax + 0x70]
test eax, eax
jne 0x14003f387
mov rcx, qword [rbp + 0xa8]
mov rax, qword [rcx]
lea r8, [rbp + 0x8c]
lea rdx, [rbp + 0x88]
call qword [rax + 0x18]
mov rcx, qword [rbp + 0xa8]
mov rax, qword [rcx]
lea r8, [rbp + 0x84]
lea rdx, [rbp + 0x80]
call qword [rax + 0x20]
nop
mov qword [rbp + 0xb0], r13
mov rcx, qword [rbp + 0x78]
mov rax, qword [rcx]
lea rdx, [rbp + 0xb0]
call qword [rax + 0x78]
test eax, eax
jne 0x14003f467
mov dword [rbp + 0xa0], r13d
mov dword [rbp + 0x98], r13d
mov dword [rbp + 0x9c], r13d
mov dword [rbp + 0x94], r13d
mov rcx, qword [rbp + 0xb0]
mov rax, qword [rcx]
lea r8, [rbp + 0x98]
lea rdx, [rbp + 0xa0]
call qword [rax + 0x18]
mov rcx, qword [rbp + 0xb0]
mov rax, qword [rcx]
lea r8, [rbp + 0x94]
lea rdx, [rbp + 0x9c]
call qword [rax + 0x20]
mov r12d, dword [rbp + 0x88]
cmp r12d, dword [rbp + 0xa0]
cmovl r12d, dword [rbp + 0xa0]
mov dword [rbp + 0x88], r12d
mov edx, dword [rbp + 0x80]
cmp edx, dword [rbp + 0x9c]
cmovl edx, dword [rbp + 0x9c]
mov dword [rbp + 0x80], edx
mov ecx, dword [rbp + 0x8c]
cmp dword [rbp + 0x98], ecx
cmovl ecx, dword [rbp + 0x98]
mov dword [rbp + 0x8c], ecx
mov r13d, dword [rbp + 0x84]
cmp dword [rbp + 0x94], r13d
cmovl r13d, dword [rbp + 0x94]
mov dword [rbp + 0x84], r13d
jmp 0x14003f481
mov r12d, dword [rbp + 0x88]
mov ecx, dword [rbp + 0x8c]
mov edx, dword [rbp + 0x80]
mov r13d, dword [rbp + 0x84]
mov dword [rsp + 0x60], edx
mov dword [rsp + 0x20], ecx
mov dword [rsp + 0x2c], r12d
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x34], edx
mov dword [rsp + 0x38], r13d
mov rcx, qword [rdi]
mov dword [rsp + 0x78], 2
mov qword [rbp - 0x80], Ordinal_102
movups xmm0, xmmword [rsp + 0x78]
movaps xmmword [rbp + 0x40], xmm0
movsd xmm1, qword [rbp - 0x78]
movsd qword [rbp + 0x50], xmm1
mov rax, qword [rcx]
lea r8, [rbp + 0x40]
lea rdx, str.Av1QualityPreset
call qword [rax + 0x18]
nop
lea rcx, [rsp + 0x78]
call fcn.14000b9c0
nop
mov dword [rbp + 0x100], 0
mov rcx, qword [rbp + 0x78]
mov rax, qword [rcx]
lea r8, [rbp + 0x100]
lea rdx, str.Av1CapMaxThroughput
call qword [rax + 0x20]
test eax, eax
jne 0x14003f55d
mov eax, dword [rbp + 0x100]
xor r15d, r15d
test eax, eax
je 0x14003f562
cmp eax, 2
jne 0x14003f51f
mov r15, qword [rbp + 0x108]
jmp 0x14003f562
mov dword [rbp + 0x1c0], r15d
mov r8d, 2
lea rdx, [rbp + 0x100]
lea rcx, [rbp + 0x1c0]
call fcn.14000d3d0
cmp dword [rbp + 0x1c0], 0
cmovne r15, qword [rbp + 0x1c8]
lea rcx, [rbp + 0x1c0]
call fcn.14000b9c0
nop
jmp 0x14003f562
mov r15, qword [rsp + 0x68]
lea rcx, [rbp + 0x100]
call fcn.14000b9c0
nop
mov dword [rsp + 0x44], r15d
mov rcx, qword [rbp + 0xb0]
test rcx, rcx
je 0x14003f587
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rbp + 0xa8]
test rcx, rcx
je 0x14003f59a
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov r15d, dword [rsp + 0x20]
jmp 0x14003f5b5
mov r8d, eax
lea rdx, str.GetEncoderBaseCapsAV1:_GetCaps_failed__using_defaults:__d
mov ecx, 6
call fcn.140083970
cmp qword [rsp + 0x70], 0
jne 0x14003f5e3
mov rcx, qword [rdi]
test rcx, rcx
je 0x14003f5e3
mov rax, qword [rcx]
call qword [rax + 0x98]
mov rcx, qword [rdi]
test rcx, rcx
je 0x14003f5e3
mov qword [rdi], 0
mov rax, qword [rcx]
call qword [rax + 8]
mov r9d, r13d
mov r8d, r15d
lea rdx, str.Cap_Maximum_size:__dx_d
mov ecx, 6
call fcn.140083970
mov r9d, dword [rsp + 0x60]
mov r8d, r12d
lea rdx, str.Cap_Minimum_size:__dx_d
mov ecx, 6
call fcn.140083970
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [r14], xmm0
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [r14 + 0x10], xmm1
mov eax, dword [rsp + 0x48]
mov dword [r14 + 0x20], eax
mov rcx, qword [rbp + 0x78]
test rcx, rcx
je 0x14003f63e
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rbp + 0x70]
test rcx, rcx
je 0x14003f64e
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rax, qword [rsp + 0x50]
test rax, rax
je 0x14003f68b
add dword [rax + 8], 0xffffffff
mov ecx, dword [rax + 8]
jne 0x14003f668
mov dword [rax + 4], 0
lock xadd dword [rax], ebx
cmp ebx, 1
je 0x14003f68b
test ecx, ecx
jne 0x14003f68b
xor r8d, r8d
lea edx, [rcx + 1]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
nop
lea rcx, [rsi + 0x48]
call fcn.14000fbc0
nop
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x14003f6a5
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsi]
test rcx, rcx
je 0x14003f6b4
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rdi]
test rcx, rcx
je 0x14003f6c3
mov rdx, qword [rcx]
call qword [rdx + 8]
nop
mov rax, r14
mov rcx, qword [rbp + 0x1d8]
xor rcx, rsp
call fcn.14014f2f0
mov rbx, qword [rsp + 0x328]
add rsp, 0x2e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret