Function at 0x1004d6e0
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1318
call fcn.1008b3c0
mov eax, dword [0x100ffa04]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x4a4], eax
mov edi, ecx
xor eax, eax
mov dword [ebp - 0x48c], edi
xor esi, esi
mov dword [ebp - 0x47c], eax
push 0xd0
mov dword [ebp - 0x474], esi
mov dword [ebp - 0x478], esi
mov dword [ebp - 0x484], eax
mov dword [ebp - 0x4a8], eax
call fcn.1008b151
add esp, 4
mov dword [ebp - 0x470], eax
test eax, eax
je 0x1004d863
push 0xc
call fcn.1008b151
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x1004d76c
mov dword [ebx], vtable.amf::EncoderCoreAdapterT_int_.0
lea ecx, [edi + 0x144]
mov dword [ebx + 4], ecx
mov dword [ebx + 8], esi
jmp 0x1004d76e
xor ebx, ebx
mov eax, dword [ebp - 0x4a4]
xorps xmm0, xmm0
push ebx
push 0
push 1
mov ecx, dword [eax]
mov eax, 2
mov edi, eax
mov dword [ebp - 0xa48], eax
mov dword [ebp - 0x488], eax
dec ecx
mov eax, dword [ebp - 0x48c]
push 0xff
sub esp, 0x18
movlpd qword [ebp - 0x698], xmm0
mov dword [ebp - 0xa40], ecx
mov eax, dword [eax + 0x144]
cdq
mov dword [ebp - 0xb48], eax
mov dword [ebp - 0x490], eax
mov eax, esp
mov dword [ebp - 0xa3c], esi
sub esp, 0x18
movups xmm0, xmmword [ebp - 0xa48]
mov dword [ebp - 0x6a0], edi
mov esi, edi
mov dword [ebp - 0xb44], edx
movups xmmword [eax], xmm0
mov dword [ebp - 0xb50], esi
movq xmm0, qword [ebp - 0xa38]
movq qword [eax + 0x10], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x6a0]
sub esp, 0x18
mov dword [ebp - 0x498], ecx
mov ecx, dword [ebp - 0x470]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x690]
movq qword [eax + 0x10], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0xb50]
push 0
push edi
movups xmmword [eax], xmm0
push str.Av1EncoderInstanceIndex
movq xmm0, qword [ebp - 0xb40]
push str.Av1EncoderInstanceIndex
movq qword [eax + 0x10], xmm0
call fcn.100288e0
mov ecx, dword [ebp - 0x490]
mov dword [ebp - 0x49c], eax
mov eax, 7
mov dword [ebp - 0x474], eax
jmp 0x1004d899
mov eax, dword [ebp - 0xa40]
mov edi, dword [ebp - 0x6a0]
mov ecx, dword [ebp - 0xb48]
mov dword [ebp - 0x498], eax
mov eax, dword [ebp - 0xa48]
mov dword [ebp - 0x49c], esi
mov esi, dword [ebp - 0xb50]
mov dword [ebp - 0x488], eax
mov eax, dword [ebp - 0x474]
mov ebx, dword [sym.imp.ole32.dll_CoTaskMemFree]
test al, 4
je 0x1004d8d2
and eax, 0xfffffffb
mov dword [ebp - 0x474], eax
sub esi, 0xa
je 0x1004d8c9
sub esi, 1
je 0x1004d8c9
sub esi, 1
jne 0x1004d8d2
test ecx, ecx
je 0x1004d8d2
mov eax, dword [ecx]
push ecx
mov eax, dword [eax + 4]
call eax
jmp 0x1004d8cc
push ecx
call ebx
mov eax, dword [ebp - 0x474]
test al, 2
je 0x1004d910
and eax, 0xfffffffd
mov dword [ebp - 0x474], eax
sub edi, 0xa
je 0x1004d902
sub edi, 1
je 0x1004d902
sub edi, 1
jne 0x1004d910
mov ecx, dword [ebp - 0x698]
test ecx, ecx
je 0x1004d910
mov eax, dword [ecx]
push ecx
mov eax, dword [eax + 4]
call eax
jmp 0x1004d90a
push dword [ebp - 0x698]
call ebx
mov eax, dword [ebp - 0x474]
test al, 1
je 0x1004d94e
and eax, 0xfffffffe
mov dword [ebp - 0x474], eax
mov eax, dword [ebp - 0x488]
sub eax, 0xa
je 0x1004d946
sub eax, 1
je 0x1004d946
sub eax, 1
jne 0x1004d94e
mov ecx, dword [ebp - 0x498]
test ecx, ecx
je 0x1004d94e
mov eax, dword [ecx]
push ecx
mov eax, dword [eax + 4]
call eax
jmp 0x1004d94e
push dword [ebp - 0x498]
call ebx
mov edi, dword [ebp - 0x48c]
mov esi, dword [ebp - 0x49c]
mov ecx, esi
lea eax, [edi + 0x144]
push eax
push 7
push 0xffffffffffffffff
call fcn.10049570
push str.Av1EncoderInstanceIndex
lea ecx, [ebp - 0x31c]
call fcn.10007e90
push esi
lea ecx, [ebp - 0x31c]
push ecx
lea ecx, [edi + 0x20]
call fcn.10028a90
mov ecx, eax
call fcn.10028870
cmp dword [ebp - 0x308], 8
jb 0x1004d9a7
push dword [ebp - 0x31c]
call fcn.10022bb0
xor eax, eax
mov dword [ebp - 0x30c], 0
mov dword [ebp - 0x308], 7
mov word [ebp - 0x31c], ax
mov eax, dword [edi]
push 4
push edi
mov eax, dword [eax + 0x24]
call eax
mov esi, eax
mov ecx, esi
mov dword [ebp - 0x490], esi
mov edx, dword [esi]
mov edx, dword [edx + 0x14]
call edx
mov edi, eax
push 0xd0
mov dword [ebp - 0x498], edi
call fcn.1008b151
add esp, 4
mov dword [ebp - 0x470], eax
test eax, eax
je 0x1004daec
push 0xc
call fcn.1008b151
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x1004da20
mov dword [ecx], vtable.amf::EncoderCoreAdapterT_unsigned_int_.0
mov dword [ecx + 4], edi
mov dword [ecx + 8], esi
jmp 0x1004da22
xor ecx, ecx
mov esi, dword [ebp - 0x474]
xorps xmm0, xmm0
push ecx
push 0x100d50f0
push 1
push 0xff
sub esp, 0x18
mov ecx, dword [ebp - 0x470]
xor eax, eax
movlpd qword [ebp - 0x6b0], xmm0
mov dword [ebp - 0xa00], eax
xor edi, edi
movups xmm0, xmmword [ebp - 0xa00]
mov dword [ebp - 0x488], eax
or esi, 8
mov eax, esp
mov dword [ebp - 0xa18], edi
sub esp, 0x18
mov dword [ebp - 0x474], esi
mov esi, 2
mov dword [ebp - 0x6b8], esi
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x9f0]
movq qword [eax + 0x10], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0xa18]
sub esp, 0x18
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0xa08]
movq qword [eax + 0x10], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x6b8]
push edi
push esi
movups xmmword [eax], xmm0
push str.Av1EncodingLatencyMode
movq xmm0, qword [ebp - 0x6a8]
push str.Av1EncodingLatencyMode
movq qword [eax + 0x10], xmm0
call fcn.100288e0
mov dword [ebp - 0x49c], eax
mov eax, dword [ebp - 0x474]
or eax, 0x30
mov dword [ebp - 0x474], eax
jmp 0x1004db14
mov eax, dword [ebp - 0xa00]
mov edi, dword [ebp - 0xa18]
mov esi, dword [ebp - 0x6b8]
mov dword [ebp - 0x488], eax
mov eax, dword [ebp - 0x474]
mov dword [ebp - 0x49c], 0
test al, 0x20
je 0x1004db52
and eax, 0xffffffdf
mov dword [ebp - 0x474], eax
sub esi, 0xa
je 0x1004db44
sub esi, 1
je 0x1004db44
sub esi, 1
jne 0x1004db52
mov ecx, dword [ebp - 0x6b0]
test ecx, ecx
je 0x1004db52
mov eax, dword [ecx]
push ecx
mov eax, dword [eax + 4]
call eax
jmp 0x1004db4c
push dword [ebp - 0x6b0]
call ebx
mov eax, dword [ebp - 0x474]
test al, 0x10
je 0x1004db90
and eax, 0xffffffef
mov dword [ebp - 0x474], eax
sub edi, 0xa
je 0x1004db82
sub edi, 1
je 0x1004db82
sub edi, 1
jne 0x1004db90
mov ecx, dword [ebp - 0xa10]
test ecx, ecx
je 0x1004db90
mov eax, dword [ecx]
push ecx
mov eax, dword [eax + 4]
call eax
jmp 0x1004db8a
push dword [ebp - 0xa10]
call ebx
mov eax, dword [ebp - 0x474]
test al, 8
je 0x1004dbce
and eax, 0xfffffff7
mov dword [ebp - 0x474], eax
mov eax, dword [ebp - 0x488]
sub eax, 0xa
je 0x1004dbc6
sub eax, 1
je 0x1004dbc6
sub eax, 1
jne 0x1004dbce
mov ecx, dword [ebp - 0x9f8]
test ecx, ecx
je 0x1004dbce
mov eax, dword [ecx]
push ecx
mov eax, dword [eax + 4]
call eax
jmp 0x1004dbce
push dword [ebp - 0x9f8]
call ebx
mov esi, dword [ebp - 0x49c]
lea eax, [ebp - 0x47d]
push eax
push 7
push 0xffffffffffffffff
mov ecx, esi
mov byte [ebp - 0x47d], 0
call fcn.10049730
push str.Av1EncodingLatencyMode
lea ecx, [ebp - 0x364]
call fcn.10007e90
mov ecx, dword [ebp - 0x48c]
lea eax, [ebp - 0x364]
push esi
push eax
lea ecx, [ecx + 0x20]
call fcn.10028a90
mov ecx, eax
call fcn.10028870
cmp dword [ebp - 0x350], 8
jb 0x1004dc2e
push dword [ebp - 0x364]
call fcn.10022bb0
xor eax, eax
mov dword [ebp - 0x354], 0
push 0xd0
mov dword [ebp - 0x350], 7
mov word [ebp - 0x364], ax
call fcn.1008b151
add esp, 4
mov dword [ebp - 0x470], eax
test eax, eax
je 0x1004dd87
push 0xc
call fcn.1008b151
mov edx, eax
add esp, 4
test edx, edx
je 0x1004dc93
mov ecx, dword [ebp - 0x498]
mov eax, dword [ebp - 0x490]
add ecx, 4
mov dword [edx], vtable.amf::EncoderCoreAdapterT_unsigned_int_.0
mov dword [edx + 4], ecx
mov dword [edx + 8], eax
jmp 0x1004dc95
xor edx, edx
mov esi, dword [ebp - 0x474]
xorps xmm0, xmm0
push edx
push 0
push 1
push 0xff
sub esp, 0x18
mov ecx, dword [ebp - 0x470]
mov eax, 2
movlpd qword [ebp - 0x6c8], xmm0
or esi, 0x40
mov dword [ebp - 0x508], eax
mov edi, eax
mov dword [ebp - 0x488], eax
mov dword [ebp - 0x474], esi
mov esi, eax
mov eax, esp
mov dword [ebp - 0x500], 0xffffffff
mov dword [ebp - 0x4fc], 0
sub esp, 0x18
movups xmm0, xmmword [ebp - 0x508]
mov dword [ebp - 0x6d0], edi
mov dword [ebp - 0x4f0], esi
movups xmmword [eax], xmm0
mov dword [ebp - 0x4e8], 0xffffffff
movq xmm0, qword [ebp - 0x4f8]
movq qword [eax + 0x10], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x6d0]
sub esp, 0x18
mov dword [ebp - 0x4e4], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x6c0]
movq qword [eax + 0x10], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x4f0]
push 0
push esi
movups xmmword [eax], xmm0
push str.Av1MaxEncodingTime
movq xmm0, qword [ebp - 0x4e0]
push str.Av1MaxEncodingTime
movq qword [eax + 0x10], xmm0
call fcn.100288e0
mov dword [ebp - 0x49c], eax
mov eax, dword [ebp - 0x474]
or eax, 0x180
mov dword [ebp - 0x474], eax
jmp 0x1004ddaf
mov eax, dword [ebp - 0x508]
mov edi, dword [ebp - 0x6d0]
mov esi, dword [ebp - 0x4f0]
mov dword [ebp - 0x488], eax
mov eax, dword [ebp - 0x474]
mov dword [ebp - 0x49c], 0
test eax, 0x100
je 0x1004ddf3
and eax, 0xfffffeff
mov dword [ebp - 0x474], eax
sub esi, 0xa
je 0x1004dde4
sub esi, 1
je 0x1004dde4
sub esi, 1
jne 0x1004ddf3
mov ecx, dword [ebp - 0x4e8]
test ecx, ecx
je 0x1004ddf3
mov eax, dword [ecx]
push ecx
mov eax, dword [eax + 4]
call eax
jmp 0x1004dded
mov ecx, dword [ebp - 0x4e8]
push ecx
call ebx
mov eax, dword [ebp - 0x474]
test al, al
jns 0x1004de33
and eax, 0xffffff7f
mov dword [ebp - 0x474], eax
sub edi, 0xa
je 0x1004de25
sub edi, 1
je 0x1004de25
sub edi, 1
jne 0x1004de33
mov ecx, dword [ebp - 0x6c8]
test ecx, ecx
je 0x1004de33
mov eax, dword [ecx]
push ecx
mov eax, dword [eax + 4]
call eax
jmp 0x1004de2d
push dword [ebp - 0x6c8]
call ebx
mov eax, dword [ebp - 0x474]
test al, 0x40
je 0x1004de72
and eax, 0xffffffbf
mov dword [ebp - 0x474], eax
mov eax, dword [ebp - 0x488]
sub eax, 0xa
je 0x1004de69
sub eax, 1
je 0x1004de69
sub eax, 1
jne 0x1004de72
mov ecx, dword [ebp - 0x500]
test ecx, ecx
je 0x1004de72
mov eax, dword [ecx]
push ecx
mov eax, dword [eax + 4]
call eax
jmp 0x1004de72
mov ecx, dword [ebp - 0x500]
push ecx
call ebx
mov esi, dword [ebp - 0x49c]
lea eax, [ebp - 0x470]
push eax
push 7
push 0xffffffffffffffff
mov ecx, esi
mov dword [ebp - 0x470], 0xffffffff
call fcn.10049600
push str.Av1MaxEncodingTime
lea ecx, [ebp - 0xf4]
call fcn.10007e90
mov ecx, dword [ebp - 0x48c]
lea eax, [ebp - 0xf4]
push esi
push eax
lea ecx, [ecx + 0x20]
call fcn.10028a90
mov ecx, eax
call fcn.10028870
cmp dword [ebp - 0xe0], 8
jb 0x1004ded5
push dword [ebp - 0xf4]
call fcn.10022bb0
xor eax, eax
mov dword [ebp - 0xe4], 0
push 0xd0
mov dword [ebp - 0xe0], 7
mov word [ebp - 0xf4], ax
call fcn.1008b151
mov edx, eax
add esp, 4
test edx, edx
je 0x1004dfef
mov esi, dword [ebp - 0x474]
xorps xmm0, xmm0
push 0
push 0
push 1
push 0xff
sub esp, 0x18
movlpd qword [ebp - 0x6f8], xmm0
mov eax, esp
movlpd qword [ebp - 0x6e0], xmm0
mov ecx, 2
mov dword [ebp - 0x680], 0x3e8
mov dword [ebp - 0x688], ecx
sub esp, 0x18
mov dword [ebp - 0x67c], 0
mov edi, ecx
movups xmm0, xmmword [ebp - 0x688]
mov dword [ebp - 0x700], edi
or esi, 0x200
mov dword [ebp - 0x474], esi
mov esi, ecx
movups xmmword [eax], xmm0
mov dword [ebp - 0x6e8], esi
movq xmm0, qword [ebp - 0x678]
movq qword [eax + 0x10], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x700]
sub esp, 0x18
mov dword [ebp - 0x488], ecx
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x6f0]
movq qword [eax + 0x10], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x6e8]
push 0
push ecx
movups xmmword [eax], xmm0
mov ecx, edx
movq xmm0, qword [ebp - 0x6d8]
push str.Av1QueryTimeout
push str.Av1QueryTimeout
movq qword [eax + 0x10], xmm0
call fcn.100288e0
mov dword [ebp - 0x49c], eax
mov eax, dword [ebp - 0x474]
or eax, 0xc00
mov dword [ebp - 0x474], eax
jmp 0x1004e017
mov ecx, dword [ebp - 0x688]
mov edi, dword [ebp - 0x700]
mov esi, dword [ebp - 0x6e8]
mov eax, dword [ebp - 0x474]
mov dword [ebp - 0x49c], 0
mov dword [ebp - 0x488], ecx
test eax, 0x800
je 0x1004e05a
and eax, 0xfffff7ff
mov dword [ebp - 0x474], eax
sub esi, 0xa
je 0x1004e04c
sub esi, 1
je 0x1004e04c
sub esi, 1
jne 0x1004e05a
mov ecx, dword [ebp - 0x6e0]
test ecx, ecx
je 0x1004e05a
mov eax, dword [ecx]
push ecx
mov eax, dword [eax + 4]
call eax
jmp 0x1004e054
push dword [ebp - 0x6e0]
call ebx
mov eax, dword [ebp - 0x474]
test eax, 0x400
je 0x1004e09d
and eax, 0xfffffbff
mov dword [ebp - 0x474], eax
sub edi, 0xa
je 0x1004e08f
sub edi, 1
je 0x1004e08f
sub edi, 1
jne 0x1004e09d
mov ecx, dword [ebp - 0x6f8]
test ecx, ecx
je 0x1004e09d
mov eax, dword [ecx]
push ecx
mov eax, dword [eax + 4]
call eax
jmp 0x1004e097
push dword [ebp - 0x6f8]
call ebx
mov eax, dword [ebp - 0x474]
test eax, 0x200
je 0x1004e0e1
and eax, 0xfffffdff
mov dword [ebp - 0x474], eax
mov eax, dword [ebp - 0x488]
sub eax, 0xa
je 0x1004e0d8
sub eax, 1
je 0x1004e0d8
sub eax, 1
jne 0x1004e0e1
mov ecx, dword [ebp - 0x680]
test ecx, ecx
je 0x1004e0e1
mov eax, dword [ecx]
push ecx
mov eax, dword [eax + 4]
call eax
jmp 0x1004e0e1
mov ecx, dword [ebp - 0x680]
push ecx
call ebx
mov esi, dword [ebp - 0x49c]
lea eax, [ebp - 0x470]
push eax
push 7
push 0xffffffffffffffff
mov ecx, esi
mov dword [ebp - 0x470], 0
call fcn.10049570
push str.Av1QueryTimeout
lea ecx, [ebp - 0x394]
call fcn.10007e90
mov ecx, dword [ebp - 0x48c]
lea eax, [ebp - 0x394]
push esi
push eax
lea ecx, [ecx + 0x20]
call fcn.10028a90
mov ecx, eax
call fcn.10028870
cmp dword [ebp - 0x380], 8
jb 0x1004e144
push dword [ebp - 0x394]
call fcn.10022bb0
xor eax, eax
mov dword [ebp - 0x384], 0
push 0xd0
mov dword [ebp - 0x380], 7
mov word [ebp - 0x394], ax
call fcn.1008b151
mov edx, eax
add esp, 4
test edx, edx
je 0x1004e23f
mov esi, dword [ebp - 0x474]
xor edi, edi
push edi
push 0x100d4e74
push edi
push 3
xorps xmm0, xmm0
mov dword [ebp - 0xb38], edi
sub esp, 0x18
movlpd qword [ebp - 0x710], xmm0
mov eax, esp
xor ecx, ecx
mov dword [ebp - 0x9e8], ecx
sub esp, 0x18
movups xmm0, xmmword [ebp - 0x9e8]
or esi, 0x1000
mov dword [ebp - 0x488], ecx
mov dword [ebp - 0x474], esi
mov ecx, edx
movups xmmword [eax], xmm0
mov esi, 2
movq xmm0, qword [ebp - 0x9d8]
movq qword [eax + 0x10], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0xb38]
sub esp, 0x18
mov dword [ebp - 0x718], esi
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0xb28]
movq qword [eax + 0x10], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x718]
push edi
push esi
movups xmmword [eax], xmm0
push str.Usage
movq xmm0, qword [ebp - 0x708]
push str.Av1Usage
movq qword [eax + 0x10], xmm0
call fcn.100288e0
mov dword [ebp - 0x49c], eax
mov eax, dword [ebp - 0x474]
or eax, 0x6000
mov dword [ebp - 0x474], eax
jmp 0x1004e267
mov ecx, dword [ebp - 0x9e8]
mov edi, dword [ebp - 0xb38]
mov esi, dword [ebp - 0x718]
mov eax, dword [ebp - 0x474]
mov dword [ebp - 0x49c], 0
mov dword [ebp - 0x488], ecx
test eax, 0x4000
je 0x1004e2aa
and eax, 0xffffbfff
mov dword [ebp - 0x474], eax
sub esi, 0xa
je 0x1004e29c
sub esi, 1
je 0x1004e29c
sub esi, 1
jne 0x1004e2aa
mov ecx, dword [ebp - 0x710]
test ecx, ecx
je 0x1004e2aa
mov eax, dword [ecx]
push ecx
mov eax, dword [eax + 4]
call eax
jmp 0x1004e2a4
push dword [ebp - 0x710]
call ebx
mov eax, dword [ebp - 0x474]
test eax, 0x2000
je 0x1004e2ed
and eax, 0xffffdfff
mov dword [ebp - 0x474], eax
sub edi, 0xa
je 0x1004e2df
sub edi, 1
je 0x1004e2df
sub edi, 1
jne 0x1004e2ed
mov ecx, dword [ebp - 0xb30]
test ecx, ecx
je 0x1004e2ed
mov eax, dword [ecx]
push ecx
mov eax, dword [eax + 4]
call eax
jmp 0x1004e2e7
push dword [ebp - 0xb30]
call ebx
mov eax, dword [ebp - 0x474]
test eax, 0x1000
je 0x1004e330
and eax, 0xffffefff
mov dword [ebp - 0x474], eax
mov eax, dword [ebp - 0x488]
sub eax, 0xa
je 0x1004e328
sub eax, 1
je 0x1004e328
sub eax, 1
jne 0x1004e330
mov ecx, dword [ebp - 0x9e0]
test ecx, ecx
je 0x1004e330
mov eax, dword [ecx]
push ecx
mov eax, dword [eax + 4]
call eax
jmp 0x1004e330
push dword [ebp - 0x9e0]
call ebx
mov esi, dword [ebp - 0x49c]
lea eax, [ebp - 0x470]
push eax
push 3
push 0
mov ecx, esi
mov dword [ebp - 0x470], 0
call fcn.10049570
lea eax, [ebp - 0x470]
mov dword [ebp - 0x470], 1
push eax
push 3
push 1
mov ecx, esi
call fcn.10049570
push str.Av1Usage
lea ecx, [ebp - 0x3dc]
call fcn.10007e90
push esi
mov esi, dword [ebp - 0x48c]
lea eax, [ebp - 0x3dc]
push eax
lea ecx, [esi + 0x20]
call fcn.10028a90
mov ecx, eax
call fcn.10028870
cmp dword [ebp - 0x3c8], 8
jb 0x1004e3af
push dword [ebp - 0x3dc]
call fcn.10022bb0
xor eax, eax
mov dword [ebp - 0x3cc], 0
mov dword [ebp - 0x3c8], 7
mov word [ebp - 0x3dc], ax
mov eax, dword [esi]
push 0
push esi
mov eax, dword [eax + 0x24]
call eax
mov edi, eax
mov ecx, edi
mov dword [ebp - 0x494], edi
mov edx, dword [edi]
mov edx, dword [edx + 0x14]
call edx
push 0xd0
mov dword [ebp - 0x490], eax
call fcn.1008b151
add esp, 4
mov dword [ebp - 0x488], eax
test eax, eax
je 0x1004e53a
push 0xc
call fcn.1008b151
mov edx, eax
add esp, 4
test edx, edx
je 0x1004e426
mov dword [edx], vtable.amf::EncodeCoreAv1FrameSizeAdapter.0
mov dword [edx + 4], esi
mov dword [edx + 8], edi
jmp 0x1004e428
xor edx, edx
mov esi, dword [ebp - 0x4a4]
push edx
push 0
push 1
mov ecx, dword [esi + 0x14]
mov edi, dword [esi + 0x1c]
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x498], ecx
mov ecx, dword [esi + 0x18]
mov esi, dword [ebp - 0x474]
push 0xff
sub esp, 0x18
mov dword [ebp - 0xafc], eax
mov eax, dword [ebp - 0x498]
or esi, 0x8000
mov dword [ebp - 0xae8], eax
mov eax, esp
mov dword [ebp - 0x474], esi
sub esp, 0x18
mov esi, 5
mov dword [ebp - 0xb00], edi
mov dword [ebp - 0xb08], esi
movups xmm0, xmmword [ebp - 0xb08]
mov dword [ebp - 0x49c], edi
mov edi, esi
mov dword [ebp - 0xae4], ecx
movups xmmword [eax], xmm0
mov ecx, dword [ebp - 0x488]
movq xmm0, qword [ebp - 0xaf8]
movq qword [eax + 0x10], xmm0
mov eax, esp
mov dword [ebp - 0xaf0], edi
sub esp, 0x18
movups xmm0, xmmword [ebp - 0xaf0]
mov dword [ebp - 0xad8], esi
mov dword [ebp - 0xad0], 0
movups xmmword [eax], xmm0
mov dword [ebp - 0xacc], 0
movq xmm0, qword [ebp - 0xae0]
movq qword [eax + 0x10], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0xad8]
push 0
push esi
movups xmmword [eax], xmm0
push str.Width
movq xmm0, qword [ebp - 0xac8]
push str.Av1FrameSize
mov dword [ebp - 0x470], esi
movq qword [eax + 0x10], xmm0
call fcn.100288e0
mov dword [ebp - 0x488], eax
mov eax, dword [ebp - 0x474]
or eax, 0x30000
xor ecx, ecx
mov dword [ebp - 0x474], eax
jmp 0x1004e580
mov eax, dword [ebp - 0xb00]
mov esi, dword [ebp - 0xb08]
mov edi, dword [ebp - 0xaf0]
mov ecx, dword [ebp - 0xad0]
mov dword [ebp - 0x49c], eax
mov eax, dword [ebp - 0xae8]
mov dword [ebp - 0x470], esi
mov esi, dword [ebp - 0xad8]
mov dword [ebp - 0x498], eax
mov eax, dword [ebp - 0x474]
mov dword [ebp - 0x488], 0
test eax, 0x20000
je 0x1004e5b8
and eax, 0xfffdffff
mov dword [ebp - 0x474], eax
sub esi, 0xa
je 0x1004e5af
sub esi, 1
je 0x1004e5af
sub esi, 1
jne 0x1004e5b8
test ecx, ecx
je 0x1004e5b8
mov eax, dword [ecx]
push ecx
mov eax, dword [eax + 4]
call eax
jmp 0x1004e5b2
push ecx
call ebx
mov eax, dword [ebp - 0x474]
test eax, 0x10000
je 0x1004e5fb
and eax, 0xfffeffff
mov dword [ebp - 0x474], eax
sub edi, 0xa
je 0x1004e5ed
sub edi, 1
je 0x1004e5ed
sub edi, 1
jne 0x1004e5fb
mov ecx, dword [ebp - 0x498]
test ecx, ecx
je 0x1004e5fb
mov eax, dword [ecx]
push ecx
mov eax, dword [eax + 4]
call eax
jmp 0x1004e5f5
push dword [ebp - 0x498]
call ebx
mov eax, dword [ebp - 0x474]
test eax, 0x8000
je 0x1004e63e
and eax, 0xffff7fff
mov dword [ebp - 0x474], eax
mov eax, dword [ebp - 0x470]
sub eax, 0xa
je 0x1004e636
sub eax, 1
je 0x1004e636
sub eax, 1
jne 0x1004e63e
mov ecx, dword [ebp - 0x49c]
test ecx, ecx
je 0x1004e63e
mov eax, dword [ecx]
push ecx
mov eax, dword [eax + 4]
call eax
jmp 0x1004e63e
push dword [ebp - 0x49c]
call ebx
mov ecx, dword [ebp - 0x488]
lea eax, [ebp - 0x4b4]
push eax
add ecx, 0xbc
mov dword [ebp - 0x4b4], 0xffffffff
call fcn.10028a10
mov edi, eax
mov dword [ebp - 0x12e8], 5
mov dword [ebp - 0x12e0], 0x780
mov dword [ebp - 0x12dc], 0x438
lea esi, [edi + 8]
test esi, esi
je 0x1004e6bb
mov eax, dword [esi]
sub eax, 0xa
je 0x1004e6b0
sub eax, 1
je 0x1004e6b0
sub eax, 1
jne 0x1004e6b5
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1004e6b5
mov eax, dword [ecx]
push ecx
mov eax, dword [eax + 4]
call eax
mov dword [esi + 8], 0
jmp 0x1004e6b5
push dword [esi + 8]
call ebx
mov dword [esi], 0
lea eax, [ebp - 0x12e8]
push eax
push esi
call fcn.10005b50
add esp, 8
mov dword [edi], 7
lea ecx, [ebp - 0x43c]
push str.Av1FrameSize
call fcn.10007e90
mov ecx, dword [ebp - 0x48c]
lea eax, [ebp - 0x43c]
push dword [ebp - 0x488]
push eax
lea ecx, [ecx + 0x20]
call fcn.10028a90
mov ecx, eax
call fcn.10028870
cmp dword [ebp - 0x428], 8
jb 0x1004e717
push dword [ebp - 0x43c]
call fcn.10022bb0
xor eax, eax
mov dword [ebp - 0x42c], 0
push 0xd0
mov dword [ebp - 0x428], 7
mov word [ebp - 0x43c], ax
call fcn.1008b151
add esp, 4
mov dword [ebp - 0x488], eax
test eax, eax
je 0x1004e85e
push 0x14
call fcn.1008b151
add esp, 4
test eax, eax
je 0x1004e788
mov ecx, dword [ebp - 0x490]
mov dword [eax], vtable.amf::EncoderCoreAdapterEnum_unsigned_int__enum_EC_ColorBitDepth_.0
add ecx, 0x10
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x494]
mov dword [eax + 8], 0x100fea98
mov dword [eax + 0xc], 3
mov dword [eax + 0x10], ecx
jmp 0x1004e78a
xor eax, eax
push eax
mov esi, dword [ebp - 0x474]
xor ecx, ecx
push 0x100d4e44
push 1
push 0xff
sub esp, 0x18
mov dword [ebp - 0xa90], ecx
movups xmm0, xmmword [ebp - 0xa90]
mov eax, esp
mov dword [ebp - 0x514], ecx
sub esp, 0x18
mov dword [ebp - 0x518], 8
xor edi, edi
mov dword [ebp - 0x470], ecx
mov ecx, dword [ebp - 0x488]
or esi, 0x40000
movups xmmword [eax], xmm0
mov dword [ebp - 0xaa8], edi
movq xmm0, qword [ebp - 0xa80]
movq qword [eax + 0x10], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0xaa8]
sub esp, 0x18
mov dword [ebp - 0x474], esi
mov esi, 2
movups xmmword [eax], xmm0
mov dword [ebp - 0x520], esi
movq xmm0, qword [ebp - 0xa98]
movq qword [eax + 0x10], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x520]
push edi
push esi
movups xmmword [eax], xmm0
push str.Output_Color_BitDepth
movq xmm0, qword [ebp - 0x510]
push str.Av1ColorBitDepth
movq qword [eax + 0x10], xmm0
call fcn.100288e0
mov dword [ebp - 0x488], eax
mov eax, dword [ebp - 0x474]
or eax, 0x180000
mov dword [ebp - 0x474], eax
jmp 0x1004e886
mov ecx, dword [ebp - 0xa90]
mov edi, dword [ebp - 0xaa8]
mov esi, dword [ebp - 0x520]
mov eax, dword [ebp - 0x474]
mov dword [ebp - 0x488], 0
mov dword [ebp - 0x470], ecx
test eax, 0x100000
je 0x1004e8c9
and eax, 0xffefffff
mov dword [ebp - 0x474], eax
sub esi, 0xa
je 0x1004e8bb
sub esi, 1
je 0x1004e8bb
sub esi, 1
jne 0x1004e8c9
mov ecx, dword [ebp - 0x518]
test ecx, ecx
je 0x1004e8c9
mov eax, dword [ecx]
push ecx
mov eax, dword [eax + 4]
call eax
jmp 0x1004e8c3
push dword [ebp - 0x518]
call ebx
mov eax, dword [ebp - 0x474]
test eax, 0x80000
je 0x1004e90c
and eax, 0xfff7ffff
mov dword [ebp - 0x474], eax
sub edi, 0xa
je 0x1004e8fe
sub edi, 1
je 0x1004e8fe
sub edi, 1
jne 0x1004e90c
mov ecx, dword [ebp - 0xaa0]
test ecx, ecx
je 0x1004e90c
mov eax, dword [ecx]
push ecx
mov eax, dword [eax + 4]
call eax
jmp 0x1004e906
push dword [ebp - 0xaa0]
call ebx
mov eax, dword [ebp - 0x474]
test eax, 0x40000
je 0x1004e94f
and eax, 0xfffbffff
mov dword [ebp - 0x474], eax
mov eax, dword [ebp - 0x470]
sub eax, 0xa
je 0x1004e947
sub eax, 1
je 0x1004e947
sub eax, 1
jne 0x1004e94f
mov ecx, dword [ebp - 0xa88]
test ecx, ecx
je 0x1004e94f
mov eax, dword [ecx]
push ecx
mov eax, dword [eax + 4]
call eax
jmp 0x1004e94f
push dword [ebp - 0xa88]
call ebx
mov ecx, dword [ebp - 0x488]
lea eax, [ebp - 0x4b8]
push eax
add ecx, 0xbc
mov dword [ebp - 0x4b8], 0xffffffff
call fcn.10028a10
mov edi, eax
mov dword [ebp - 0xe08], 2
mov dword [ebp - 0xe00], 8
mov dword [ebp - 0xdfc], 0
lea esi, [edi + 8]
test esi, esi
je 0x1004e9cc
mov ecx, dword [esi]
sub ecx, 0xa
je 0x1004e9c1
sub ecx, 1
je 0x1004e9c1
sub ecx, 1
jne 0x1004e9c6
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1004e9c6
mov eax, dword [ecx]
push ecx
mov eax, dword [eax + 4]
call eax
mov dword [esi + 8], 0
jmp 0x1004e9c6
push dword [esi + 8]
call ebx
mov dword [esi], 0
lea eax, [ebp - 0xe08]
push eax
push esi
call fcn.10005b50
add esp, 8
mov dword [edi], 7
lea ecx, [ebp - 0x34]
push str.Av1ColorBitDepth
call fcn.10007e90
mov esi, dword [ebp - 0x48c]
lea eax, [ebp - 0x34]
push dword [ebp - 0x488]
push eax
lea ecx, [esi + 0x20]
call fcn.10028a90
mov ecx, eax
call fcn.10028870
cmp dword [ebp - 0x20], 8
jb 0x1004ea1c
push dword [ebp - 0x34]
call fcn.10022bb0
xor eax, eax
mov dword [ebp - 0x24], 0
mov word [ebp - 0x34], ax
lea edi, [esi + 0x220]
mov eax, dword [ebp - 0x4a4]
xor esi, esi
mov dword [ebp - 0x20], 7
mov edx, dword [edi]
mov dword [edi + 4], edx
mov ecx, dword [eax + 0x24]
mov eax, dword [eax + 0x28]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x1004eacd
mov ebx, dword [ebp - 0x4a4]
nop dword [eax + eax]
mov eax, dword [0x100fe92c]
lea edx, [esi*4]
cmp eax, dword [ecx + edx]
jne 0x1004eab4
cmp dword [0x100fe928], 0xffffffff
je 0x1004eab4
mov eax, dword [ebx + 0x24]
push dword [eax + edx]
push 0x100d4eac
call fcn.10028b90
mov edx, eax
add esp, 8
test edx, edx
je 0x1004eab4
mov ecx, dword [edi + 4]
cmp ecx, dword [edi + 8]
je 0x1004eaab
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
add dword [edi + 4], 8
jmp 0x1004eab4
push edx
push ecx
mov ecx, edi
call fcn.10026c40
mov eax, dword [ebx + 0x28]
inc esi
mov ecx, dword [ebx + 0x24]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x1004ea60
mov edx, dword [edi + 4]
mov ebx, dword [sym.imp.ole32.dll_CoTaskMemFree]
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0x4a0], eax
mov dword [ebp - 0x49c], ecx
cmp edx, dword [edi + 8]
je 0x1004eaed
mov dword [edx], eax
mov dword [edx + 4], ecx
add dword [edi + 4], 8
jmp 0x1004eafc
lea eax, [ebp - 0x4a0]
mov ecx, edi
push eax
push edx
call fcn.10026c40
push 0xd0
call fcn.1008b151
add esp, 4
mov dword [ebp - 0x488], eax
test eax, eax
je 0x1004ec23
push 0x14
call fcn.1008b151
add esp, 4
test eax, eax
je 0x1004eb50
mov ecx, dword [ebp - 0x490]
mov dword [eax], vtable.amf::EncoderCoreAdapterEnum_unsigned_int__enum_ECAV1_Profile_.0
add ecx, 0x14
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x494]
mov dword [eax + 8], 0x100fe928
mov dword [eax + 0xc], 1
mov dword [eax + 0x10], ecx
jmp 0x1004eb52
xor eax, eax
push eax
push dword [edi]
mov esi, dword [ebp - 0x474]
xor ecx, ecx
push 1
push 0xff
sub esp, 0x18
mov dword [ebp - 0xa60], ecx
movups xmm0, xmmword [ebp - 0xa60]
mov eax, esp
mov dword [ebp - 0xa78], ecx
sub esp, 0x18
mov dword [ebp - 0x52c], ecx
or esi, 0x200000
mov dword [ebp - 0x530], 1
mov dword [ebp - 0x474], esi
mov esi, 2
movups xmmword [eax], xmm0
mov dword [ebp - 0x538], esi
movq xmm0, qword [ebp - 0xa50]
movq qword [eax + 0x10], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0xa78]
sub esp, 0x18
mov dword [ebp - 0x470], ecx
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0xa68]
movq qword [eax + 0x10], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x538]
push ecx
mov ecx, dword [ebp - 0x488]
push esi
movups xmmword [eax], xmm0
push str.Profile
movq xmm0, qword [ebp - 0x528]
push str.Av1Profile
movq qword [eax + 0x10], xmm0
call fcn.100288e0
mov dword [ebp - 0x488], eax
mov eax, dword [ebp - 0x474]
or eax, 0xc00000
xor edi, edi
mov dword [ebp - 0x474], eax
jmp 0x1004ec4b
mov ecx, dword [ebp - 0xa60]
mov edi, dword [ebp - 0xa78]
mov esi, dword [ebp - 0x538]
mov eax, dword [ebp - 0x474]
mov dword [ebp - 0x488], 0
mov dword [ebp - 0x470], ecx
test eax, 0x800000
je 0x1004ec8e
and eax, 0xff7fffff
mov dword [ebp - 0x474], eax
sub esi, 0xa
je 0x1004ec80
sub esi, 1
je 0x1004ec80
sub esi, 1
jne 0x1004ec8e
mov ecx, dword [ebp - 0x530]
test ecx, ecx
je 0x1004ec8e
mov eax, dword [ecx]
push ecx
mov eax, dword [eax + 4]
call eax
jmp 0x1004ec88
push dword [ebp - 0x530]
call ebx
mov eax, dword [ebp - 0x474]
test eax, 0x400000
je 0x1004ecd1
and eax, 0xffbfffff
mov dword [ebp - 0x474], eax
sub edi, 0xa
je 0x1004ecc3
sub edi, 1
je 0x1004ecc3
sub edi, 1
jne 0x1004ecd1
mov ecx, dword [ebp - 0xa70]
test ecx, ecx
je 0x1004ecd1
mov eax, dword [ecx]
push ecx
mov eax, dword [eax + 4]
call eax
jmp 0x1004eccb
push dword [ebp - 0xa70]
call ebx
mov eax, dword [ebp - 0x474]
test eax, 0x200000
je 0x1004ed14
and eax, 0xffdfffff
mov dword [ebp - 0x474], eax
mov eax, dword [ebp - 0x470]
sub eax, 0xa
je 0x1004ed0c
sub eax, 1
je 0x1004ed0c
sub eax, 1
jne 0x1004ed14
mov ecx, dword [ebp - 0xa58]
test ecx, ecx
je 0x1004ed14
mov eax, dword [ecx]
push ecx
mov eax, dword [eax + 4]
call eax
jmp 0x1004ed14
push dword [ebp - 0xa58]
call ebx
mov ecx, dword [ebp - 0x488]
lea eax, [ebp - 0x4bc]
push eax
add ecx, 0xbc
mov dword [ebp - 0x4bc], 0xffffffff
call fcn.10028a10
mov edi, eax
mov dword [ebp - 0xe20], 2
mov dword [ebp - 0xe18], 1
mov dword [ebp - 0xe14], 0
lea esi, [edi + 8]
test esi, esi
je 0x1004ed91
mov ecx, dword [esi]
sub ecx, 0xa
je 0x1004ed86
sub ecx, 1
je 0x1004ed86
sub ecx, 1
jne 0x1004ed8b
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1004ed8b
mov eax, dword [ecx]
push ecx
mov eax, dword [eax + 4]
call eax
mov dword [esi + 8], 0
jmp 0x1004ed8b
push dword [esi + 8]
call ebx
mov dword [esi], 0
lea eax, [ebp - 0xe20]
push eax
push esi
call fcn.10005b50
add esp, 8
mov dword [edi], 7
lea ecx, [ebp - 0x7c]
push str.Av1Profile
call fcn.10007e90
mov esi, dword [ebp - 0x48c]
lea eax, [ebp - 0x7c]
push dword [ebp - 0x488]
push eax
lea ecx, [esi + 0x20]
call fcn.10028a90
mov ecx, eax
call fcn.10028870
cmp dword [ebp - 0x68], 8
jb 0x1004ede1
push dword [ebp - 0x7c]
call fcn.10022bb0
xor eax, eax
mov dword [ebp - 0x6c], 0
mov word [ebp - 0x7c], ax
lea edi, [esi + 0x238]
mov eax, dword [ebp - 0x4a4]
xor esi, esi
mov dword [ebp - 0x68], 7
mov edx, dword [edi]
mov dword [edi + 4], edx
mov ecx, dword [eax + 0x34]
mov eax, dword [eax + 0x38]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x1004ee9e
mov ebx, dword [ebp - 0x4a4]
lea edx, [esi*4]
xor eax, eax
mov ecx, dword [edx + ecx]
nop dword [eax]
cmp dword [eax*8 + 0x100fe934], ecx
je 0x1004ee41
inc eax
cmp eax, 0x18
jl 0x1004ee30
jmp 0x1004ee85
cmp dword [eax*8 + 0x100fe930], 0xffffffff
je 0x1004ee85
mov eax, dword [ebx + 0x34]
push dword [eax + edx]
push 0x100d4ec0
call fcn.10028b90
mov edx, eax
add esp, 8
test edx, edx
je 0x1004ee85
mov ecx, dword [edi + 4]
cmp ecx, dword [edi + 8]
je 0x1004ee7c
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
add dword [edi + 4], 8
jmp 0x1004ee85
push edx
push ecx
mov ecx, edi
call fcn.10026c40
mov eax, dword [ebx + 0x38]
inc esi
mov ecx, dword [ebx + 0x34]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x1004ee21
mov edx, dword [edi + 4]
mov ebx, dword [sym.imp.ole32.dll_CoTaskMemFree]
cmp edx, dword [edi + 8]
je 0x1004eeb6
mov dword [edx], 0
mov dword [edx + 4], 0
add dword [edi + 4], 8
jmp 0x1004eec5
lea eax, [ebp - 0x4a0]
mov ecx, edi
push eax
push edx
call fcn.10026c40
push 0xd0
call fcn.1008b151
add esp, 4
mov dword [ebp - 0x488], eax
test eax, eax
je 0x1004efec
push 0x14
call fcn.1008b151
add esp, 4
test eax, eax
je 0x1004ef19
mov ecx, dword [ebp - 0x490]
mov dword [eax], vtable.amf::EncoderCoreAdapterEnum_unsigned_int__enum_ECAV1_Level_.0
add ecx, 0x18
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x494]
mov dword [eax + 8], 0x100fe930
mov dword [eax + 0xc], 0x18
mov dword [eax + 0x10], ecx
jmp 0x1004ef1b
xor eax, eax
push eax
push dword [edi]
mov esi, dword [ebp - 0x474]
xor ecx, ecx
push 1
push 0xff
sub esp, 0x18
mov dword [ebp - 0xac0], ecx
movups xmm0, xmmword [ebp - 0xac0]
mov eax, esp
mov dword [ebp - 0xa30], ecx
sub esp, 0x18
mov dword [ebp - 0x544], ecx
or esi, 0x1000000
mov dword [ebp - 0x548], 0xe
mov dword [ebp - 0x474], esi
mov esi, 2
movups xmmword [eax], xmm0
mov dword [ebp - 0x550], esi
movq xmm0, qword [ebp - 0xab0]
movq qword [eax + 0x10], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0xa30]
sub esp, 0x18
mov dword [ebp - 0x470], ecx
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0xa20]
movq qword [eax + 0x10], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x550]
push ecx
mov ecx, dword [ebp - 0x488]
push esi
movups xmmword [eax], xmm0
push str.Profile_Level
movq xmm0, qword [ebp - 0x540]
push str.Av1Level
movq qword [eax + 0x10], xmm0
call fcn.100288e0
mov dword [ebp - 0x488], eax
mov eax, dword [ebp - 0x474]
or eax, 0x6000000
xor edi, edi
mov dword [ebp - 0x474], eax
jmp 0x1004f014
mov ecx, dword [ebp - 0xac0]
mov edi, dword [ebp - 0xa30]
mov esi, dword [ebp - 0x550]
mov eax, dword [ebp - 0x474]
mov dword [ebp - 0x488], 0
mov dword [ebp - 0x470], ecx
test eax, 0x4000000
je 0x1004f057
and eax, 0xfbffffff
mov dword [ebp - 0x474], eax
sub esi, 0xa
je 0x1004f049
sub esi, 1
je 0x1004f049
sub esi, 1
jne 0x1004f057
mov ecx, dword [ebp - 0x548]
test ecx, ecx
je 0x1004f057
mov eax, dword [ecx]
push ecx
mov eax, dword [eax + 4]
call eax
jmp 0x1004f051
push dword [ebp - 0x548]
call ebx
mov eax, dword [ebp - 0x474]
test eax, 0x2000000
je 0x1004f09a
and eax, 0xfdffffff
mov dword [ebp - 0x474], eax
sub edi, 0xa
je 0x1004f08c
sub edi, 1
je 0x1004f08c
sub edi, 1
jne 0x1004f09a
mov ecx, dword [ebp - 0xa28]
test ecx, ecx
je 0x1004f09a
mov eax, dword [ecx]
push ecx
mov eax, dword [eax + 4]
call eax
jmp 0x1004f094
push dword [ebp - 0xa28]
call ebx
mov eax, dword [ebp - 0x474]
test eax, 0x1000000
je 0x1004f0dd
and eax, 0xfeffffff
mov dword [ebp - 0x474], eax
mov eax, dword [ebp - 0x470]
sub eax, 0xa
je 0x1004f0d5
sub eax, 1
je 0x1004f0d5
sub eax, 1
jne 0x1004f0dd
mov ecx, dword [ebp - 0xab8]
test ecx, ecx
je 0x1004f0dd
mov eax, dword [ecx]
push ecx
mov eax, dword [eax + 4]
call eax
jmp 0x1004f0dd
push dword [ebp - 0xab8]
call ebx
mov ecx, dword [ebp - 0x488]
lea eax, [ebp - 0x4c0]
push eax
add ecx, 0xbc
mov dword [ebp - 0x4c0], 0xffffffff
call fcn.10028a10
mov edi, eax
mov dword [ebp - 0xe38], 2
mov dword [ebp - 0xe30], 0xe
mov dword [ebp - 0xe2c], 0
lea esi, [edi + 8]
push esi
call fcn.10049960
lea eax, [ebp - 0xe38]
push eax
push esi
call fcn.10005b50
add esp, 0xc
mov dword [edi], 7
lea ecx, [ebp - 0xc4]
push str.Av1Level
call fcn.10007e90
mov ecx, dword [ebp - 0x48c]
lea eax, [ebp - 0xc4]
push dword [ebp - 0x488]
push eax
lea ecx, [ecx + 0x20]
call fcn.10028a90
mov ecx, eax
call fcn.10028870
cmp dword [ebp - 0xb0], 8
jb 0x1004f184
push dword [ebp - 0xc4]
call fcn.10022bb0
xor eax, eax
mov dword [ebp - 0xb4], 0
push 0xd0
mov dword [ebp - 0xb0], 7
mov word [ebp - 0xc4], ax
call fcn.1008b151
add esp, 4
mov dword [ebp - 0x488], eax
test eax, eax
je 0x1004f2e9
push 0xc
call fcn.1008b151
mov edx, eax
add esp, 4
test edx, edx
je 0x1004f1e9
mov ecx, dword [ebp - 0x490]
mov eax, dword [ebp - 0x494]
add ecx, 0x1c
mov dword [edx], vtable.amf::EncoderCoreAdapterT_unsigned_int_.0
mov dword [edx + 4], ecx
mov dword [edx + 8], eax
jmp 0x1004f1eb
xor edx, edx
mov esi, dword [ebp - 0x474]
mov eax, 2
push edx
push 0
push 1
push 0xff
sub esp, 0x18
mov ecx, dword [ebp - 0x488]
or esi, 0x8000000
mov dword [ebp - 0x598], eax
mov edi, eax
mov dword [ebp - 0x470], eax
mov dword [ebp - 0x474], esi
mov esi, eax
mov eax, esp
mov dword [ebp - 0x590], VariantClear
mov dword [ebp - 0x58c], 0
sub esp, 0x18
movups xmm0, xmmword [ebp - 0x598]
mov dword [ebp - 0x580], edi
mov dword [ebp - 0x578], 1
movups xmmword [eax], xmm0
mov dword [ebp - 0x574], 0
movq xmm0, qword [ebp - 0x588]
movq qword [eax + 0x10], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x580]
sub esp, 0x18
mov dword [ebp - 0x568], esi
mov dword [ebp - 0x560], 1
movups xmmword [eax], xmm0
mov dword [ebp - 0x55c], 0
movq xmm0, qword [ebp - 0x570]
movq qword [eax + 0x10], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x568]
push 0
push esi
movups xmmword [eax], xmm0
push str.Av1NumTilesPerFrame
movq xmm0, qword [ebp - 0x558]
push str.Av1NumTilesPerFrame
movq qword [eax + 0x10], xmm0
call fcn.100288e0
mov dword [ebp - 0x488], eax
mov eax, dword [ebp - 0x474]
or eax, 0x30000000
mov dword [ebp - 0x474], eax
jmp 0x1004f311
mov eax, dword [ebp - 0x598]
mov edi, dword [ebp - 0x580]
mov esi, dword [ebp - 0x568]
mov dword [ebp - 0x470], eax
mov eax, dword [ebp - 0x474]
mov dword [ebp - 0x488], 0
test eax, 0x20000000
je 0x1004f355
and eax, 0xdfffffff
mov dword [ebp - 0x474], eax
sub esi, 0xa
je 0x1004f346
sub esi, 1
je 0x1004f346
sub esi, 1
jne 0x1004f355
mov ecx, dword [ebp - 0x560]
test ecx, ecx
je 0x1004f355
mov eax, dword [ecx]
push ecx
mov eax, dword [eax + 4]
call eax
jmp 0x1004f34f
mov ecx, dword [ebp - 0x560]
push ecx
call ebx
mov eax, dword [ebp - 0x474]
test eax, 0x10000000
je 0x1004f399
and eax, 0xefffffff
mov dword [ebp - 0x474], eax
sub edi, 0xa
je 0x1004f38a
sub edi, 1
je 0x1004f38a
sub edi, 1
jne 0x1004f399
mov ecx, dword [ebp - 0x578]
test ecx, ecx
je 0x1004f399
mov eax, dword [ecx]
push ecx
mov eax, dword [eax + 4]
call eax
jmp 0x1004f393
mov ecx, dword [ebp - 0x578]
push ecx
call ebx
mov eax, dword [ebp - 0x474]
test eax, 0x8000000
je 0x1004f3dd
and eax, 0xf7ffffff
mov dword [ebp - 0x474], eax
mov eax, dword [ebp - 0x470]
sub eax, 0xa
je 0x1004f3d4
sub eax, 1
je 0x1004f3d4
sub eax, 1
jne 0x1004f3dd
mov ecx, dword [ebp - 0x590]
test ecx, ecx
je 0x1004f3dd
mov eax, dword [ecx]
push ecx
mov eax, dword [eax + 4]
call eax
jmp 0x1004f3dd
mov ecx, dword [ebp - 0x590]
push ecx
call ebx
mov esi, dword [ebp - 0x488]
lea eax, [ebp - 0x470]
push eax
push 7
push 0xffffffffffffffff
mov ecx, esi
mov dword [ebp - 0x470], 1
call fcn.10049570
push str.Av1NumTilesPerFrame
lea ecx, [ebp - 0xdc]
call fcn.10007e90
push esi
mov esi, dword [ebp - 0x48c]
lea eax, [ebp - 0xdc]
push eax
lea ecx, [esi + 0x20]
call fcn.10028a90
mov ecx, eax
call fcn.10028870
cmp dword [ebp - 0xc8], 8
jb 0x1004f440
push dword [ebp - 0xdc]
call fcn.10022bb0
xor eax, eax
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc8], 7
mov word [ebp - 0xdc], ax
mov eax, dword [esi]
push 9
push esi
mov eax, dword [eax + 0x24]
call eax
mov esi, eax
mov ecx, esi
mov edx, dword [esi]
mov edx, dword [edx + 0x14]
call edx
push 0xd0
mov edi, eax
call fcn.1008b151
add esp, 4
mov dword [ebp - 0x470], eax
test eax, eax
je 0x1004f593
push 0x14
call fcn.1008b151
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x1004f4bb
mov dword [ecx], vtable.amf::EncoderCoreAdapterEnum_unsigned_int__enum_EC_QualityPreset_.0
mov dword [ecx + 4], edi
mov dword [ecx + 8], 0x100fea28
mov dword [ecx + 0xc], 4
mov dword [ecx + 0x10], esi
jmp 0x1004f4bd
xor ecx, ecx
mov eax, dword [ebp - 0x474]
mov esi, 2
push ecx
push 0x100d4fc8
push 1
push 0xff
or eax, 0x40000000
mov ecx, dword [ebp - 0x470]
sub esp, 0x18
mov dword [ebp - 0xe68], 0
movups xmm0, xmmword [ebp - 0xe68]
or eax, 0x80000000
mov dword [ebp - 0xe50], 0
mov dword [ebp - 0x474], eax
mov edi, 0x1e
mov eax, esp
mov dword [ebp - 0x9d0], esi
sub esp, 0x18
mov dword [ebp - 0x9c8], edi
mov dword [ebp - 0x9c4], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0xe58]
movq qword [eax + 0x10], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0xe50]
sub esp, 0x18
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0xe40]
movq qword [eax + 0x10], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x9d0]
push 0
push esi
movups xmmword [eax], xmm0
push str.Quality_Preset
movq xmm0, qword [ebp - 0x9c0]
push str.Av1QualityPreset
movq qword [eax + 0x10], xmm0
call fcn.100288e0
mov dword [ebp - 0x470], eax
mov eax, 1
mov dword [ebp - 0x478], eax
jmp 0x1004f5af
mov edi, dword [ebp - 0x9c8]
mov esi, dword [ebp - 0x9d0]
mov eax, dword [ebp - 0x478]
mov dword [ebp - 0x470], 0
test al, 1
je 0x1004f5dc
and eax, 0xfffffffe
mov dword [ebp - 0x478], eax
sub esi, 0xa
je 0x1004f5d9
sub esi, 1
je 0x1004f5d9
sub esi, 1
jne 0x1004f5dc
test edi, edi
je 0x1004f5dc
mov eax, dword [edi]
push edi
mov eax, dword [eax + 4]
call eax
jmp 0x1004f5dc
push edi
call ebx
mov esi, dword [ebp - 0x474]
test esi, esi
jns 0x1004f5fb
lea eax, [ebp - 0xe50]
and esi, 0x7fffffff
push eax
call fcn.10049960
add esp, 4
test esi, 0x40000000
je 0x1004f612
lea eax, [ebp - 0xe68]
push eax
call fcn.10049960
add esp, 4
mov esi, dword [ebp - 0x470]
lea eax, [ebp - 0x488]
push eax
push 7
push 0xffffffffffffffff
mov ecx, esi
mov dword [ebp - 0x488], 0x1e
call fcn.10049570
lea eax, [ebp - 0x470]
mov dword [ebp - 0x470], 0x64
push eax
push 7
push 1
mov ecx, esi
call fcn.10049570
push str.Av1QualityPreset
lea ecx, [ebp - 0x124]
call fcn.10007e90
push esi
mov esi, dword [ebp - 0x48c]
lea eax, [ebp - 0x124]
push eax
lea ecx, [esi + 0x20]
call fcn.10028a90
mov ecx, eax
call fcn.10028870
cmp dword [ebp - 0x110], 8
jb 0x1004f691
push dword [ebp - 0x124]
call fcn.10022bb0
xor eax, eax
mov dword [ebp - 0x114], 0
push 0xd0
mov dword [ebp - 0x110], 7
mov word [ebp - 0x124], ax
call fcn.1008b151
mov edi, eax
add esp, 4
test edi, edi
je 0x1004f7ae
push 0x10
call fcn.1008b151
add esp, 4
test eax, eax
je 0x1004f6f3
mov ecx, dword [ebp - 0x490]
mov dword [eax], vtable.amf::EncodeCoreAv1ScreenContentToolsAdapter.0
add ecx, 0x58
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x494]
mov dword [eax + 8], esi
mov dword [eax + 0xc], ecx
jmp 0x1004f6f5
xor eax, eax
mov esi, dword [ebp - 0x478]
mov ecx, edi
push eax
push 0
or esi, 2
mov dword [ebp - 0xe98], 0
movups xmm0, xmmword [ebp - 0xe98]
mov dword [ebp - 0x478], esi
mov esi, 1
push esi
push 0xff
sub esp, 0x18
mov dword [ebp - 0xe80], 0
mov eax, esp
mov dword [ebp - 0x730], esi
sub esp, 0x18
mov byte [ebp - 0x728], 1
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0xe88]
movq qword [eax + 0x10], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0xe80]
sub esp, 0x18
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0xe70]
movq qword [eax + 0x10], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x730]
push 0
push esi
movups xmmword [eax], xmm0
push str.Av1ScreenContentTools
movq xmm0, qword [ebp - 0x720]
push str.Av1ScreenContentTools
movq qword [eax + 0x10], xmm0
call fcn.100288e0
mov edi, eax
mov eax, dword [ebp - 0x478]
or eax, 0xc
mov dword [ebp - 0x478], eax
jmp 0x1004f7bc
mov esi, dword [ebp - 0x730]
xor edi, edi
mov eax, dword [ebp - 0x478]
test al, 8
je 0x1004f7fa
and eax, 0xfffffff7
mov dword [ebp - 0x478], eax
sub esi, 0xa
je 0x1004f7ec
sub esi, 1
je 0x1004f7ec
sub esi, 1
jne 0x1004f7fa
mov ecx, dword [ebp - 0x728]
test ecx, ecx
je 0x1004f7fa
mov eax, dword [ecx]
push ecx
mov eax, dword [eax + 4]
call eax
jmp 0x1004f7f4
push dword [ebp - 0x728]
call ebx
mov eax, dword [ebp - 0x478]
test al, 4
je 0x1004f81c
and eax, 0xfffffffb
mov dword [ebp - 0x478], eax
lea eax, [ebp - 0xe80]
push eax
call fcn.10049960
mov eax, dword [ebp - 0x478]
add esp, 4
test al, 2
je 0x1004f838
and eax, 0xfffffffd
mov dword [ebp - 0x478], eax
lea eax, [ebp - 0xe98]
push eax
call fcn.10049960
add esp, 4
lea eax, [ebp - 0x47d]
mov byte [ebp - 0x47d], 1
push eax
push 7
push 0xffffffffffffffff
mov ecx, edi
call fcn.10049730
push str.Av1ScreenContentTools
lea ecx, [ebp - 0x13c]
call fcn.10007e90
mov ecx, dword [ebp - 0x48c]
lea eax, [ebp - 0x13c]
push edi
push eax
lea ecx, [ecx + 0x20]
call fcn.10028a90
mov ecx, eax
call fcn.10028870
cmp dword [ebp - 0x128], 8
jb 0x1004f892
push dword [ebp - 0x13c]
call fcn.10022bb0
xor eax, eax
mov dword [ebp - 0x12c], 0
push 0xd0
mov dword [ebp - 0x128], 7
mov word [ebp - 0x13c], ax
call fcn.1008b151
mov edi, eax
add esp, 4
test edi, edi
je 0x1004f9ac
push 0xc
call fcn.1008b151
add esp, 4
test eax, eax
je 0x1004f8f1
mov ecx, dword [ebp - 0x490]
add ecx, 0x5a
mov dword [eax], vtable.amf::EncoderCoreAdapterT_bool_.0
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x494]
mov dword [eax + 8], ecx
jmp 0x1004f8f3
xor eax, eax
mov esi, dword [ebp - 0x478]
mov ecx, edi
push eax
push 0
or esi, 0x10
mov dword [ebp - 0xec8], 0
movups xmm0, xmmword [ebp - 0xec8]
mov dword [ebp - 0x478], esi
mov esi, 1
push esi
push 0xff
sub esp, 0x18
mov dword [ebp - 0xeb0], 0
mov eax, esp
mov dword [ebp - 0x748], esi
sub esp, 0x18
mov byte [ebp - 0x740], 1
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0xeb8]
movq qword [eax + 0x10], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0xeb0]
sub esp, 0x18
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0xea0]
movq qword [eax + 0x10], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x748]
push 0
push esi
movups xmmword [eax], xmm0
push str.Av1OrderHint
movq xmm0, qword [ebp - 0x738]
push str.Av1OrderHint
movq qword [eax + 0x10], xmm0
call fcn.100288e0
mov edi, eax
mov eax, dword [ebp - 0x478]
or eax, 0x60
mov dword [ebp - 0x478], eax
jmp 0x1004f9ba
mov esi, dword [ebp - 0x748]
xor edi, edi
mov eax, dword [ebp - 0x478]
test al, 0x40
je 0x1004f9f8
and eax, 0xffffffbf
mov dword [ebp - 0x478], eax
sub esi, 0xa
je 0x1004f9ea
sub esi, 1
je 0x1004f9ea
sub esi, 1
jne 0x1004f9f8
mov ecx, dword [ebp - 0x740]
test ecx, ecx
je 0x1004f9f8
mov eax, dword [ecx]
push ecx
mov eax, dword [eax + 4]
call eax
jmp 0x1004f9f2
push dword [ebp - 0x740]
call ebx
mov eax, dword [ebp - 0x478]
test al, 0x20
je 0x1004fa1a
and eax, 0xffffffdf
mov dword [ebp - 0x478], eax
lea eax, [ebp - 0xeb0]
push eax
call fcn.10049960
mov eax, dword [ebp - 0x478]
add esp, 4
test al, 0x10
je 0x1004fa36
and eax, 0xffffffef
mov dword [ebp - 0x478], eax
lea eax, [ebp - 0xec8]
push eax
call fcn.10049960
add esp, 4
lea eax, [ebp - 0x47d]
mov byte [ebp - 0x47d], 0
push eax
push 7
push 0xffffffffffffffff
mov ecx, edi
call fcn.10049730
push str.Av1OrderHint
lea ecx, [ebp - 0x154]
call fcn.10007e90
mov ecx, dword [ebp - 0x48c]
lea eax, [ebp - 0x154]
push edi
push eax
lea ecx, [ecx + 0x20]
call fcn.10028a90
mov ecx, eax
call fcn.10028870
cmp dword [ebp - 0x140], 8
jb 0x1004fa90
push dword [ebp - 0x154]
call fcn.10022bb0
xor eax, eax
mov dword [ebp - 0x144], 0
push 0xd0
mov dword [ebp - 0x140], 7
mov word [ebp - 0x154], ax
call fcn.1008b151
mov edi, eax
add esp, 4
test edi, edi
je 0x1004fbaf
push 0xc
call fcn.1008b151
add esp, 4
test eax, eax
je 0x1004faef
mov ecx, dword [ebp - 0x490]
add ecx, 0x5b
mov dword [eax], vtable.amf::EncoderCoreAdapterT_bool_.0
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x494]
mov dword [eax + 8], ecx
jmp 0x1004faf1
xor eax, eax
mov esi, dword [ebp - 0x478]
mov ecx, edi
push eax
push 0
or esi, 0x80
mov dword [ebp - 0xef8], 0
movups xmm0, xmmword [ebp - 0xef8]
mov dword [ebp - 0x478], esi
mov esi, 1
push esi
push 0xff
sub esp, 0x18
mov dword [ebp - 0xee0], 0
mov eax, esp
mov dword [ebp - 0x760], esi
sub esp, 0x18
mov byte [ebp - 0x758], 1
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0xee8]
movq qword [eax + 0x10], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0xee0]
sub esp, 0x18
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0xed0]
movq qword [eax + 0x10], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x760]
push 0
push esi
movups xmmword [eax], xmm0
push str.Av1FrameId
movq xmm0, qword [ebp - 0x750]
push str.Av1FrameId
movq qword [eax + 0x10], xmm0
call fcn.100288e0
mov edi, eax
mov eax, dword [ebp - 0x478]
or eax, 0x300
mov dword [ebp - 0x478], eax
jmp 0x1004fbbd
mov esi, dword [ebp - 0x760]
xor edi, edi
mov eax, dword [ebp - 0x478]
test eax, 0x200
je 0x1004fc00
and eax, 0xfffffdff
mov dword [ebp - 0x478], eax
sub esi, 0xa
je 0x1004fbf2
sub esi, 1
je 0x1004fbf2
sub esi, 1
jne 0x1004fc00
mov ecx, dword [ebp - 0x758]
test ecx, ecx
je 0x1004fc00
mov eax, dword [ecx]
push ecx
mov eax, dword [eax + 4]
call eax
jmp 0x1004fbfa
push dword [ebp - 0x758]
call ebx
mov eax, dword [ebp - 0x478]
test eax, 0x100
je 0x1004fc27
and eax, 0xfffffeff
mov dword [ebp - 0x478], eax
lea eax, [ebp - 0xee0]
push eax
call fcn.10049960
mov eax, dword [ebp - 0x478]
add esp, 4
test al, al
jns 0x1004fc45
and eax, 0xffffff7f
mov dword [ebp - 0x478], eax
lea eax, [ebp - 0xef8]
push eax
call fcn.10049960
add esp, 4
lea eax, [ebp - 0x47d]
mov byte [ebp - 0x47d], 0
push eax
push 7
push 0xffffffffffffffff
mov ecx, edi
call fcn.10049730
push str.Av1FrameId
lea ecx, [ebp - 0x16c]
call fcn.10007e90
mov ecx, dword [ebp - 0x48c]
lea eax, [ebp - 0x16c]
push edi
push eax
lea ecx, [ecx + 0x20]
call fcn.10028a90
mov ecx, eax
call fcn.10028870
cmp dword [ebp - 0x158], 8
jb 0x1004fc9f
push dword [ebp - 0x16c]
call fcn.10022bb0
xor eax, eax
mov dword [ebp - 0x15c], 0
push 0xd0
mov dword [ebp - 0x158], 7
mov word [ebp - 0x16c], ax
call fcn.1008b151
mov edi, eax
add esp, 4
test edi, edi
je 0x1004fdbe
push 0xc
call fcn.1008b151
add esp, 4
test eax, eax
je 0x1004fcfe
mov ecx, dword [ebp - 0x490]
add ecx, 0x50
mov dword [eax], vtable.amf::EncoderCoreAdapterT_bool_.0
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x494]
mov dword [eax + 8], ecx
jmp 0x1004fd00
xor eax, eax
mov esi, dword [ebp - 0x478]
mov ecx, edi
push eax
push 0
or esi, 0x400
mov dword [ebp - 0xf28], 0
movups xmm0, xmmword [ebp - 0xf28]
mov dword [ebp - 0x478], esi
mov esi, 1
push esi
push 0xff
sub esp, 0x18
mov dword [ebp - 0xf10], 0
mov eax, esp
mov dword [ebp - 0x778], esi
sub esp, 0x18
mov byte [ebp - 0x770], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0xf18]
movq qword [eax + 0x10], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0xf10]
sub esp, 0x18
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0xf00]
movq qword [eax + 0x10], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x778]
push 0
push esi
movups xmmword [eax], xmm0
push str.Av1TileGroupObu
movq xmm0, qword [ebp - 0x768]
push str.Av1TileGroupObu
movq qword [eax + 0x10], xmm0
call fcn.100288e0
mov edi, eax
mov eax, dword [ebp - 0x478]
or eax, 0x1800
mov dword [ebp - 0x478], eax
jmp 0x1004fdcc
mov esi, dword [ebp - 0x778]
xor edi, edi
mov eax, dword [ebp - 0x478]
test eax, 0x1000
je 0x1004fe0f
and eax, 0xffffefff
mov dword [ebp - 0x478], eax
sub esi, 0xa
je 0x1004fe01
sub esi, 1
je 0x1004fe01
sub esi, 1
jne 0x1004fe0f
mov ecx, dword [ebp - 0x770]
test ecx, ecx
je 0x1004fe0f
mov eax, dword [ecx]
push ecx
mov eax, dword [eax + 4]
call eax
jmp 0x1004fe09
push dword [ebp - 0x770]
call ebx
mov eax, dword [ebp - 0x478]
test eax, 0x800
je 0x1004fe36
and eax, 0xfffff7ff
mov dword [ebp - 0x478], eax
lea eax, [ebp - 0xf10]
push eax
call fcn.10049960
mov eax, dword [ebp - 0x478]
add esp, 4
test eax, 0x400
je 0x1004fe57
and eax, 0xfffffbff
mov dword [ebp - 0x478], eax
lea eax, [ebp - 0xf28]
push eax
call fcn.10049960
add esp, 4
lea eax, [ebp - 0x47d]
mov byte [ebp - 0x47d], 0
push eax
push 7
push 0xffffffffffffffff
mov ecx, edi
call fcn.10049730
push str.Av1TileGroupObu
lea ecx, [ebp - 0x184]
call fcn.10007e90
mov ecx, dword [ebp - 0x48c]
lea eax, [ebp - 0x184]
push edi
push eax
lea ecx, [ecx + 0x20]
call fcn.10028a90
mov ecx, eax
call fcn.10028870
cmp dword [ebp - 0x170], 8
jb 0x1004feb1
push dword [ebp - 0x184]
call fcn.10022bb0
xor eax, eax
mov dword [ebp - 0x174], 0
push 0xd0
mov dword [ebp - 0x170], 7
mov word [ebp - 0x184], ax
call fcn.1008b151
add esp, 4
mov dword [ebp - 0x470], eax
test eax, eax
je 0x1004fffb
push 0x14
call fcn.1008b151
add esp, 4
test eax, eax
je 0x1004ff22
mov ecx, dword [ebp - 0x490]
mov dword [eax], vtable.amf::EncoderCoreAdapterEnum_unsigned_int__enum_ECAV1_CdefMode_.0
add ecx, 0x54
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x494]
mov dword [eax + 8], 0x100feb08
mov dword [eax + 0xc], 2
mov dword [eax + 0x10], ecx
jmp 0x1004ff24
xor eax, eax
push eax
mov esi, dword [ebp - 0x478]
mov edi, 1
push 0x100d50d8
push edi
push 0xff
sub esp, 0x18
mov ecx, dword [ebp - 0x470]
mov eax, esp
mov dword [ebp - 0xf58], 0
movups xmm0, xmmword [ebp - 0xf58]
sub esp, 0x18
mov dword [ebp - 0xf40], 0
or esi, 0x2000
mov dword [ebp - 0x9b0], edi
movups xmmword [eax], xmm0
mov dword [ebp - 0x478], esi
mov esi, 2
movq xmm0, qword [ebp - 0xf48]
movq qword [eax + 0x10], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0xf40]
sub esp, 0x18
mov dword [ebp - 0x9b8], esi
mov dword [ebp - 0x9ac], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0xf30]
movq qword [eax + 0x10], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x9b8]
push 0
push esi
movups xmmword [eax], xmm0
push str.Av1CdefMode
movq xmm0, qword [ebp - 0x9a8]
push str.Av1CdefMode
movq qword [eax + 0x10], xmm0
call fcn.100288e0
mov dword [ebp - 0x470], eax
mov eax, dword [ebp - 0x478]
or eax, 0xc000
mov dword [ebp - 0x478], eax
jmp 0x10050017
mov edi, dword [ebp - 0x9b0]
mov esi, dword [ebp - 0x9b8]
mov eax, dword [ebp - 0x478]
mov dword [ebp - 0x470], 0
test eax, 0x8000
je 0x1005004f
and eax, 0xffff7fff
mov dword [ebp - 0x478], eax
sub esi, 0xa
je 0x10050046
sub esi, 1
je 0x10050046
sub esi, 1
jne 0x1005004f
test edi, edi
je 0x1005004f
mov eax, dword [edi]
push edi
mov eax, dword [eax + 4]
call eax
jmp 0x10050049
push edi
call ebx
mov eax, dword [ebp - 0x478]
test eax, 0x4000
je 0x10050076
and eax, 0xffffbfff
mov dword [ebp - 0x478], eax
lea eax, [ebp - 0xf40]
push eax
call fcn.10049960
mov eax, dword [ebp - 0x478]
add esp, 4
test eax, 0x2000
je 0x10050097
and eax, 0xffffdfff
mov dword [ebp - 0x478], eax
lea eax, [ebp - 0xf58]
push eax
call fcn.10049960
add esp, 4
mov edi, dword [ebp - 0x470]
lea eax, [ebp - 0x4c4]
push eax
mov dword [ebp - 0x4c4], 0xffffffff
lea ecx, [edi + 0xbc]
call fcn.10028a10
mov esi, eax
mov dword [ebp - 0xf70], 2
lea eax, [ebp - 0xf70]
mov dword [ebp - 0xf68], 1
push eax
mov dword [ebp - 0xf64], 0
lea ecx, [esi + 8]
call fcn.10008070
push str.Av1CdefMode
lea ecx, [ebp - 0x1b4]
mov dword [esi], 7
call fcn.10007e90
mov ecx, dword [ebp - 0x48c]
lea eax, [ebp - 0x1b4]
push edi
push eax
lea ecx, [ecx + 0x20]
call fcn.10028a90
mov ecx, eax
call fcn.10028870
cmp dword [ebp - 0x1a0], 8
jb 0x1005012f
push dword [ebp - 0x1b4]
call fcn.10022bb0
xor eax, eax
mov dword [ebp - 0x1a4], 0
push 0xd0
mov dword [ebp - 0x1a0], 7
mov word [ebp - 0x1b4], ax
call fcn.1008b151
mov edi, eax
add esp, 4
test edi, edi
je 0x1005024e
push 0xc
call fcn.1008b151
add esp, 4
test eax, eax
je 0x1005018e
mov ecx, dword [ebp - 0x490]
add ecx, 0x59
mov dword [eax], vtable.amf::EncoderCoreAdapterT_bool_.0
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x494]
mov dword [eax + 8], ecx
jmp 0x10050190
xor eax, eax
mov esi, dword [ebp - 0x478]
mov ecx, edi
push eax
push 0
or esi, 0x10000
mov dword [ebp - 0xfa0], 0
movups xmm0, xmmword [ebp - 0xfa0]
mov dword [ebp - 0x478], esi
mov esi, 1
push esi
push 0xff
sub esp, 0x18
mov dword [ebp - 0xf88], 0
mov eax, esp
mov dword [ebp - 0x790], esi
sub esp, 0x18
mov byte [ebp - 0x788], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0xf90]
movq qword [eax + 0x10], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0xf88]
sub esp, 0x18
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0xf78]
movq qword [eax + 0x10], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x790]
push 0
push esi
movups xmmword [eax], xmm0
push str.Av1ErrorResilientMode
movq xmm0, qword [ebp - 0x780]
push str.Av1ErrorResilientMode
movq qword [eax + 0x10], xmm0
call fcn.100288e0
mov edi, eax
mov eax, dword [ebp - 0x478]
or eax, 0x60000
mov dword [ebp - 0x478], eax
jmp 0x1005025c
mov esi, dword [ebp - 0x790]
xor edi, edi
mov eax, dword [ebp - 0x478]
test eax, 0x40000
je 0x1005029f
and eax, 0xfffbffff
mov dword [ebp - 0x478], eax
sub esi, 0xa
je 0x10050291
sub esi, 1
je 0x10050291
sub esi, 1
jne 0x1005029f
mov ecx, dword [ebp - 0x788]
test ecx, ecx
je 0x1005029f
mov eax, dword [ecx]
push ecx
mov eax, dword [eax + 4]
call eax
jmp 0x10050299
push dword [ebp - 0x788]
call ebx
mov eax, dword [ebp - 0x478]
test eax, 0x20000
je 0x100502c6
and eax, 0xfffdffff
mov dword [ebp - 0x478], eax
lea eax, [ebp - 0xf88]
push eax
call fcn.10049960
mov eax, dword [ebp - 0x478]
add esp, 4
test eax, 0x10000
je 0x100502e7
and eax, 0xfffeffff
mov dword [ebp - 0x478], eax
lea eax, [ebp - 0xfa0]
push eax
call fcn.10049960
add esp, 4
lea eax, [ebp - 0x47d]
mov byte [ebp - 0x47d], 0
push eax
push 7
push 0xffffffffffffffff
mov ecx, edi
call fcn.10049730
push str.Av1ErrorResilientMode
lea ecx, [ebp - 0x37c]
call fcn.10007e90
mov ecx, dword [ebp - 0x48c]
lea eax, [ebp - 0x37c]
push edi
push eax
lea ecx, [ecx + 0x20]
call fcn.10028a90
mov ecx, eax
call fcn.10028870
cmp dword [ebp - 0x368], 8
jb 0x10050341
push dword [ebp - 0x37c]
call fcn.10022bb0
mov ebx, dword [ebp - 0x48c]
xor eax, eax
mov dword [ebp - 0x36c], 0
mov dword [ebp - 0x368], 7
mov word [ebp - 0x37c], ax
mov eax, dword [ebx]
push 2
push ebx
mov eax, dword [eax + 0x24]
call eax
mov eax, dword [ebx + 0x22c]
lea edi, [ebx + 0x22c]
mov ecx, dword [ebp - 0x4a4]
mov esi, 0x100fe9f0
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
test dword [ecx + 0x44], eax
je 0x100503d5
push dword [esi]
push 0x100d4f88
call fcn.10028b90
mov edx, eax
add esp, 8
test edx, edx
je 0x100503cf
mov ecx, dword [ebx + 0x230]
cmp ecx, dword [ebx + 0x234]
je 0x100503c6
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
add dword [ebx + 0x230], 8
jmp 0x100503cf
push edx
push ecx
mov ecx, edi
call fcn.10026c40
mov ecx, dword [ebp - 0x4a4]
add esi, 8
cmp esi, 0x100fea28
jl 0x10050388
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
je 0x100503fb
mov dword [eax], 0
mov dword [eax + 4], 0
add dword [edi + 4], 8
jmp 0x1005040a
lea ecx, [ebp - 0x4a0]
push ecx
push eax
mov ecx, edi
call fcn.10026c40
push 0xd0
call fcn.1008b151
add esp, 4
mov dword [ebp - 0x470], eax
test eax, eax
je 0x10050535
push 0x14
call fcn.1008b151
add esp, 4
test eax, eax
je 0x1005045e
mov ecx, dword [ebp - 0x490]
mov dword [eax], vtable.amf::EncoderCoreAdapterEnum_unsigned_int__enum_EC_RateControlMethod_.0
add ecx, 0x2c
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x494]
mov dword [eax + 8], 0x100fe9f0
mov dword [eax + 0xc], 7
mov dword [eax + 0x10], ecx
jmp 0x10050460
xor eax, eax
mov esi, dword [ebp - 0x478]
push eax
push 0x100d4f88
push 1
push 0xff
sub esp, 0x18
mov ecx, dword [ebp - 0x470]
mov eax, esp
mov dword [ebp - 0xfd0], 0
movups xmm0, xmmword [ebp - 0xfd0]
sub esp, 0x18
mov dword [ebp - 0xfb8], 0
or esi, 0x80000
mov dword [ebp - 0x994], 0
movups xmmword [eax], xmm0
mov dword [ebp - 0x478], esi
mov esi, 2
movq xmm0, qword [ebp - 0xfc0]
mov edi, esi
movq qword [eax + 0x10], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0xfb8]
sub esp, 0x18
mov dword [ebp - 0x9a0], esi
mov dword [ebp - 0x998], edi
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0xfa8]
movq qword [eax + 0x10], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x9a0]
push 0
push esi
movups xmmword [eax], xmm0
push str.Rate_Control_Method
movq xmm0, qword [ebp - 0x990]
push str.Av1RateControlMethod
movq qword [eax + 0x10], xmm0
call fcn.100288e0
mov dword [ebp - 0x470], eax
mov eax, dword [ebp - 0x478]
or eax, 0x300000
mov dword [ebp - 0x478], eax
jmp 0x10050551
mov edi, dword [ebp - 0x998]
mov esi, dword [ebp - 0x9a0]
mov eax, dword [ebp - 0x478]
mov dword [ebp - 0x470], 0
mov ebx, dword [sym.imp.ole32.dll_CoTaskMemFree]
test eax, 0x200000
je 0x1005058f
and eax, 0xffdfffff
mov dword [ebp - 0x478], eax
sub esi, 0xa
je 0x10050586
sub esi, 1
je 0x10050586
sub esi, 1
jne 0x1005058f
test edi, edi
je 0x1005058f
mov eax, dword [edi]
push edi
mov eax, dword [eax + 4]
call eax
jmp 0x10050589
push edi
call ebx
mov eax, dword [ebp - 0x478]
test eax, 0x100000
je 0x100505b6
and eax, 0xffefffff
mov dword [ebp - 0x478], eax
lea eax, [ebp - 0xfb8]
push eax
call fcn.10049960
mov eax, dword [ebp - 0x478]
add esp, 4
test eax, 0x80000
je 0x100505d7
and eax, 0xfff7ffff
mov dword [ebp - 0x478], eax
lea eax, [ebp - 0xfd0]
push eax
call fcn.10049960
add esp, 4
mov edi, dword [ebp - 0x470]
lea eax, [ebp - 0x4c8]
push eax
mov dword [ebp - 0x4c8], 0xffffffff
lea ecx, [edi + 0xbc]
call fcn.10028a10
mov esi, eax
mov dword [ebp - 0xfe8], 2
lea eax, [ebp - 0xfe8]
mov dword [ebp - 0xfe0], 2
push eax
mov dword [ebp - 0xfdc], 0
lea ecx, [esi + 8]
call fcn.10008070
push str.Av1RateControlMethod
lea ecx, [ebp - 0x1e4]
mov dword [esi], 7
call fcn.10007e90
mov ecx, dword [ebp - 0x48c]
lea eax, [ebp - 0x1e4]
push edi
push eax
lea ecx, [ecx + 0x20]
call fcn.10028a90
mov ecx, eax
call fcn.10028870
cmp dword [ebp - 0x1d0], 8
jb 0x1005066f
push dword [ebp - 0x1e4]
call fcn.10022bb0
xor eax, eax
mov dword [ebp - 0x1d4], 0
push 0xd0
mov dword [ebp - 0x1d0], 7
mov word [ebp - 0x1e4], ax
call fcn.1008b151
mov edx, eax
add esp, 4
test edx, edx
je 0x1005079e
mov esi, dword [ebp - 0x478]
mov ecx, 2
push 0
push 0
push 1
push 0xff
sub esp, 0x18
mov dword [ebp - 0x5e0], ecx
mov eax, esp
mov dword [ebp - 0x5d8], 0x33
mov dword [ebp - 0x5d4], 0
sub esp, 0x18
movups xmm0, xmmword [ebp - 0x5e0]
mov edi, ecx
mov dword [ebp - 0x5c0], 1
mov dword [ebp - 0x5c8], edi
or esi, 0x400000
movups xmmword [eax], xmm0
mov dword [ebp - 0x5bc], 0
movq xmm0, qword [ebp - 0x5d0]
movq qword [eax + 0x10], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x5c8]
sub esp, 0x18
mov dword [ebp - 0x478], esi
mov esi, ecx
mov dword [ebp - 0x5a8], 0x17
movups xmmword [eax], xmm0
mov dword [ebp - 0x5b0], esi
movq xmm0, qword [ebp - 0x5b8]
movq qword [eax + 0x10], xmm0
mov eax, esp
push 0
mov dword [ebp - 0x5a4], 0
movups xmm0, xmmword [ebp - 0x5b0]
push ecx
push str.QVBR_Quality_Level
movups xmmword [eax], xmm0
mov dword [ebp - 0x470], ecx
mov ecx, edx
movq xmm0, qword [ebp - 0x5a0]
push str.Av1QvbrQualityLevel
movq qword [eax + 0x10], xmm0
call fcn.100288e0
mov dword [ebp - 0x488], eax
mov eax, dword [ebp - 0x478]
or eax, 0x1800000
mov dword [ebp - 0x478], eax
jmp 0x100507c6
mov ecx, dword [ebp - 0x5e0]
mov edi, dword [ebp - 0x5c8]
mov esi, dword [ebp - 0x5b0]
mov eax, dword [ebp - 0x478]
mov dword [ebp - 0x488], 0
mov dword [ebp - 0x470], ecx
test eax, 0x1000000
je 0x1005080a
and eax, 0xfeffffff
mov dword [ebp - 0x478], eax
sub esi, 0xa
je 0x100507fb
sub esi, 1
je 0x100507fb
sub esi, 1
jne 0x1005080a
mov ecx, dword [ebp - 0x5a8]
test ecx, ecx
je 0x1005080a
mov eax, dword [ecx]
push ecx
mov eax, dword [eax + 4]
call eax
jmp 0x10050804
mov ecx, dword [ebp - 0x5a8]
push ecx
call ebx
mov eax, dword [ebp - 0x478]
test eax, 0x800000
je 0x1005084e
and eax, 0xff7fffff
mov dword [ebp - 0x478], eax
sub edi, 0xa
je 0x1005083f
sub edi, 1
je 0x1005083f
sub edi, 1
jne 0x1005084e
mov ecx, dword [ebp - 0x5c0]
test ecx, ecx
je 0x1005084e
mov eax, dword [ecx]
push ecx
mov eax, dword [eax + 4]
call eax
jmp 0x10050848
mov ecx, dword [ebp - 0x5c0]
push ecx
call ebx
mov eax, dword [ebp - 0x478]
test eax, 0x400000
je 0x10050892
and eax, 0xffbfffff
mov dword [ebp - 0x478], eax
mov eax, dword [ebp - 0x470]
sub eax, 0xa
je 0x10050889
sub eax, 1
je 0x10050889
sub eax, 1
jne 0x10050892
mov ecx, dword [ebp - 0x5d8]
test ecx, ecx
je 0x10050892
mov eax, dword [ecx]
push ecx
mov eax, dword [eax + 4]
call eax
jmp 0x10050892
mov ecx, dword [ebp - 0x5d8]
push ecx
call ebx
mov esi, dword [ebp - 0x488]
lea eax, [ebp - 0x470]
push eax
push 7
push 0xffffffffffffffff
mov ecx, esi
mov dword [ebp - 0x470], 0x17
call fcn.10049570
push str.Av1QvbrQualityLevel
lea ecx, [ebp - 0x3ac]
call fcn.10007e90
mov ecx, dword [ebp - 0x48c]
lea eax, [ebp - 0x3ac]
push esi
push eax
lea ecx, [ecx + 0x20]
call fcn.10028a90
mov ecx, eax
call fcn.10028870
cmp dword [ebp - 0x398], 8
jb 0x100508f5
push dword [ebp - 0x3ac]
call fcn.10022bb0
xor eax, eax
mov dword [ebp - 0x39c], 0
push 0xd0
mov dword [ebp - 0x398], 7
mov word [ebp - 0x3ac], ax
call fcn.1008b151
add esp, 4
mov dword [ebp - 0x488], eax
test eax, eax
je 0x10050a51
push 0xc
call fcn.1008b151
mov edx, eax
add esp, 4
test edx, edx
je 0x1005095a
mov ecx, dword [ebp - 0x490]
mov eax, dword [ebp - 0x494]
add ecx, 0x30
mov dword [edx], vtable.amf::EncoderCoreAdapterT_unsigned_int_.0
mov dword [edx + 4], ecx
mov dword [edx + 8], eax
jmp 0x1005095c
xor edx, edx
mov esi, dword [ebp - 0x478]
xorps xmm0, xmm0
push edx
push 0
push 1
push 0xff
sub esp, 0x18
mov ecx, dword [ebp - 0x488]
mov eax, 2
movlpd qword [ebp - 0x7a0], xmm0
or esi, 0x2000000
mov dword [ebp - 0x610], eax
mov edi, eax
mov dword [ebp - 0x470], eax
mov dword [ebp - 0x478], esi
mov esi, eax
mov eax, esp
mov dword [ebp - 0x608], 0x40
mov dword [ebp - 0x604], 0
sub esp, 0x18
movups xmm0, xmmword [ebp - 0x610]
mov dword [ebp - 0x7a8], edi
mov dword [ebp - 0x5f8], esi
movups xmmword [eax], xmm0
mov dword [ebp - 0x5f0], 0x40
movq xmm0, qword [ebp - 0x600]
movq qword [eax + 0x10], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x7a8]
sub esp, 0x18
mov dword [ebp - 0x5ec], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x798]
movq qword [eax + 0x10], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x5f8]
push 0
push esi
movups xmmword [eax], xmm0
push str.Initial_VBV_Buffer_Fullness
movq xmm0, qword [ebp - 0x5e8]
push str.Av1InitialVBVBufferFullness
movq qword [eax + 0x10], xmm0
call fcn.100288e0
mov dword [ebp - 0x488], eax
mov eax, dword [ebp - 0x478]
or eax, 0xc000000
mov dword [ebp - 0x478], eax
jmp 0x10050a79
mov eax, dword [ebp - 0x610]
mov edi, dword [ebp - 0x7a8]
mov esi, dword [ebp - 0x5f8]
mov dword [ebp - 0x470], eax
mov eax, dword [ebp - 0x478]
mov dword [ebp - 0x488], 0
test eax, 0x8000000
je 0x10050abd
and eax, 0xf7ffffff
mov dword [ebp - 0x478], eax
sub esi, 0xa
je 0x10050aae
sub esi, 1
je 0x10050aae
sub esi, 1
jne 0x10050abd
mov ecx, dword [ebp - 0x5f0]
test ecx, ecx
je 0x10050abd
mov eax, dword [ecx]
push ecx
mov eax, dword [eax + 4]
call eax
jmp 0x10050ab7
mov ecx, dword [ebp - 0x5f0]
push ecx
call ebx
mov eax, dword [ebp - 0x478]
test eax, 0x4000000
je 0x10050b00
and eax, 0xfbffffff
mov dword [ebp - 0x478], eax
sub edi, 0xa
je 0x10050af2
sub edi, 1
je 0x10050af2
sub edi, 1
jne 0x10050b00
mov ecx, dword [ebp - 0x7a0]
test ecx, ecx
je 0x10050b00
mov eax, dword [ecx]
push ecx
mov eax, dword [eax + 4]
call eax
jmp 0x10050afa
push dword [ebp - 0x7a0]
call ebx
mov eax, dword [ebp - 0x478]
test eax, 0x2000000
je 0x10050b44
and eax, 0xfdffffff
mov dword [ebp - 0x478], eax
mov eax, dword [ebp - 0x470]
sub eax, 0xa
je 0x10050b3b
sub eax, 1
je 0x10050b3b
sub eax, 1
jne 0x10050b44
mov ecx, dword [ebp - 0x608]
test ecx, ecx
je 0x10050b44
mov eax, dword [ecx]
push ecx
mov eax, dword [eax + 4]
call eax
jmp 0x10050b44
mov ecx, dword [ebp - 0x608]
push ecx
call ebx
mov esi, dword [ebp - 0x488]
lea eax, [ebp - 0x470]
push eax
push 7
push 0xffffffffffffffff
mov ecx, esi
mov dword [ebp - 0x470], 0x40
call fcn.10049570
push str.Av1InitialVBVBufferFullness
lea ecx, [ebp - 0x1cc]
call fcn.10007e90
mov ecx, dword [ebp - 0x48c]
lea eax, [ebp - 0x1cc]
push esi
push eax
lea ecx, [ecx + 0x20]
call fcn.10028a90
mov ecx, eax
call fcn.10028870
cmp dword [ebp - 0x1b8], 8
jb 0x10050ba7
push dword [ebp - 0x1cc]
call fcn.10022bb0
xor eax, eax
mov dword [ebp - 0x1bc], 0
push 0xd0
mov dword [ebp - 0x1b8], 7
mov word [ebp - 0x1cc], ax
call fcn.1008b151
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x10050c98
mov esi, dword [ebp - 0x478]
push 0
push 0
or esi, 0x10000000
mov dword [ebp - 0x1018], 0
movups xmm0, xmmword [ebp - 0x1018]
mov dword [ebp - 0x478], esi
mov esi, 1
push esi
push 0xff
sub esp, 0x18
mov dword [ebp - 0x1000], 0
mov eax, esp
mov dword [ebp - 0x7c0], esi
sub esp, 0x18
mov byte [ebp - 0x7b8], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x1008]
movq qword [eax + 0x10], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x1000]
sub esp, 0x18
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0xff0]
movq qword [eax + 0x10], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x7c0]
push 0
push esi
movups xmmword [eax], xmm0
push str.Enable_Pre_Analysis
movq xmm0, qword [ebp - 0x7b0]
push str.Av1EnablePreAnalysis
movq qword [eax + 0x10], xmm0
call fcn.100288e0
mov edi, eax
mov eax, dword [ebp - 0x478]
or eax, 0x60000000
mov dword [ebp - 0x478], eax
jmp 0x10050ca6
mov esi, dword [ebp - 0x7c0]
xor edi, edi
mov eax, dword [ebp - 0x478]
test eax, 0x40000000
je 0x10050ce9
and eax, 0xbfffffff
mov dword [ebp - 0x478], eax
sub esi, 0xa
je 0x10050cdb
sub esi, 1
je 0x10050cdb
sub esi, 1
jne 0x10050ce9
mov ecx, dword [ebp - 0x7b8]
test ecx, ecx
je 0x10050ce9
mov eax, dword [ecx]
push ecx
mov eax, dword [eax + 4]
call eax
jmp 0x10050ce3
push dword [ebp - 0x7b8]
call ebx
mov eax, dword [ebp - 0x478]
test eax, 0x20000000
je 0x10050d10
and eax, 0xdfffffff
mov dword [ebp - 0x478], eax
lea eax, [ebp - 0x1000]
push eax
call fcn.10049960
mov eax, dword [ebp - 0x478]
add esp, 4
test eax, 0x10000000
je 0x10050d31
and eax, 0xefffffff
mov dword [ebp - 0x478], eax
lea eax, [ebp - 0x1018]
push eax
call fcn.10049960
add esp, 4
lea eax, [ebp - 0x47d]
mov byte [ebp - 0x47d], 0
push eax
push 3
push 0xffffffffffffffff
mov ecx, edi
call fcn.10049730
push str.Av1EnablePreAnalysis
lea ecx, [ebp - 0x19c]
call fcn.10007e90
mov ecx, dword [ebp - 0x48c]
lea eax, [ebp - 0x19c]
push edi
push eax
lea ecx, [ecx + 0x20]
call fcn.10028a90
mov ecx, eax
call fcn.10028870
cmp dword [ebp - 0x188], 8
jb 0x10050d8b
push dword [ebp - 0x19c]
call fcn.10022bb0
xor eax, eax
mov dword [ebp - 0x18c], 0
push 0xd0
mov dword [ebp - 0x188], 7
mov word [ebp - 0x19c], ax
call fcn.1008b151
add esp, 4
mov dword [ebp - 0x470], eax
test eax, eax
je 0x10050ec0
push 0x14
call fcn.1008b151
add esp, 4
test eax, eax
je 0x10050dfc
mov ecx, dword [ebp - 0x490]
mov dword [eax], vtable.amf::EncoderCoreAdapterEnum_unsigned_int__enum_EC_PreEncodeMode_.0
add ecx, 0x34
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x494]
mov dword [eax + 8], 0x100fea60
mov dword [eax + 0xc], 2
mov dword [eax + 0x10], ecx
jmp 0x10050dfe
xor eax, eax
push eax
push 0x100d5010
push 1
push 0xff
xorps xmm0, xmm0
mov esi, dword [ebp - 0x478]
sub esp, 0x18
mov ecx, dword [ebp - 0x470]
mov eax, esp
movlpd qword [ebp - 0x7d0], xmm0
mov dword [ebp - 0x1048], 0
sub esp, 0x18
movups xmm0, xmmword [ebp - 0x1048]
mov dword [ebp - 0x1030], 0
mov edi, 2
mov dword [ebp - 0x7d8], edi
or esi, 0x80000000
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x1038]
movq qword [eax + 0x10], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x1030]
sub esp, 0x18
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x1020]
movq qword [eax + 0x10], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x7d8]
push 0
push edi
movups xmmword [eax], xmm0
push str.Rate_Control_Preanalysis_Enable
movq xmm0, qword [ebp - 0x7c8]
push str.Av1RateControlPreEncode
movq qword [eax + 0x10], xmm0
call fcn.100288e0
mov dword [ebp - 0x470], eax
mov eax, 3
mov dword [ebp - 0x47c], eax
jmp 0x10050edc
mov edi, dword [ebp - 0x7d8]
mov esi, dword [ebp - 0x478]
mov eax, dword [ebp - 0x47c]
mov dword [ebp - 0x470], 0
test al, 2
je 0x10050f1a
and eax, 0xfffffffd
mov dword [ebp - 0x47c], eax
sub edi, 0xa
je 0x10050f0c
sub edi, 1
je 0x10050f0c
sub edi, 1
jne 0x10050f1a
mov ecx, dword [ebp - 0x7d0]
test ecx, ecx
je 0x10050f1a
mov eax, dword [ecx]
push ecx
mov eax, dword [eax + 4]
call eax
jmp 0x10050f14
push dword [ebp - 0x7d0]
call ebx
mov eax, dword [ebp - 0x47c]
test al, 1
je 0x10050f36
and eax, 0xfffffffe
mov dword [ebp - 0x47c], eax
lea eax, [ebp - 0x1030]
push eax
call fcn.10049960
add esp, 4
test esi, esi
jns 0x10050f49
lea eax, [ebp - 0x1048]
push eax
call fcn.10049960
add esp, 4
mov esi, dword [ebp - 0x470]
lea eax, [ebp - 0x488]
push eax
push 7
push 0xffffffffffffffff
mov ecx, esi
mov dword [ebp - 0x488], 0
call fcn.10049570
push str.Av1RateControlPreEncode
lea ecx, [ebp - 0x10c]
call fcn.10007e90
mov ecx, dword [ebp - 0x48c]
lea eax, [ebp - 0x10c]
push esi
push eax
lea ecx, [ecx + 0x20]
call fcn.10028a90
mov ecx, eax
call fcn.10028870
cmp dword [ebp - 0xf8], 8
jb 0x10050fac
push dword [ebp - 0x10c]
call fcn.10022bb0
xor eax, eax
mov dword [ebp - 0xfc], 0
push 0xd0
mov dword [ebp - 0xf8], 7
mov word [ebp - 0x10c], ax
call fcn.1008b151
mov edi, eax
add esp, 4
test edi, edi
je 0x100510de
push 0x14
call fcn.1008b151
mov edx, eax
add esp, 4
test edx, edx
je 0x1005101b
mov ecx, dword [ebp - 0x490]
mov eax, dword [ebp - 0x494]
add ecx, 0x4c
mov dword [edx], vtable.amf::EncoderCoreAdapterEnum_unsigned_int__enum_ECAV1_TwoPassSearchCenterMapMode_.0
mov dword [edx + 4], ecx
mov dword [edx + 8], 0x100feac0
mov dword [edx + 0xc], 2
mov dword [edx + 0x10], eax
jmp 0x1005101d
xor edx, edx
mov eax, dword [ebp - 0x47c]
xorps xmm0, xmm0
push edx
push 0x100d5070
push 1
push 0xff
sub esp, 0x18
movlpd qword [ebp - 0x7e8], xmm0
or eax, 4
mov dword [ebp - 0x1078], 0
movups xmm0, xmmword [ebp - 0x1078]
mov dword [ebp - 0x47c], eax
mov esi, 2
mov eax, esp
mov dword [ebp - 0x1060], 0
sub esp, 0x18
mov dword [ebp - 0x7f0], esi
mov ecx, edi
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x1068]
movq qword [eax + 0x10], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x1060]
sub esp, 0x18
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x1050]
movq qword [eax + 0x10], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x7f0]
push 0
push esi
movups xmmword [eax], xmm0
push str.Eanble_high_motion_quality_boost_mode
movq xmm0, qword [ebp - 0x7e0]
push str.Av1HighMotionQualityBoost
movq qword [eax + 0x10], xmm0
call fcn.100288e0
mov edi, eax
mov eax, dword [ebp - 0x47c]
or eax, 0x18
mov dword [ebp - 0x47c], eax
jmp 0x100510ec
mov esi, dword [ebp - 0x7f0]
xor edi, edi
mov eax, dword [ebp - 0x47c]
test al, 0x10
je 0x1005112a
and eax, 0xffffffef
mov dword [ebp - 0x47c], eax
sub esi, 0xa
je 0x1005111c
sub esi, 1
je 0x1005111c
sub esi, 1
jne 0x1005112a
mov ecx, dword [ebp - 0x7e8]
test ecx, ecx
je 0x1005112a
mov eax, dword [ecx]
push ecx
mov eax, dword [eax + 4]
call eax
jmp 0x10051124
push dword [ebp - 0x7e8]
call ebx
mov eax, dword [ebp - 0x47c]
test al, 8
je 0x1005114c
and eax, 0xfffffff7
mov dword [ebp - 0x47c], eax
lea eax, [ebp - 0x1060]
push eax
call fcn.10049960
mov eax, dword [ebp - 0x47c]
add esp, 4
test al, 4
je 0x10051168
and eax, 0xfffffffb
mov dword [ebp - 0x47c], eax
lea eax, [ebp - 0x1078]
push eax
call fcn.10049960
add esp, 4
lea eax, [ebp - 0x47d]
mov byte [ebp - 0x47d], 0
push eax
push 7
push 0xffffffffffffffff
mov ecx, edi
call fcn.10049730
push str.Av1HighMotionQualityBoost
lea ecx, [ebp - 0xac]
call fcn.10007e90
mov ecx, dword [ebp - 0x48c]
lea eax, [ebp - 0xac]
push edi
push eax
lea ecx, [ecx + 0x20]
call fcn.10028a90
mov ecx, eax
call fcn.10028870
cmp dword [ebp - 0x98], 8
jb 0x100511c2
push dword [ebp - 0xac]
call fcn.10022bb0
xor eax, eax
mov dword [ebp - 0x9c], 0
push 0xd0
mov dword [ebp - 0x98], 7
mov word [ebp - 0xac], ax
call fcn.1008b151
mov edi, eax
add esp, 4
test edi, edi
je 0x100512f6
push 0x14
call fcn.1008b151
mov edx, eax
add esp, 4
test edx, edx
je 0x10051231
mov ecx, dword [ebp - 0x490]
mov eax, dword [ebp - 0x494]
add ecx, 0x3c
mov dword [edx], vtable.amf::EncoderCoreAdapterEnum_unsigned_int__enum_EC_VbaqMode_.0
mov dword [edx + 4], ecx
mov dword [edx + 8], 0x100feab0
mov dword [edx + 0xc], 2
mov dword [edx + 0x10], eax
jmp 0x10051233
xor edx, edx
mov eax, dword [ebp - 0x47c]
xorps xmm0, xmm0
push edx
push 0x100d5058
push 1
push 0xff
sub esp, 0x18
movlpd qword [ebp - 0x800], xmm0
or eax, 0x20
mov dword [ebp - 0x10a8], 0
movups xmm0, xmmword [ebp - 0x10a8]
mov dword [ebp - 0x47c], eax
mov esi, 2
mov eax, esp
mov dword [ebp - 0x1090], 0
sub esp, 0x18
mov dword [ebp - 0x808], esi
mov ecx, edi
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x1098]
movq qword [eax + 0x10], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x1090]
sub esp, 0x18
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x1080]
movq qword [eax + 0x10], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x808]
push 0
push esi
movups xmmword [eax], xmm0
push str.Eanble_VBAQ
movq xmm0, qword [ebp - 0x7f8]
push str.Av1AQMode
movq qword [eax + 0x10], xmm0
call fcn.100288e0
mov edi, eax
mov eax, dword [ebp - 0x47c]
or eax, 0xc0
mov dword [ebp - 0x47c], eax
jmp 0x10051304
mov esi, dword [ebp - 0x808]
xor edi, edi
mov eax, dword [ebp - 0x47c]
test al, al
jns 0x10051344
and eax, 0xffffff7f
mov dword [ebp - 0x47c], eax
sub esi, 0xa
je 0x10051336
sub esi, 1
je 0x10051336
push dword [ebp - 0x800]
call ebx
mov eax, dword [ebp - 0x47c]
test al, 0x40
je 0x10051366
and eax, 0xffffffbf
mov dword [ebp - 0x47c], eax
lea eax, [ebp - 0x1090]
push eax
call fcn.10049960
mov eax, dword [ebp - 0x47c]
add esp, 4
test al, 0x20
je 0x10051382