Function at 0x1004b050
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x370
mov eax, dword [0x100ffa04]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov dword [ebp - 0x20], ebx
push edi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x38], ebx
cmp dword [eax + 0x60], ebx
jbe 0x1004d677
mov edi, dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [esi]
push 1
push esi
call dword [eax + 0x24]
mov ecx, dword [esi]
push 0x11
push esi
mov dword [ebp - 0x34], eax
call dword [ecx + 0x24]
push dword [ebp - 0x38]
mov ecx, dword [ebp - 0x30]
mov esi, eax
push str.Av1FrameRate
call fcn.10032cb0
push 0xd0
mov dword [ebp - 0x40], eax
call fcn.1008b151
add esp, 4
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x1004b1d6
push 0x14
call fcn.1008b151
add esp, 4
test eax, eax
je 0x1004b0f3
mov ecx, dword [ebp - 0x30]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x34]
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x38]
mov dword [eax], vtable.amf::EncodeCoreAv1FrameRateAdapter.0
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], esi
jmp 0x1004b0f5
xor eax, eax
push eax
push 0
push 2
push 0xff
sub esp, 0x18
mov dword [ebp - 0x2c0], 0x1e
mov eax, esp
mov ecx, 7
mov esi, SysReAllocString
mov dword [ebp - 0x268], ecx
mov dword [ebp - 0x260], esi
sub esp, 0x18
mov dword [ebp - 0x25c], esi
mov edx, 1
movups xmm0, xmmword [ebp - 0x268]
mov dword [ebp - 0x280], ecx
or ebx, edx
mov dword [ebp - 0x278], edx
movups xmmword [eax], xmm0
mov dword [ebp - 0x274], edx
movq xmm0, qword [ebp - 0x258]
movq qword [eax + 0x10], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x280]
sub esp, 0x18
mov dword [ebp - 0x48], esi
mov esi, ecx
mov dword [ebp - 0x2bc], edx
movups xmmword [eax], xmm0
mov dword [ebp - 0x2c8], esi
movq xmm0, qword [ebp - 0x270]
movq qword [eax + 0x10], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x2c8]
push 0
push ecx
push dword [ebp - 0x38]
movups xmmword [eax], xmm0
mov dword [ebp - 0x20], ecx
movq xmm0, qword [ebp - 0x2b8]
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x30]
push str.Frame_Rate
mov dword [ebp - 0x3c], edx
movq qword [eax + 0x10], xmm0
call fcn.10032cb0
mov ecx, dword [ebp - 0x4c]
push eax
push dword [ebp - 0x40]
call fcn.100288e0
mov dword [ebp - 0x4c], eax
lea ecx, [esi + 0x17]
or ebx, 6
jmp 0x1004b20d
mov ecx, dword [ebp - 0x268]
mov eax, dword [ebp - 0x260]
mov esi, dword [ebp - 0x2c8]
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x280]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x278]
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x2c0]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x3c], eax
test bl, 4
je 0x1004b233
and ebx, 0xfffffffb
sub esi, 0xa
je 0x1004b230
sub esi, 1
je 0x1004b230
sub esi, 1
jne 0x1004b233
test ecx, ecx
je 0x1004b233
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
jmp 0x1004b233
push ecx
call edi
test bl, 2
je 0x1004b261
mov eax, dword [ebp - 0x24]
and ebx, 0xfffffffd
sub eax, 0xa
je 0x1004b25c
sub eax, 1
je 0x1004b25c
sub eax, 1
jne 0x1004b261
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x1004b261
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
jmp 0x1004b261
push dword [ebp - 0x3c]
call edi
test bl, 1
je 0x1004b28f
mov eax, dword [ebp - 0x20]
and ebx, 0xfffffffe
sub eax, 0xa
je 0x1004b28a
sub eax, 1
je 0x1004b28a
sub eax, 1
jne 0x1004b28f
mov ecx, dword [ebp - 0x48]
test ecx, ecx
je 0x1004b28f
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
jmp 0x1004b28f
push dword [ebp - 0x48]
call edi
mov ecx, dword [ebp - 0x4c]
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0xffffffff
lea ecx, [ecx + 0xbc]
call fcn.10028a10
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x2e0], 7
mov dword [ebp - 0x2d8], 0x1e
lea esi, [eax + 8]
mov dword [ebp - 0x2d4], 1
test esi, esi
je 0x1004b302
mov eax, dword [esi]
sub eax, 0xa
je 0x1004b2f7
sub eax, 1
je 0x1004b2f7
sub eax, 1
jne 0x1004b2fc
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1004b2fc
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov dword [esi + 8], 0
jmp 0x1004b2fc
push dword [esi + 8]
call edi
mov dword [esi], 0
lea eax, [ebp - 0x2e0]
push eax
push esi
call fcn.10005b50
mov eax, dword [ebp - 0x24]
add esp, 8
mov edx, dword [ebp - 0x40]
mov esi, edx
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 7
mov dword [eax], 7
xor eax, eax
mov word [ebp - 0x1c], ax
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x1004b337
sub esi, ecx
sar esi, 1
cmp esi, 7
ja 0x1004b367
mov dword [ebp - 0xc], esi
lea eax, [ebp - 0x1c]
add esi, esi
push esi
push edx
push eax
call fcn.1008c4c0
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x1c], ax
jmp 0x1004b3ca
cmp esi, 0x7ffffffe
ja 0x1004d68a
mov eax, esi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x1004b386
mov eax, SysReAllocString
jmp 0x1004b391
cmp eax, 0xa
mov ecx, 0xa
cmovb eax, ecx
mov dword [ebp - 0x20], eax
lea eax, [eax*2 + 2]
push eax
call fcn.10022b90
mov dword [ebp - 0xc], esi
mov edi, eax
mov eax, dword [ebp - 0x20]
add esi, esi
push esi
push dword [ebp - 0x40]
mov dword [ebp - 8], eax
push edi
call fcn.1008bf40
add esp, 0xc
xor eax, eax
mov word [esi + edi], ax
mov dword [ebp - 0x1c], edi
mov edi, dword [sym.imp.ole32.dll_CoTaskMemFree]
mov esi, dword [ebp - 0x30]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x19c]
push eax
lea ecx, [esi + 0x20]
call fcn.10018230
mov eax, dword [ebp - 0x194]
mov dword [ebp - 0x40], eax
cmp byte [eax + 0xd], 0
jne 0x1004b408
add eax, 0x10
lea ecx, [esi + 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10019bb0
test al, al
jne 0x1004b408
mov esi, dword [ebp - 0x40]
jmp 0x1004b482
cmp dword [esi + 0x24], 0x5555555
je 0x1004d68f
mov esi, dword [esi + 0x20]
push 0x30
call fcn.10022b90
xor ecx, ecx
push eax
push dword [ebp - 0x198]
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
movups xmm0, xmmword [ebp - 0x1c]
push dword [ebp - 0x19c]
movups xmmword [eax + 0x10], xmm0
movq xmm0, qword [ebp - 0xc]
movq qword [eax + 0x20], xmm0
mov word [ebp - 0x1c], cx
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 7
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ecx
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov word [eax + 0xc], cx
mov ecx, dword [ebp - 0x30]
lea ecx, [ecx + 0x20]
call fcn.1000acd0
mov esi, eax
mov dword [ebp - 0x40], esi
push 0x10
call fcn.1008b151
mov ecx, dword [ebp - 0x4c]
add esp, 4
test eax, eax
je 0x1004b4ac
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov dword [eax], vtable.std::_Ref_count_struct_amf::EncoderProperty_.0
mov dword [eax + 0xc], ecx
jmp 0x1004b4ae
xor eax, eax
mov dword [esi + 0x28], ecx
mov ecx, dword [ebp - 0x40]
mov esi, dword [esi + 0x2c]
mov dword [ecx + 0x2c], eax
test esi, esi
je 0x1004b4df
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x1004b4df
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x1004b4df
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp dword [ebp - 8], 8
jb 0x1004b4ed
push dword [ebp - 0x1c]
call fcn.10022bb0
mov ecx, dword [ebp - 0x34]
mov esi, dword [ebp - 0x38]
push esi
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [ebp - 0x30]
push esi
push str.Av1TargetBitrate
mov dword [ebp - 0x3c], eax
call fcn.10032cb0
push 0xd0
mov dword [ebp - 0x40], eax
call fcn.1008b151
add esp, 4
mov dword [ebp - 0x48], eax
test eax, eax
je 0x1004b62a
push 0x10
call fcn.1008b151
add esp, 4
test eax, eax
je 0x1004b54d
mov ecx, dword [ebp - 0x3c]
add ecx, 4
mov dword [eax], vtable.amf::EncoderCoreAdapterLayerT_unsigned_int_.0
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x34]
mov dword [eax + 8], esi
mov dword [eax + 0xc], ecx
jmp 0x1004b54f
xor eax, eax
mov edx, dword [ebp + 8]
mov ecx, 2
push eax
push 0
push ecx
mov edx, dword [edx + 0x54]
mov esi, ecx
push 0xff
sub esp, 0x18
mov dword [ebp - 0x298], ecx
mov eax, esp
mov dword [ebp - 0x290], edx
mov dword [ebp - 0x28c], 0
sub esp, 0x18
movups xmm0, xmmword [ebp - 0x298]
mov dword [ebp - 0x130], ecx
or ebx, 8
mov dword [ebp - 0x128], 0x2710
movups xmmword [eax], xmm0
mov dword [ebp - 0x124], 0
movq xmm0, qword [ebp - 0x288]
movq qword [eax + 0x10], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x130]
sub esp, 0x18
mov dword [ebp - 0x118], esi
mov dword [ebp - 0x110], 0x1312d00
movups xmmword [eax], xmm0
mov dword [ebp - 0x10c], 0
movq xmm0, qword [ebp - 0x120]
movq qword [eax + 0x10], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x118]
push 0
push ecx
movups xmmword [eax], xmm0
push str.Bitrate
movq xmm0, qword [ebp - 0x108]
push dword [ebp - 0x40]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x4c], edx
movq qword [eax + 0x10], xmm0
call fcn.100288e0
mov dword [ebp - 0x48], eax
or ebx, 0x30
jmp 0x1004b652
mov ecx, dword [ebp - 0x298]
mov eax, dword [ebp - 0x290]
mov esi, dword [ebp - 0x118]
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x130]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x20], ecx
test bl, 0x20
je 0x1004b683
and ebx, 0xffffffdf
sub esi, 0xa
je 0x1004b67b
sub esi, 1
je 0x1004b67b
sub esi, 1
jne 0x1004b683
mov ecx, dword [ebp - 0x110]
test ecx, ecx
je 0x1004b683
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
jmp 0x1004b683
push dword [ebp - 0x110]
call edi
test bl, 0x10
je 0x1004b6b7
mov eax, dword [ebp - 0x20]
and ebx, 0xffffffef
sub eax, 0xa
je 0x1004b6af
sub eax, 1
je 0x1004b6af
sub eax, 1
jne 0x1004b6b7
mov ecx, dword [ebp - 0x128]
test ecx, ecx
je 0x1004b6b7
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
jmp 0x1004b6b7
push dword [ebp - 0x128]
call edi
test bl, 8
je 0x1004b6e5
mov eax, dword [ebp - 0x24]
and ebx, 0xfffffff7
sub eax, 0xa
je 0x1004b6e0
sub eax, 1
je 0x1004b6e0
sub eax, 1
jne 0x1004b6e5
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
je 0x1004b6e5
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
jmp 0x1004b6e5
push dword [ebp - 0x4c]
call edi
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0xffffffff
lea ecx, [ecx + 0xbc]
call fcn.10028a10
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x2f8], 2
mov dword [ebp - 0x2f0], 0x1312d00
lea esi, [eax + 8]
mov dword [ebp - 0x2ec], 0
test esi, esi
je 0x1004b758
mov eax, dword [esi]
sub eax, 0xa
je 0x1004b74d
sub eax, 1
je 0x1004b74d
sub eax, 1
jne 0x1004b752
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1004b752
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov dword [esi + 8], 0
jmp 0x1004b752
push dword [esi + 8]
call edi
mov dword [esi], 0
lea eax, [ebp - 0x2f8]
push eax
push esi
call fcn.10005b50
mov eax, dword [ebp - 0x24]
add esp, 8
mov edx, dword [ebp - 0x40]
mov esi, edx
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 7
mov dword [eax], 7
xor eax, eax
mov word [ebp - 0x1c], ax
lea ecx, [esi + 2]
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x1004b790
sub esi, ecx
sar esi, 1
cmp esi, 7
ja 0x1004b7c0
mov dword [ebp - 0xc], esi
lea eax, [ebp - 0x1c]
add esi, esi
push esi
push edx
push eax
call fcn.1008c4c0
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x1c], ax
jmp 0x1004b81d
cmp esi, 0x7ffffffe
ja 0x1004d68a
mov eax, esi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x1004b7df
mov eax, SysReAllocString
jmp 0x1004b7ea
cmp eax, 0xa
mov ecx, 0xa
cmovb eax, ecx
mov dword [ebp - 0x20], eax
lea eax, [eax*2 + 2]
push eax
call fcn.10022b90
mov dword [ebp - 0xc], esi
mov edi, eax
mov eax, dword [ebp - 0x20]
add esi, esi
push esi
push dword [ebp - 0x40]
mov dword [ebp - 8], eax
push edi
call fcn.1008bf40
add esp, 0xc
xor eax, eax
mov word [edi + esi], ax
mov dword [ebp - 0x1c], edi
mov edi, dword [ebp - 0x30]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x1a8]
add edi, 0x20
push eax
mov ecx, edi
call fcn.10018230
mov esi, dword [ebp - 0x1a0]
mov dword [ebp - 0x20], esi
cmp byte [esi + 0xd], 0
jne 0x1004b857
lea eax, [esi + 0x10]
mov ecx, edi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10019bb0
test al, al
je 0x1004b8cc
cmp dword [edi + 4], 0x5555555
je 0x1004d68f
mov esi, dword [edi]
push 0x30
call fcn.10022b90
xor ecx, ecx
push eax
push dword [ebp - 0x1a4]
mov dword [eax + 0x20], 0
push dword [ebp - 0x1a8]
mov dword [eax + 0x24], 0
movups xmm0, xmmword [ebp - 0x1c]
movups xmmword [eax + 0x10], xmm0
movq xmm0, qword [ebp - 0xc]
movq qword [eax + 0x20], xmm0
mov word [ebp - 0x1c], cx
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 7
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ecx
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov word [eax + 0xc], cx
mov ecx, edi
call fcn.1000acd0
mov esi, eax
mov dword [ebp - 0x20], eax
push 0x10
call fcn.1008b151
mov ecx, dword [ebp - 0x48]
add esp, 4
test eax, eax
je 0x1004b8f6
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov dword [eax], vtable.std::_Ref_count_struct_amf::EncoderProperty_.0
mov dword [eax + 0xc], ecx
jmp 0x1004b8f8
xor eax, eax
mov dword [esi + 0x28], ecx
mov ecx, dword [ebp - 0x20]
mov esi, dword [esi + 0x2c]
mov dword [ecx + 0x2c], eax
test esi, esi
je 0x1004b929
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x1004b929
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x1004b929
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp dword [ebp - 8], 8
jb 0x1004b937
push dword [ebp - 0x1c]
call fcn.10022bb0
mov esi, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x30]
push esi
push str.Av1PeakBitrate
call fcn.10032cb0
push 0xd0
mov dword [ebp - 0x40], eax
call fcn.1008b151
add esp, 4
mov dword [ebp - 0x24], eax
test eax, eax
je 0x1004ba71
push 0x10
call fcn.1008b151
mov edx, eax
add esp, 4
test edx, edx
je 0x1004b98d
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x34]
add ecx, 8
mov dword [edx], vtable.amf::EncoderCoreAdapterLayerT_unsigned_int_.0
mov dword [edx + 4], ecx
mov dword [edx + 8], esi
mov dword [edx + 0xc], eax
jmp 0x1004b98f
xor edx, edx
mov eax, dword [ebp + 8]
or ebx, 0x40
push edx
push 0
mov dword [ebp - 0x2a4], 0
mov eax, dword [eax + 0x54]
mov dword [ebp - 0x158], 0x2710
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x140], 0x1c9c380
lea ecx, [eax + eax*4]
mov dword [ebp - 0x13c], 0
mov eax, 2
add ecx, ecx
push eax
push 0xff
sub esp, 0x18
mov dword [ebp - 0x2b0], eax
mov esi, eax
mov dword [ebp - 0x20], eax
mov edi, eax
mov dword [ebp - 0x2a8], ecx
movups xmm0, xmmword [ebp - 0x2b0]
mov eax, esp
mov dword [ebp - 0x160], edi
sub esp, 0x18
mov dword [ebp - 0x148], esi
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp - 0x24]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x2a0]
movq qword [eax + 0x10], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x160]
sub esp, 0x18
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x150]
movq qword [eax + 0x10], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x148]
push 0
push esi
movups xmmword [eax], xmm0
push str.Peak_Bitrate
movq xmm0, qword [ebp - 0x138]
push dword [ebp - 0x40]
movq qword [eax + 0x10], xmm0
call fcn.100288e0
mov dword [ebp - 0x48], eax
or ebx, 0x180
jmp 0x1004ba96
mov eax, dword [ebp - 0x2a8]
mov edi, dword [ebp - 0x160]
mov esi, dword [ebp - 0x148]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x2b0]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x20], eax
test ebx, 0x100
je 0x1004bac3
and ebx, 0xfffffeff
sub esi, 0xa
je 0x1004baf4
sub esi, 1
je 0x1004baf4
sub esi, 1
jne 0x1004bac3
mov ecx, dword [ebp - 0x140]
test ecx, ecx
je 0x1004bac3
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov esi, dword [sym.imp.ole32.dll_CoTaskMemFree]
test bl, bl
jns 0x1004bb0e
and ebx, 0xffffff7f
sub edi, 0xa
je 0x1004bb05
sub edi, 1
je 0x1004bb05
sub edi, 1
jne 0x1004bb0e
mov ecx, dword [ebp - 0x158]
test ecx, ecx
je 0x1004bb0e
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
jmp 0x1004bb0e
mov ecx, dword [ebp - 0x140]
mov esi, dword [sym.imp.ole32.dll_CoTaskMemFree]
push ecx
call esi
jmp 0x1004bac9
mov ecx, dword [ebp - 0x158]
push ecx
call esi
test bl, 0x40
je 0x1004bb3c
mov eax, dword [ebp - 0x20]
and ebx, 0xffffffbf
sub eax, 0xa
je 0x1004bb37
sub eax, 1
je 0x1004bb37
sub eax, 1
jne 0x1004bb3c
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
je 0x1004bb3c
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
jmp 0x1004bb3c
push dword [ebp - 0x4c]
call esi
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0xffffffff
lea ecx, [ecx + 0xbc]
call fcn.10028a10
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x310], 2
mov dword [ebp - 0x308], 0x1c9c380
lea edi, [eax + 8]
mov dword [ebp - 0x304], 0
test edi, edi
je 0x1004bbaf
mov eax, dword [edi]
sub eax, 0xa
je 0x1004bba4
sub eax, 1
je 0x1004bba4
sub eax, 1
jne 0x1004bba9
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x1004bba9
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov dword [edi + 8], 0
jmp 0x1004bba9
push dword [edi + 8]
call esi
mov dword [edi], 0
lea eax, [ebp - 0x310]
push eax
push edi
call fcn.10005b50
mov eax, dword [ebp - 0x24]
add esp, 8
mov edx, dword [ebp - 0x40]
mov esi, edx
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 7
mov dword [eax], 7
xor eax, eax
mov word [ebp - 0x1c], ax
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x1004bbe4
sub esi, ecx
sar esi, 1
cmp esi, 7
ja 0x1004bc14
mov dword [ebp - 0xc], esi
lea eax, [ebp - 0x1c]
add esi, esi
push esi
push edx
push eax
call fcn.1008c4c0
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x1c], ax
jmp 0x1004bc71
cmp esi, 0x7ffffffe
ja 0x1004d68a
mov eax, esi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x1004bc33
mov eax, SysReAllocString
jmp 0x1004bc3e
cmp eax, 0xa
mov ecx, 0xa
cmovb eax, ecx
mov dword [ebp - 0x20], eax
lea eax, [eax*2 + 2]
push eax
call fcn.10022b90
mov dword [ebp - 0xc], esi
mov edi, eax
mov eax, dword [ebp - 0x20]
add esi, esi
push esi
push dword [ebp - 0x40]
mov dword [ebp - 8], eax
push edi
call fcn.1008bf40
add esp, 0xc
xor eax, eax
mov word [esi + edi], ax
mov dword [ebp - 0x1c], edi
mov edi, dword [ebp - 0x30]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x1b4]
add edi, 0x20
push eax
mov ecx, edi
call fcn.10018230
mov esi, dword [ebp - 0x1ac]
mov dword [ebp - 0x20], esi
cmp byte [esi + 0xd], 0
jne 0x1004bcab
lea eax, [esi + 0x10]
mov ecx, edi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10019bb0
test al, al
je 0x1004bd20
cmp dword [edi + 4], 0x5555555
je 0x1004d68f
mov esi, dword [edi]
push 0x30
call fcn.10022b90
xor ecx, ecx
push eax
push dword [ebp - 0x1b0]
mov dword [eax + 0x20], 0
push dword [ebp - 0x1b4]
mov dword [eax + 0x24], 0
movups xmm0, xmmword [ebp - 0x1c]
movups xmmword [eax + 0x10], xmm0
movq xmm0, qword [ebp - 0xc]
movq qword [eax + 0x20], xmm0
mov word [ebp - 0x1c], cx
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 7
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ecx
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov word [eax + 0xc], cx
mov ecx, edi
call fcn.1000acd0
mov esi, eax
mov dword [ebp - 0x20], eax
push 0x10
call fcn.1008b151
mov ecx, dword [ebp - 0x48]
add esp, 4
test eax, eax
je 0x1004bd4a
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov dword [eax], vtable.std::_Ref_count_struct_amf::EncoderProperty_.0
mov dword [eax + 0xc], ecx
jmp 0x1004bd4c
xor eax, eax
mov dword [esi + 0x28], ecx
mov ecx, dword [ebp - 0x20]
mov esi, dword [esi + 0x2c]
mov dword [ecx + 0x2c], eax
test esi, esi
je 0x1004bd7d
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x1004bd7d
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x1004bd7d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp dword [ebp - 8], 8
jb 0x1004bd8b
push dword [ebp - 0x1c]
call fcn.10022bb0
mov esi, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x30]
push esi
push str.Av1VBVBufferSize
call fcn.10032cb0
push 0xd0
mov dword [ebp - 0x40], eax
call fcn.1008b151
add esp, 4
mov dword [ebp - 0x24], eax
test eax, eax
je 0x1004bebc
push 0x10
call fcn.1008b151
add esp, 4
test eax, eax
je 0x1004bddf
mov ecx, dword [ebp - 0x3c]
add ecx, 0x14
mov dword [eax], vtable.amf::EncoderCoreAdapterLayerT_unsigned_int_.0
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x34]
mov dword [eax + 8], esi
mov dword [eax + 0xc], ecx
jmp 0x1004bde1
xor eax, eax
push eax
push 0
mov ecx, 2
mov dword [ebp - 0xb0], 0x1dcd6500
push ecx
push 0xff
sub esp, 0x18
mov dword [ebp - 0xb8], ecx
mov eax, esp
mov dword [ebp - 0xac], 0
movups xmm0, xmmword [ebp - 0xb8]
sub esp, 0x18
mov dword [ebp - 0x188], 0x3e8
mov edi, ecx
mov dword [ebp - 0x184], 0
movups xmmword [eax], xmm0
mov esi, ecx
mov dword [ebp - 0x190], edi
movq xmm0, qword [ebp - 0xa8]
or ebx, 0x200
movq qword [eax + 0x10], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x190]
sub esp, 0x18
mov dword [ebp - 0x178], esi
mov dword [ebp - 0x170], 0x1312d00
movups xmmword [eax], xmm0
mov dword [ebp - 0x16c], 0
movq xmm0, qword [ebp - 0x180]
movq qword [eax + 0x10], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x178]
push 0
push ecx
movups xmmword [eax], xmm0
push str.VBV_Buffer_Size
movq xmm0, qword [ebp - 0x168]
push dword [ebp - 0x40]
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x24]
movq qword [eax + 0x10], xmm0
call fcn.100288e0
mov dword [ebp - 0x34], eax
or ebx, 0xc00
jmp 0x1004bed8
mov ecx, dword [ebp - 0xb8]
mov edi, dword [ebp - 0x190]
mov esi, dword [ebp - 0x178]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x20], ecx
test ebx, 0x800
je 0x1004bf05
and ebx, 0xfffff7ff
sub esi, 0xa
je 0x1004bf3a
sub esi, 1
je 0x1004bf3a
sub esi, 1
jne 0x1004bf05
mov ecx, dword [ebp - 0x170]
test ecx, ecx
je 0x1004bf05
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov esi, dword [sym.imp.ole32.dll_CoTaskMemFree]
test ebx, 0x400
je 0x1004bf52
and ebx, 0xfffffbff
sub edi, 0xa
je 0x1004bf4a
sub edi, 1
je 0x1004bf4a
sub edi, 1
jne 0x1004bf52
mov ecx, dword [ebp - 0x188]
test ecx, ecx
je 0x1004bf52
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
jmp 0x1004bf52
push dword [ebp - 0x170]
mov esi, dword [sym.imp.ole32.dll_CoTaskMemFree]
call esi
jmp 0x1004bf0b
push dword [ebp - 0x188]
call esi
test ebx, 0x200
je 0x1004bf8c
mov eax, dword [ebp - 0x20]
and ebx, 0xfffffdff
sub eax, 0xa
je 0x1004bf84
sub eax, 1
je 0x1004bf84
sub eax, 1
jne 0x1004bf8c
mov ecx, dword [ebp - 0xb0]
test ecx, ecx
je 0x1004bf8c
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
jmp 0x1004bf8c
push dword [ebp - 0xb0]
call esi
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x20]
push ecx
mov dword [ebp - 0x20], 0
lea ecx, [eax + 0xbc]
call fcn.10028a10
mov edi, eax
mov dword [ebp - 0x358], 2
mov dword [ebp - 0x350], 0x1312d00
mov dword [ebp - 0x34c], 0
lea esi, [edi + 8]
push esi
call fcn.10049960
lea eax, [ebp - 0x358]
push eax
push esi
call fcn.10005b50
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x20]
add esp, 0xc
mov dword [edi], 7
mov dword [ebp - 0x20], 1
lea ecx, [ecx + 0xbc]
push eax
call fcn.10028a10
mov edi, eax
mov dword [ebp - 0x328], 2
mov dword [ebp - 0x320], 0x3d0900
mov dword [ebp - 0x31c], 0
lea esi, [edi + 8]
push esi
call fcn.10049960
lea eax, [ebp - 0x328]
push eax
push esi
call fcn.10005b50
mov ecx, dword [ebp - 0x40]
add esp, 0xc
mov esi, ecx
mov dword [edi], 7
xor eax, eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 7
mov word [ebp - 0x1c], ax
lea edx, [esi + 2]
nop dword [eax + eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x1004c060
sub esi, edx
sar esi, 1
cmp esi, 7
ja 0x1004c090
mov dword [ebp - 0xc], esi
lea eax, [ebp - 0x1c]
add esi, esi
push esi
push ecx
push eax
call fcn.1008c4c0
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x1c], ax
jmp 0x1004c0ed
cmp esi, 0x7ffffffe
ja 0x1004d68a
mov eax, esi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x1004c0af
mov eax, SysReAllocString
jmp 0x1004c0ba
cmp eax, 0xa
mov ecx, 0xa
cmovb eax, ecx
mov dword [ebp - 0x20], eax
lea eax, [eax*2 + 2]
push eax
call fcn.10022b90
mov dword [ebp - 0xc], esi
mov edi, eax
mov eax, dword [ebp - 0x20]
add esi, esi
push esi
push dword [ebp - 0x40]
mov dword [ebp - 8], eax
push edi
call fcn.1008bf40
add esp, 0xc
xor eax, eax
mov word [esi + edi], ax
mov dword [ebp - 0x1c], edi
mov esi, dword [ebp - 0x30]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x1c0]
push eax
lea ecx, [esi + 0x20]
call fcn.10018230
mov edi, dword [ebp - 0x1b8]
cmp byte [edi + 0xd], 0
jne 0x1004c123
lea eax, [edi + 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [esi + 0x20]
call fcn.10019bb0
test al, al
je 0x1004c19a
cmp dword [esi + 0x24], 0x5555555
je 0x1004d68f
mov esi, dword [esi + 0x20]
push 0x30
call fcn.10022b90
xor ecx, ecx
push eax
push dword [ebp - 0x1bc]
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
movups xmm0, xmmword [ebp - 0x1c]
push dword [ebp - 0x1c0]
movups xmmword [eax + 0x10], xmm0
movq xmm0, qword [ebp - 0xc]
movq qword [eax + 0x20], xmm0
mov word [ebp - 0x1c], cx
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 7
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ecx
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov word [eax + 0xc], cx
mov ecx, dword [ebp - 0x30]
lea ecx, [ecx + 0x20]
call fcn.1000acd0
mov edi, eax
push 0x10
call fcn.1008b151
mov ecx, dword [ebp - 0x34]
add esp, 4
test eax, eax
je 0x1004c1c4
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov dword [eax], vtable.std::_Ref_count_struct_amf::EncoderProperty_.0
mov dword [eax + 0xc], ecx
jmp 0x1004c1c6
xor eax, eax
mov esi, dword [edi + 0x2c]
mov dword [edi + 0x28], ecx
mov dword [edi + 0x2c], eax
test esi, esi
je 0x1004c1f4
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x1004c1f4
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x1004c1f4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp dword [ebp - 8], 8
jb 0x1004c202
push dword [ebp - 0x1c]
call fcn.10022bb0
mov ecx, dword [ebp - 0x30]
push 2
push ecx
mov eax, dword [ecx]
call dword [eax + 0x24]
mov esi, dword [ebp - 0x38]
mov edi, eax
push esi
mov ecx, edi
mov dword [ebp - 0x3c], edi
mov edx, dword [edi]
call dword [edx + 0x14]
mov ecx, dword [ebp - 0x30]
push esi
push str.Av1MaxCompressedFrameSize
mov dword [ebp - 0x34], eax
call fcn.10032cb0
push 0xd0
mov dword [ebp - 0x40], eax
call fcn.1008b151
add esp, 4
mov dword [ebp - 0x24], eax
test eax, eax
je 0x1004c336
push 0x10
call fcn.1008b151
add esp, 4
test eax, eax
je 0x1004c26e
mov ecx, dword [ebp - 0x34]
add ecx, 4
mov dword [eax], vtable.amf::EncoderCoreAdapterLayerT_unsigned_int_.0
mov dword [eax + 4], ecx
mov dword [eax + 8], esi
mov dword [eax + 0xc], edi
jmp 0x1004c270
xor eax, eax
push eax
push 0
mov ecx, 2
mov dword [ebp - 0xc8], 0x5f5e100
push ecx
push 0xff
xorps xmm0, xmm0
mov dword [ebp - 0xd0], ecx
sub esp, 0x18
movlpd qword [ebp - 0x1e8], xmm0
mov eax, esp
movlpd qword [ebp - 0x1d0], xmm0
mov dword [ebp - 0xc4], 0
sub esp, 0x18
movups xmm0, xmmword [ebp - 0xd0]
mov edi, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1f0], edi
mov esi, ecx
movups xmmword [eax], xmm0
or ebx, 0x1000
mov dword [ebp - 0x1d8], esi
movq xmm0, qword [ebp - 0xc0]
movq qword [eax + 0x10], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x1f0]
sub esp, 0x18
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x1e0]
movq qword [eax + 0x10], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x1d8]
push 0
push ecx
mov ecx, dword [ebp - 0x24]
movups xmmword [eax], xmm0
push str.Max_AU_Size
movq xmm0, qword [ebp - 0x1c8]
push dword [ebp - 0x40]
movq qword [eax + 0x10], xmm0
call fcn.100288e0
mov dword [ebp - 0x4c], eax
or ebx, 0x6000
jmp 0x1004c352
mov ecx, dword [ebp - 0xd0]
mov edi, dword [ebp - 0x1f0]
mov esi, dword [ebp - 0x1d8]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x20], ecx
test ebx, 0x4000
je 0x1004c37f
and ebx, 0xffffbfff
sub esi, 0xa
je 0x1004c3b4
sub esi, 1
je 0x1004c3b4
sub esi, 1
jne 0x1004c37f
mov ecx, dword [ebp - 0x1d0]
test ecx, ecx
je 0x1004c37f
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov esi, dword [sym.imp.ole32.dll_CoTaskMemFree]
test ebx, 0x2000
je 0x1004c3cc
and ebx, 0xffffdfff
sub edi, 0xa
je 0x1004c3c4
sub edi, 1
je 0x1004c3c4
sub edi, 1
jne 0x1004c3cc
mov ecx, dword [ebp - 0x1e8]
test ecx, ecx
je 0x1004c3cc
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
jmp 0x1004c3cc
push dword [ebp - 0x1d0]
mov esi, dword [sym.imp.ole32.dll_CoTaskMemFree]
call esi
jmp 0x1004c385
push dword [ebp - 0x1e8]
call esi
test ebx, 0x1000
je 0x1004c406
mov eax, dword [ebp - 0x20]
and ebx, 0xffffefff
sub eax, 0xa
je 0x1004c3fe
sub eax, 1
je 0x1004c3fe
sub eax, 1
jne 0x1004c406
mov ecx, dword [ebp - 0xc8]
test ecx, ecx
je 0x1004c406
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
jmp 0x1004c406
push dword [ebp - 0xc8]
call esi
mov ecx, dword [ebp - 0x4c]
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0xffffffff
lea ecx, [ecx + 0xbc]
call fcn.10028a10
mov esi, eax
mov dword [ebp - 0x370], 2
lea eax, [ebp - 0x370]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x368], xmm0
lea ecx, [esi + 8]
call fcn.10008070
mov edx, dword [ebp - 0x40]
xor eax, eax
mov dword [esi], 7
mov esi, edx
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 7
mov word [ebp - 0x1c], ax
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x1004c467
sub esi, ecx
sar esi, 1
cmp esi, 7
ja 0x1004c497
mov dword [ebp - 0xc], esi
lea eax, [ebp - 0x1c]
add esi, esi
push esi
push edx
push eax
call fcn.1008c4c0
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x1c], ax
jmp 0x1004c4f4
cmp esi, 0x7ffffffe
ja 0x1004d68a
mov eax, esi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x1004c4b6
mov eax, SysReAllocString
jmp 0x1004c4c1
cmp eax, 0xa
mov ecx, 0xa
cmovb eax, ecx
mov dword [ebp - 0x20], eax
lea eax, [eax*2 + 2]
push eax
call fcn.10022b90
mov dword [ebp - 0xc], esi
mov edi, eax
mov eax, dword [ebp - 0x20]
add esi, esi
push esi
push dword [ebp - 0x40]
mov dword [ebp - 8], eax
push edi
call fcn.1008bf40
add esp, 0xc
xor eax, eax
mov word [esi + edi], ax
mov dword [ebp - 0x1c], edi
mov esi, dword [ebp - 0x30]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x238]
push eax
lea ecx, [esi + 0x20]
call fcn.10018230
mov edi, dword [ebp - 0x230]
cmp byte [edi + 0xd], 0
jne 0x1004c52a
lea eax, [edi + 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [esi + 0x20]
call fcn.10019bb0
test al, al
je 0x1004c58b
cmp dword [esi + 0x24], 0x5555555
je 0x1004d68f
mov edi, dword [esi + 0x20]
push 0x30
call fcn.10022b90
mov dword [ebp - 0x20], eax
lea esi, [eax + 0x10]
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.10007e50
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x30]
push eax
push dword [ebp - 0x234]
mov dword [esi + 0x18], 0
push dword [ebp - 0x238]
mov dword [esi + 0x1c], 0
lea ecx, [ecx + 0x20]
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov word [eax + 0xc], 0
call fcn.1000acd0
mov edi, eax
push 0x10
call fcn.1008b151
mov ecx, dword [ebp - 0x4c]
add esp, 4
test eax, eax
je 0x1004c5b5
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov dword [eax], vtable.std::_Ref_count_struct_amf::EncoderProperty_.0
mov dword [eax + 0xc], ecx
jmp 0x1004c5b7
xor eax, eax
mov esi, dword [edi + 0x2c]
mov dword [edi + 0x28], ecx
mov dword [edi + 0x2c], eax
test esi, esi
je 0x1004c5e5
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x1004c5e5
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x1004c5e5
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp dword [ebp - 8], 8
jb 0x1004c5f3
push dword [ebp - 0x1c]
call fcn.10022bb0
mov esi, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x30]
push esi
push str.Av1MaxQIndex_Intra
call fcn.10032cb0
push 0xd0
mov dword [ebp - 0x40], eax
call fcn.1008b151
add esp, 4
mov dword [ebp - 0x24], eax
test eax, eax
je 0x1004c71b
push 0x10
call fcn.1008b151
add esp, 4
test eax, eax
je 0x1004c647
mov ecx, dword [ebp - 0x34]
add ecx, 8
mov dword [eax], vtable.amf::EncoderCoreAdapterLayerT_unsigned_int_.0
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [eax + 8], esi
mov dword [eax + 0xc], ecx
jmp 0x1004c649
xor eax, eax
push eax
push 0
mov ecx, 2
mov dword [ebp - 0xf8], 0xff
push ecx
push 0xff
xorps xmm0, xmm0
mov dword [ebp - 0x100], ecx
sub esp, 0x18
movlpd qword [ebp - 0x200], xmm0
mov eax, esp
mov dword [ebp - 0xf4], 0
movups xmm0, xmmword [ebp - 0x100]
sub esp, 0x18
mov dword [ebp - 0xe0], 0xff
mov edi, ecx
mov dword [ebp - 0xdc], 0
movups xmmword [eax], xmm0
mov esi, ecx
mov dword [ebp - 0x208], edi
movq xmm0, qword [ebp - 0xf0]
or ebx, 0x8000
movq qword [eax + 0x10], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x208]
sub esp, 0x18
mov dword [ebp - 0xe8], esi
mov dword [ebp - 0x20], ecx
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x1f8]
movq qword [eax + 0x10], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0xe8]
push 0
push ecx
mov ecx, dword [ebp - 0x24]
movups xmmword [eax], xmm0
push str.Max_QP_I
movq xmm0, qword [ebp - 0xd8]
push dword [ebp - 0x40]
movq qword [eax + 0x10], xmm0
call fcn.100288e0
mov dword [ebp - 0x4c], eax
or ebx, 0x30000
jmp 0x1004c737
mov ecx, dword [ebp - 0x100]
mov edi, dword [ebp - 0x208]
mov esi, dword [ebp - 0xe8]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x20], ecx
test ebx, 0x20000
je 0x1004c764
and ebx, 0xfffdffff
sub esi, 0xa
je 0x1004c799
sub esi, 1
je 0x1004c799
sub esi, 1
jne 0x1004c764
mov ecx, dword [ebp - 0xe0]
test ecx, ecx
je 0x1004c764
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov esi, dword [sym.imp.ole32.dll_CoTaskMemFree]
test ebx, 0x10000
je 0x1004c7b1
and ebx, 0xfffeffff
sub edi, 0xa
je 0x1004c7a9
sub edi, 1
je 0x1004c7a9
sub edi, 1
jne 0x1004c7b1
mov ecx, dword [ebp - 0x200]
test ecx, ecx
je 0x1004c7b1
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
jmp 0x1004c7b1
push dword [ebp - 0xe0]
mov esi, dword [sym.imp.ole32.dll_CoTaskMemFree]
call esi
jmp 0x1004c76a
push dword [ebp - 0x200]
call esi
test ebx, 0x8000
je 0x1004c7eb
mov eax, dword [ebp - 0x20]
and ebx, 0xffff7fff
sub eax, 0xa
je 0x1004c7e3
sub eax, 1
je 0x1004c7e3
sub eax, 1
jne 0x1004c7eb
mov ecx, dword [ebp - 0xf8]
test ecx, ecx
je 0x1004c7eb
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
jmp 0x1004c7eb
push dword [ebp - 0xf8]
call esi
mov ecx, dword [ebp - 0x4c]
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0xffffffff
lea ecx, [ecx + 0xbc]
call fcn.10028a10
mov esi, eax
mov dword [ebp - 0x340], 2
lea eax, [ebp - 0x340]
mov dword [ebp - 0x338], 0x33
push eax
mov dword [ebp - 0x334], 0
lea ecx, [esi + 8]
call fcn.10008070
mov ecx, dword [ebp - 0x40]
xor eax, eax
mov dword [esi], 7
mov esi, ecx
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 7
mov word [ebp - 0x1c], ax
lea edx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x1004c855
sub esi, edx
sar esi, 1
cmp esi, 7
ja 0x1004c885
mov dword [ebp - 0xc], esi
lea eax, [ebp - 0x1c]
add esi, esi
push esi
push ecx
push eax
call fcn.1008c4c0
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x1c], ax
jmp 0x1004c8e2
cmp esi, 0x7ffffffe
ja 0x1004d68a
mov eax, esi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x1004c8a4
mov eax, SysReAllocString
jmp 0x1004c8af
cmp eax, 0xa
mov ecx, 0xa
cmovb eax, ecx
mov dword [ebp - 0x20], eax
lea eax, [eax*2 + 2]
push eax
call fcn.10022b90
mov dword [ebp - 0xc], esi
mov edi, eax
mov eax, dword [ebp - 0x20]
add esi, esi
push esi
push dword [ebp - 0x40]
mov dword [ebp - 8], eax
push edi
call fcn.1008bf40
add esp, 0xc
xor eax, eax
mov word [edi + esi], ax
mov dword [ebp - 0x1c], edi
mov edi, dword [ebp - 0x30]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x22c]
add edi, 0x20
push eax
mov ecx, edi
call fcn.10018230
mov esi, dword [ebp - 0x224]
mov dword [ebp - 0x20], esi
cmp byte [esi + 0xd], 0
jne 0x1004c91c
lea eax, [esi + 0x10]
mov ecx, edi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10019bb0
test al, al
je 0x1004c981
cmp dword [edi + 4], 0x5555555
je 0x1004d68f
mov edi, dword [edi]
push 0x30
call fcn.10022b90
mov dword [ebp - 0x20], eax
lea esi, [eax + 0x10]
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.10007e50
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
push eax
push dword [ebp - 0x228]
mov dword [eax], edi
push dword [ebp - 0x22c]
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov edi, dword [ebp - 0x30]
add edi, 0x20
mov word [eax + 0xc], 0
mov ecx, edi
call fcn.1000acd0
mov esi, eax
mov dword [ebp - 0x20], eax
push 0x10
call fcn.1008b151
mov ecx, dword [ebp - 0x4c]
add esp, 4
test eax, eax
je 0x1004c9ab
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov dword [eax], vtable.std::_Ref_count_struct_amf::EncoderProperty_.0
mov dword [eax + 0xc], ecx
jmp 0x1004c9ad
xor eax, eax
mov dword [esi + 0x28], ecx
mov ecx, dword [ebp - 0x20]
mov esi, dword [esi + 0x2c]
mov dword [ecx + 0x2c], eax
test esi, esi
je 0x1004c9de
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x1004c9de
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x1004c9de
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp dword [ebp - 8], 8
jb 0x1004c9ec
push dword [ebp - 0x1c]
call fcn.10022bb0
push dword [ebp - 0x38]
mov ecx, dword [ebp - 0x30]
push str.Av1MinQIndex_Intra
call fcn.10032cb0
push 0xd0
mov dword [ebp - 0x20], eax
call fcn.1008b151
add esp, 4
mov dword [ebp - 0x24], eax
test eax, eax
je 0x1004cb20
push 0x10
call fcn.1008b151
mov esi, eax
add esp, 4
test esi, esi
je 0x1004ca44
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
add ecx, 0xc
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x3c]
mov dword [esi], vtable.amf::EncoderCoreAdapterLayerT_unsigned_int_.0
mov dword [esi + 4], ecx
mov dword [esi + 0xc], eax
jmp 0x1004ca46
xor esi, esi
lea eax, [ebp - 0x220]
mov dword [ebp - 0x220], 0
push eax
or ebx, 0x40000
call fcn.100499c0
add esp, 4
test eax, eax
jne 0x1004ca83
mov dword [ebp - 0x220], 2
mov dword [ebp - 0x218], 0xff
mov dword [ebp - 0x214], eax
push 0
push 0
lea ecx, [ebp - 0xa0]
call fcn.10013680
push 0
push 0
lea ecx, [ebp - 0x70]
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x44], xmm0
call fcn.10013680
movups xmm0, xmmword [ebp - 0x220]
push esi
push 0
push 2
push 0xff
sub esp, 0x18
mov edx, eax
mov ecx, esp
sub esp, 0x18
mov eax, esp
sub esp, 0x18
movups xmmword [ecx], xmm0
movq xmm0, qword [ebp - 0x210]
movq qword [ecx + 0x10], xmm0
movups xmm0, xmmword [ebp - 0x58]
mov ecx, dword [ebp - 0x24]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x44]
movq qword [eax + 0x10], xmm0
mov eax, esp
movups xmm0, xmmword [edx]
push 0
push 2
movups xmmword [eax], xmm0
push str.Min_QP_I
movq xmm0, qword [edx + 0x10]
push dword [ebp - 0x20]
movq qword [eax + 0x10], xmm0
call fcn.100288e0
mov esi, eax
or ebx, 0x180000
jmp 0x1004cb22
xor esi, esi
test ebx, 0x100000
je 0x1004cb38
lea ecx, [ebp - 0x70]
and ebx, 0xffefffff
call fcn.10003250
test ebx, 0x80000
je 0x1004cb51
lea ecx, [ebp - 0xa0]
and ebx, 0xfff7ffff
call fcn.10003250
test ebx, 0x40000
je 0x1004cb6a
lea ecx, [ebp - 0x220]
and ebx, 0xfffbffff
call fcn.10003250
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0
push eax
push 7
push 0xffffffffffffffff
mov ecx, esi
call fcn.10049570
push dword [ebp - 0x20]
lea ecx, [ebp - 0x1c]
call fcn.10007e90
push esi
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
call fcn.10028a90
mov ecx, eax
call fcn.10028870
lea ecx, [ebp - 0x1c]
call fcn.10006a50
mov esi, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x30]
push esi
push str.Av1MaxQIndex_Inter
call fcn.10032cb0
push 0xd0
mov dword [ebp - 0x20], eax
call fcn.1008b151
add esp, 4
mov dword [ebp - 0x24], eax
test eax, eax
je 0x1004ccbe
push 0x10
call fcn.1008b151
add esp, 4
test eax, eax
je 0x1004cbf6
mov ecx, dword [ebp - 0x34]
push esi
push dword [ebp - 0x3c]
add ecx, 0x10
push ecx
mov ecx, eax
call fcn.100497b0
mov esi, eax
jmp 0x1004cbf8
xor esi, esi
push 0
push 0xff
lea ecx, [ebp - 0x88]
or ebx, 0x200000
call fcn.10013680
push 0
push 0
lea ecx, [ebp - 0x250]
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x68], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x44], xmm0
call fcn.10013680
push 0
push 0xff
lea ecx, [ebp - 0xa0]
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x14], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x50], xmm0
call fcn.10013680
movups xmm0, xmmword [ebp - 0x68]
push esi
push 0
push 2
push 0xff
sub esp, 0x18
mov edx, eax
mov ecx, esp
sub esp, 0x18
mov eax, esp
sub esp, 0x18
movups xmmword [ecx], xmm0
movq xmm0, qword [ebp - 0x44]
movq qword [ecx + 0x10], xmm0
movups xmm0, xmmword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x50]
movq qword [eax + 0x10], xmm0
mov eax, esp
movups xmm0, xmmword [edx]
push 0
push 2
movups xmmword [eax], xmm0
push str.Max_QP_P
movq xmm0, qword [edx + 0x10]
push dword [ebp - 0x20]
movq qword [eax + 0x10], xmm0
call fcn.100288e0
mov esi, eax
or ebx, 0xc00000
jmp 0x1004ccc0
xor esi, esi
test ebx, 0x800000
je 0x1004ccd9
lea ecx, [ebp - 0xa0]
and ebx, 0xff7fffff
call fcn.10003250
test ebx, 0x400000
je 0x1004ccf2
lea ecx, [ebp - 0x250]
and ebx, 0xffbfffff
call fcn.10003250
test ebx, 0x200000
je 0x1004cd0b
lea ecx, [ebp - 0x88]
and ebx, 0xffdfffff
call fcn.10003250
push 0x100d4e70
push 7
push 0xffffffffffffffff
mov ecx, esi
call fcn.10049600
push dword [ebp - 0x20]
lea ecx, [ebp - 0x1c]
call fcn.10007e90
push esi
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
call fcn.10028a90
mov ecx, eax
call fcn.10028870
lea ecx, [ebp - 0x1c]
call fcn.10006a50
mov esi, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x30]
push esi
push str.Av1MinQIndex_Inter
call fcn.10032cb0
push 0xd0
mov dword [ebp - 0x20], eax
call fcn.1008b151
add esp, 4
mov dword [ebp - 0x24], eax
test eax, eax
je 0x1004ce56
push 0x10
call fcn.1008b151
add esp, 4
test eax, eax
je 0x1004cd91
mov ecx, dword [ebp - 0x34]
push esi
push dword [ebp - 0x3c]
add ecx, 0x14
push ecx
mov ecx, eax
call fcn.100497b0
mov esi, eax
jmp 0x1004cd93
xor esi, esi
push 0
push 0xff
lea ecx, [ebp - 0xa0]
or ebx, 0x1000000
call fcn.10013680
push 0
push 0
lea ecx, [ebp - 0x250]
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x14], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x44], xmm0
call fcn.10013680
push 0
push 0
lea ecx, [ebp - 0x88]
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x68], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x50], xmm0
call fcn.10013680
movups xmm0, xmmword [ebp - 0x14]
push esi
push 0
push 2
push 0xff
sub esp, 0x18
mov edx, eax
mov ecx, esp
sub esp, 0x18
mov eax, esp
sub esp, 0x18
movups xmmword [ecx], xmm0
movq xmm0, qword [ebp - 0x44]
movq qword [ecx + 0x10], xmm0
movups xmm0, xmmword [ebp - 0x68]
mov ecx, dword [ebp - 0x24]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x50]
movq qword [eax + 0x10], xmm0
mov eax, esp
movups xmm0, xmmword [edx]
push 0
push 2
movups xmmword [eax], xmm0
push str.Min_QP_P
movq xmm0, qword [edx + 0x10]
push dword [ebp - 0x20]
movq qword [eax + 0x10], xmm0
call fcn.100288e0
mov esi, eax
or ebx, 0x6000000
jmp 0x1004ce58
xor esi, esi
test ebx, 0x4000000
je 0x1004ce71
lea ecx, [ebp - 0x88]
and ebx, 0xfbffffff
call fcn.10003250
test ebx, 0x2000000
je 0x1004ce8a
lea ecx, [ebp - 0x250]
and ebx, 0xfdffffff
call fcn.10003250
test ebx, 0x1000000
je 0x1004cea3
lea ecx, [ebp - 0xa0]
and ebx, 0xfeffffff
call fcn.10003250
push 0x100d4e6c
push 7
push 0xffffffffffffffff
mov ecx, esi
call fcn.10049600
push dword [ebp - 0x20]
lea ecx, [ebp - 0x1c]
call fcn.10007e90
push esi
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
call fcn.10028a90
mov ecx, eax
call fcn.10028870
lea ecx, [ebp - 0x1c]
call fcn.10006a50
mov esi, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x30]
push esi
push str.Av1QIndex_Intra
call fcn.10032cb0
push 0xd0
mov dword [ebp - 0x20], eax
call fcn.1008b151
add esp, 4
mov dword [ebp - 0x24], eax
test eax, eax
je 0x1004cfee
push 0x10
call fcn.1008b151
add esp, 4
test eax, eax
je 0x1004cf29
mov ecx, dword [ebp - 0x34]
push esi
push dword [ebp - 0x3c]
add ecx, 0x1c
push ecx
mov ecx, eax
call fcn.100497b0
mov esi, eax
jmp 0x1004cf2b
xor esi, esi
push 0
push 0xff
lea ecx, [ebp - 0xa0]
or ebx, 0x8000000
call fcn.10013680
push 0
push 0
lea ecx, [ebp - 0x250]
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x14], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x44], xmm0
call fcn.10013680
push 0
push 0x1a
lea ecx, [ebp - 0x88]
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x68], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x50], xmm0
call fcn.10013680
movups xmm0, xmmword [ebp - 0x14]
push esi
push 0
push 2
push 0xff
sub esp, 0x18
mov edx, eax
mov ecx, esp
sub esp, 0x18
mov eax, esp
sub esp, 0x18
movups xmmword [ecx], xmm0
movq xmm0, qword [ebp - 0x44]
movq qword [ecx + 0x10], xmm0
movups xmm0, xmmword [ebp - 0x68]
mov ecx, dword [ebp - 0x24]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x50]
movq qword [eax + 0x10], xmm0
mov eax, esp
movups xmm0, xmmword [edx]
push 0
push 2
movups xmmword [eax], xmm0
push str.QP_I
movq xmm0, qword [edx + 0x10]
push dword [ebp - 0x20]
movq qword [eax + 0x10], xmm0
call fcn.100288e0
mov esi, eax
or ebx, 0x30000000
jmp 0x1004cff0
xor esi, esi
test ebx, 0x20000000
je 0x1004d009
lea ecx, [ebp - 0x88]
and ebx, 0xdfffffff
call fcn.10003250
test ebx, 0x10000000
je 0x1004d022
lea ecx, [ebp - 0x250]
and ebx, 0xefffffff
call fcn.10003250
test ebx, 0x8000000
je 0x1004d03b
lea ecx, [ebp - 0xa0]
and ebx, 0xf7ffffff
call fcn.10003250
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0x1a
push eax
push 7
push 0xffffffffffffffff
mov ecx, esi
call fcn.10049570
push dword [ebp - 0x20]
lea ecx, [ebp - 0x1c]
call fcn.10007e90
push esi
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
call fcn.10028a90
mov ecx, eax
call fcn.10028870
lea ecx, [ebp - 0x1c]
call fcn.10006a50
mov esi, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x30]
push esi
push str.Av1QIndex_Inter
call fcn.10032cb0
push 0xd0
mov dword [ebp - 0x20], eax
call fcn.1008b151
add esp, 4
mov dword [ebp - 0x24], eax
test eax, eax
je 0x1004d190
push 0x10
call fcn.1008b151
add esp, 4
test eax, eax
je 0x1004d0c7
mov ecx, dword [ebp - 0x34]
push esi
push dword [ebp - 0x3c]
add ecx, 0x20
push ecx
mov ecx, eax
call fcn.100497b0
mov esi, eax
jmp 0x1004d0c9
xor esi, esi
push 0
push 0xff
lea ecx, [ebp - 0xa0]
or ebx, 0x40000000
call fcn.10013680
push 0
push 0
lea ecx, [ebp - 0x250]
or ebx, 0x80000000
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x14], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x44], xmm0
call fcn.10013680
or dword [ebp - 0x28], 1
lea ecx, [ebp - 0x88]
push 0
push 0x1a
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x68], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x50], xmm0
call fcn.10013680
movups xmm0, xmmword [ebp - 0x14]
push esi
push 0
push 2
push 0xff
sub esp, 0x18
mov edx, eax
mov ecx, esp
sub esp, 0x18
mov eax, esp
sub esp, 0x18
movups xmmword [ecx], xmm0
movq xmm0, qword [ebp - 0x44]
movq qword [ecx + 0x10], xmm0
movups xmm0, xmmword [ebp - 0x68]
mov ecx, dword [ebp - 0x24]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x50]
movq qword [eax + 0x10], xmm0
mov eax, esp
movups xmm0, xmmword [edx]
push 0
push 2
movups xmmword [eax], xmm0
push str.QP_P
movq xmm0, qword [edx + 0x10]
push dword [ebp - 0x20]
movq qword [eax + 0x10], xmm0
call fcn.100288e0
mov esi, eax
jmp 0x1004d192
xor esi, esi
mov eax, dword [ebp - 0x28]
test al, 1
je 0x1004d1aa
and eax, 0xfffffffe
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x28], eax
call fcn.10003250
test ebx, ebx
jns 0x1004d1bf
lea ecx, [ebp - 0x250]
and ebx, 0x7fffffff
call fcn.10003250
test ebx, 0x40000000
je 0x1004d1d8
lea ecx, [ebp - 0xa0]
and ebx, 0xbfffffff
call fcn.10003250
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0x1a
push eax
push 7
push 0xffffffffffffffff
mov ecx, esi
call fcn.10049570
push dword [ebp - 0x20]
lea ecx, [ebp - 0x1c]
call fcn.10007e90
push esi
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
call fcn.10028a90
mov ecx, eax
call fcn.10028870
lea ecx, [ebp - 0x1c]
call fcn.10006a50
mov esi, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x30]
push esi
push str.Av1FillerData
call fcn.10032cb0
push 0xd0
mov dword [ebp - 0x20], eax
call fcn.1008b151
add esp, 4
mov dword [ebp - 0x24], eax
test eax, eax
je 0x1004d2f7
push 0x10
call fcn.1008b151
add esp, 4
test eax, eax
je 0x1004d261
mov ecx, dword [ebp - 0x30]
push ecx
push esi
push dword [ebp - 0x3c]
mov ecx, eax
call fcn.10049840
mov esi, eax
jmp 0x1004d263
xor esi, esi
or dword [ebp - 0x28], 2
lea eax, [ebp - 0x70]
push eax
call fcn.100499c0
lea eax, [ebp - 0x1c]
push eax
call fcn.100499c0
add esp, 8
lea ecx, [ebp - 0x88]
push 0
call fcn.10007fb0
movups xmm0, xmmword [ebp - 0x70]
push esi
push 0
push 2
push 0xff
sub esp, 0x18
mov edx, eax
mov ecx, esp
sub esp, 0x18
mov eax, esp
sub esp, 0x18
movups xmmword [ecx], xmm0
movq xmm0, qword [ebp - 0x60]
movq qword [ecx + 0x10], xmm0
movups xmm0, xmmword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0xc]
movq qword [eax + 0x10], xmm0
mov eax, esp
movups xmm0, xmmword [edx]
push 0
push 1
movups xmmword [eax], xmm0
push str.Filler_Data_Enable
movq xmm0, qword [edx + 0x10]
push dword [ebp - 0x20]
movq qword [eax + 0x10], xmm0
call fcn.100288e0
mov esi, eax
mov eax, dword [ebp - 0x28]
or eax, 0xc
mov dword [ebp - 0x28], eax
jmp 0x1004d2fc
mov eax, dword [ebp - 0x28]
xor esi, esi
test al, 8
je 0x1004d314
and eax, 0xfffffff7
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x28], eax
call fcn.10003250
mov eax, dword [ebp - 0x28]
test al, 4
je 0x1004d329
and eax, 0xfffffffb
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x28], eax
call fcn.10003250
mov eax, dword [ebp - 0x28]
test al, 2
je 0x1004d33b
and eax, 0xfffffffd
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x28], eax
call fcn.10003250
lea eax, [ebp - 0x29]
mov byte [ebp - 0x29], 0
push eax
push 7
push 0xffffffffffffffff
mov ecx, esi
call fcn.10049730
push dword [ebp - 0x20]
lea ecx, [ebp - 0x1c]
call fcn.10007e90
push esi
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
call fcn.10028a90
mov ecx, eax
call fcn.10028870
lea ecx, [ebp - 0x1c]
call fcn.10006a50
mov esi, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x30]
push esi
push str.Av1RateControlSkipFrameEnable
call fcn.10032cb0
push 0xd0
mov dword [ebp - 0x20], eax
call fcn.1008b151
add esp, 4
mov dword [ebp - 0x24], eax
test eax, eax
je 0x1004d45a
push 0x10
call fcn.1008b151
add esp, 4
test eax, eax
je 0x1004d3c4
mov ecx, dword [ebp - 0x34]
push esi
push dword [ebp - 0x3c]
add ecx, 0x19
push ecx
mov ecx, eax
call fcn.100497e0
mov esi, eax
jmp 0x1004d3c6
xor esi, esi
or dword [ebp - 0x28], 0x10
lea eax, [ebp - 0x70]
push eax
call fcn.100499c0
lea eax, [ebp - 0x1c]
push eax
call fcn.100499c0
add esp, 8
lea ecx, [ebp - 0x88]
push 0
call fcn.10007fb0
movups xmm0, xmmword [ebp - 0x70]
push esi
push 0
push 2
push 0xff
sub esp, 0x18
mov edx, eax
mov ecx, esp
sub esp, 0x18
mov eax, esp
sub esp, 0x18
movups xmmword [ecx], xmm0
movq xmm0, qword [ebp - 0x60]
movq qword [ecx + 0x10], xmm0
movups xmm0, xmmword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0xc]
movq qword [eax + 0x10], xmm0
mov eax, esp
movups xmm0, xmmword [edx]
push 0
push 1
movups xmmword [eax], xmm0
push str.Rate_Control_Based_Frame_Skip
movq xmm0, qword [edx + 0x10]
push dword [ebp - 0x20]
movq qword [eax + 0x10], xmm0
call fcn.100288e0
mov esi, eax
mov eax, dword [ebp - 0x28]
or eax, 0x60
mov dword [ebp - 0x28], eax
jmp 0x1004d45f
mov eax, dword [ebp - 0x28]
xor esi, esi
test al, 0x40
je 0x1004d477
and eax, 0xffffffbf
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x28], eax
call fcn.10003250
mov eax, dword [ebp - 0x28]
test al, 0x20
je 0x1004d48c
and eax, 0xffffffdf
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x28], eax
call fcn.10003250
mov eax, dword [ebp - 0x28]
test al, 0x10
je 0x1004d49e
and eax, 0xffffffef
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x28], eax
call fcn.10003250
lea eax, [ebp - 0x29]
mov byte [ebp - 0x29], 0
push eax
push 7
push 0xffffffffffffffff
mov ecx, esi
call fcn.10049730
lea eax, [ebp - 0x29]
mov byte [ebp - 0x29], 1
push eax
push 7
push 1
mov ecx, esi
call fcn.10049730
push dword [ebp - 0x20]
lea ecx, [ebp - 0x1c]
call fcn.10007e90
push esi
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
call fcn.10028a90
mov ecx, eax
call fcn.10028870
lea ecx, [ebp - 0x1c]
call fcn.10006a50
mov esi, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x30]
push esi
push str.Av1EnforceHRD
call fcn.10032cb0
push 0xd0
mov dword [ebp - 0x20], eax
call fcn.1008b151
add esp, 4
mov dword [ebp - 0x24], eax
test eax, eax
je 0x1004d5d2
push 0x10
call fcn.1008b151
add esp, 4
test eax, eax
je 0x1004d537
mov ecx, dword [ebp - 0x30]
push ecx
push esi
push dword [ebp - 0x3c]
mov ecx, eax
call fcn.10049810
mov esi, eax
jmp 0x1004d539
xor esi, esi
or dword [ebp - 0x28], 0x80
lea eax, [ebp - 0x70]
push eax
call fcn.100499c0
lea eax, [ebp - 0x1c]
push eax
call fcn.100499c0
add esp, 8
lea ecx, [ebp - 0x88]
push 0
call fcn.10007fb0
movups xmm0, xmmword [ebp - 0x70]
push esi
push 0
push 2
push 0xff
sub esp, 0x18
mov edx, eax
mov ecx, esp
sub esp, 0x18
mov eax, esp
sub esp, 0x18
movups xmmword [ecx], xmm0
movq xmm0, qword [ebp - 0x60]
movq qword [ecx + 0x10], xmm0
movups xmm0, xmmword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0xc]
movq qword [eax + 0x10], xmm0
mov eax, esp
movups xmm0, xmmword [edx]
push 0
push 1
movups xmmword [eax], xmm0
push str.Enforce_HRD
movq xmm0, qword [edx + 0x10]
push dword [ebp - 0x20]
movq qword [eax + 0x10], xmm0
call fcn.100288e0
mov esi, eax
mov eax, dword [ebp - 0x28]
or eax, 0x300
mov dword [ebp - 0x28], eax
jmp 0x1004d5d7
mov eax, dword [ebp - 0x28]
xor esi, esi
test eax, 0x200
je 0x1004d5f4
and eax, 0xfffffdff
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x28], eax
call fcn.10003250
mov eax, dword [ebp - 0x28]
test eax, 0x100
je 0x1004d60e
and eax, 0xfffffeff
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x28], eax
call fcn.10003250
mov eax, dword [ebp - 0x28]
test al, al
jns 0x1004d622
and eax, 0xffffff7f
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x28], eax
call fcn.10003250
lea eax, [ebp - 0x29]
mov byte [ebp - 0x29], 0
push eax
push 7
push 0xffffffffffffffff
mov ecx, esi
call fcn.10049730
push dword [ebp - 0x20]
lea ecx, [ebp - 0x1c]
call fcn.10007e90
push esi
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
call fcn.10028a90
mov ecx, eax
call fcn.10028870
lea ecx, [ebp - 0x1c]
call fcn.10006a50
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp + 8]
inc eax
mov edi, dword [sym.imp.ole32.dll_CoTaskMemFree]
mov esi, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
cmp eax, dword [ecx + 0x60]
jb 0x1004b088
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1008aaed
mov esp, ebp
pop ebp
ret 4
call fcn.10007630
call fcn.1000aee0
int3