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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x130]
sub rsp, 0x230
mov rax, qword [0x140106088]
xor rax, rsp
mov qword [rbp + 0xf0], rax
mov rax, qword [0x140107450]
lea rdx, [rbp - 0x80]
movsxd r14, ecx
mov r12, qword [rax + r14*8]
mov eax, dword [0x14010769c]
mov rcx, r12
mov qword [rbp - 0x58], r12
mov dword [rbp - 0x70], eax
mov r13, qword [r12]
mov qword [rbp - 0x60], r13
call fcn.14000ec80
mov ebx, eax
cmp eax, 0xfffffff5
je 0x140014fb6
xor r15d, r15d
test eax, eax
jns 0x140013efb
cmp dword [r12 + 0x14], r15d
je 0x140013dd2
mov ebx, r15d
cmp dword [r12 + 0x58], r15d
jle 0x140013d75
mov eax, dword [r12 + 0x10]
add eax, ebx
movsxd rcx, eax
mov rax, qword [0x140107440]
mov rcx, qword [rax + rcx*8]
mov rdi, qword [rcx + 0x20]
cmp dword [rcx + 0x18], r15d
je 0x140013d6c
xor edx, edx
lea r8d, [rdx + 1]
call fcn.1400154d0
test eax, eax
jg 0x140014fb2
mov rcx, rdi
call sub.avcodec_58.dll_avcodec_flush_buffers
inc ebx
cmp ebx, dword [r12 + 0x58]
jl 0x140013d32
mov ecx, r14d
call fcn.14000e710
mov rdx, r13
mov rcx, r12
call fcn.1400166d0
mov ecx, r14d
mov ebx, eax
call fcn.14000f870
test eax, eax
js 0x140014fc4
test ebx, ebx
jns 0x140013db3
lea r8, str.Seek_to_start_failed._n
mov edx, 0x18
xor ecx, ecx
call sub.avutil_56.dll_av_log
jmp 0x140013dc1
lea rdx, [rbp - 0x80]
mov rcx, r12
call fcn.14000ec80
mov ebx, eax
cmp ebx, 0xfffffff5
je 0x140014fb6
test ebx, ebx
jns 0x140013efb
cmp ebx, 0xdfb9b0bb
je 0x140013dfb
mov rcx, qword [r13 + 0x438]
mov edx, ebx
call fcn.1400042e1
cmp dword [0x1401076a8], r15d
je 0x140013dfb
mov ecx, 1
call fcn.140001974
mov ebx, r15d
cmp dword [r12 + 0x58], r15d
jle 0x140013eed
nop dword [rax]
mov eax, dword [r12 + 0x10]
add eax, ebx
movsxd rcx, eax
mov rax, qword [0x140107440]
mov rcx, qword [rax + rcx*8]
cmp dword [rcx + 0x18], r15d
je 0x140013e3d
xor r8d, r8d
xor edx, edx
call fcn.1400154d0
test eax, eax
jg 0x140014fb2
cmp dword [0x140107460], r15d
mov r9d, r15d
jle 0x140013ee0
mov r10, r15
mov rax, qword [0x140107458]
mov ecx, dword [r12 + 0x10]
add ecx, ebx
mov rdx, qword [r10 + rax]
cmp dword [rdx + 8], ecx
jne 0x140013ecc
cmp dword [rdx + 0x1a0], r15d
jne 0x140013e7a
mov rax, qword [rdx + 0x68]
cmp dword [rax + 0x10], 3
jne 0x140013ecc
mov rax, qword [0x140107468]
movsxd rcx, dword [rdx]
mov r8, qword [rax + rcx*8]
mov dword [rdx + 0x198], 3
cmp dword [r8 + 0x30], r15d
je 0x140013ecc
mov rax, qword [r8]
mov edx, r15d
cmp dword [rax + 0x2c], r15d
jbe 0x140013ecc
mov eax, dword [r8 + 0x10]
add eax, edx
inc edx
movsxd rcx, eax
mov rax, qword [0x140107458]
mov rcx, qword [rax + rcx*8]
mov dword [rcx + 0x198], 3
mov rax, qword [r8]
cmp edx, dword [rax + 0x2c]
jb 0x140013ea4
inc r9d
add r10, 8
cmp r9d, dword [0x140107460]
jl 0x140013e50
inc ebx
cmp ebx, dword [r12 + 0x58]
jl 0x140013e10
mov dword [r12 + 8], 1
jmp 0x140014fbf
call fcn.140016650
cmp dword [0x140107698], r15d
je 0x140013f31
mov r8, qword [rbp - 0x80]
mov edx, 0x20
mov rax, qword [r13 + 0x30]
mov r9d, dword [0x140107694]
movsxd rcx, dword [r8 + 0x24]
mov rcx, qword [rax + rcx*8]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call sub.avformat_58.dll_av_pkt_dump_log2
mov rbx, qword [rbp - 0x80]
movsxd r8, dword [rbx + 0x24]
cmp r8d, dword [r12 + 0x58]
jl 0x140014026
mov rax, qword [0x140107450]
mov rdi, qword [rax + r14*8]
mov rax, qword [rdi]
mov rcx, qword [rax + 0x30]
mov r15, qword [rcx + r8*8]
cmp r8d, dword [rdi + 0x5c]
jl 0x140014f92
mov rcx, qword [rbx + 0x10]
xorps xmm0, xmm0
movabs rsi, 0x8000000000000000
mov edx, 0x20
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
cmp rcx, rsi
jne 0x140013f99
lea r8, str.NOPTS
lea rcx, [rbp - 0x50]
call fcn.14000377e
jmp 0x140013fd6
mov rax, qword [r15 + 0x18]
lea r8, str._.6g
xorps xmm1, xmm1
cvtsi2sd xmm1, rcx
lea rcx, [rbp - 0x50]
movd xmm3, eax
cvtdq2pd xmm3, xmm3
shr rax, 0x20
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm3, xmm0
mulsd xmm3, xmm1
movq r9, xmm3
call fcn.14000377e
mov rax, qword [r15 + 0xd0]
mov ecx, dword [rax]
call sub.avutil_56.dll_av_get_media_type_string
mov rcx, qword [rdi]
lea r8, str.New__s_stream__d:_d_at_pos:_lld_and_DTS:_ss_n
mov r9, rax
mov edx, 0x18
lea rax, [rbp - 0x50]
mov qword [rsp + 0x38], rax
mov rax, qword [rbx + 0x48]
mov qword [rsp + 0x30], rax
mov eax, dword [rbx + 0x24]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r14d
call sub.avutil_56.dll_av_log
mov eax, dword [rbx + 0x24]
inc eax
mov dword [rdi + 0x5c], eax
jmp 0x140014f8e
mov rax, qword [0x140107440]
mov ecx, dword [r12 + 0x10]
add ecx, r8d
movsxd rdx, ecx
mov r14, qword [rax + rdx*8]
movsxd rax, dword [rbx + 0x20]
add qword [r14 + 0x188], rax
inc qword [r14 + 0x190]
cmp dword [r14 + 0x10], r15d
jne 0x140014f8e
mov rbx, qword [rbp - 0x80]
movaps xmmword [rsp + 0x220], xmm6
movaps xmmword [rsp + 0x210], xmm7
movaps xmmword [rsp + 0x200], xmm8
test byte [rbx + 0x28], 2
je 0x1400140be
cmp dword [0x1401076a8], r15d
lea r8, str._s:_corrupt_input_packet_in_stream__d_n
mov r9, qword [r13 + 0x438]
mov eax, 8
mov edx, 0x18
cmovne edx, eax
mov eax, dword [rbx + 0x24]
xor ecx, ecx
mov dword [rsp + 0x20], eax
call sub.avutil_56.dll_av_log
cmp dword [0x1401076a8], r15d
je 0x1400140be
mov ecx, 1
call fcn.140001974
cmp dword [0x1401076a4], r15d
movabs rsi, 0x8000000000000000
movsd xmm8, qword [0x1400de3a8]
je 0x1400143ca
mov rax, qword [0x140107450]
xorps xmm0, xmm0
movsxd rcx, dword [r14]
xorps xmm1, xmm1
movups xmmword [rbp - 0x50], xmm0
mov edx, 0x20
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp + 0x90], xmm1
movups xmmword [rbp + 0xa0], xmm1
movups xmmword [rbp + 0xb0], xmm0
movups xmmword [rbp + 0xc0], xmm0
movups xmmword [rbp - 0x30], xmm1
movups xmmword [rbp - 0x20], xmm1
movups xmmword [rbp + 0xd0], xmm0
movups xmmword [rbp + 0xe0], xmm0
movups xmmword [rbp - 0x10], xmm1
movups xmmword [rbp], xmm1
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm1
movups xmmword [rbp + 0x40], xmm1
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], xmm0
movups xmmword [rbp + 0x70], xmm1
movups xmmword [rbp + 0x80], xmm1
mov rcx, qword [rax + rcx*8]
mov rax, qword [rcx + 0x30]
lea rcx, [rbp - 0x50]
cmp rax, rsi
jne 0x140014177
lea r8, str.NOPTS
call fcn.14000377e
jmp 0x140014195
xorps xmm3, xmm3
lea r8, str._.6g
cvtsi2sd xmm3, rax
mulsd xmm3, xmm8
movq r9, xmm3
call fcn.14000377e
movsxd rcx, dword [r14]
mov edx, 0x20
mov rax, qword [0x140107450]
mov rcx, qword [rax + rcx*8]
mov r9, qword [rcx + 0x30]
lea rcx, [rbp + 0x90]
cmp r9, rsi
jne 0x1400141c6
lea r8, str.NOPTS
call fcn.14000377e
jmp 0x1400141d2
lea r8, str._lld
call fcn.14000377e
mov rax, qword [rbp - 0x80]
lea rcx, [rbp - 0x30]
mov edx, 0x20
mov r9, qword [rax + 0x10]
cmp r9, rsi
jne 0x1400141f6
lea r8, str.NOPTS
call fcn.14000377e
jmp 0x140014202
lea r8, str._lld
call fcn.14000377e
mov rax, qword [rbp - 0x80]
lea rcx, [rbp - 0x10]
mov edx, 0x20
mov r9, qword [rax + 8]
cmp r9, rsi
jne 0x140014226
lea r8, str.NOPTS
call fcn.14000377e
jmp 0x140014232
lea r8, str._lld
call fcn.14000377e
mov rax, qword [r14 + 0x60]
lea rcx, [rbp + 0x10]
mov edx, 0x20
cmp rax, rsi
jne 0x140014252
lea r8, str.NOPTS
call fcn.14000377e
jmp 0x140014270
xorps xmm3, xmm3
lea r8, str._.6g
cvtsi2sd xmm3, rax
mulsd xmm3, xmm8
movq r9, xmm3
call fcn.14000377e
mov r9, qword [r14 + 0x60]
lea rcx, [rbp + 0x30]
mov edx, 0x20
cmp r9, rsi
jne 0x140014290
lea r8, str.NOPTS
call fcn.14000377e
jmp 0x14001429c
lea r8, str._lld
call fcn.14000377e
mov rax, qword [r14 + 0x50]
lea rcx, [rbp + 0x50]
mov edx, 0x20
cmp rax, rsi
jne 0x1400142bc
lea r8, str.NOPTS
call fcn.14000377e
jmp 0x1400142da
xorps xmm3, xmm3
lea r8, str._.6g
cvtsi2sd xmm3, rax
mulsd xmm3, xmm8
movq r9, xmm3
call fcn.14000377e
mov r9, qword [r14 + 0x50]
lea rcx, [rbp + 0x70]
mov edx, 0x20
cmp r9, rsi
jne 0x1400142fa
lea r8, str.NOPTS
call fcn.14000377e
jmp 0x140014306
lea r8, str._lld
call fcn.14000377e
mov rdx, qword [rbp - 0x80]
lea rcx, [rbp + 0xb0]
mov r8, qword [r14 + 8]
add r8, 0x18
mov rdx, qword [rdx + 0x10]
call fcn.1400096b0
mov rdx, qword [rbp - 0x80]
lea rcx, [rbp + 0xd0]
mov r8, qword [r14 + 8]
mov rdi, rax
add r8, 0x18
mov rdx, qword [rdx + 8]
call fcn.1400096b0
mov rcx, qword [r14 + 0x20]
mov rbx, rax
mov ecx, dword [rcx + 0xc]
call sub.avutil_56.dll_av_get_media_type_string
mov rcx, qword [rbp - 0x80]
lea r8, str.demuxer____ist_index:_d_type:_s_next_dts:_s_next_dts_time:_s_next_pts:_s_next_pts_time:_s_pkt_pts:_s_pkt_pts_time:_s_pkt_dts:_s_pkt_dts_time:_s_off:_s_off_time:_s_n
mov edx, 0x20
mov r9d, dword [rcx + 0x24]
lea rcx, [rbp - 0x50]
add r9d, dword [r12 + 0x10]
mov qword [rsp + 0x70], rcx
lea rcx, [rbp + 0x90]
mov qword [rsp + 0x68], rcx
lea rcx, [rbp - 0x30]
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x58], rcx
lea rcx, [rbp - 0x10]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], rcx
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x40], rcx
lea rcx, [rbp + 0x30]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp + 0x50]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp + 0x70]
mov qword [rsp + 0x28], rcx
xor ecx, ecx
mov qword [rsp + 0x20], rax
call sub.avutil_56.dll_av_log
cmp dword [r14 + 0x70], r15d
jne 0x1400145b3
mov rdx, qword [r13 + 0x440]
cmp rdx, rsi
je 0x1400145b3
mov rax, qword [r14 + 8]
cmp dword [rax + 0xe0], 0x40
jge 0x1400145b3
mov rcx, rdx
cmp qword [r14 + 0x50], rsi
jne 0x1400144ea
mov rax, rdx
neg rax
cmp qword [r12 + 0x30], rax
jne 0x1400144ea
mov rax, qword [r13 + 8]
test dword [rax + 0x10], 0x200
je 0x1400144ea
movabs rbx, 0x7fffffffffffffff
cmp dword [r13 + 0x2c], r15d
jbe 0x1400144b9
xor edi, edi
mov r12, rbx
nop dword [rax]
mov rax, qword [r13 + 0x30]
mov rbx, qword [rdi + rax]
cmp dword [rbx + 0x3c], 0x30
je 0x140014499
mov rcx, qword [rbx + 0x20]
cmp rcx, rsi
je 0x140014499
mov rdx, qword [rbx + 0x18]
mov dword [rbp - 0x68], 1
mov dword [rbp - 0x64], 0xf4240
mov r8, qword [rbp - 0x68]
call sub.avutil_56.dll_av_rescale_q
cmp r12, rax
jle 0x140014499
mov rdx, qword [rbx + 0x18]
mov rcx, qword [rbx + 0x20]
mov dword [rbp - 0x78], 1
mov dword [rbp - 0x74], 0xf4240
mov r8, qword [rbp - 0x78]
call sub.avutil_56.dll_av_rescale_q
mov r12, rax
inc r15d
add rdi, 8
cmp r15d, dword [r13 + 0x2c]
jb 0x140014440
mov rcx, qword [r13 + 0x440]
mov qword [rbp - 0x78], r12
mov rbx, qword [rbp - 0x78]
mov r12, qword [rbp - 0x58]
cmp rbx, rcx
jle 0x1400144e7
mov r9, rbx
lea r8, str.Correcting_start_time_by__lld_n
sub r9, rcx
mov edx, 0x28
mov rcx, r13
call sub.avutil_56.dll_av_log
neg rbx
mov qword [r12 + 0x30], rbx
mov rcx, qword [r13 + 0x440]
xor r15d, r15d
mov r8, qword [r14 + 8]
mov dword [rbp - 0x78], 1
mov dword [rbp - 0x74], 0xf4240
mov rdx, qword [rbp - 0x78]
mov r8, qword [r8 + 0x18]
call sub.avutil_56.dll_av_rescale_q
mov r8, qword [r14 + 8]
mov edx, 1
mov r9, rax
mov ecx, dword [r8 + 0xe0]
shl rdx, cl
add rdx, rax
mov dword [r14 + 0x70], 1
cmp rdx, rax
jle 0x1400145b3
mov r10, qword [rbp - 0x80]
mov rdx, qword [r10 + 0x10]
cmp rdx, rsi
je 0x140014575
mov r11d, dword [r8 + 0xe0]
mov eax, 1
lea ecx, [r11 - 1]
shl rax, cl
add rax, r9
cmp rdx, rax
jle 0x140014575
mov ecx, r11d
mov eax, 1
shl rax, cl
sub rdx, rax
mov qword [r10 + 0x10], rdx
mov r8, qword [r14 + 8]
mov dword [r14 + 0x70], r15d
mov r10, qword [rbp - 0x80]
mov rdx, qword [r10 + 8]
cmp rdx, rsi
je 0x1400145b3
mov r11d, dword [r8 + 0xe0]
mov eax, 1
lea ecx, [r11 - 1]
shl rax, cl
add rax, r9
cmp rdx, rax
jle 0x1400145b3
mov ecx, r11d
mov eax, 1
shl rax, cl
sub rdx, rax
mov qword [r10 + 8], rdx
mov dword [r14 + 0x70], r15d
cmp qword [r14 + 0x190], 1
jne 0x14001463c
mov rax, qword [r14 + 8]
cmp dword [rax + 0xb8], 0
jle 0x14001463c
xor ebx, ebx
mov rdi, qword [rax + 0xb0]
mov edx, dword [rbx + rdi + 0xc]
cmp edx, 5
je 0x140014624
mov rcx, qword [rbp - 0x80]
xor r8d, r8d
call sub.avcodec_58.dll_av_packet_get_side_data
test rax, rax
jne 0x140014624
mov r8d, dword [rbx + rdi + 8]
mov edx, dword [rbx + rdi + 0xc]
mov rcx, qword [rbp - 0x80]
call sub.avcodec_58.dll_av_packet_new_side_data
mov r13, rax
test rax, rax
jne 0x140014613
lea ecx, [rax + 1]
call fcn.140001974
movsxd r8, dword [rbx + rdi + 8]
mov rcx, r13
mov rdx, qword [rbx + rdi]
call fcn.140002bf8
mov rax, qword [r14 + 8]
inc r15d
add rbx, 0x10
cmp r15d, dword [rax + 0xb8]
jl 0x1400145d0
mov r13, qword [rbp - 0x60]
mov rbx, qword [rbp - 0x80]
cmp qword [rbx + 0x10], rsi
je 0x14001466e
mov r8, qword [r14 + 8]
mov rcx, qword [r12 + 0x30]
mov dword [rbp - 0x78], 1
mov dword [rbp - 0x74], 0xf4240
mov r8, qword [r8 + 0x18]
mov rdx, qword [rbp - 0x78]
call sub.avutil_56.dll_av_rescale_q
add qword [rbx + 0x10], rax
mov rbx, qword [rbp - 0x80]
cmp qword [rbx + 8], rsi
je 0x1400146a0
mov r8, qword [r14 + 8]
mov rcx, qword [r12 + 0x30]
mov dword [rbp - 0x78], 1
mov dword [rbp - 0x74], 0xf4240
mov r8, qword [r8 + 0x18]
mov rdx, qword [rbp - 0x78]
call sub.avutil_56.dll_av_rescale_q
add qword [rbx + 8], rax
mov rcx, qword [rbp - 0x80]
mov rax, qword [rcx + 8]
cmp rax, rsi
je 0x1400146c7
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mulsd xmm0, qword [r14 + 0xa0]
cvttsd2si rax, xmm0
mov qword [rcx + 8], rax
mov rcx, qword [rbp - 0x80]
mov rax, qword [rcx + 0x10]
cmp rax, rsi
je 0x1400146ee
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mulsd xmm0, qword [r14 + 0xa0]
cvttsd2si rax, xmm0
mov qword [rcx + 0x10], rax
mov rdx, qword [r14 + 8]
mov r9d, 0x2005
mov rcx, qword [rbp - 0x80]
mov dword [rbp - 0x78], 1
mov dword [rbp - 0x74], 0xf4240
mov rdx, qword [rdx + 0x18]
mov rcx, qword [rcx + 0x10]
mov r8, qword [rbp - 0x78]
call sub.avutil_56.dll_av_rescale_q_rnd
movss xmm7, dword [0x1400de4ac]
mov rdi, rax
mov rax, qword [r14 + 0x20]
movss xmm6, dword [0x1400de49c]
cmp dword [rax + 0xc], 1
ja 0x14001482d
cmp rdi, rsi
je 0x14001482d
cmp qword [r14 + 0x50], rsi
jne 0x14001482d
cmp dword [0x14010769c], 0
jne 0x14001482d
mov rax, qword [r13 + 8]
test dword [rax + 0x10], 0x200
je 0x14001482d
mov rax, qword [r12 + 0x38]
cmp rax, rsi
je 0x14001482d
movss xmm1, dword [0x140106038]
sub rdi, rax
movaps xmm0, xmm1
xorps xmm2, xmm2
mulss xmm0, xmm7
cvtsi2ss xmm2, rdi
mulss xmm0, xmm6
comiss xmm0, xmm2
ja 0x1400147ab
mulss xmm1, xmm6
comiss xmm2, xmm1
jbe 0x14001482d
mov rax, qword [r12 + 0x30]
lea r8, str.Inter_stream_timestamp_discontinuity__lld__new_offset__lld_n
sub rax, rdi
mov r9, rdi
mov edx, 0x30
mov qword [r12 + 0x30], rax
xor ecx, ecx
mov qword [rsp + 0x20], rax
call sub.avutil_56.dll_av_log
mov r8, qword [r14 + 8]
mov rcx, rdi
mov rbx, qword [rbp - 0x80]
mov dword [rbp - 0x78], 1
mov dword [rbp - 0x74], 0xf4240
mov r8, qword [r8 + 0x18]
mov rdx, qword [rbp - 0x78]
call sub.avutil_56.dll_av_rescale_q
sub qword [rbx + 0x10], rax
mov rbx, qword [rbp - 0x80]
cmp qword [rbx + 8], rsi
je 0x14001482d
mov r8, qword [r14 + 8]
mov rcx, rdi
mov dword [rbp - 0x78], 1
mov dword [rbp - 0x74], 0xf4240
mov rdx, qword [rbp - 0x78]
mov r8, qword [r8 + 0x18]
call sub.avutil_56.dll_av_rescale_q
sub qword [rbx + 8], rax
mov r8, qword [r14 + 8]
mov rdx, qword [r12 + 0x20]
mov rcx, qword [r12 + 0x18]
mov r8, qword [r8 + 0x18]
call sub.avutil_56.dll_av_rescale_q
mov r10, qword [rbp - 0x80]
mov r9, rax
mov rax, qword [r10 + 8]
cmp rax, rsi
je 0x140014898
lea rcx, [r9 + rax]
mov qword [r10 + 8], rcx
mov rcx, qword [rbp - 0x80]
mov r8, qword [r14 + 0x88]
mov rdx, qword [rcx + 8]
cmp rdx, r8
cmovle rdx, r8
mov qword [r14 + 0x88], rdx
mov rax, qword [rbp - 0x80]
mov rdx, qword [r14 + 0x80]
cmp qword [rax + 8], rdx
cmovle rdx, qword [rax + 8]
mov qword [r14 + 0x80], rdx
mov r10, qword [rbp - 0x80]
mov rax, qword [r10 + 0x10]
cmp rax, rsi
je 0x1400148ac
add rax, r9
mov qword [r10 + 0x10], rax
mov r10, qword [rbp - 0x80]
mov rdx, qword [r14 + 8]
mov r9d, 0x2005
mov rcx, qword [r10 + 0x10]
mov dword [rbp - 0x78], 1
mov dword [rbp - 0x74], 0xf4240
mov rdx, qword [rdx + 0x18]
mov r8, qword [rbp - 0x78]
call sub.avutil_56.dll_av_rescale_q_rnd
cmp dword [0x14010769c], 0
mov rbx, rax
je 0x1400149a5
cmp rax, rsi
je 0x1400149a5
cmp qword [r14 + 0x50], rsi
je 0x1400149a5
mov rcx, qword [r13 + 8]
test dword [rcx + 0x10], 0x200
je 0x1400149a5
mov rdx, qword [r14 + 8]
mov ecx, dword [rdx + 0xe0]
cmp ecx, 0x3c
jge 0x1400149a5
mov rax, qword [rbp - 0x80]
mov r10d, 1
mov rdx, qword [rdx + 0x18]
mov r9d, 0x2005
shl r10, cl
mov dword [rbp - 0x78], 1
add r10, qword [rax + 0x10]
mov dword [rbp - 0x74], 0xf4240
mov rcx, r10
mov r8, qword [rbp - 0x78]
call sub.avutil_56.dll_av_rescale_q_rnd
mov r9, qword [r14 + 0x50]
mov r8, rax
mov r10, rax
mov rcx, r9
sub r10, r9
sub rcx, rbx
mov rdx, rbx
movabs rax, 0x6666666666666667
sub rdx, r9
cmovs rdx, rcx
sub r9, r8
mov r8d, dword [rbp - 0x70]
imul rdx
sar rdx, 2
test r10, r10
mov rax, rdx
cmovs r10, r9
shr rax, 0x3f
add rdx, rax
mov eax, 0
cmp r10, rdx
cmovl r8d, eax
jmp 0x1400149a9
mov r8d, dword [rbp - 0x70]
mov rax, qword [r14 + 0x20]
cmp dword [rax + 0xc], 1
ja 0x140014bc6
cmp rbx, rsi
je 0x140014bc6
mov rcx, qword [r14 + 0x50]
cmp rcx, rsi
je 0x140014bc6
test r8d, r8d
jne 0x140014bc6
mov rax, qword [r13 + 8]
mov r15, rbx
sub r15, rcx
xorps xmm2, xmm2
test dword [rax + 0x10], 0x200
cvtsi2ss xmm2, r15
je 0x140014ae5
movss xmm1, dword [0x140106038]
movaps xmm0, xmm1
mulss xmm0, xmm7
mulss xmm0, xmm6
comiss xmm0, xmm2
ja 0x140014a33
mulss xmm1, xmm6
comiss xmm2, xmm1
ja 0x140014a33
mov rcx, qword [r14 + 0x68]
lea rax, [rbx + 0x186a0]
cmp rcx, qword [r14 + 0x58]
cmovle rcx, qword [r14 + 0x58]
cmp rax, rcx
jge 0x140014bc6
mov rbx, qword [r12 + 0x30]
sub rbx, r15
mov qword [r12 + 0x30], rbx
mov rax, qword [r14 + 0x20]
mov rdi, qword [r14 + 8]
mov ecx, dword [rax + 0xc]
call sub.avutil_56.dll_av_get_media_type_string
mov r9d, dword [r14]
lea r8, str.timestamp_discontinuity_for_stream__d:_d__id_d__type_s_:__lld__new_offset__lld_n
mov qword [rsp + 0x40], rbx
mov edx, 0x30
mov qword [rsp + 0x38], r15
xor ecx, ecx
mov qword [rsp + 0x30], rax
mov eax, dword [rdi + 4]
mov dword [rsp + 0x28], eax
mov eax, dword [rdi]
mov dword [rsp + 0x20], eax
call sub.avutil_56.dll_av_log
mov r8, qword [r14 + 8]
mov rcx, r15
mov rbx, qword [rbp - 0x80]
mov dword [rbp - 0x78], 1
mov dword [rbp - 0x74], 0xf4240
mov r8, qword [r8 + 0x18]
mov rdx, qword [rbp - 0x78]
call sub.avutil_56.dll_av_rescale_q
sub qword [rbx + 0x10], rax
mov rbx, qword [rbp - 0x80]
cmp qword [rbx + 8], rsi
je 0x140014bc6
mov r8, qword [r14 + 8]
mov rcx, r15
mov dword [rbp - 0x78], 1
mov dword [rbp - 0x74], 0xf4240
mov rdx, qword [rbp - 0x78]
mov r8, qword [r8 + 0x18]
call sub.avutil_56.dll_av_rescale_q
sub qword [rbx + 8], rax
jmp 0x140014bc6
movss xmm1, dword [0x14010603c]
movaps xmm0, xmm1
mulss xmm0, xmm7
mulss xmm0, xmm6
comiss xmm0, xmm2
ja 0x140014b06
mulss xmm1, xmm6
comiss xmm2, xmm1
jbe 0x140014b36
mov r9, qword [rbp - 0x80]
lea r8, str.DTS__lld__next:_lld_st:_d_invalid_dropping_n
mov edx, 0x18
mov eax, dword [r9 + 0x24]
mov r9, qword [r9 + 0x10]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call sub.avutil_56.dll_av_log
mov rax, qword [rbp - 0x80]
mov qword [rax + 0x10], rsi
mov rax, qword [rbp - 0x80]
mov rcx, qword [rax + 8]
cmp rcx, rsi
je 0x140014bc6
mov rdx, qword [r14 + 8]
mov dword [rbp - 0x78], 1
mov dword [rbp - 0x74], 0xf4240
mov r8, qword [rbp - 0x78]
mov rdx, qword [rdx + 0x18]
call sub.avutil_56.dll_av_rescale_q
mov rcx, qword [r14 + 0x50]
xorps xmm2, xmm2
movss xmm1, dword [0x14010603c]
sub rax, rcx
movaps xmm0, xmm1
mulss xmm0, xmm7
cvtsi2ss xmm2, rax
mulss xmm0, xmm6
comiss xmm0, xmm2
ja 0x140014b96
mulss xmm1, xmm6
comiss xmm2, xmm1
jbe 0x140014bc6
mov r9, qword [rbp - 0x80]
lea r8, str.PTS__lld__next:_lld_invalid_dropping_st:_d_n
mov edx, 0x18
mov eax, dword [r9 + 0x24]
mov r9, qword [r9 + 8]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call sub.avutil_56.dll_av_log
mov rax, qword [rbp - 0x80]
mov qword [rax + 8], rsi
mov rax, qword [rbp - 0x80]
movaps xmm7, xmmword [rsp + 0x210]
movaps xmm6, xmmword [rsp + 0x220]
mov rcx, qword [rax + 0x10]
cmp rcx, rsi
je 0x140014c07
mov rdx, qword [r14 + 8]
mov dword [rbp - 0x78], 1
mov dword [rbp - 0x74], 0xf4240
mov r8, qword [rbp - 0x78]
mov rdx, qword [rdx + 0x18]
call sub.avutil_56.dll_av_rescale_q
mov qword [r12 + 0x38], rax
cmp dword [0x1401076a4], 0
je 0x140014e6e
mov rax, qword [0x140107450]
xorps xmm0, xmm0
movsxd rcx, dword [r14]
xorps xmm1, xmm1
movups xmmword [rbp + 0x70], xmm0
mov edx, 0x20
movups xmmword [rbp + 0x80], xmm0
movups xmmword [rbp + 0x50], xmm1
movups xmmword [rbp + 0x60], xmm1
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x10], xmm1
movups xmmword [rbp + 0x20], xmm1
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp - 0x30], xmm1
movups xmmword [rbp - 0x20], xmm1
mov rcx, qword [rax + rcx*8]
mov rax, qword [rcx + 0x30]
lea rcx, [rbp + 0x70]
cmp rax, rsi
jne 0x140014c7b
lea r8, str.NOPTS
call fcn.14000377e
jmp 0x140014c99
xorps xmm3, xmm3
lea r8, str._.6g
cvtsi2sd xmm3, rax
mulsd xmm3, xmm8
movq r9, xmm3
call fcn.14000377e
movsxd rcx, dword [r14]
mov edx, 0x20
mov rax, qword [0x140107450]
mov rcx, qword [rax + rcx*8]
mov r9, qword [rcx + 0x30]
lea rcx, [rbp + 0x50]
cmp r9, rsi
jne 0x140014cc7
lea r8, str.NOPTS
call fcn.14000377e
jmp 0x140014cd3
lea r8, str._lld
call fcn.14000377e
mov rax, qword [rbp - 0x80]
mov rcx, qword [r14 + 8]
mov rdx, qword [rax + 0x10]
cmp rdx, rsi
jne 0x140014cfb
lea r8, str.NOPTS
mov edx, 0x20
lea rcx, [rbp + 0x30]
call fcn.14000377e
jmp 0x140014d3d
mov rax, qword [rcx + 0x18]
lea r8, str._.6g
xorps xmm1, xmm1
lea rcx, [rbp + 0x30]
cvtsi2sd xmm1, rdx
mov edx, 0x20
movd xmm3, eax
cvtdq2pd xmm3, xmm3
shr rax, 0x20
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm3, xmm0
mulsd xmm3, xmm1
movq r9, xmm3
call fcn.14000377e
mov rax, qword [rbp - 0x80]
lea rcx, [rbp + 0x10]
mov edx, 0x20
mov r9, qword [rax + 0x10]
cmp r9, rsi
jne 0x140014d61
lea r8, str.NOPTS
call fcn.14000377e
jmp 0x140014d6d
lea r8, str._lld
call fcn.14000377e
mov rax, qword [rbp - 0x80]
mov rcx, qword [r14 + 8]
mov rdx, qword [rax + 8]
cmp rdx, rsi
jne 0x140014d95
lea r8, str.NOPTS
mov edx, 0x20
lea rcx, [rbp - 0x10]
call fcn.14000377e
jmp 0x140014dd7
mov rax, qword [rcx + 0x18]
lea r8, str._.6g
xorps xmm1, xmm1
lea rcx, [rbp - 0x10]
cvtsi2sd xmm1, rdx
mov edx, 0x20
movd xmm3, eax
cvtdq2pd xmm3, xmm3
shr rax, 0x20
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm3, xmm0
mulsd xmm3, xmm1
movq r9, xmm3
call fcn.14000377e
mov rax, qword [rbp - 0x80]
lea rcx, [rbp - 0x30]
mov edx, 0x20
mov r9, qword [rax + 8]
cmp r9, rsi
jne 0x140014dfb
lea r8, str.NOPTS
call fcn.14000377e
jmp 0x140014e07
lea r8, str._lld
call fcn.14000377e
mov rax, qword [r14 + 0x20]
mov ecx, dword [rax + 0xc]
call sub.avutil_56.dll_av_get_media_type_string
mov rcx, qword [rbp - 0x80]
lea r8, str.demuxerffmpeg____ist_index:_d_type:_s_pkt_pts:_s_pkt_pts_time:_s_pkt_dts:_s_pkt_dts_time:_s_off:_s_off_time:_s_n
mov edx, 0x20
mov r9d, dword [rcx + 0x24]
lea rcx, [rbp + 0x70]
add r9d, dword [r12 + 0x10]
mov qword [rsp + 0x50], rcx
lea rcx, [rbp + 0x50]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp + 0x30]
mov qword [rsp + 0x40], rcx
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp - 0x10]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp - 0x30]
mov qword [rsp + 0x28], rcx
xor ecx, ecx
mov qword [rsp + 0x20], rax
call sub.avutil_56.dll_av_log
mov rax, qword [rbp - 0x80]
xor esi, esi
movsxd rcx, dword [r14]
movaps xmm8, xmmword [rsp + 0x200]
mov r9, qword [rax + 8]
mov rax, qword [0x140107450]
mov qword [rbp - 0x68], r9
mov rax, qword [rax + rcx*8]
mov qword [rbp - 0x60], rax
cmp dword [rax + 0x58], esi
jle 0x140014f7f
mov r12d, esi
nop dword [rax]
nop word [rax + rax]
mov ecx, dword [rax + 0x10]
mov rax, qword [0x140107440]
add ecx, r12d
movsxd rdx, ecx
mov rbx, qword [rax + rdx*8]
cmp qword [rbx + 0x110], 0
je 0x140014f6a
mov r8, qword [rbx + 8]
mov rcx, r9
mov rdx, qword [r14 + 8]
mov r8, qword [r8 + 0x18]
mov rdx, qword [rdx + 0x18]
call sub.avutil_56.dll_av_rescale_q
lea r13, [rax - 1]
cmp r13, qword [rbx + 0xf8]
jle 0x140014f66
cmp r13, qword [rbx + 0x100]
jge 0x140014f09
cmp dword [rbx + 0x120], 0
je 0x140014f18
lea rdx, [r13 + 1]
xor r8d, r8d
mov rcx, rbx
call fcn.14000331e
cmp dword [rbx + 0x138], 0
mov edi, esi
mov r15d, esi
jle 0x140014f66
nop word [rax + rax]
mov rax, qword [rbx + 0x130]
mov rcx, qword [rsi + rax]
mov rcx, qword [rcx]
call sub.avfilter_7.dll_av_buffersrc_get_nb_failed_requests
add r15d, eax
lea rsi, [rsi + 8]
inc edi
cmp edi, dword [rbx + 0x138]
jl 0x140014f30
test r15d, r15d
je 0x140014f64
mov rdx, r13
mov rcx, rbx
call fcn.1400178b0
xor esi, esi
mov r9, qword [rbp - 0x68]
mov rax, qword [rbp - 0x60]
inc r12d
cmp r12d, dword [rax + 0x58]
jl 0x140014eb0
mov r12, qword [rbp - 0x58]
mov rdx, qword [rbp - 0x80]
xor r8d, r8d
mov rcx, r14
call fcn.1400154d0
mov rbx, qword [rbp - 0x80]
cmp dword [r12 + 0xa0], 0
je 0x140014faa
lea rcx, [rbp - 0x80]
call sub.avcodec_58.dll_av_packet_free
xor eax, eax
jmp 0x140014fc4
mov rcx, rbx
call sub.avcodec_58.dll_av_packet_unref
xor eax, eax
jmp 0x140014fc4
mov dword [r12 + 0xc], 1
mov eax, 0xfffffff5
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.140002bee
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret