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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
mov esi, dword [esp + 0x64]
mov ebx, dword [esp + 0x60]
mov ecx, dword [esi + 0x38]
mov edx, dword [esi + 0x34]
mov eax, ebx
mov dword [esp], 0
call fcn.1000a4e0
mov eax, dword [esi + 0x58]
mov edi, dword [ebx + 0x68]
mov dword [ebx + 0x58], eax
mov eax, dword [esi + 0x78]
test edi, edi
mov dword [ebx + 0x78], eax
je 0x100127ac
mov eax, dword [esi + 0x68]
mov dword [ebx + 0x68], eax
mov eax, dword [esi + 0x8c]
mov edx, dword [esi + 0x208]
mov ecx, dword [esi + 0x224]
mov dword [ebx + 0x8c], eax
mov eax, dword [esi + 0x90]
mov dword [ebx + 0x90], eax
mov eax, dword [esi + 0x94]
mov dword [ebx + 0x94], eax
mov eax, dword [esi + 0x2f4]
mov dword [ebx + 0x208], edx
mov dword [ebx + 0x2f4], eax
mov eax, dword [esi + 0x204]
mov dword [ebx + 0x204], eax
mov eax, dword [esi + 0x218]
mov dword [ebx + 0x218], eax
mov eax, dword [ebx + 0x220]
cmp eax, 2
jle 0x100129e3
cmp ecx, dword [ebx + 0x224]
jl 0x100129e3
mov ecx, dword [esi + 0x248]
mov dword [ebx + 0x248], ecx
mov ecx, dword [ebx + 0x230]
test ecx, ecx
je 0x10012843
mov ecx, dword [esi + 0x230]
mov dword [ebx + 0x230], ecx
mov ecx, dword [esi + 0x23c]
cmp eax, 2
movss xmm0, dword [esi + 0x24c]
mov eax, dword [esi + 0x220]
mov dword [ebx + 0x23c], ecx
mov ecx, dword [esi + 0x234]
mov dword [ebx + 0x234], ecx
mov ecx, dword [esi + 0x244]
mov dword [ebx + 0x244], ecx
mov ecx, dword [esi + 0x240]
mov dword [ebx + 0x240], ecx
mov ecx, dword [esi + 0x238]
movss dword [ebx + 0x24c], xmm0
movss xmm0, dword [esi + 0x250]
mov dword [ebx + 0x238], ecx
mov ecx, dword [esi + 0x2e4]
movss dword [ebx + 0x250], xmm0
mov dword [ebx + 0x2e4], ecx
mov ecx, dword [esi + 0x2e8]
mov dword [ebx + 0x2e8], ecx
mov ecx, dword [esi + 0x2ec]
mov dword [ebx + 0x2ec], ecx
mov ecx, dword [esi + 0x2f0]
mov dword [ebx + 0x2f0], ecx
jg 0x100129b8
cmp eax, 2
jle 0x100129b8
mov ebp, dword [ebx + 0x2208]
test ebp, ebp
je 0x100128fd
mov eax, dword [esi + 0x20c]
mov dword [ebx + 0x20c], eax
cmp dword [ebx + 0x3af0], 1
jle 0x1001290c
mov eax, dword [esi + 0x7c]
mov dword [ebx + 0x7c], eax
mov eax, dword [esi + 0x340]
mov ecx, dword [ebx + 0x294]
mov dword [ebx + 0x340], eax
mov eax, dword [esi + 0x344]
test ecx, ecx
mov dword [ebx + 0x344], eax
mov eax, dword [esi + 0x348]
mov dword [ebx + 0x348], eax
mov eax, dword [esi + 0x34c]
mov dword [ebx + 0x34c], eax
mov eax, dword [esi + 0x350]
mov dword [ebx + 0x350], eax
mov eax, dword [esi + 0x320]
mov dword [ebx + 0x320], eax
jle 0x100129f0
mov eax, dword [ebx + 0x298]
test eax, eax
jle 0x100129f0
mov edx, dword [esi + 0x294]
test edx, edx
jle 0x100129f0
mov edi, dword [esi + 0x298]
test edi, edi
jle 0x100129f0
cmp eax, edi
mov ebp, dword [esi + 0x284]
setne al
cmp ecx, edx
setne cl
or eax, ecx
cmp dword [ebx + 0x284], ebp
mov dword [ebx + 0x294], edx
mov dword [ebx + 0x298], edi
setne cl
or eax, ecx
movzx ecx, al
mov dword [ebx + 0x284], ebp
jmp 0x100129f2
cmp eax, 2
mov dword [ebx + 0x220], eax
jle 0x100128e7
mov eax, dword [ebx + 0x3b34]
test eax, eax
jne 0x100128e7
and edx, 0xffffffdf
mov dword [ebx + 0x208], edx
jmp 0x100128e7
mov dword [ebx + 0x224], ecx
jmp 0x10012821
xor ecx, ecx
movss xmm0, dword [esi + 0x28c]
movss xmm1, dword [esi + 0x288]
mov edi, dword [ebx + 0xa0]
comiss xmm0, dword [ebx + 0x28c]
setne al
mov esi, dword [ebx + 0x1c]
comiss xmm1, dword [ebx + 0x288]
setne dl
or eax, edx
mov edx, dword [ebx + 0x20]
movzx eax, al
mov dword [esp + 0x20], eax
or dword [esp + 0x20], ecx
xor ecx, ecx
test edi, edi
setne cl
test esi, esi
movss dword [ebx + 0x288], xmm1
movss dword [ebx + 0x28c], xmm0
mov dword [ebx + 0xa0], ecx
jle 0x10014396
test edx, edx
jle 0x10014396
movzx eax, byte [ebx + 0x24]
lea edi, [eax - 1]
cmp edi, 0xa
ja 0x100143bb
cmp eax, 6
jg 0x10012eb0
test esi, 1
jne 0x10014457
cmp eax, 3
jg 0x10012eb0
test ecx, ecx
je 0x10012a97
test dl, 3
jne 0x1001447c
test dl, 1
jne 0x10014432
mov eax, dword [ebx + 0x2e4]
mov ecx, dword [ebx + 0x2ec]
lea edi, [ecx + eax]
cmp edi, esi
jae 0x1001435d
mov esi, dword [ebx + 0x2e8]
mov edi, dword [ebx + 0x2f0]
lea ebp, [edi + esi]
cmp ebp, edx
jae 0x10014369
mov esi, dword [ebx + 0x38]
test esi, esi
jle 0x100138f0
mov ecx, dword [ebx + 0x34]
test ecx, ecx
jle 0x100138f0
mov eax, dword [ebx + 4]
test eax, eax
je 0x10013909
cmp edx, 0x30
mov dword [esp + 0x24], 1
jle 0x10012b08
lea edi, [edx + 0xf]
mov dword [esp + 0x24], edi
sar dword [esp + 0x24], 6
cmp eax, 1
jle 0x10012b20
mov edx, dword [ebx + 0xc]
test edx, edx
je 0x10012b28
mov edi, dword [esp + 0x24]
cmp eax, edi
cmovg eax, edi
mov dword [ebx + 4], eax
test eax, eax
jle 0x10013e60
cmp eax, 0x80
mov edx, 0x80
cmovle edx, eax
cmp edx, 1
mov dword [ebx + 4], edx
je 0x10013e67
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x100141d0
mov dword [ebx + 0x620], 1
mov eax, dword [ebx + 0x330]
test eax, eax
jne 0x10013df4
mov edx, dword [ebx + 0x60]
test edx, edx
jle 0x10013e80
cmp edx, 0x40000000
mov eax, 0x40000000
cmovle eax, edx
cmp eax, 1
mov dword [ebx + 0x60], eax
je 0x10013e87
cmp dword [ebx + 0x2f4], 5
mov eax, 5
mov esi, dword [ebx + 0x270]
mov edx, 0xffffffff
cmovle eax, dword [ebx + 0x2f4]
test eax, eax
cmovns edx, eax
cmp esi, 2
mov dword [ebx + 0x2f4], edx
ja 0x10014415
mov edi, dword [ebx + 0xa0]
test edi, edi
je 0x10012bcf
mov dword [ebx + 0x324], 1
mov eax, dword [ebx + 0x88]
test eax, eax
mov dword [esp + 0x1c], eax
jne 0x100143d8
fld dword [ebx + 0x288]
mov edx, 0x45
mov ecx, eax
fld dword [0x1032ef30]
fcomi st(1)
fxch st(1)
fcmovb st(0), st(1)
movss xmm0, dword [0x1032ef34]
fldz
fxch st(1)
fcomi st(1)
fcmovb st(0), st(1)
movss xmm2, dword [ebx + 0x2a0]
fstp dword [esp + 0x28]
fld dword [ebx + 0x28c]
fxch st(2)
fcomi st(2)
maxss xmm2, xmm0
fcmovnb st(0), st(2)
fstp st(2)
fxch st(1)
movss xmm4, dword [esp + 0x28]
fcomi st(1)
fcmovb st(0), st(1)
fstp st(1)
cmp dword [ebx + 0x274], 0x45
cmovle edx, dword [ebx + 0x274]
maxss xmm0, dword [ebx + 0x2a4]
fstp dword [ebx + 0x28c]
movss dword [ebx + 0x288], xmm4
test edx, edx
cmovs edx, eax
mov eax, 0xb
cmp dword [ebx + 0x230], 0xb
cmovle eax, dword [ebx + 0x230]
mov dword [ebx + 0x274], edx
movss dword [ebx + 0x2a0], xmm2
test eax, eax
cmovs eax, ecx
cmp esi, 1
mov dword [ebx + 0x230], eax
movss dword [ebx + 0x2a4], xmm0
je 0x10013ed7
test esi, esi
jne 0x100141e5
cvtsi2ss xmm1, edx
movss dword [esp], xmm2
movss dword [esp + 0x34], xmm0
movss dword [esp + 0x2c], xmm1
call fcn.102db583
movss xmm1, dword [esp + 0x2c]
movss xmm0, dword [esp + 0x34]
movaps xmm4, xmm1
movss dword [esp], xmm0
fstp dword [esp + 0x28]
movss xmm2, dword [esp + 0x28]
movss dword [esp + 0x30], xmm1
mulss xmm2, dword [0x1032ef38]
subss xmm4, xmm2
movss dword [esp + 0x2c], xmm4
call fcn.102db583
movss xmm1, dword [esp + 0x30]
movss xmm2, dword [esp + 0x2c]
cvttss2si ecx, xmm1
fstp dword [esp + 0x28]
movss xmm0, dword [esp + 0x28]
mulss xmm0, dword [0x1032ef38]
addss xmm0, xmm1
movaps xmm3, xmm0
minss xmm3, xmm2
comiss xmm3, xmm1
ja 0x10012d39
cvttss2si ecx, xmm0
comiss xmm0, xmm2
cvttss2si eax, xmm2
cmova ecx, eax
maxss xmm0, xmm2
fld qword [0x1032ef40]
mov ebp, 0x45
fnstcw word [esp + 0x3e]
cmp ecx, 0x45
cmovg ecx, ebp
xor edx, edx
maxss xmm0, xmm1
test ecx, ecx
movzx eax, word [esp + 0x3e]
cmovs ecx, edx
movss dword [esp + 0x28], xmm0
mov ah, 0xc
fld dword [esp + 0x28]
faddp st(1)
mov word [esp + 0x3c], ax
fldcw word [esp + 0x3c]
fistp dword [esp + 0x38]
fldcw word [esp + 0x3e]
mov eax, dword [esp + 0x38]
mov dword [ebx + 0x2ac], 0
mov dword [ebx + 0x2b4], 0
cmp eax, 0x45
cmovg eax, ebp
test eax, eax
cmovs eax, edx
cmp eax, 0x45
cmovg eax, ebp
test eax, eax
cmovs eax, edx
mov dword [ebx + 0x27c], eax
cmp eax, ecx
cmovle ecx, eax
mov ebp, ecx
mov ecx, dword [ebx + 0x280]
mov eax, 2
mov dword [ebx + 0x278], ebp
cmp ecx, 1
jle 0x10012dda
mov al, 0x45
cmp ecx, 0x45
cmovle eax, ecx
cmp esi, 2
mov dword [ebx + 0x280], eax
mov dword [ebx + 0x284], edx
je 0x10012ec0
mov ebp, 0x1e8480
fld dword [ebx + 0x29c]
cmp dword [ebx + 0x298], 0x1e8480
mov eax, ebp
cmovle eax, dword [ebx + 0x298]
xor ecx, ecx
fld dword [0x1032ef48]
test eax, eax
cmovs eax, ecx
cmp dword [ebx + 0x294], 0x1e8480
cmovle ebp, dword [ebx + 0x294]
mov dword [ebx + 0x298], eax
test ebp, ebp
cmovns ecx, ebp
fcomi st(1)
fcmovnb st(0), st(1)
fstp st(1)
mov dword [ebx + 0x294], ecx
fldz
fxch st(1)
fcomi st(1)
fcmovb st(0), st(1)
fstp st(1)
test eax, eax
fstp dword [ebx + 0x29c]
je 0x10012f33
test esi, esi
je 0x10014287
test ecx, ecx
je 0x10014330
cmp edx, ecx
lea esi, [esi]
jle 0x10012f3b
cmp esi, 2
jne 0x10012f3b
mov dword [esp + 8], str.max_bitrate_less_than_average_bitrate__assuming_CBR_n
mov dword [esp + 4], 1
mov dword [esp], ebx
call fcn.100083f0
mov eax, dword [ebx + 0x294]
mov edi, dword [ebx + 0xa0]
mov dword [ebx + 0x284], eax
jmp 0x10012f3b
test ecx, ecx
je 0x10012aa0
jmp 0x10012a97
test edx, edx
je 0x100144a1
mov ecx, 0x1e8480
fld dword [ebx + 0x29c]
cmp dword [ebx + 0x298], 0x1e8480
mov eax, ecx
cmovle eax, dword [ebx + 0x298]
xor ebp, ebp
fld dword [0x1032ef48]
test eax, eax
cmovs eax, ebp
cmp dword [ebx + 0x294], 0x1e8480
cmovle ecx, dword [ebx + 0x294]
mov dword [ebx + 0x298], eax
test ecx, ecx
cmovs ecx, ebp
fcomi st(1)
fcmovnb st(0), st(1)
fstp st(1)
mov dword [ebx + 0x294], ecx
fldz
fxch st(1)
fcomi st(1)
fcmovb st(0), st(1)
fstp st(1)
test eax, eax
fstp dword [ebx + 0x29c]
jne 0x100144be
test ecx, ecx
jne 0x10014230
mov edx, dword [ebx + 0x340]
xor eax, eax
mov esi, dword [ebx + 0x344]
mov ecx, eax
mov ebp, dword [ebx + 0x348]
test edx, edx
mov edx, eax
cmovns ecx, dword [ebx + 0x340]
test esi, esi
cmovns edx, dword [ebx + 0x344]
test ebp, ebp
cmovns eax, dword [ebx + 0x348]
mov dword [ebx + 0x340], ecx
test edx, edx
mov dword [ebx + 0x344], edx
je 0x100138e0
sar edx, 1
cmp eax, edx
cmovg eax, edx
mov dword [ebx + 0x348], eax
test edi, edi
je 0x10012f9d
test eax, eax
jne 0x10013930
xor eax, eax
mov edx, dword [ebx + 0x1c]
mov esi, edx
add esi, 0xf
lea ecx, [edx + 0x1e]
cmovs esi, ecx
sar esi, 4
cmp esi, eax
jl 0x10013eb0
mov ecx, dword [ebx + 0xa0]
mov esi, 0x10
mov eax, dword [ebx + 0x20]
shl esi, cl
mov ecx, dword [ebx + 0xc]
lea eax, [esi + eax - 1]
cdq
idiv esi
test ecx, ecx
je 0x100138a0
mov edx, dword [ebx + 4]
xor ecx, ecx
test edx, edx
js 0x10012fe8
cmp eax, edx
mov ecx, edx
cmovle ecx, eax
mov dword [ebx + 0x34c], ecx
mov eax, dword [ebx + 0x350]
test eax, eax
jle 0x10013003
cmp ecx, eax
cmovl ecx, eax
mov dword [ebx + 0x350], ecx
mov ebp, dword [ebx + 0x84]
test ebp, ebp
jne 0x100137f0
mov ecx, dword [ebx + 0x58]
mov edx, dword [ebx + 0x5c]
test ecx, ecx
mov eax, 1
jle 0x10013028
mov al, 0x10
cmp ecx, 0x10
cmovle eax, ecx
test edx, edx
mov dword [ebx + 0x58], eax
mov eax, 1
jle 0x1001303c
mov al, 0x10
cmp edx, 0x10
cmovle eax, edx
mov dword [ebx + 0x5c], eax
mov eax, dword [ebx + 0x68]
test eax, eax
js 0x10013f90
mov eax, dword [ebx + 0x218]
test eax, eax
js 0x10013fa5
cmp eax, 3
mov edx, 3
cmovle edx, eax
mov eax, dword [ebx + 0x230]
mov dword [ebx + 0x218], edx
test eax, eax
jne 0x1001309a
cmp edx, 1
jle 0x1001309a
mov dword [esp + 8], str.subme0__directtemporal_is_not_supported_n
mov dword [esp + 4], 1
mov dword [esp], ebx
call fcn.100083f0
mov dword [ebx + 0x218], 1
mov ecx, dword [ebx + 0x60]
mov eax, 0x10
mov esi, dword [ebx + 0x70]
cmp ecx, 0x11
lea edx, [ecx - 1]
cmovle eax, edx
test esi, esi
js 0x10013f20
cmp eax, esi
mov edx, 0xffffffa6
cmovle esi, eax
mov eax, 0x64
cmp dword [ebx + 0x78], 0x64
cmovle eax, dword [ebx + 0x78]
mov dword [ebx + 0x70], esi
cmp eax, 0xffffffa6
cmovge edx, eax
cmp esi, 1
mov dword [ebx + 0x78], edx
jle 0x10013f44
cmp dword [ebx + 0x7c], 2
mov eax, 2
cmovle eax, dword [ebx + 0x7c]
mov edx, 0
test eax, eax
cmovs eax, edx
mov edx, dword [ebx + 0x74]
mov dword [ebx + 0x7c], eax
mov ebp, dword [ebx + 0x6c]
cmp edx, 2
mov esi, 2
cmovle esi, edx
xor edx, edx
test esi, esi
cmovns edx, esi
test ebp, ebp
mov dword [ebx + 0x74], edx
je 0x100137e7
cmp eax, 2
je 0x100137ba
cmp dword [ebx + 0x58], 1
jg 0x10013134
cmp dword [ebx + 0x5c], 1
jle 0x10013161
mov dword [esp + 8], str.ref___1__intra_refresh_is_not_supported_n
mov dword [esp + 4], 1
mov dword [esp], ebx
call fcn.100083f0
mov esi, dword [ebx + 0x6c]
mov dword [ebx + 0x58], 1
mov dword [ebx + 0x5c], 1
test esi, esi
je 0x10013172
mov ecx, dword [ebx + 0x80]
test ecx, ecx
jne 0x10014260
mov esi, dword [ebx + 0x6c]
mov ecx, dword [ebx + 0x60]
mov eax, dword [ebx + 0x310]
test eax, eax
je 0x10013741
mov edi, dword [ebx + 0x314]
test edi, edi
je 0x10013741
mov ebp, eax
movzx edx, ax
shr ebp, 0x10
cvtsi2ss xmm0, ebp
mov ebp, edi
shr ebp, 0x10
movss xmm2, dword [0x1032ef4c]
cvtsi2ss xmm1, edx
movzx edx, di
mulss xmm0, xmm2
cvtsi2ss xmm3, edx
addss xmm0, xmm1
cvtsi2ss xmm1, ebp
mov ebp, eax
mulss xmm1, xmm2
addss xmm1, xmm3
divss xmm0, xmm1
mov eax, dword [ebx + 0x64]
test eax, eax
jne 0x100131f5
mov eax, ecx
mov edx, 0x66666667
imul edx
mov eax, ecx
sar eax, 0x1f
sar edx, 2
sub edx, eax
cvtsi2ss xmm1, edx
minss xmm1, xmm0
cvttss2si eax, xmm1
test eax, eax
mov edx, 1
jle 0x1001320f
mov edx, ecx
shr edx, 0x1f
add edx, ecx
sar edx, 1
add edx, 1
cmp edx, eax
cmovg edx, eax
cmp dword [ebx + 0x2b8], 0xfa
mov eax, 0xfa
cmovle eax, dword [ebx + 0x2b8]
xorps xmm1, xmm1
mov dword [ebx + 0x64], edx
xor edx, edx
test eax, eax
cmovns edx, eax
mov eax, dword [ebx + 0x284]
cmp dword [ebx + 0x294], eax
cmovge eax, dword [ebx + 0x294]
test eax, eax
je 0x1001325d
cvtsi2ss xmm1, dword [ebx + 0x298]
cvtsi2ss xmm2, eax
divss xmm1, xmm2
mulss xmm1, xmm0
cvtsi2ss xmm0, ecx
maxss xmm0, xmm1
cvtsi2ss xmm1, edx
mov edx, dword [ebx + 0x318]
minss xmm0, xmm1
test edx, edx
cvttss2si eax, xmm0
mov dword [ebx + 0x2b8], eax
je 0x10013730
mov edx, dword [ebx + 0x31c]
test edx, edx
je 0x10013730
mov edx, dword [ebx + 0x308]
test edx, edx
je 0x10013720
fld dword [ebx + 0x2cc]
fld1
fcomi st(1)
fcmovnb st(0), st(1)
fstp st(1)
fldz
fxch st(1)
fcomi st(1)
fcmovb st(0), st(1)
fstp st(1)
cmp ecx, 1
fstp dword [esp + 0x28]
movss xmm5, dword [esp + 0x28]
movss dword [ebx + 0x2cc], xmm5
je 0x100132d9
comiss xmm5, dword [0x1032ef18]
jne 0x100132e3
mov dword [ebx + 0x2b4], 0
test esi, esi
jne 0x100132f7
cmp ecx, 0x40000000
je 0x100132f7
test eax, eax
je 0x10014140
mov eax, dword [ebx + 0x18]
test eax, eax
js 0x10014064
cmp eax, 0xfa
mov edx, 0xfa
cmovle edx, eax
mov eax, dword [ebx + 0x2c4]
mov dword [ebx + 0x18], edx
test eax, eax
jne 0x10013770
cmp dword [ebx + 0x620], 1
je 0x10013770
mov edx, 6
mov eax, 0xfffffffa
cmp dword [ebx + 0x90], 6
mov ecx, edx
cmovle ecx, dword [ebx + 0x90]
cmp ecx, 0xfffffffa
cmovl ecx, eax
cmp dword [ebx + 0x94], 6
cmovle edx, dword [ebx + 0x94]
mov dword [ebx + 0x90], ecx
cmp edx, 0xfffffffa
cmovge eax, edx
mov dword [ebx + 0x94], eax
mov eax, 0x20
cmp dword [ebx + 0x260], 0x20
mov ecx, eax
cmovle ecx, dword [ebx + 0x260]
xor edx, edx
test ecx, ecx
cmovs ecx, edx
cmp dword [ebx + 0x264], 0x20
cmovle eax, dword [ebx + 0x264]
mov dword [ebx + 0x260], ecx
test eax, eax
cmovs eax, edx
mov dword [ebx + 0x264], eax
mov eax, 2
cmp dword [ebx + 0x9c], 2
cmovle eax, dword [ebx + 0x9c]
test eax, eax
cmovs eax, edx
cmp dword [ebx + 0xa8], 2
mov dword [ebx + 0x9c], eax
jbe 0x100133d9
mov dword [ebx + 0xa8], 0
mov eax, dword [ebx + 0x220]
cmp eax, 4
jbe 0x100133f3
mov dword [ebx + 0x220], 1
mov eax, 1
mov edx, dword [ebx + 0x224]
cmp edx, 3
jle 0x10013780
cmp edx, 0x400
mov ecx, 0x400
cmovle ecx, edx
cmp ecx, 0x10
jle 0x1001341e
cmp eax, 1
jle 0x10014321
cmp eax, 4
mov dword [ebx + 0x224], ecx
je 0x10013793
mov eax, dword [ebx + 0x230]
mov dword [esp + 0x2c], eax
mov ebp, dword [ebx + 0x238]
xor eax, eax
test ebp, ebp
je 0x1001344c
xor eax, eax
cmp dword [ebx + 0x58], 1
setg al
mov edx, dword [ebx + 0x208]
mov esi, dword [ebx + 0x204]
mov dword [ebx + 0x238], eax
mov eax, edx
mov edi, esi
and eax, 0x133
and edi, 3
test dl, 0x10
mov dword [ebx + 0x208], eax
mov dword [ebx + 0x204], edi
jne 0x10013488
mov eax, edx
and eax, 0x113
mov dword [ebx + 0x208], eax
mov edi, dword [ebx + 0x20c]
test edi, edi
jne 0x100134a4
and eax, 0xfffffffd
and esi, 1
mov dword [ebx + 0x208], eax
mov dword [ebx + 0x204], esi
mov edx, 2
fld dword [ebx + 0x2b0]
xorps xmm3, xmm3
cmp dword [ebx + 0x23c], 2
mov eax, edx
cmovle eax, dword [ebx + 0x23c]
xor esi, esi
fld dword [0x1032ef50]
test eax, eax
cmovs eax, esi
cmp dword [ebx + 0x2ac], 2
cmovle edx, dword [ebx + 0x2ac]
mov dword [ebx + 0x23c], eax
test edx, edx
cmovs edx, esi
fcomi st(1)
fcmovnb st(0), st(1)
fstp st(1)
mov dword [ebx + 0x2ac], edx
fldz
fxch st(1)
fcomi st(1)
fcmovb st(0), st(1)
fstp st(1)
fstp dword [esp + 0x28]
movss xmm6, dword [esp + 0x28]
comiss xmm6, xmm3
movss dword [ebx + 0x2b0], xmm6
jne 0x10013521
mov dword [ebx + 0x2ac], 0
xor edx, edx
cmp dword [ebx + 0x1f8], 1
jle 0x10013fb4
mov ecx, dword [ebx + 0x254]
xorps xmm0, xmm0
movaps xmm1, xmm0
test ecx, ecx
je 0x10013582
fld dword [ebx + 0x24c]
fld dword [0x1032ef54]
fcomi st(1)
fxch st(1)
fcmovb st(0), st(1)
fldz
fxch st(1)
fcomi st(1)
fcmovb st(0), st(1)
fstp dword [esp + 0x28]
fld dword [ebx + 0x250]
fxch st(2)
fcomi st(2)
fcmovnb st(0), st(2)
fstp st(2)
fxch st(1)
movss xmm1, dword [esp + 0x28]
fcomi st(1)
fcmovb st(0), st(1)
fstp st(1)
fstp dword [esp + 0x28]
movss xmm0, dword [esp + 0x28]
xor esi, esi
cmp dword [esp + 0x2c], 5
movss dword [ebx + 0x24c], xmm1
movss dword [ebx + 0x250], xmm0
jle 0x100135d5
mulss xmm1, dword [0x1032ef58]
fnstcw word [esp + 0x3e]
movss dword [esp + 0x28], xmm1
movzx esi, word [esp + 0x3e]
fld dword [esp + 0x28]
fadd dword [0x1032ef1c]
mov ecx, esi
mov ch, 0xc
mov word [esp + 0x3c], cx
fldcw word [esp + 0x3c]
fistp dword [esp + 0x38]
fldcw word [esp + 0x3e]
mov esi, dword [esp + 0x38]
mov dword [ebx + 0x48dc], esi
xor esi, esi
test eax, eax
je 0x1001361b
mulss xmm0, dword [0x1032ef5c]
fnstcw word [esp + 0x3e]
movss dword [esp + 0x28], xmm0
movzx esi, word [esp + 0x3e]
fld dword [esp + 0x28]
fadd dword [0x1032ef1c]
mov ecx, esi
mov ch, 0xc
mov word [esp + 0x3c], cx
fldcw word [esp + 0x3c]
fistp dword [esp + 0x38]
fldcw word [esp + 0x3e]
mov esi, dword [esp + 0x38]
mov edi, dword [ebx + 0x21c]
mov dword [ebx + 0x48e0], esi
mov esi, 0xfffffff4
cmp edi, 0xffffffe0
jl 0x10013642
cmp edi, 0xc
mov ebp, 0xc
cmovle ebp, edi
cmp ebp, 0xfffffff4
cmovge esi, ebp
test edx, edx
mov dword [ebx + 0x21c], esi
jne 0x1001366f
mov edx, dword [ebx + 0x2b4]
test edx, edx
je 0x1001366f
mov dword [ebx + 0x2ac], 1
mov edx, 1
mov dword [ebx + 0x2b0], 0
cmp dword [ebx + 0x248], 0x10000
mov esi, 0x10000
cmovle esi, dword [ebx + 0x248]
xor edi, edi
test esi, esi
cmovns edi, esi
cmp dword [esp + 0x2c], 9
mov dword [ebx + 0x248], edi
jle 0x100136ac
cmp eax, 2
je 0x10014314
mov dword [ebx + 0x230], 9
mov edx, dword [ebx + 0x28]
test edx, edx
js 0x10013fd0
mov eax, dword [0x1032f4a0]
test eax, eax
je 0x100136e2
cmp edx, eax
mov edi, 0x1032f4a0
jne 0x100136d8
jmp 0x10013957
cmp edx, eax
je 0x10013957
add edi, 0x34
mov eax, dword [edi]
test eax, eax
nop
jne 0x100136d0
mov dword [esp + 0xc], edx
mov dword [esp + 8], str.invalid_level_idc:__d_n
mov dword [esp + 4], 0
mov dword [esp], ebx
call fcn.100083f0
mov eax, ebx
call fcn.100097c0
mov dword [esp + 0x1c], 0xffffffff
mov eax, dword [esp + 0x1c]
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [ebx + 0x30c]
test edx, edx
jne 0x100132a1
nop
mov dword [ebx + 0x318], edi
mov dword [ebx + 0x31c], ebp
jmp 0x100132a1
mov dword [ebx + 0x310], 0x19
mov edi, 1
mov ebp, 0x19
mov dword [ebx + 0x314], 1
movss xmm0, dword [0x1032ef14]
jmp 0x100131cf
mov dword [ebx + 0x18], 0
jmp 0x1001332d
cmp eax, 4
mov dword [ebx + 0x224], 4
jne 0x1001342d
mov eax, dword [ebx + 0x70a4]
test eax, eax
mov eax, dword [ebx + 0x230]
mov dword [esp + 0x2c], eax
je 0x10014175
mov dword [ebx + 0x220], 3
jmp 0x10013437
mov dword [esp + 8], str.b_pyramid_normal__intra_refresh_is_not_supported_n
mov dword [esp + 4], 1
mov dword [esp], ebx
call fcn.100083f0
mov esi, dword [ebx + 0x6c]
mov dword [ebx + 0x7c], 1
test esi, esi
jne 0x10013128
mov ecx, dword [ebx + 0x60]
xor esi, esi
jmp 0x10013175
mov edx, dword [ebx + 0x7c]
mov eax, 1
mov ecx, dword [ebx + 0x30]
mov esi, dword [ebx + 0x210]
mov edi, dword [ebx + 0x328]
test edx, edx
mov edx, eax
cmovle edx, dword [ebx + 0x7c]
cmp dword [ebx + 0x70], 3
mov dword [ebx + 0x2f8], 1
mov dword [ebx + 0x7c], edx
mov edx, 3
cmovle edx, dword [ebx + 0x70]
test ecx, ecx
mov dword [ebx + 0x340], 0
mov dword [ebx + 0x344], 0
mov dword [ebx + 0x70], edx
mov edx, eax
cmovg edx, dword [ebx + 0x30]
cmp dword [ebx + 0x58], 6
mov dword [ebx + 0x6c], 0
mov dword [ebx + 0x30], edx
mov edx, 6
mov ecx, edx
cmovle ecx, dword [ebx + 0x58]
cmp dword [ebx + 0x5c], 6
cmovle edx, dword [ebx + 0x5c]
test esi, esi
cmovle eax, dword [ebx + 0x210]
test edi, edi
mov dword [ebx + 0x58], ecx
mov dword [ebx + 0x5c], edx
mov dword [ebx + 0x64], 1
mov dword [ebx + 0x210], eax
je 0x10013017
mov dword [ebx + 0x324], 1
jmp 0x10013017
mov edx, dword [ebx + 0x34c]
xor esi, esi
test edx, edx
js 0x100138b3
cmp eax, edx
mov esi, edx
cmovle esi, eax
mov eax, dword [ebx + 0x344]
mov dword [ebx + 0x34c], esi
test eax, eax
jne 0x100138d1
mov eax, dword [ebx + 0x340]
test eax, eax
je 0x10014195
mov dword [ebx + 0x34c], 0
jmp 0x10012fee
test ecx, ecx
je 0x10013948
mov dword [ebx + 0x348], eax
jmp 0x10012f8f
mov eax, dword [ebx + 4]
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x34], 0
test eax, eax
jne 0x10012aef
call fcn.1001ccf0
cmp dword [ebx + 0xc], 1
sbb edx, edx
not edx
add edx, 3
imul eax, edx
mov edx, eax
shr edx, 0x1f
add eax, edx
mov edx, dword [ebx + 0x20]
sar eax, 1
mov dword [ebx + 4], eax
jmp 0x10012aef
mov dword [esp + 8], str.interlace__slice_min_mbs_is_not_implemented_n
mov dword [esp + 4], 1
mov dword [esp], ebx
call fcn.100083f0
mov dword [ebx + 0x348], 0
jmp 0x10012f9b
mov eax, dword [ebx + 0x228]
lea ebp, [ebx + 0x20c0]
mov ecx, dword [ebx + 0xa0]
test eax, eax
jle 0x10014054
cmp eax, 0x1f
mov edx, 0x20
jle 0x10013986
mov dx, 0x200
sar edx, cl
cmp edx, eax
cmovg edx, eax
mov dword [ebx + 0x228], edx
cmp dword [ebx + 0x210], 2
mov eax, 2
cmovle eax, dword [ebx + 0x210]
xor esi, esi
test eax, eax
cmovns esi, eax
mov eax, dword [ebx + 8]
mov dword [ebx + 0x210], esi
test eax, eax
jne 0x100139c1
mov edi, dword [ebx + 0xc]
test edi, edi
je 0x100140b0
mov eax, dword [ebx + 4]
test eax, eax
mov edx, 1
jle 0x100139db
mov edi, dword [esp + 0x24]
mov dl, 0x10
cmp edi, 0x10
cmovle edx, edi
cmp edx, eax
cmovg edx, eax
test ecx, ecx
mov dword [ebx + 8], edx
je 0x10013de7
cmp dword [ebx + 0x220], 2
jg 0x100142c0
test esi, esi
jle 0x10013de7
mov dword [esp + 8], str.interlace__weightp_is_not_implemented_n
mov dword [esp + 4], 1
mov dword [esp], ebx
call fcn.100083f0
mov dword [ebx + 0x210], 0
mov esi, dword [ebx + 0x2b4]
test esi, esi
je 0x10013a35
mov ecx, dword [ebx + 0x254]
test ecx, ecx
jne 0x100141a0
mov ecx, dword [ebx + 0x620]
cmp ecx, 1
jle 0x10013a96
mov eax, dword [ebx + 0x22c]
test eax, eax
jle 0x10014213
mov edx, dword [ebx + 0x224]
cmp eax, edx
cmovl eax, edx
mov edx, dword [ebx + 0x228]
mov dword [esp + 8], str.using_mv_range_thread___d_n
mov dword [esp + 4], 3
mov dword [esp], ebx
cmp eax, edx
cmovg eax, edx
mov edx, eax
and edx, 0xfffffff0
lea esi, [edx + 8]
add edx, 0x18
cmp eax, esi
cmovg esi, edx
mov dword [esp + 0xc], esi
call fcn.100083f0
mov dword [ebx + 0x22c], esi
xorps xmm5, xmm5
comiss xmm5, dword [ebx + 0x290]
ja 0x100140a0
xorps xmm6, xmm6
comiss xmm6, dword [ebx + 0x2d0]
ja 0x10014090
xorps xmm7, xmm7
comiss xmm7, dword [ebx + 0x2d4]
ja 0x10014080
mov edx, dword [ebx + 0x30]
and dword [ebx + 0x304], 0x1f
test edx, edx
js 0x10014070
cmp edx, 2
mov eax, 2
cmovle eax, edx
test eax, eax
mov dword [ebx + 0x30], eax
je 0x10013b2e
mov edx, dword [ebx + 0x298]
test edx, edx
je 0x100142f0
cmp eax, 2
jne 0x10013b2e
mov edx, dword [ebx + 0x284]
cmp edx, dword [ebx + 0x294]
je 0x10014183
mov dword [esp + 8], str.CBR_HRD_requires_constant_bitrate_n
mov dword [esp + 4], 1
mov dword [esp], ebx
call fcn.100083f0
mov dword [ebx + 0x30], 1
mov edi, dword [ebx + 0x2a8]
xor eax, eax
test edi, edi
setne al
mov ecx, dword [ebx + 0x98]
xor edx, edx
mov esi, dword [ebx + 0xa4]
mov edi, dword [ebx + 0x8c]
test ecx, ecx
mov ecx, dword [ebx + 0x10]
setne dl
mov dword [ebx + 0x98], edx
xor edx, edx
test esi, esi
setne dl
mov esi, dword [ebx + 0xc]
mov dword [ebx + 0xa4], edx
xor edx, edx
test edi, edi
setne dl
mov edi, dword [ebx + 0xa0]
mov dword [ebx + 0x8c], edx
xor edx, edx
test ecx, ecx
setne dl
mov ecx, dword [ebx + 0x6c]
mov dword [ebx + 0x10], edx
xor edx, edx
test esi, esi
setne dl
mov esi, dword [ebx + 0x2f8]
mov dword [ebx + 0xc], edx
xor edx, edx
test edi, edi
setne dl
mov edi, dword [ebx + 0x2fc]
mov dword [ebx + 0xa0], edx
xor edx, edx
test ecx, ecx
setne dl
mov ecx, dword [ebx + 0x300]
mov dword [ebx + 0x6c], edx
xor edx, edx
test esi, esi
setne dl
mov esi, dword [ebx + 0x308]
mov dword [ebx + 0x2f8], edx
xor edx, edx
test edi, edi
setne dl
mov edi, dword [ebx + 0x30c]
mov dword [ebx + 0x2fc], edx
xor edx, edx
test ecx, ecx
setne dl
mov ecx, dword [ebx + 0x320]
mov dword [ebx + 0x300], edx
xor edx, edx
test esi, esi
setne dl
mov esi, dword [ebx + 0x324]
mov dword [ebx + 0x308], edx
xor edx, edx
test edi, edi
setne dl
mov edi, dword [ebx + 0x328]
mov dword [ebx + 0x30c], edx
xor edx, edx
test ecx, ecx
setne dl
mov ecx, dword [ebx + 0x80]
mov dword [ebx + 0x320], edx
xor edx, edx
test esi, esi
setne dl
mov esi, dword [ebx + 0x84]
mov dword [ebx + 0x324], edx
xor edx, edx
test edi, edi
setne dl
mov dword [ebx + 0x328], edx
xor edx, edx
test ecx, ecx
setne dl
mov dword [ebx + 0x80], edx
xor edx, edx
test esi, esi
setne dl
mov dword [ebx + 0x84], edx
mov edi, dword [ebx + 0x32c]
xor edx, edx
mov ecx, dword [ebx + 0x1fc]
mov esi, dword [ebx + 0x330]
mov dword [ebx + 0x2a8], eax
mov eax, ebx
test edi, edi
mov edi, dword [ebx + 0x88]
setne dl
mov dword [ebx + 0x32c], edx
xor edx, edx
test ecx, ecx
setne dl
mov ecx, dword [ebx + 0x20c]
mov dword [ebx + 0x1fc], edx
xor edx, edx
test esi, esi
setne dl
mov esi, dword [ebx + 0x214]
mov dword [ebx + 0x330], edx
xor edx, edx
test edi, edi
setne dl
mov edi, dword [ebx + 0x234]
mov dword [ebx + 0x88], edx
xor edx, edx
test ecx, ecx
setne dl
mov ecx, dword [ebx + 0x238]
mov dword [ebx + 0x20c], edx
xor edx, edx
test esi, esi
setne dl
mov esi, dword [ebx + 0x240]
mov dword [ebx + 0x214], edx
xor edx, edx
test edi, edi
setne dl
mov edi, dword [ebx + 0x244]
mov dword [ebx + 0x234], edx
xor edx, edx
test ecx, ecx
setne dl
mov ecx, dword [ebx + 0x254]
mov dword [ebx + 0x238], edx
xor edx, edx
test esi, esi
setne dl
mov esi, dword [ebx + 0x268]
mov dword [ebx + 0x240], edx
xor edx, edx
test edi, edi
setne dl
mov edi, dword [ebx + 0x26c]
mov dword [ebx + 0x244], edx
xor edx, edx
test ecx, ecx
setne dl
mov ecx, dword [ebx + 0x2bc]
mov dword [ebx + 0x254], edx
xor edx, edx
test esi, esi
setne dl
mov esi, dword [ebx + 0x2c4]
mov dword [ebx + 0x268], edx
xor edx, edx
test edi, edi
setne dl
mov edi, dword [ebx + 0x2b4]
mov dword [ebx + 0x26c], edx
xor edx, edx
test ecx, ecx
setne dl
mov dword [ebx + 0x2bc], edx
xor edx, edx
test esi, esi
setne dl
mov dword [ebx + 0x2c4], edx
xor edx, edx
test edi, edi
setne dl
mov dword [ebx + 0x2b4], edx
call fcn.100097c0
mov dword [esp + 8], ebx
mov eax, dword [ebx + 0x304]
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.1001d690
mov ebp, dword [esp + 0x20]
test ebp, ebp
je 0x1001370d
mov dword [esp], ebx
mov dword [esp + 4], 0
call fcn.10047c60
mov eax, dword [esp + 0x1c]
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
test esi, esi
jne 0x10013a35
jmp 0x10013a1d
mov dword [esp + 8], str.OpenCL:_not_compiled_with_OpenCL_support__disabling_n
mov dword [esp + 4], 1
mov dword [esp], ebx
call fcn.100083f0
mov eax, dword [ebx + 0x338]
mov dword [ebx + 0x330], 0
test eax, eax
je 0x10012b64
mov eax, dword [ebx + 0x334]
test eax, eax
je 0x10012b64
mov dword [esp + 8], str.OpenCL:_device_id_and_device_skip_count_configured__dropping_skip_n
mov dword [esp + 4], 1
mov dword [esp], ebx
call fcn.100083f0
mov dword [ebx + 0x334], 0
jmp 0x10012b64
mov dword [ebx + 4], 1
mov dword [ebx + 0xc], 0
mov dword [ebx + 8], 1
jmp 0x10012b4c
mov dword [ebx + 0x60], 1
mov dword [ebx + 0x6c], 0
mov dword [ebx + 0x210], 0
mov dword [ebx + 0x58], 1
mov dword [ebx + 0x5c], 1
jmp 0x10012b89
mov dword [esp + 0xc], esi
mov dword [esp + 8], str.slice_min_mbs___row_mb_size___d__not_implemented_n
mov dword [esp + 4], 1
mov dword [esp], ebx
call fcn.100083f0
mov dword [ebx + 0x348], esi
jmp 0x10012fb6
cvttss2si eax, xmm4
xor edx, edx
mov dword [ebx + 0x284], 0
mov ecx, dword [ebx + 0x278]
mov dword [ebx + 0x274], eax
mov eax, dword [ebx + 0x27c]
cmp eax, 0x45
mov ebp, 0x45
cmovle ebp, eax
xor eax, eax
test ebp, ebp
cmovns eax, ebp
xor ebp, ebp
test ecx, ecx
mov dword [ebx + 0x27c], eax
js 0x10012dbc
jmp 0x10012db5
cmp dword [ebx + 0x78], 0x64
mov eax, 0x64
cmovle eax, dword [ebx + 0x78]
mov edx, 0xffffffa6
mov dword [ebx + 0x70], 0
cmp eax, 0xffffffa6
cmovge edx, eax
xor esi, esi
mov dword [ebx + 0x78], edx
test esi, esi
mov edx, dword [ebx + 0x74]
mov dword [ebx + 0x7c], 0
jne 0x100144f5
mov edi, dword [ebx + 0x6c]
mov dword [ebx + 0x74], 0
mov dword [ebx + 0x218], 0
mov dword [ebx + 0x214], 0
test edi, edi
mov dword [ebx + 0x80], 0
jne 0x10013128
xor esi, esi
jmp 0x10013175
mov eax, dword [ebx + 0x218]
mov dword [ebx + 0x68], 0
test eax, eax
jns 0x10013058
mov dword [ebx + 0x218], 0
jmp 0x1001309a
mov dword [ebx + 0x268], 0
mov dword [ebx + 0x26c], 0
jmp 0x1001352e
cmp dword [ebx + 0x270], 2
mov esi, dword [ebx + 0x294]
je 0x100141af
mov dword [esp + 8], ebx
mov eax, dword [ebx + 0x304]
lea ebp, [ebx + 0x20c0]
mov dword [esp], ebp
mov edi, 0x1032f4a0
mov dword [esp + 4], eax
call fcn.1001d690
mov eax, dword [0x1032f4a0]
mov dword [ebx + 0x28], eax
mov eax, dword [0x1032f4d4]
test eax, eax
jne 0x10014026
jmp 0x1001403a
add edi, 0x34
mov eax, dword [edi]
mov dword [ebx + 0x28], eax
mov eax, dword [edi + 0x34]
test eax, eax
je 0x1001403a
mov dword [esp + 4], 0
mov dword [esp], ebx
call fcn.10025de0
test eax, eax
jne 0x10014017
mov eax, dword [ebx + 0x228]
mov dword [ebx + 0x294], esi
mov ecx, dword [ebx + 0xa0]
test eax, eax
jg 0x10013971
mov eax, dword [edi + 0x18]
sar eax, cl
mov dword [ebx + 0x228], eax
jmp 0x1001398c
mov eax, dword [ebx + 0x70]
add eax, 1
jmp 0x10013302
mov dword [ebx + 0x30], 0
jmp 0x10013b2e
mov dword [ebx + 0x2d4], 0
jmp 0x10013ac6
mov dword [ebx + 0x2d0], 0
jmp 0x10013ab6
mov dword [ebx + 0x290], 0
jmp 0x10013aa6
mov edi, dword [ebx + 0x230]
xor eax, eax
mov edx, 3
cmp dword [ebx + 0x74], 2
sete al
cmp edi, 8
mov dword [esp + 0x28], eax
jg 0x100140dd
mov eax, edi
mov edx, 0x55555556
imul edx
mov eax, edi
sar eax, 0x1f
sub edx, eax
xor eax, eax
cmp edi, 1
setg al
add eax, edx
mov edx, 3
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0x70]
cmp eax, 9
jg 0x1001410b
lea edi, [eax - 1]
mov edx, 0x55555556
mov eax, edi
imul edx
mov eax, edi
sar eax, 0x1f
sub edx, eax
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
lea eax, [eax + eax*4]
add eax, edi
movzx edi, byte [edx + eax*4 + 0x1032eca0]
mov eax, dword [ebx + 4]
cdq
idiv edi
mov edx, dword [ebx + 0x20]
test edx, edx
lea edi, [edx + 0x7f]
cmovs edx, edi
sar edx, 7
cmp eax, edx
cmovg eax, edx
jmp 0x100139c1
mov eax, dword [ebx + 0x2b4]
test eax, eax
je 0x100132f7
mov dword [esp + 8], str.lookaheadless_mb_tree_requires_intra_refresh_or_infinite_keyint_n
mov dword [esp + 4], 1
mov dword [esp], ebx
call fcn.100083f0
mov dword [ebx + 0x2b4], 0
jmp 0x100132f7
cmp eax, 1
jg 0x10013437
jmp 0x100137ab
test edx, edx
mov al, 1
jne 0x10013b3b
lea esi, [esi]
jmp 0x10013b0f
mov ecx, esi
jmp 0x10012fee
mov dword [ebx + 0x210], 0xffffffff
jmp 0x10013a35
mov eax, dword [ebx + 0x298]
test eax, eax
jg 0x10013fe3
mov eax, dword [ebx + 0x284]
add eax, eax
mov dword [ebx + 0x294], eax
jmp 0x10013fe3
mov dword [ebx + 0x620], edx
mov dword [ebx + 0x358], 0
jmp 0x10012b56
cmp dword [ebx + 0x284], 0x1e8480
mov edx, 0x1e8480
cmovle edx, dword [ebx + 0x284]
mov eax, dword [ebx + 0x27c]
mov ecx, dword [ebx + 0x278]
test edx, edx
cmovs edx, dword [esp + 0x1c]
jmp 0x10013ef9
mov eax, dword [ebx + 0x20]
add eax, 0x18
cdq
idiv ecx
sub eax, 0x18
mov edx, eax
shr edx, 0x1f
add eax, edx
sar eax, 1
jmp 0x10013a4e
mov dword [esp + 8], str.VBV_maxrate_specified__but_no_bufsize__ignored_n
mov dword [esp + 4], 1
mov dword [esp], ebx
call fcn.100083f0
mov edi, dword [ebx + 0xa0]
mov dword [ebx + 0x294], 0
jmp 0x10012f3b
mov dword [esp + 8], str.intra_refresh_is_not_compatible_with_open_gop_n
mov dword [esp + 4], 1
mov dword [esp], ebx
call fcn.100083f0
mov dword [ebx + 0x80], 0
jmp 0x1001316f
mov dword [esp + 8], str.VBV_is_incompatible_with_constant_QP__ignored._n
mov dword [esp + 4], 1
mov dword [esp], ebx
call fcn.100083f0
mov edi, dword [ebx + 0xa0]
mov dword [ebx + 0x294], 0
mov dword [ebx + 0x298], 0
jmp 0x10012f3b
mov dword [esp + 8], str.interlace__meesa_is_not_implemented_n
mov dword [esp + 4], 1
mov dword [esp], ebx
call fcn.100083f0
mov esi, dword [ebx + 0x210]
mov dword [ebx + 0x220], 2
jmp 0x100139f3
mov dword [esp + 8], str.NAL_HRD_parameters_require_VBV_parameters_n
mov dword [esp + 4], 1
mov dword [esp], ebx
call fcn.100083f0
mov dword [ebx + 0x30], 0
jmp 0x10013b2e
test edx, edx
jne 0x100136ac
jmp 0x100136a2
mov dword [ebx + 0x224], 0x10
jmp 0x1001342d
mov dword [esp + 8], str.VBV_bufsize_set_but_maxrate_unspecified__ignored_n
mov dword [esp + 4], 1
mov dword [esp], ebx
call fcn.100083f0
mov edi, dword [ebx + 0xa0]
mov dword [ebx + 0x298], 0
jmp 0x10012f3b
mov edi, dword [ebx + 0x2f0]
mov esi, dword [ebx + 0x2e8]
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], eax
mov dword [esp + 8], str.invalid_crop_rect__u__u__u__u_n
mov dword [esp + 4], 0
mov dword [esp], ebx
call fcn.100083f0
jmp 0x100136fe
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], esi
mov dword [esp + 8], str.invalid_width_x_height___dx_d__n
mov dword [esp + 4], 0
mov dword [esp], ebx
call fcn.100083f0
jmp 0x100136fe
mov dword [esp + 8], str.invalid_CSP__only_I420_YV12_NV12_I422_YV16_NV16_I444_YV24_BGR_BGRA_RGB_supported__n
mov dword [esp + 4], 0
mov dword [esp], ebx
call fcn.100083f0
jmp 0x100136fe
mov dword [esp + 0xc], 8
mov dword [esp + 8], str._2d_bit_AVC_Intra_is_not_widely_compatible_n
mov dword [esp + 4], 0
mov dword [esp], ebx
call fcn.100083f0
mov dword [esp + 8], str.10_bit_x264_is_required_to_encode_AVC_Intra_n
mov dword [esp + 4], 0
mov dword [esp], ebx
call fcn.100083f0
jmp 0x100136fe
mov dword [esp + 8], str.no_ratecontrol_method_specified_n
mov dword [esp + 4], 0
mov dword [esp], ebx
call fcn.100083f0
jmp 0x100136fe
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], esi
mov dword [esp + 8], str.height_not_divisible_by_2___dx_d__n
mov dword [esp + 4], 0
mov dword [esp], ebx
call fcn.100083f0
jmp 0x100136fe
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], esi
mov dword [esp + 8], str.width_not_divisible_by_2___dx_d__n
mov dword [esp + 4], 0
mov dword [esp], ebx
call fcn.100083f0
jmp 0x100136fe
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], esi
mov dword [esp + 8], str.height_not_divisible_by_4___dx_d__n
mov dword [esp + 4], 0
mov dword [esp], ebx
call fcn.100083f0
jmp 0x100136fe
mov dword [esp + 8], str.bitrate_not_specified_n
mov dword [esp + 4], 0
mov dword [esp], ebx
call fcn.100083f0
jmp 0x100136fe
test ecx, ecx
jne 0x10012e6a
mov dword [esp + 8], str.VBV_maxrate_unspecified__assuming_CBR_n
mov dword [esp + 4], 1
mov dword [esp], ebx
call fcn.100083f0
mov eax, dword [ebx + 0x284]
mov edi, dword [ebx + 0xa0]
mov dword [ebx + 0x294], eax
jmp 0x10012f3b
xor eax, eax
jmp 0x100130ff