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

Disassembly:
push ebp
push edi
mov ebp, edx
push esi
push ebx
sub esp, 0x20c
mov dword [esp + 0x24], eax
mov eax, dword [edx + 0x44]
mov dword [esp + 0x50], ecx
fld qword [esp + 0x220]
mov dword [esp + 0x40], eax
mov eax, dword [edx + 0xc]
mov eax, dword [eax + 0x2c4]
mov dword [esp + 0x4c], eax
mov eax, dword [edx + 0xe0]
mov edx, dword [eax]
mov eax, dword [ebp + 8]
test eax, eax
js 0x41e8a7
mov ecx, dword [0xeea0bc]
mov ebx, dword [ecx + eax*4]
mov eax, dword [edx + 0x10]
mov edx, dword [eax]
mov eax, dword [edx + 0x7c]
test eax, eax
jle 0x41e8a0
mov edx, dword [edx + 0x80]
test edx, edx
jle 0x41e8a0
mov edi, dword [esp + 0x40]
mov dword [esp + 0x28], eax
fild dword [edi + 0x6c]
fild dword [edi + 0x70]
fdivp st(1)
fstp qword [esp + 0x68]
fld qword [esp + 0x68]
fild dword [esp + 0x28]
mov dword [esp + 0x28], edx
fild dword [esp + 0x28]
fdivp st(1)
fstp qword [esp + 0x68]
fld qword [esp + 0x68]
fmulp st(1)
fdivr dword [0xc28c20]
fstp qword [esp + 0x68]
fld qword [esp + 0x68]
test ebx, ebx
je 0x41e6f7
mov eax, dword [ebx + 4]
mov edi, dword [eax + 0x34]
lea edx, [edi - 0x80000000]
or edx, dword [eax + 0x30]
je 0x41e6f7
mov edi, dword [eax + 0xcc]
lea edx, [edi - 0x80000000]
or edx, dword [eax + 0xc8]
je 0x41e6f7
mov eax, dword [ebp + 0x74]
test eax, eax
je 0x41e6f7
mov edi, dword [esp + 0x40]
mov dword [esp + 0x28], eax
fild dword [edi + 0x6c]
fild dword [edi + 0x70]
fdivp st(1)
fstp qword [esp + 0x68]
fld qword [esp + 0x68]
fild dword [esp + 0x28]
fild dword [ebp + 0x78]
fdivp st(1)
fstp qword [esp + 0x68]
fld qword [esp + 0x68]
fmulp st(1)
fdivr dword [0xc28c20]
fld st(1)
fucomp st(1)
fnstsw ax
sahf
ja 0x41f82b
fstp st(0)
mov eax, dword [ebp + 0xec]
test eax, eax
je 0x41f843
mov edi, dword [esp + 0x50]
test edi, edi
je 0x41fa1f
jmp 0x41e715
fxch st(1)
fild qword [ebp + 0x20]
mov esi, dword [0xc07090]
cmp esi, 0xffffffff
fstp qword [esp + 0x68]
fld qword [esp + 0x68]
fsubr st(2)
fstp qword [esp + 0x68]
fld qword [esp + 0x68]
fld st(0)
fld st(0)
fadd st(3)
fstp qword [esp + 0x68]
fld qword [esp + 0x68]
je 0x41e8c0
cmp esi, 1
sete al
cmp esi, 0xfe
sete dl
or eax, edx
movzx eax, al
fldz
mov dword [ebp + 0x7c], eax
fucom st(3)
fnstsw ax
sahf
ja 0x41f960
fstp st(0)
cmp esi, 2
je 0x41f9ea
jg 0x41e7f5
fstp st(2)
fstp st(2)
test esi, esi
je 0x41e90d
fstp st(2)
fxch st(1)
cmp esi, 1
jne 0x41e819
jmp 0x41e7a9
fstp st(3)
fstp st(3)
fstp st(0)
jmp 0x41e7a9
fstp st(3)
fstp st(3)
fstp st(0)
jmp 0x41e7a9
fstp st(0)
fstp st(2)
fxch st(1)
fld dword [0xeea068]
fldz
fxch st(1)
fucom st(1)
fnstsw ax
fstp st(1)
sahf
jp 0x41e7c2
je 0x41e856
fucomp st(1)
fnstsw ax
sahf
jbe 0x41e858
mov edx, dword [ebp + 0x14]
test edx, edx
mov ecx, edx
je 0x41e85b
fstp st(0)
fstp st(0)
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
xor eax, eax
jmp 0x41e941
cmp esi, 0xfe
je 0x41f793
fstp st(0)
fstp st(0)
fstp st(0)
fstp st(0)
cmp esi, 0xff
je 0x41e911
fstp st(0)
jmp 0x41e81d
fstp st(0)
fstp st(0)
mov dword [esp + 0x14], 0x458
mov dword [esp + 0x10], str.ffmpeg.c
mov dword [esp + 0xc], 0xc27c43
mov dword [esp + 8], 0xc2774e
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00891920
call sub.msvcrt.dll_abort
fstp st(0)
mov ecx, dword [ebp + 0x14]
fld st(0)
fld xword [0xc28c70]
fucomp st(1)
fnstsw ax
sahf
ja 0x41f752
fld xword [0xc28c80]
fxch st(1)
fucomp st(1)
fnstsw ax
sahf
ja 0x41faf6
fstp st(0)
fstp st(0)
fstp st(0)
mov edx, ecx
mov dword [esp + 0x28], 1
mov dword [esp + 0x2c], 0
xor eax, eax
jmp 0x41e941
fldz
jmp 0x41e687
mov eax, dword [edx + 0x10]
xor ebx, ebx
mov edx, dword [eax]
mov eax, dword [edx + 0x7c]
test eax, eax
jg 0x41e63b
fldz
jmp 0x41e6f7
mov eax, dword [esp + 0x24]
mov edi, 0xc27bd1
mov ecx, 4
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov esi, dword [eax]
repe cmpsb byte [esi], byte es:[edi]
je 0x41f81f
mov eax, dword [eax + 0x1c]
test ah, 4
je 0x41fb33
test al, 0x80
sete al
movzx eax, al
mov esi, eax
xor eax, eax
add esi, esi
jmp 0x41e75b
fld xword [0xc28c90]
fxch st(1)
fucompp
fnstsw ax
sahf
jbe 0x41e92a
jmp 0x41e911
fstp st(0)
fstp st(0)
fistp dword [esp + 0x1b8]
mov eax, dword [esp + 0x1b8]
mov dword [ebp + 0x20], eax
sar eax, 0x1f
mov dword [ebp + 0x24], eax
jmp 0x41e92c
fstp st(0)
mov edx, dword [ebp + 0x14]
mov dword [esp + 0x28], 1
xor eax, eax
mov dword [esp + 0x2c], 0
mov esi, dword [ebp + 0x50]
mov edi, dword [ebp + 0x54]
mov ebx, edx
sar ebx, 0x1f
sub esi, edx
sbb edi, ebx
mov dword [esp + 0x48], esi
mov ebx, edi
mov edi, esi
mov esi, dword [esp + 0x2c]
mov ecx, ebx
mov ebx, dword [esp + 0x28]
cmp ecx, esi
jl 0x41e974
jg 0x41eb87
cmp edi, ebx
ja 0x41eb87
cmp eax, edi
mov dword [esp + 0x44], eax
jle 0x41e982
mov dword [esp + 0x44], edi
mov eax, edi
mov ecx, dword [ebp + 0x64]
mov ebx, dword [ebp + 0x68]
test eax, eax
mov dword [ebp + 0x64], eax
mov dword [ebp + 0x68], ecx
mov dword [ebp + 0x6c], ebx
jne 0x41f70c
mov eax, dword [ebp + 0x60]
test eax, eax
jne 0x41fa55
mov edi, dword [esp + 0x48]
mov esi, dword [esp + 0x44]
xor edx, edx
cmp edi, esi
setg dl
add eax, edx
cmp edi, eax
jle 0x41f71b
fld dword [0xc28c9c]
fmul dword [0xc07098]
fild dword [esp + 0x48]
fucompp
fnstsw ax
sahf
ja 0x41fa9d
mov ecx, dword [esp + 0x44]
xor eax, eax
test ecx, ecx
jne 0x41f745
mov esi, dword [esp + 0x48]
movzx eax, al
mov dword [esp + 8], str.__d_dup__n
mov dword [esp + 4], 0x28
mov dword [esp], 0
mov edi, esi
sub edi, eax
mov eax, edi
mov edi, esi
sub eax, edx
add dword [0xeea1f4], eax
lea eax, [esi - 1]
mov dword [esp + 0xc], eax
call fcn.00891920
mov esi, dword [esp + 0x50]
test esi, esi
setne byte [esp + 0x63]
xor eax, eax
cmp edi, dword [esp + 0x44]
movzx edx, byte [esp + 0x63]
sete al
and eax, edx
mov dword [ebp + 0x60], eax
mov ebx, ebp
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], 0
lea eax, [esp + 0x1b8]
mov dword [esp], eax
call fcn.005d0e60
mov edi, dword [esp + 0x30]
cmp dword [esp + 0x44], edi
mov dword [esp + 0x1d0], 0
mov dword [esp + 0x1d4], 0
jle 0x41f500
mov eax, dword [ebx + 0x5c]
test eax, eax
mov dword [esp + 0x40], eax
je 0x41f500
mov esi, dword [ebx + 0x20]
mov edi, dword [ebx + 0x24]
mov edx, dword [ebx]
mov dword [eax + 0x68], esi
mov dword [eax + 0x6c], edi
mov eax, dword [0xeea0a4]
mov eax, dword [eax + edx*4]
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov ecx, edx
not ecx
mov dword [esp + 0x38], ecx
mov ecx, eax
xor ecx, 0x7fffffff
or ecx, dword [esp + 0x38]
je 0x41eb9e
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], 0xf4240
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x44]
mov edx, dword [eax + 0x70]
mov eax, dword [eax + 0x6c]
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
sub esi, dword [ebx + 0x28]
sbb edi, dword [ebx + 0x2c]
mov dword [esp], esi
mov dword [esp + 4], edi
call fcn.00892760
test eax, eax
js 0x41eb94
mov edx, dword [ebx]
mov eax, dword [0xeea0a4]
mov ebp, ebx
mov ebx, dword [eax + edx*4]
or dword [ebp + 0x104], 1
mov ecx, dword [ebx + 0x28]
test ecx, ecx
je 0x41eb7c
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 0xf4240
mov eax, dword [ebp + 0x44]
mov edx, dword [eax + 0x70]
mov eax, dword [eax + 0x6c]
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x20]
sub eax, dword [ebp + 0x28]
mov edx, dword [ebp + 0x24]
sbb edx, dword [ebp + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00892710
mov ecx, dword [ebx + 0x14]
mov esi, dword [ebx + 0x10]
cmp ecx, edx
jl 0x41eb76
jg 0x41eb72
cmp esi, eax
jbe 0x41eb76
mov esi, eax
mov ecx, edx
mov dword [ebx + 0x10], esi
mov dword [ebx + 0x14], ecx
add esp, 0x20c
pop ebx
pop esi
pop edi
pop ebp
ret
mov edi, dword [esp + 0x28]
mov dword [esp + 0x48], edi
jmp 0x41e974
mov eax, dword [esp + 0x40]
mov esi, dword [eax + 0x68]
mov edi, dword [eax + 0x6c]
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov eax, dword [eax + 8]
test byte [eax + 0x1c], 0x20
je 0x41ebba
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0xc], 0xe
je 0x41f36c
test dword [ebp + 0x5c], 0x20040000
je 0x41ebdd
mov edx, dword [ebx + 0x84]
test edx, edx
js 0x41ebdd
mov ecx, dword [esp + 0x40]
setne al
movzx eax, al
mov dword [ecx + 0xd8], eax
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0xd4]
test eax, eax
je 0x41f515
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0xc], 8
mov eax, dword [esp + 0x40]
je 0x41f693
mov eax, dword [eax + 0xd8]
mov ecx, dword [esp + 0x4c]
test eax, eax
sete al
movzx eax, al
add eax, 4
mov dword [ecx + 0x40], eax
mov edx, dword [esp + 0x40]
mov eax, dword [ebp + 0x54]
mov dword [edx + 0x58], 0
mov dword [edx + 0x88], eax
lea edx, [edi - 0x80000000]
or edx, esi
je 0x41f650
fild dword [ebp + 0x6c]
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], edi
fild dword [ebp + 0x70]
fdivp st(1)
fstp qword [esp + 0x68]
fld qword [esp + 0x68]
fild qword [esp + 0x38]
fstp qword [esp + 0x68]
fld qword [esp + 0x68]
fmulp st(1)
fstp qword [esp + 0x68]
fld qword [esp + 0x68]
mov eax, dword [ebx + 0x9c]
cmp eax, dword [ebx + 0x98]
jge 0x41f480
mov edx, dword [ebx + 0x94]
cmp dword [edx + eax*8 + 4], edi
jg 0x41f480
jl 0x41ec95
cmp dword [edx + eax*8], esi
ja 0x41f480
add eax, 1
mov dword [ebx + 0x9c], eax
mov eax, dword [esp + 0x40]
mov dword [eax + 0x58], 1
fstp qword [esp + 0xc]
mov dword [esp + 8], str.Forced_keyframe_at_time__f_n
mov dword [esp + 4], 0x30
mov dword [esp], 0
call fcn.00891920
jmp 0x41ecd5
fstp st(0)
jmp 0x41ecd5
fstp st(0)
jmp 0x41ecd5
fstp st(0)
mov dword [esp], 0
call fcn.00419740
mov eax, dword [0xeea048]
test eax, eax
jne 0x41f540
add dword [ebx + 0x140], 1
mov eax, dword [esp + 0x40]
adc dword [ebx + 0x144], 0
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.00667b10
test eax, eax
js 0x41face
lea eax, [esp + 0x1b8]
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.00667ce0
mov esi, eax
mov eax, dword [ebx + 4]
mov dword [esp + 8], eax
mov eax, dword [ebx]
mov dword [esp], str.encode_video__d._d
mov dword [esp + 4], eax
call fcn.00419660
cmp esi, 0xfffffff5
je 0x41f400
test esi, esi
js 0x41face
mov edi, dword [0xeea048]
test edi, edi
jne 0x41ee10
mov eax, dword [esp + 0x1c4]
add eax, 0x80000000
or eax, dword [esp + 0x1c0]
je 0x41f1f0
mov eax, dword [ebx + 0xc]
mov edx, dword [eax + 0x2c]
mov eax, dword [eax + 0x28]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x6c]
mov edx, dword [ebp + 0x70]
mov dword [esp + 4], eax
lea eax, [esp + 0x1b8]
mov dword [esp + 8], edx
mov dword [esp], eax
call fcn.005d2800
mov eax, dword [0xeea048]
test eax, eax
jne 0x41eff3
mov eax, dword [esp + 0x1d4]
lea edx, [esp + 0x1b8]
mov ecx, ebx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x24]
call fcn.0041e400
mov eax, dword [ebx + 0xdc]
test eax, eax
je 0x41ed14
mov edx, dword [ebp + 0x294]
test edx, edx
je 0x41ed14
mov dword [esp + 8], edx
mov dword [esp + 4], 0xc26750
mov dword [esp], eax
call fcn.00416fa0
jmp 0x41ed14
mov eax, dword [esp + 0x1c8]
mov edx, dword [esp + 0x1cc]
xor ecx, ecx
mov dword [esp + ecx + 0x118], 0
add ecx, 4
cmp ecx, 0x20
jb 0x41ee20
lea esi, [edx - 0x80000000]
or esi, eax
je 0x41f31b
fild dword [ebp + 0x6c]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
lea eax, [esp + 0x118]
fild dword [ebp + 0x70]
mov dword [esp + 8], 0xc2739c
mov dword [esp + 4], 0x20
mov dword [esp], eax
fdivp st(1)
fstp qword [esp + 0x68]
fld qword [esp + 0x68]
fild qword [esp + 0x28]
fstp qword [esp + 0x68]
fld qword [esp + 0x68]
fmulp st(1)
fstp qword [esp + 0xc]
call fcn.00bd2660
mov ecx, dword [esp + 0x1c8]
mov edx, dword [esp + 0x1cc]
xor eax, eax
mov dword [esp + eax + 0xf8], 0
add eax, 4
cmp eax, 0x20
jb 0x41ee9a
lea eax, [edx - 0x80000000]
or eax, ecx
je 0x41f348
lea esi, [esp + 0xf8]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 8], 0xc273a1
mov dword [esp + 4], 0x20
mov dword [esp], esi
call fcn.00bd2660
mov eax, dword [esp + 0x1c0]
mov edx, dword [esp + 0x1c4]
xor ecx, ecx
mov dword [esp + ecx + 0xd8], 0
add ecx, 4
cmp ecx, 0x20
jb 0x41eef2
lea edi, [edx - 0x80000000]
or edi, eax
je 0x41f2ca
fild dword [ebp + 0x6c]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
lea eax, [esp + 0xd8]
fild dword [ebp + 0x70]
mov dword [esp + 8], 0xc2739c
mov dword [esp + 4], 0x20
mov dword [esp], eax
fdivp st(1)
fstp qword [esp + 0x68]
fld qword [esp + 0x68]
fild qword [esp + 0x28]
fstp qword [esp + 0x68]
fld qword [esp + 0x68]
fmulp st(1)
fstp qword [esp + 0xc]
call fcn.00bd2660
mov ecx, dword [esp + 0x1c0]
mov edx, dword [esp + 0x1c4]
xor eax, eax
mov dword [esp + eax + 0xb8], 0
add eax, 4
cmp eax, 0x20
jb 0x41ef6c
lea eax, [edx - 0x80000000]
or eax, ecx
je 0x41f2f7
lea edi, [esp + 0xb8]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 8], 0xc273a1
mov dword [esp + 4], 0x20
mov dword [esp], edi
call fcn.00bd2660
lea eax, [esp + 0x118]
mov dword [esp + 0x14], esi
mov dword [esp + 0xc], edi
mov dword [esp + 8], str.encoder____type:video_pkt_pts:_s_pkt_pts_time:_s_pkt_dts:_s_pkt_dts_time:_s_n
mov dword [esp + 4], 0x20
mov dword [esp + 0x18], eax
lea eax, [esp + 0xd8]
mov dword [esp], 0
mov dword [esp + 0x10], eax
call fcn.00891920
jmp 0x41ed61
mov ecx, dword [ebx + 0xc]
mov eax, dword [esp + 0x1c8]
xor esi, esi
mov edx, dword [esp + 0x1cc]
mov dword [esp + esi + 0x198], 0
add esi, 4
cmp esi, 0x20
jb 0x41f006
lea edi, [edx - 0x80000000]
or edi, eax
je 0x41f26e
fild dword [ecx + 0x28]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
lea eax, [esp + 0x198]
mov dword [esp + 0x40], eax
fild dword [ecx + 0x2c]
mov dword [esp + 8], 0xc2739c
mov dword [esp + 4], 0x20
mov dword [esp], eax
fdivp st(1)
fstp qword [esp + 0x68]
fld qword [esp + 0x68]
fild qword [esp + 0x28]
fstp qword [esp + 0x68]
fld qword [esp + 0x68]
fmulp st(1)
fstp qword [esp + 0xc]
call fcn.00bd2660
mov ecx, dword [esp + 0x1c8]
mov edx, dword [esp + 0x1cc]
xor eax, eax
mov dword [esp + eax + 0x178], 0
add eax, 4
cmp eax, 0x20
jb 0x41f084
lea eax, [edx - 0x80000000]
or eax, ecx
je 0x41fc0d
lea edi, [esp + 0x178]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 8], 0xc273a1
mov dword [esp + 4], 0x20
mov dword [esp], edi
call fcn.00bd2660
mov ecx, dword [ebx + 0xc]
mov eax, dword [esp + 0x1c0]
mov edx, dword [esp + 0x1c4]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
xor eax, eax
mov dword [esp + eax + 0x158], 0
add eax, 4
cmp eax, 0x20
jb 0x41f0e7
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
lea edx, [esi - 0x80000000]
or edx, eax
je 0x41f216
fild dword [ecx + 0x28]
lea esi, [esp + 0x158]
fild dword [ecx + 0x2c]
mov dword [esp + 8], 0xc2739c
mov dword [esp + 4], 0x20
mov dword [esp], esi
fdivp st(1)
fstp qword [esp + 0x68]
fld qword [esp + 0x68]
fild qword [esp + 0x28]
fstp qword [esp + 0x68]
fld qword [esp + 0x68]
fmulp st(1)
fstp qword [esp + 0xc]
call fcn.00bd2660
mov ecx, dword [esp + 0x1c0]
mov edx, dword [esp + 0x1c4]
xor eax, eax
mov dword [esp + eax + 0x138], 0
add eax, 4
cmp eax, 0x20
jb 0x41f161
lea eax, [edx - 0x80000000]
or eax, ecx
je 0x41f24a
mov dword [esp + 0x10], edx
lea edx, [esp + 0x138]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], 0xc273a1
mov dword [esp + 4], 0x20
mov dword [esp], edx
mov dword [esp + 0x28], edx
call fcn.00bd2660
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], edx
mov dword [esp + 8], str.encoder____type:video_pkt_pts:_s_pkt_pts_time:_s_pkt_dts:_s_pkt_dts_time:_s_n
mov dword [esp + 4], 0x20
mov dword [esp + 0x18], eax
mov dword [esp], 0
call fcn.00891920
jmp 0x41edb5
mov eax, dword [ebp + 0xc]
test byte [eax + 0x10], 0x20
jne 0x41ed7a
mov eax, dword [ebx + 0x20]
mov edx, dword [ebx + 0x24]
mov dword [esp + 0x1c0], eax
mov dword [esp + 0x1c4], edx
jmp 0x41ed7a
mov eax, 0x53
lea esi, [esp + 0x158]
mov dword [esp + 0x158], 0x54504f4e
mov word [esp + 0x15c], ax
xor eax, eax
mov dword [esp + eax + 0x138], 0
add eax, 4
cmp eax, 0x20
jb 0x41f237
mov eax, 0x53
lea edx, [esp + 0x138]
mov dword [esp + 0x138], 0x54504f4e
mov word [esp + 0x13c], ax
jmp 0x41f1b1
lea eax, [esp + 0x198]
mov dword [esp + 0x198], 0x54504f4e
mov dword [esp + 0x40], eax
mov eax, 0x53
mov word [esp + 0x19c], ax
xor eax, eax
mov dword [esp + eax + 0x178], 0
add eax, 4
cmp eax, 0x20
jb 0x41f293
mov eax, 0x53
lea edi, [esp + 0x178]
mov dword [esp + 0x178], 0x54504f4e
mov word [esp + 0x17c], ax
jmp 0x41f0cf
mov edx, 0x53
mov dword [esp + 0xd8], 0x54504f4e
xor eax, eax
mov word [esp + 0xdc], dx
mov dword [esp + eax + 0xb8], 0
add eax, 4
cmp eax, 0x20
jb 0x41f2e4
mov eax, 0x53
lea edi, [esp + 0xb8]
mov dword [esp + 0xb8], 0x54504f4e
mov word [esp + 0xbc], ax
jmp 0x41efb4
mov esi, 0x53
mov dword [esp + 0x118], 0x54504f4e
xor eax, eax
mov word [esp + 0x11c], si
mov dword [esp + eax + 0xf8], 0
add eax, 4
cmp eax, 0x20
jb 0x41f335
mov ecx, 0x53
lea esi, [esp + 0xf8]
mov dword [esp + 0xf8], 0x54504f4e
mov word [esp + 0xfc], cx
jmp 0x41eee2
mov eax, dword [esp + 0x40]
mov edx, dword [eax + 0xd4]
test edx, edx
je 0x41f6b0
mov ecx, dword [eax + 0xd8]
xor eax, eax
test ecx, ecx
mov ecx, dword [esp + 0x4c]
sete al
add eax, 4
mov dword [ecx + 0x40], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x1d4], 0x40
mov dword [esp + 0x1d0], eax
mov eax, dword [ebx + 0xc]
mov edx, dword [eax + 0x2c]
mov eax, dword [eax + 0x28]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x6c]
mov edx, dword [ebp + 0x70]
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
call fcn.00892710
mov dword [esp + 0x1c0], eax
mov eax, dword [esp + 0x24]
mov ecx, ebx
mov dword [esp + 0x1c4], edx
lea edx, [esp + 0x1b8]
or dword [esp + 0x1dc], 1
call fcn.0041e400
nop
mov ecx, dword [0x1019f48]
add dword [ebx + 0x20], 1
adc dword [ebx + 0x24], 0
add dword [ebx + 0x14], 1
test ecx, ecx
je 0x41f427
mov eax, dword [esp + 0x28]
test eax, eax
je 0x41f427
mov edx, eax
mov eax, ebx
call fcn.00416fd0
add dword [esp + 0x30], 1
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x48], eax
jne 0x41ea54
mov ebp, ebx
mov eax, dword [ebp + 0x5c]
test eax, eax
je 0x41fc00
mov dword [esp], eax
call fcn.0088c270
cmp byte [esp + 0x63], 0
je 0x41f950
mov eax, dword [ebp + 0x5c]
test eax, eax
je 0x41f950
mov edi, dword [esp + 0x50]
mov dword [esp], eax
mov dword [esp + 4], edi
call fcn.0088ca00
add esp, 0x20c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebx + 0xa4]
test eax, eax
je 0x41f660
fst qword [ebx + 0xc8]
lea edx, [ebx + 0xa8]
mov dword [esp], eax
mov dword [esp + 8], 0
fstp qword [esp + 0x38]
mov dword [esp + 4], edx
call fcn.008887f0
fldz
fxch st(1)
fucompp
fnstsw ax
sahf
fld qword [esp + 0x38]
jp 0x41f4c3
je 0x41f525
fld qword [ebx + 0xa8]
mov eax, dword [esp + 0x40]
fst qword [ebx + 0xb8]
fld qword [ebx + 0xc8]
fstp qword [ebx + 0xc0]
fld1
fld st(0)
fadd qword [ebx + 0xb0]
fstp qword [ebx + 0xb0]
faddp st(1)
fstp qword [ebx + 0xa8]
jmp 0x41eca2
mov eax, dword [esp + 0x50]
test eax, eax
je 0x41eb7c
mov dword [esp + 0x40], eax
jmp 0x41ea96
mov eax, dword [esp + 0x4c]
mov dword [eax + 0x40], 1
jmp 0x41ec18
fstp st(0)
fld1
fadd qword [ebx + 0xa8]
fstp qword [ebx + 0xa8]
jmp 0x41ecd5
mov eax, dword [ebp + 0x70]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x6c]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x40]
mov esi, dword [eax + 0x68]
mov edi, dword [eax + 0x6c]
xor eax, eax
mov dword [esp + eax + 0x98], 0
add eax, 4
cmp eax, 0x20
jb 0x41f55a
lea edx, [edi - 0x80000000]
or edx, esi
je 0x41f6c0
fild dword [esp + 0x38]
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], edi
lea esi, [esp + 0x98]
mov dword [esp + 8], 0xc2739c
mov dword [esp + 4], 0x20
mov dword [esp], esi
fild dword [esp + 0x54]
fdivrp st(1)
fstp qword [esp + 0x68]
fld qword [esp + 0x68]
fild qword [esp + 0x58]
fstp qword [esp + 0x68]
fld qword [esp + 0x68]
fmulp st(1)
fstp qword [esp + 0xc]
call fcn.00bd2660
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 0x68]
mov edx, dword [eax + 0x6c]
xor eax, eax
mov dword [esp + eax + 0x78], 0
add eax, 4
cmp eax, 0x20
jb 0x41f5d2
lea eax, [edx - 0x80000000]
or eax, ecx
je 0x41f6f1
lea edi, [esp + 0x78]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 8], 0xc273a1
mov dword [esp + 4], 0x20
mov dword [esp], edi
call fcn.00bd2660
mov eax, dword [esp + 0x38]
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], edi
mov dword [esp + 8], str.encoder____type:video_frame_pts:_s_frame_pts_time:_s_time_base:_d__d_n
mov dword [esp + 4], 0x20
mov dword [esp], 0
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x14], eax
call fcn.00891920
jmp 0x41ecee
fld dword [0xc28c18]
jmp 0x41ec68
mov esi, dword [ebx + 0xa0]
test esi, esi
je 0x41eccb
mov edi, 0xc276e6
mov ecx, 6
repe cmpsb byte [esi], byte es:[edi]
jne 0x41eccf
mov eax, dword [esp + 0x40]
cmp dword [eax + 0x54], 1
jne 0x41ecd3
jmp 0x41eca2
mov eax, dword [eax + 0xd8]
mov ecx, dword [esp + 0x4c]
test eax, eax
sete al
movzx eax, al
add eax, 2
mov dword [ecx + 0x40], eax
jmp 0x41ec18
mov eax, dword [esp + 0x4c]
mov dword [eax + 0x40], 1
jmp 0x41f395
mov eax, 0x53
lea esi, [esp + 0x98]
mov dword [esp + 0x98], 0x54504f4e
mov word [esp + 0x9c], ax
xor eax, eax
mov dword [esp + eax + 0x78], 0
add eax, 4
cmp eax, 0x20
jb 0x41f6e1
mov eax, 0x53
lea edi, [esp + 0x78]
mov dword [esp + 0x78], 0x54504f4e
mov word [esp + 0x7c], ax
jmp 0x41f614
mov edx, dword [ebp + 0x60]
xor eax, eax
test edx, edx
setne al
jmp 0x41e9a4
mov ebx, dword [esp + 0x50]
test ebx, ebx
setne byte [esp + 0x63]
movzx edx, byte [esp + 0x63]
cmp edi, esi
sete al
movzx eax, al
and eax, edx
test edi, edi
mov dword [ebp + 0x60], eax
jg 0x41ea3e
jmp 0x41f43c
mov edi, dword [ebp + 0x60]
test edi, edi
setne al
jmp 0x41e9e6
fstp st(0)
fstp st(0)
fstp st(0)
mov edx, ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
xor eax, eax
jmp 0x41e941
mov edx, dword [eax + 0x2c]
or edx, dword [eax + 0x28]
jne 0x41fb4d
fldz
mov dword [ebp + 0x7c], 1
fucom st(3)
fnstsw ax
sahf
ja 0x41fbe7
fstp st(0)
mov ebx, dword [ebp + 0x14]
test ebx, ebx
jne 0x41e793
fld dword [0xc28c6c]
fxch st(3)
fucom st(3)
fnstsw ax
fstp st(3)
sahf
jb 0x41e79b
fstp st(0)
fstp st(0)
fxch st(2)
fstp qword [esp + 0x30]
fstp qword [esp + 0x28]
fstp dword [esp + 0x64]
fld dword [esp + 0x64]
fistp dword [esp + 0x1b8]
mov eax, dword [esp + 0x1b8]
mov dword [esp + 8], str.Not_duplicating__d_initial_frames_n
mov dword [esp + 4], 0x30
mov dword [esp], 0
mov dword [esp + 0xc], eax
call fcn.00891920
fld qword [esp + 0x30]
fistp dword [esp + 0x1b8]
mov eax, dword [esp + 0x1b8]
fld qword [esp + 0x28]
mov dword [ebp + 0x20], eax
sar eax, 0x1f
mov dword [ebp + 0x24], eax
fldz
fxch st(1)
jmp 0x41e7a9
mov esi, 2
xor eax, eax
jmp 0x41e75b
fstp st(1)
fstp qword [esp + 0x68]
mov eax, dword [ebp + 0xec]
fld qword [esp + 0x68]
test eax, eax
jne 0x41e705
mov eax, dword [ebp + 0xe8]
test eax, eax
jne 0x41e705
mov esi, dword [esp + 0x50]
test esi, esi
je 0x41e705
test ebx, ebx
je 0x41e705
fxch st(1)
fstp qword [esp + 0x38]
mov dword [esp], esi
fstp qword [esp + 0x30]
call fcn.0088b8c0
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x2c], edx
mov edi, dword [esp + 0x40]
fild dword [eax + 0x28]
fild dword [eax + 0x2c]
fdivp st(1)
fstp qword [esp + 0x68]
fld qword [esp + 0x68]
fild qword [esp + 0x28]
fstp qword [esp + 0x68]
fld qword [esp + 0x68]
fmulp st(1)
fild dword [edi + 0x6c]
fild dword [edi + 0x70]
fdivp st(1)
fstp qword [esp + 0x68]
fld qword [esp + 0x68]
fdivp st(1)
fstp dword [esp + 0x64]
fld dword [esp + 0x64]
fistp dword [esp + 0x1b8]
mov eax, dword [esp + 0x1b8]
fld qword [esp + 0x30]
fld qword [esp + 0x38]
test eax, eax
jle 0x41e713
fstp st(1)
mov dword [esp], esi
fstp qword [esp + 0x30]
call fcn.0088b8c0
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x2c], edx
fild dword [eax + 0x28]
fild dword [eax + 0x2c]
fdivp st(1)
fstp qword [esp + 0x68]
fld qword [esp + 0x68]
fild qword [esp + 0x28]
fstp qword [esp + 0x68]
fld qword [esp + 0x68]
fmulp st(1)
fild dword [edi + 0x6c]
fild dword [edi + 0x70]
fdivp st(1)
fstp qword [esp + 0x68]
fld qword [esp + 0x68]
fdivp st(1)
fstp dword [esp + 0x64]
fld dword [esp + 0x64]
fistp dword [esp + 0x1b8]
fild dword [esp + 0x1b8]
fld qword [esp + 0x30]
fxch st(1)
jmp 0x41e715
lea eax, [ebp + 0x5c]
mov dword [esp], eax
call fcn.0088bc50
jmp 0x41eb7c
fxch st(1)
fucom st(1)
fnstsw ax
fstp st(1)
sahf
jbe 0x41e76d
test esi, esi
je 0x41e76d
cmp esi, 0xff
je 0x41e76d
fstp st(4)
fstp st(2)
fxch st(2)
jmp 0x41f991
fstp st(4)
fstp st(2)
fxch st(2)
fld xword [0xc28c60]
fucomp st(2)
fnstsw ax
fstp st(1)
fstp qword [esp + 0x28]
sahf
fchs
fstp qword [esp + 0xc]
jbe 0x41fb92
mov dword [esp + 8], str.Past_duration__f_too_large_n
mov dword [esp + 4], 0x18
mov dword [esp], 0
call fcn.00891920
fld qword [esp + 0x28]
fild qword [ebp + 0x20]
fstp qword [esp + 0x68]
fld qword [esp + 0x68]
fld st(1)
fldz
fld st(0)
fxch st(2)
fxch st(3)
fxch st(4)
jmp 0x41e76d
fstp st(3)
fstp st(0)
fstp st(0)
fld xword [0xc28c60]
fucomp st(1)
fnstsw ax
sahf
jb 0x41e8fc
fstp st(0)
fstp st(0)
mov edx, dword [ebp + 0x14]
mov dword [esp + 0x28], 0
xor eax, eax
mov dword [esp + 0x2c], 0
jmp 0x41e941
fstp st(0)
fstp st(0)
mov eax, dword [ebp + 0x68]
mov ecx, dword [ebp + 0x6c]
mov edx, dword [ebp + 0x64]
mov edi, eax
cmp edx, edi
cmovg eax, edx
cmovg edx, edi
cmp edx, ecx
cmovl edx, ecx
cmp eax, edx
cmovg eax, edx
mov edi, eax
mov dword [esp + 0x28], eax
mov edx, dword [ebp + 0x14]
sar edi, 0x1f
mov dword [esp + 0x2c], edi
jmp 0x41e941
mov eax, dword [ebp + 0x5c]
add dword [0xeea1f0], 1
mov ecx, dword [eax + 0x68]
mov ebx, dword [eax + 0x6c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ebx
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [esp + 0xc], edx
mov dword [esp + 8], str._dropping_frame__d_from_stream__d_at_ts__I64d_n
mov dword [esp + 4], 0x28
mov dword [esp], 0
mov dword [esp + 0x10], eax
call fcn.00891920
xor eax, eax
jmp 0x41e9a4
mov eax, edi
mov dword [esp + 8], str._d_frame_duplication_too_large__skipping_n
mov dword [esp + 4], 0x10
sub eax, 1
mov dword [esp], 0
mov dword [esp + 0xc], eax
call fcn.00891920
add dword [0xeea1f0], 1
jmp 0x41eb7c
mov dword [esp + 8], str.Video_encoding_failed_n
mov dword [esp + 4], 8
mov dword [esp], 0
call fcn.00891920
mov dword [esp], 1
call fcn.00401b80
fxch st(1)
fstp dword [esp + 0x64]
fld dword [esp + 0x64]
fistp dword [esp + 0x1b8]
fxch st(1)
fucom st(1)
fnstsw ax
fstp st(1)
sahf
mov esi, dword [esp + 0x1b8]
ja 0x41fbb7
fstp st(0)
mov eax, esi
mov dword [esp + 0x28], esi
cdq
xor eax, eax
mov dword [esp + 0x2c], edx
mov edx, ecx
jmp 0x41e941
test ebx, ebx
je 0x41fb4d
mov edx, dword [ebx]
mov eax, dword [0xeea0b4]
mov eax, dword [eax + edx*4]
mov edx, dword [eax]
cmp dword [edx + 0x18], 1
je 0x41f771
mov esi, dword [0xeea050]
test esi, esi
jne 0x41f77d
fstp st(4)
fstp st(2)
fxch st(2)
fldz
mov dword [ebp + 0x7c], 1
fucom st(3)
fnstsw ax
sahf
jbe 0x41e7a3
fxch st(1)
fucom st(1)
fnstsw ax
fstp st(1)
sahf
mov esi, 1
ja 0x41f991
fstp st(2)
fxch st(1)
jmp 0x41e7a9
mov dword [esp + 8], str.Clipping_frame_in_rate_conversion_by__f_n
mov dword [esp + 4], 0x30
mov dword [esp], 0
call fcn.00891920
fld qword [esp + 0x28]
jmp 0x41f9ce
fld xword [0xc28c90]
fsubp st(1)
fstp dword [esp + 0x64]
fld dword [esp + 0x64]
fistp dword [esp + 0x1b8]
mov eax, esi
mov dword [esp + 0x28], esi
cdq
mov eax, dword [esp + 0x1b8]
mov dword [esp + 0x2c], edx
mov edx, ecx
jmp 0x41e941
fxch st(1)
fucom st(1)
fnstsw ax
fstp st(1)
sahf
mov esi, 0xfe
ja 0x41f98b
jmp 0x41f793
call fcn.0088bb20
mov dword [ebp + 0x5c], eax
jmp 0x41f447
mov ecx, dword [ebx + 0xc]
jmp 0x41f2a6