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

Disassembly:
push ebp
mov ebp, edx
push edi
push esi
push ebx
sub esp, 0x14c
mov dword [esp + 0x3c], eax
mov eax, dword [edx + 0x50]
fld qword [esp + 0x160]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x48], eax
mov eax, dword [edx + 0xc]
mov eax, dword [eax + 0xb0]
fstp qword [esp + 0x28]
mov dword [esp + 0x58], eax
mov eax, dword [edx + 0x108]
mov edx, dword [eax]
mov eax, dword [ebp + 8]
test eax, eax
js 0x41ef3d
mov ecx, dword [0x4480dc]
mov ebx, dword [ecx + eax*4]
mov dword [esp], edx
call sub.avfilter_7.dll_av_buffersink_get_frame_rate
fld qword [esp + 0x28]
test eax, eax
jle 0x41e579
test edx, edx
jle 0x41e579
mov esi, dword [esp + 0x48]
fild dword [esi + 0x4c]
fild dword [esi + 0x50]
fdivp st(1)
fstp qword [esp + 0x28]
fld qword [esp + 0x28]
mov dword [esp + 0x28], eax
fild dword [esp + 0x28]
mov dword [esp + 0x28], edx
fild dword [esp + 0x28]
fdivp st(1)
fstp qword [esp + 0x28]
fld qword [esp + 0x28]
fmulp st(1)
fdivr dword [0x441800]
fstp qword [esp + 0x28]
fld qword [esp + 0x28]
test ebx, ebx
je 0x41e024
mov eax, dword [ebx + 4]
mov esi, dword [eax + 0x1c]
lea edx, [esi - 0x80000000]
or edx, dword [eax + 0x18]
je 0x41e024
mov esi, dword [eax + 0xc4]
lea edx, [esi - 0x80000000]
or edx, dword [eax + 0xc0]
je 0x41e024
mov eax, dword [ebp + 0x84]
test eax, eax
jne 0x41f158
jmp 0x41e024
fstp st(0)
mov ecx, dword [ebp + 0x114]
test ecx, ecx
je 0x41ef67
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x41eff0
fld st(1)
mov esi, dword [0x436020]
fild qword [ebp + 0x20]
fld st(0)
fsubr st(4)
fstp qword [esp + 0x28]
fld qword [esp + 0x28]
fld st(0)
fld st(1)
fadd st(5)
fstp qword [esp + 0x28]
fld qword [esp + 0x28]
cmp esi, 0xffffffff
je 0x41f02c
cmp esi, 1
fldz
sete al
cmp esi, 0xfe
sete dl
or eax, edx
fcomi st(3)
movzx eax, al
mov dword [ebp + 0x8c], eax
ja 0x41f25f
fstp st(0)
fstp st(4)
fstp st(2)
fxch st(2)
jmp 0x41e0b0
fstp st(4)
fstp st(2)
fxch st(2)
jmp 0x41e0b0
fstp st(4)
fstp st(2)
fxch st(2)
jmp 0x41e0b0
fstp st(4)
fstp st(2)
fxch st(2)
cmp esi, 2
je 0x41f07b
jg 0x41ee77
fstp st(2)
fstp st(2)
test esi, esi
je 0x41ee48
fstp st(2)
fxch st(1)
cmp esi, 1
jne 0x41f487
jmp 0x41e0e0
fstp st(3)
fstp st(3)
fstp st(0)
mov edi, dword [ebp + 0x14]
jmp 0x41e0eb
fstp st(3)
fstp st(3)
fstp st(0)
fldz
fld dword [0x448070]
fucomi st(1)
fstp st(1)
jp 0x41f131
jne 0x41f131
fstp st(0)
jmp 0x41e10d
fstp st(3)
fstp st(3)
fstp st(0)
fld st(0)
fld xword [0x441850]
fcompi st(1)
jbe 0x41f0d9
fstp st(0)
fstp st(0)
fstp st(0)
jmp 0x41e129
fstp st(0)
fstp st(0)
mov dword [esp + 0x28], 0
xor esi, esi
mov dword [esp + 0x2c], 0
jmp 0x41e141
fstp st(0)
fstp st(0)
mov eax, dword [ebp + 0x60]
mov edx, dword [ebp + 0x64]
mov ebx, edi
sar ebx, 0x1f
sub eax, edi
sbb edx, ebx
mov ecx, eax
cmp dword [esp + 0x28], eax
mov eax, dword [esp + 0x2c]
sbb eax, edx
mov eax, dword [esp + 0x28]
mov edx, dword [ebp + 0x78]
cmovge eax, ecx
mov dword [ebp + 0x7c], edx
cmp esi, eax
mov dword [esp + 0x50], eax
cmovle eax, esi
mov ebx, eax
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 0x74]
mov dword [ebp + 0x74], ebx
mov dword [ebp + 0x78], eax
mov eax, dword [ebp + 0x70]
test ebx, ebx
jne 0x41ef30
test eax, eax
jne 0x41f217
mov ebx, dword [esp + 0x50]
mov edi, dword [esp + 0x54]
xor edx, edx
cmp ebx, edi
setg dl
add eax, edx
cmp eax, ebx
jge 0x41ef00
fld dword [0x44187c]
fmul dword [0x436028]
lea eax, [ebx - 1]
fild dword [esp + 0x50]
fcompi st(1)
fstp st(0)
ja 0x41f337
mov edi, dword [esp + 0x54]
mov ecx, ebx
test edi, edi
jne 0x41f0cc
mov dword [esp + 0xc], eax
sub ecx, edx
mov dword [esp + 8], str.__d_dup__n
mov dword [esp + 4], 0x28
mov dword [esp], 0
add dword [0x448224], ecx
call sub.avutil_56.dll_av_log
mov eax, dword [0x4360ac]
cmp dword [0x448224], eax
ja 0x41f303
mov eax, dword [esp + 0x5c]
test eax, eax
setne byte [esp + 0x6f]
xor eax, eax
movzx ebx, byte [esp + 0x6f]
cmp esi, dword [esp + 0x50]
setge al
and eax, ebx
mov dword [ebp + 0x70], eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x4c], 0
nop
lea eax, [esp + 0xf8]
mov dword [esp], eax
call sub.avcodec_58.dll_av_init_packet
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x110], 0
mov dword [esp + 0x114], 0
cmp dword [esp + 0x54], ebx
jle 0x41eb80
mov eax, dword [ebp + 0x6c]
mov dword [esp + 0x30], eax
test eax, eax
je 0x41eb80
mov eax, dword [esp + 0x30]
mov esi, dword [ebp + 0x20]
mov edi, dword [ebp + 0x24]
mov edx, dword [ebp]
mov dword [eax + 0x68], esi
mov dword [eax + 0x6c], edi
mov eax, dword [0x4480c4]
mov eax, dword [eax + edx*4]
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov ecx, edx
mov ebx, eax
not ecx
xor ebx, 0x7fffffff
or ebx, ecx
je 0x41e300
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x50]
mov dword [esp + 0x18], 1
sub esi, dword [ebp + 0x28]
mov dword [esp + 0x1c], 0xf4240
sbb edi, dword [ebp + 0x2c]
mov dword [esp + 0x10], edx
mov edx, dword [eax + 0x50]
mov eax, dword [eax + 0x4c]
mov dword [esp], esi
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov dword [esp + 4], edi
call sub.avutil_56.dll_av_compare_ts
test eax, eax
jns 0x41ed62
mov eax, dword [esp + 0x30]
mov esi, dword [eax + 0x68]
mov edi, dword [eax + 0x6c]
mov eax, dword [esp + 0x48]
test dword [eax + 0x3c], 0x20040000
je 0x41e327
mov ecx, dword [ebp + 0x94]
test ecx, ecx
js 0x41e327
mov ebx, dword [esp + 0x30]
setne al
movzx eax, al
mov dword [ebx + 0xd8], eax
mov eax, dword [esp + 0x30]
mov edx, dword [eax + 0xd4]
test edx, edx
je 0x41eb98
mov ebx, dword [esp + 0x48]
mov eax, dword [eax + 0xd8]
mov edx, dword [ebx + 0xc]
test eax, eax
sete al
cmp dword [edx + 0xc], 7
movzx eax, al
je 0x41ed53
mov ebx, dword [esp + 0x58]
add eax, 4
mov dword [ebx + 0x40], eax
mov eax, dword [esp + 0x48]
mov ebx, dword [esp + 0x30]
mov edx, dword [ebp + 0xb4]
mov eax, dword [eax + 0x34]
mov dword [ebx + 0x58], 0
mov dword [ebx + 0x88], eax
mov eax, dword [ebp + 0xb0]
lea ebx, [edx - 0x80000000]
or ebx, eax
je 0x41ebf0
lea ebx, [edi - 0x80000000]
or ebx, esi
je 0x41ed30
mov ebx, dword [esp + 0x48]
mov ecx, esi
sub ecx, eax
fild dword [ebx + 0x4c]
fild dword [ebx + 0x50]
mov ebx, edi
sbb ebx, edx
fdivp st(1)
fstp qword [esp + 0x40]
fld qword [esp + 0x40]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ebx
fild qword [esp + 0x40]
fmulp st(1)
fstp qword [esp + 0x40]
mov eax, dword [ebp + 0xc0]
cmp eax, dword [ebp + 0xbc]
jge 0x41eb00
mov edx, dword [ebp + 0xb8]
cmp esi, dword [edx + eax*8]
mov esi, edi
sbb esi, dword [edx + eax*8 + 4]
jl 0x41eb00
add eax, 1
mov dword [ebp + 0xc0], eax
mov eax, dword [esp + 0x30]
fld qword [esp + 0x40]
mov dword [eax + 0x58], 1
mov dword [esp + 8], str.Forced_keyframe_at_time__f_n
mov dword [esp + 4], 0x30
mov dword [esp], 0
fstp qword [esp + 0xc]
call sub.avutil_56.dll_av_log
mov dword [esp], 0
call fcn.0041b0d0
mov eax, dword [0x448050]
test eax, eax
jne 0x41ec18
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x48]
add dword [ebp + 0x168], 1
adc dword [ebp + 0x16c], 0
mov dword [esp + 4], esi
mov dword [esp], edi
call sub.avcodec_58.dll_avcodec_send_frame
test eax, eax
js 0x41f369
mov dword [esp + 4], 1
xor ebx, ebx
mov dword [esp], esi
call sub.avutil_56.dll_av_frame_remove_side_data
lea esi, [esi]
lea eax, [esp + 0xf8]
mov dword [esp], edi
mov dword [esp + 4], eax
call sub.avcodec_58.dll_avcodec_receive_packet
mov dword [esp], str.encode_video__d._d
mov esi, eax
mov eax, dword [ebp + 4]
mov dword [esp + 8], eax
mov eax, dword [ebp]
mov dword [esp + 4], eax
call fcn.0041b340
cmp esi, 0xfffffff5
je 0x41ea80
test esi, esi
js 0x41f369
mov eax, dword [0x448050]
test eax, eax
jne 0x41e5b0
mov eax, dword [esp + 0x104]
add eax, 0x80000000
or eax, dword [esp + 0x100]
je 0x41e580
mov eax, dword [ebp + 0x38]
mov edx, dword [ebp + 0x3c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
mov eax, dword [edi + 0x4c]
mov edx, dword [edi + 0x50]
mov dword [esp + 4], eax
lea eax, [esp + 0xf8]
mov dword [esp + 8], edx
mov dword [esp], eax
call sub.avcodec_58.dll_av_packet_rescale_ts
mov esi, dword [0x448050]
test esi, esi
jne 0x41e770
mov eax, dword [esp + 0x114]
mov ecx, ebp
lea edx, [esp + 0xf8]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x3c]
call fcn.0041dde0
mov eax, dword [ebp + 0x104]
test eax, eax
je 0x41e488
mov edx, dword [edi + 0x22c]
test edx, edx
je 0x41e488
mov dword [esp + 8], edx
mov dword [esp + 4], 0x43fb43
mov dword [esp], eax
call fcn.00417c70
jmp 0x41e488
fldz
jmp 0x41dfe9
mov eax, dword [edi + 0xc]
test byte [eax + 0x10], 0x20
jne 0x41e4ee
mov eax, dword [ebp + 0x20]
mov edx, dword [ebp + 0x24]
mov dword [esp + 0x100], eax
mov dword [esp + 0x104], edx
jmp 0x41e4ee
mov eax, dword [esp + 0x108]
mov edx, dword [esp + 0x10c]
xor ecx, ecx
mov dword [esp + ecx + 0xd8], ebx
add ecx, 4
cmp ecx, 0x20
jb 0x41e5c0
lea esi, [edx - 0x80000000]
or esi, eax
je 0x41e980
fild dword [edi + 0x4c]
fild dword [edi + 0x50]
mov dword [esp + 8], str._.6g
mov dword [esp + 4], 0x20
fdivp st(1)
fstp qword [esp + 0x28]
fld qword [esp + 0x28]
mov dword [esp + 0x28], eax
lea eax, [esp + 0xd8]
mov dword [esp + 0x2c], edx
fild qword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 0x30], eax
fmulp st(1)
fstp qword [esp + 0xc]
call fcn.00417c40
mov ecx, dword [esp + 0x108]
mov edx, dword [esp + 0x10c]
xor eax, eax
mov dword [esp + eax + 0xb8], ebx
add eax, 4
cmp eax, 0x20
jb 0x41e632
lea eax, [edx - 0x80000000]
or eax, ecx
je 0x41e958
lea eax, [esp + 0xb8]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 8], str._lld
mov dword [esp + 4], 0x20
mov dword [esp], eax
mov dword [esp + 0x28], eax
call fcn.00417c40
mov edx, dword [esp + 0x100]
mov ecx, dword [esp + 0x104]
xor eax, eax
mov dword [esp + eax + 0x98], ebx
add eax, 4
cmp eax, 0x20
jb 0x41e68a
lea esi, [ecx - 0x80000000]
or esi, edx
je 0x41e9e0
fild dword [edi + 0x4c]
lea esi, [esp + 0x98]
fild dword [edi + 0x50]
mov dword [esp + 8], str._.6g
mov dword [esp + 4], 0x20
mov dword [esp], esi
fdivp st(1)
fstp qword [esp + 0x40]
fld qword [esp + 0x40]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ecx
fild qword [esp + 0x40]
fmulp st(1)
fstp qword [esp + 0xc]
call fcn.00417c40
mov ecx, dword [esp + 0x100]
mov edx, dword [esp + 0x104]
xor eax, eax
mov dword [esp + eax + 0x78], ebx
add eax, 4
cmp eax, 0x20
jb 0x41e6f8
lea eax, [edx - 0x80000000]
or eax, ecx
je 0x41ea58
lea eax, [esp + 0x78]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 8], str._lld
mov dword [esp + 4], 0x20
mov dword [esp], eax
call fcn.00417c40
mov eax, dword [esp + 0x30]
mov dword [esp + 0x10], esi
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 + 0x18], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 4], 0x20
mov dword [esp + 0x14], eax
lea eax, [esp + 0x78]
mov dword [esp + 0xc], eax
mov dword [esp], ebx
call sub.avutil_56.dll_av_log
jmp 0x41e4d5
mov eax, dword [esp + 0x108]
mov edx, dword [esp + 0x10c]
xor ecx, ecx
mov dword [esp + ecx + 0xd8], ebx
add ecx, 4
cmp ecx, 0x20
jb 0x41e780
lea esi, [edx - 0x80000000]
or esi, eax
je 0x41e9b0
fild dword [ebp + 0x38]
mov dword [esp + 8], str._.6g
mov dword [esp + 4], 0x20
fild dword [ebp + 0x3c]
fdivp st(1)
fstp qword [esp + 0x28]
fld qword [esp + 0x28]
mov dword [esp + 0x28], eax
lea eax, [esp + 0xd8]
mov dword [esp + 0x2c], edx
fild qword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 0x30], eax
fmulp st(1)
fstp qword [esp + 0xc]
call fcn.00417c40
mov ecx, dword [esp + 0x108]
mov edx, dword [esp + 0x10c]
xor eax, eax
mov dword [esp + eax + 0xb8], ebx
add eax, 4
cmp eax, 0x20
jb 0x41e7f2
lea eax, [edx - 0x80000000]
or eax, ecx
je 0x41ea08
lea eax, [esp + 0xb8]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 8], str._lld
mov dword [esp + 4], 0x20
mov dword [esp], eax
mov dword [esp + 0x28], eax
call fcn.00417c40
mov edx, dword [esp + 0x100]
mov ecx, dword [esp + 0x104]
xor eax, eax
mov dword [esp + eax + 0x98], ebx
add eax, 4
cmp eax, 0x20
jb 0x41e84a
lea esi, [ecx - 0x80000000]
or esi, edx
je 0x41e930
fild dword [ebp + 0x38]
lea esi, [esp + 0x98]
mov dword [esp + 8], str._.6g
mov dword [esp + 4], 0x20
fild dword [ebp + 0x3c]
mov dword [esp], esi
fdivp st(1)
fstp qword [esp + 0x40]
fld qword [esp + 0x40]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ecx
fild qword [esp + 0x40]
fmulp st(1)
fstp qword [esp + 0xc]
call fcn.00417c40
mov ecx, dword [esp + 0x100]
mov edx, dword [esp + 0x104]
xor eax, eax
mov dword [esp + eax + 0x78], ebx
add eax, 4
cmp eax, 0x20
jb 0x41e8b8
lea eax, [edx - 0x80000000]
or eax, ecx
je 0x41ea30
lea eax, [esp + 0x78]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 8], str._lld
mov dword [esp + 4], 0x20
mov dword [esp], eax
call fcn.00417c40
mov eax, dword [esp + 0x30]
mov dword [esp + 0x10], esi
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 + 0x18], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 4], 0x20
mov dword [esp + 0x14], eax
lea eax, [esp + 0x78]
mov dword [esp + 0xc], eax
mov dword [esp], ebx
call sub.avutil_56.dll_av_log
jmp 0x41e527
lea esi, [esp + 0x98]
mov dword [esp + 8], str.NOPTS
mov dword [esp + 4], 0x20
mov dword [esp], esi
call fcn.00417c40
jmp 0x41e8a8
lea eax, [esp + 0xb8]
mov dword [esp + 8], str.NOPTS
mov dword [esp + 4], 0x20
mov dword [esp], eax
mov dword [esp + 0x28], eax
call fcn.00417c40
jmp 0x41e67a
lea eax, [esp + 0xd8]
mov dword [esp + 8], str.NOPTS
mov dword [esp + 4], 0x20
mov dword [esp], eax
mov dword [esp + 0x30], eax
call fcn.00417c40
jmp 0x41e622
lea eax, [esp + 0xd8]
mov dword [esp + 8], str.NOPTS
mov dword [esp + 4], 0x20
mov dword [esp], eax
mov dword [esp + 0x30], eax
call fcn.00417c40
jmp 0x41e7e2
lea esi, [esp + 0x98]
mov dword [esp + 8], str.NOPTS
mov dword [esp + 4], 0x20
mov dword [esp], esi
call fcn.00417c40
jmp 0x41e6e8
lea eax, [esp + 0xb8]
mov dword [esp + 8], str.NOPTS
mov dword [esp + 4], 0x20
mov dword [esp], eax
mov dword [esp + 0x28], eax
call fcn.00417c40
jmp 0x41e83a
lea eax, [esp + 0x78]
mov dword [esp + 8], str.NOPTS
mov dword [esp + 4], 0x20
mov dword [esp], eax
call fcn.00417c40
jmp 0x41e8f6
lea eax, [esp + 0x78]
mov dword [esp + 8], str.NOPTS
mov dword [esp + 4], 0x20
mov dword [esp], eax
call fcn.00417c40
jmp 0x41e736
mov ecx, dword [0x448c80]
add dword [ebp + 0x20], 1
adc dword [ebp + 0x24], 0
add dword [ebp + 0x14], 1
test ecx, ecx
je 0x41eaa9
mov edx, dword [esp + 0x28]
test edx, edx
je 0x41eaa9
mov edx, dword [esp + 0x28]
mov eax, ebp
call fcn.00418050
add dword [esp + 0x4c], 1
mov eax, dword [esp + 0x4c]
cmp dword [esp + 0x50], eax
jg 0x41e240
mov eax, dword [ebp + 0x6c]
test eax, eax
je 0x41f47a
mov dword [esp], eax
call sub.avutil_56.dll_av_frame_unref
cmp byte [esp + 0x6f], 0
je 0x41f1dc
mov eax, dword [ebp + 0x6c]
test eax, eax
je 0x41f1dc
mov esi, dword [esp + 0x5c]
mov dword [esp], eax
mov dword [esp + 4], esi
call sub.avutil_56.dll_av_frame_ref
add esp, 0x14c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp + 0xc8]
test eax, eax
je 0x41ebb0
fld qword [esp + 0x40]
lea edx, [ebp + 0xd0]
mov dword [esp + 8], 0
mov dword [esp + 4], edx
mov dword [esp], eax
fstp qword [ebp + 0xf0]
call sub.avutil_56.dll_av_expr_eval
fldz
fxch st(1)
fucompi st(1)
fstp st(0)
jp 0x41eb42
je 0x41ed40
fld qword [ebp + 0xd0]
fst qword [ebp + 0xe0]
fld qword [ebp + 0xf0]
fstp qword [ebp + 0xe8]
fld1
fld st(0)
fadd qword [ebp + 0xd8]
fstp qword [ebp + 0xd8]
faddp st(1)
fstp qword [ebp + 0xd0]
jmp 0x41e400
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x41edd0
mov dword [esp + 0x30], eax
jmp 0x41e282
mov eax, dword [esp + 0x58]
mov dword [eax + 0x40], 1
jmp 0x41e362
mov esi, dword [ebp + 0xc4]
test esi, esi
je 0x41e42f
mov edi, str.source
mov ecx, 6
repe cmpsb byte [esi], byte es:[edi]
seta al
sbb al, 0
test al, al
jne 0x41e42f
mov eax, dword [esp + 0x30]
cmp dword [eax + 0x54], 1
jne 0x41e42f
jmp 0x41e400
lea edx, [edi - 0x80000000]
mov eax, esi
or edx, esi
je 0x41eddb
mov dword [ebp + 0xb0], esi
mov edx, edi
mov dword [ebp + 0xb4], edi
jmp 0x41e3a2
mov eax, dword [esp + 0x48]
mov ebx, dword [esp + 0x30]
xor edx, edx
mov esi, dword [eax + 0x50]
mov eax, dword [eax + 0x4c]
mov edi, dword [ebx + 0x6c]
mov dword [esp + 0x40], esi
mov esi, dword [ebx + 0x68]
mov dword [esp + 0x68], eax
xor eax, eax
mov dword [esp + eax + 0xd8], edx
add eax, 4
cmp eax, 0x20
jb 0x41ec38
lea edx, [edi - 0x80000000]
mov dword [esp + 0x30], ebx
or edx, esi
je 0x41edea
fild dword [esp + 0x40]
mov dword [esp + 8], str._.6g
mov dword [esp + 4], 0x20
fild dword [esp + 0x68]
fdivrp st(1)
fstp qword [esp + 0x60]
fld qword [esp + 0x60]
mov dword [esp + 0x64], edi
lea edi, [esp + 0xd8]
mov dword [esp + 0x60], esi
fild qword [esp + 0x60]
mov dword [esp], edi
fmulp st(1)
fstp qword [esp + 0xc]
call fcn.00417c40
mov ebx, dword [esp + 0x30]
xor edx, edx
xor eax, eax
mov esi, dword [ebx + 0x68]
mov ecx, dword [ebx + 0x6c]
mov dword [esp + eax + 0xb8], edx
add eax, 4
cmp eax, 0x20
jb 0x41ecaa
lea eax, [ecx - 0x80000000]
mov dword [esp + 0x30], ebx
or eax, esi
je 0x41ee0e
mov dword [esp + 0xc], esi
lea esi, [esp + 0xb8]
mov dword [esp + 0x10], ecx
mov dword [esp + 8], str._lld
mov dword [esp + 4], 0x20
mov dword [esp], esi
call fcn.00417c40
mov eax, dword [esp + 0x40]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], esi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 8], str.encoder____type:video_frame_pts:_s_frame_pts_time:_s_time_base:_d__d_n
mov dword [esp + 0x14], eax
mov dword [esp + 4], 0x20
mov dword [esp], 0
call sub.avutil_56.dll_av_log
jmp 0x41e448
fld dword [0x4417f8]
fstp qword [esp + 0x40]
jmp 0x41e3d0
fld1
fadd qword [ebp + 0xd0]
fstp qword [ebp + 0xd0]
jmp 0x41e42f
mov ebx, dword [esp + 0x58]
add eax, 2
mov dword [ebx + 0x40], eax
jmp 0x41e362
mov edx, dword [ebp]
mov eax, dword [0x4480c4]
mov ebx, dword [eax + edx*4]
or dword [ebp + 0x12c], 1
mov esi, dword [ebx + 0x28]
test esi, esi
je 0x41edd0
mov eax, dword [ebp + 0x50]
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 0xf4240
mov edx, dword [eax + 0x50]
mov eax, dword [eax + 0x4c]
mov dword [esp + 0xc], edx
mov edx, dword [ebp + 0x24]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x20]
sub eax, dword [ebp + 0x28]
sbb edx, dword [ebp + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.avutil_56.dll_av_rescale_q
mov ecx, edx
mov edx, dword [ebx + 0x10]
mov esi, eax
mov eax, dword [ebx + 0x14]
mov edi, ecx
cmp esi, edx
sbb edi, eax
cmovl edx, esi
cmovl eax, ecx
mov dword [ebx + 0x10], edx
mov dword [ebx + 0x14], eax
add esp, 0x14c
pop ebx
pop esi
pop edi
pop ebp
ret
fld dword [0x4417f8]
fstp qword [esp + 0x40]
jmp 0x41e3d0
lea edi, [esp + 0xd8]
mov dword [esp + 8], str.NOPTS
mov dword [esp + 4], 0x20
mov dword [esp], edi
call fcn.00417c40
jmp 0x41ec9c
lea esi, [esp + 0xb8]
mov dword [esp + 8], str.NOPTS
mov dword [esp + 4], 0x20
mov dword [esp], esi
call fcn.00417c40
jmp 0x41ecf2
fstp st(0)
fstp st(0)
fstp st(0)
fstp st(0)
cmp esi, 0xff
jne 0x41f48d
jmp 0x41ee4c
fstp st(0)
fstp st(0)
fistp dword [esp + 0x28]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x2c], 0
xor esi, esi
mov dword [esp + 0x28], 1
mov edi, dword [ebp + 0x14]
mov dword [ebp + 0x20], eax
sar eax, 0x1f
mov dword [ebp + 0x24], eax
jmp 0x41e141
cmp esi, 0xfe
jne 0x41ee32
jmp 0x41ee89
fstp st(0)
fstp st(4)
fstp st(2)
fxch st(2)
mov edi, dword [ebp + 0x14]
test edi, edi
jne 0x41e0e5
fld dword [0x44184c]
fxch st(3)
fcomi st(3)
fstp st(3)
jb 0x41e107
fstp st(0)
fstp st(0)
fxch st(2)
fstp qword [esp + 0x40]
fstp qword [esp + 0x30]
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
mov dword [esp + 8], str.Not_duplicating__d_initial_frames_n
mov dword [esp + 4], 0x30
mov dword [esp], 0
fistp dword [esp + 0xc]
call sub.avutil_56.dll_av_log
fld qword [esp + 0x40]
mov edi, dword [ebp + 0x14]
fistp dword [esp + 0x28]
fldz
fld qword [esp + 0x30]
mov eax, dword [esp + 0x28]
mov dword [ebp + 0x20], eax
sar eax, 0x1f
mov dword [ebp + 0x24], eax
jmp 0x41e0eb
mov eax, dword [esp + 0x5c]
mov edi, ebx
test eax, eax
setne byte [esp + 0x6f]
xor eax, eax
movzx ebx, byte [esp + 0x6f]
cmp esi, edi
setge al
and eax, ebx
mov dword [ebp + 0x70], eax
test edi, edi
jg 0x41e22f
jmp 0x41eabc
test eax, eax
setne al
movzx eax, al
jmp 0x41e194
mov dword [esp], edx
xor ebx, ebx
call sub.avfilter_7.dll_av_buffersink_get_frame_rate
fld qword [esp + 0x28]
test eax, eax
jle 0x41ef57
test edx, edx
jg 0x41dfab
mov ecx, dword [ebp + 0x114]
fldz
test ecx, ecx
jne 0x41e032
mov edx, dword [ebp + 0x110]
test edx, edx
jne 0x41e032
mov eax, dword [0x448ca4]
test eax, eax
jne 0x41f463
mov esi, dword [esp + 0x5c]
test esi, esi
je 0x41eff6
test ebx, ebx
je 0x41e032
mov eax, dword [ebx + 4]
fild dword [eax + 0x10]
fild dword [eax + 0x14]
mov eax, dword [esp + 0x48]
fdivp st(1)
fstp qword [esp + 0x28]
fld qword [esp + 0x28]
fild qword [esi + 0x150]
fmulp st(1)
fild dword [eax + 0x4c]
fild dword [eax + 0x50]
fdivp st(1)
fstp qword [esp + 0x28]
fld qword [esp + 0x28]
fdivp st(1)
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fistp dword [esp + 0x28]
mov eax, dword [esp + 0x28]
test eax, eax
jle 0x41e03e
fstp st(0)
fild dword [esp + 0x28]
jmp 0x41e03e
fstp st(0)
fstp st(0)
jmp 0x41effa
fstp st(0)
fstp st(0)
mov esi, dword [ebp + 0x78]
mov ecx, dword [ebp + 0x7c]
mov eax, dword [ebp + 0x74]
mov edi, dword [ebp + 0x14]
mov edx, esi
cmp eax, esi
cmovg edx, eax
cmovg eax, esi
cmp eax, ecx
cmovl eax, ecx
cmp edx, eax
cmovg edx, eax
mov eax, edx
mov esi, edx
cdq
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], edx
jmp 0x41e141
mov eax, dword [esp + 0x3c]
mov edi, 0x440359
mov ecx, 4
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov esi, dword [eax]
repe cmpsb byte [esi], byte es:[edi]
seta dl
sbb dl, 0
test dl, dl
jne 0x41f1a5
fstp st(5)
fxch st(1)
fxch st(2)
fxch st(3)
fxch st(4)
mov dword [ebp + 0x8c], 0
fldz
fcomi st(3)
fstp st(3)
ja 0x41f424
fstp st(4)
fstp st(0)
fstp st(0)
fstp st(0)
jmp 0x41f081
fstp st(3)
fstp st(0)
fstp st(0)
mov edi, dword [ebp + 0x14]
fld xword [0x441840]
fcompi st(1)
jae 0x41e125
fld xword [0x441870]
fxch st(1)
fcompi st(1)
fstp st(0)
jbe 0x41f1f2
mov dword [esp + 0x2c], 0
xor esi, esi
fistp dword [esp + 0x28]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x28], 1
mov dword [ebp + 0x20], eax
sar eax, 0x1f
mov dword [ebp + 0x24], eax
jmp 0x41e141
mov ebx, dword [ebp + 0x70]
test ebx, ebx
cmovne ecx, eax
jmp 0x41e1d8
fld xword [0x441860]
fxch st(1)
fcompi st(1)
jbe 0x41f1f6
fxch st(1)
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fistp dword [esp + 0x28]
fxch st(1)
mov eax, dword [esp + 0x28]
mov esi, eax
mov dword [esp + 0x28], eax
sar esi, 0x1f
fcomi st(1)
fstp st(1)
mov dword [esp + 0x2c], esi
jbe 0x41f20e
fld xword [0x441870]
fsubp st(1)
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
fistp dword [esp + 0x30]
mov esi, dword [esp + 0x30]
jmp 0x41e141
fcompi st(1)
jbe 0x41e10d
mov dword [esp + 0x28], 0
xor esi, esi
mov dword [esp + 0x2c], 0
test edi, edi
jne 0x41e13d
jmp 0x41e10d
mov esi, dword [esp + 0x48]
fild dword [esi + 0x4c]
fild dword [esi + 0x50]
fdivp st(1)
fstp qword [esp + 0x28]
fld qword [esp + 0x28]
mov dword [esp + 0x28], eax
fild dword [esp + 0x28]
fild dword [ebp + 0x88]
fdivp st(1)
fstp qword [esp + 0x28]
fld qword [esp + 0x28]
fmulp st(1)
fdivr dword [0x441800]
fld st(1)
fcompi st(1)
jbe 0x41e022
fstp st(1)
fstp qword [esp + 0x28]
fld qword [esp + 0x28]
jmp 0x41e024
mov eax, dword [eax + 0x1c]
test ah, 4
je 0x41f391
fstp st(5)
fxch st(1)
fxch st(2)
fxch st(3)
fxch st(4)
test al, 0x80
je 0x41f05b
fstp st(0)
fstp st(0)
fstp st(0)
fstp st(0)
fstp st(1)
mov dword [ebp + 0x8c], 0
jmp 0x41ee4c
lea eax, [ebp + 0x6c]
mov dword [esp], eax
call sub.avutil_56.dll_av_frame_free
add esp, 0x14c
pop ebx
pop esi
pop edi
pop ebp
ret
fstp st(0)
jmp 0x41f1fc
fstp st(0)
fstp st(0)
fstp st(0)
mov dword [esp + 0x28], 1
mov dword [esp + 0x2c], 0
jmp 0x41f210
fstp st(0)
xor esi, esi
jmp 0x41e141
mov eax, dword [ebp + 0x6c]
add dword [0x448220], 1
mov edx, dword [eax + 0x6c]
mov eax, dword [eax + 0x68]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x18], edx
mov eax, dword [eax]
mov dword [esp + 0xc], edi
mov dword [esp + 8], str._dropping_frame__d_from_stream__d_at_ts__lld_n
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x28
mov dword [esp], 0
call sub.avutil_56.dll_av_log
xor eax, eax
jmp 0x41e194
fxch st(1)
fcomi st(1)
fstp st(1)
jbe 0x41e09a
test esi, esi
je 0x41e0a2
cmp esi, 0xff
je 0x41e0aa
fstp st(5)
fstp st(5)
fstp st(0)
fxch st(2)
fxch st(1)
jmp 0x41f2a1
fxch st(3)
jmp 0x41f2a1
fstp st(5)
fstp st(5)
fstp st(0)
fxch st(2)
fxch st(1)
jmp 0x41f2a1
fstp st(4)
fxch st(1)
fxch st(2)
fsubp st(2)
fxch st(1)
fstp qword [esp + 0x28]
fld qword [esp + 0x28]
fld xword [0x441840]
fxch st(2)
fstp qword [esp + 0x28]
fstp qword [esp + 0xc]
fcompi st(1)
fstp st(0)
ja 0x41f43e
mov dword [esp + 8], str.Clipping_frame_in_rate_conversion_by__f_n
mov dword [esp + 4], 0x30
mov dword [esp], 0
call sub.avutil_56.dll_av_log
fld qword [esp + 0x28]
fild qword [ebp + 0x20]
fstp qword [esp + 0x28]
fld qword [esp + 0x28]
fld st(1)
fldz
fld st(0)
fxch st(2)
fxch st(3)
fxch st(4)
jmp 0x41e0b0
mov dword [esp + 0xc], eax
mov dword [esp + 8], str.More_than__d_frames_duplicated_n
mov dword [esp + 4], 0x18
mov dword [esp], 0
call sub.avutil_56.dll_av_log
mov eax, dword [0x4360ac]
lea eax, [eax + eax*4]
add eax, eax
mov dword [0x4360ac], eax
jmp 0x41e211
mov dword [esp + 0xc], eax
mov dword [esp + 8], str._d_frame_duplication_too_large__skipping_n
mov dword [esp + 4], 0x10
mov dword [esp], 0
call sub.avutil_56.dll_av_log
add dword [0x448220], 1
add esp, 0x14c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], str.Video_encoding_failed_n
mov dword [esp + 4], 8
mov dword [esp], 0
call sub.avutil_56.dll_av_log
mov dword [esp], 1
call fcn.00411e90
test ebx, ebx
je 0x41f3a7
mov edx, dword [ebx]
mov eax, dword [0x4480d4]
mov eax, dword [eax + edx*4]
mov edx, dword [eax]
cmp dword [edx + 0x18], 1
je 0x41f3ec
mov eax, dword [0x448058]
test eax, eax
jne 0x41f3f4
fstp st(5)
fstp st(5)
fxch st(2)
fxch st(4)
fxch st(1)
fxch st(3)
mov dword [ebp + 0x8c], 1
fldz
fcomi st(3)
fstp st(3)
jbe 0x41e0da
fcomi st(2)
fstp st(2)
mov esi, 1
ja 0x41f28b
fstp st(2)
fstp st(2)
fxch st(1)
jmp 0x41e0e0
mov edx, dword [eax + 0x2c]
or edx, dword [eax + 0x28]
jne 0x41f3a7
mov dword [ebp + 0x8c], 1
fldz
fcomi st(3)
jbe 0x41ee81
fxch st(1)
fcomi st(1)
fstp st(1)
mov esi, 0xfe
ja 0x41f28f
fstp st(4)
fstp st(2)
fxch st(2)
jmp 0x41ee89
fcomi st(2)
fstp st(2)
mov esi, 2
ja 0x41f29b
fstp st(0)
fstp st(2)
fstp st(0)
jmp 0x41f081
mov dword [esp + 8], str.Past_duration__f_too_large_n
mov dword [esp + 4], 0x28
mov dword [esp], 0
call sub.avutil_56.dll_av_log
fld qword [esp + 0x28]
jmp 0x41f2e7
mov eax, dword [0x448ca8]
mov eax, dword [eax]
mov eax, dword [eax + 4]
test eax, eax
jne 0x41e032
jmp 0x41ef82
call sub.avutil_56.dll_av_frame_alloc
mov dword [ebp + 0x6c], eax
jmp 0x41eac7
fstp st(0)
fstp st(0)
jmp 0x41f48f
fstp st(0)
mov dword [esp + 0x14], 0x48c
mov dword [esp + 0x10], str.fftools_ffmpeg.c
mov dword [esp + 0xc], 0x4403cb
mov dword [esp + 8], str.Assertion__s_failed_at__s:_d_n
mov dword [esp + 4], 0
mov dword [esp], 0
call sub.avutil_56.dll_av_log
call sub.msvcrt.dll_abort
lea esi, [esi]
nop