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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x8a8
movaps xmmword [rsp + 0x860], xmm6
movaps xmmword [rsp + 0x870], xmm7
movaps xmmword [rsp + 0x880], xmm8
movaps xmmword [rsp + 0x890], xmm9
xor eax, eax
mov ecx, pe_nt_image_headers64
lea rbp, [rsp + 0x460]
mov r8d, dword [sym.ffmpeg_g.exe_nb_filtergraphs]
mov rdi, rbp
rep stosq qword [rdi], rax
test r8d, r8d
jle 0x14002246f
mov ecx, dword [sym.ffmpeg_g.exe_nb_input_streams]
mov rax, qword [sym.ffmpeg_g.exe_filtergraphs]
sub r8d, 1
mov r11, qword [sym.ffmpeg_g.exe_input_streams]
lea edi, [rcx - 1]
sub ecx, 2
lea rbx, [rax + 8]
movsxd rsi, ecx
movsxd rdx, edi
mov rcx, rsi
lea r14, [rbx + r8*8]
shl rdx, 3
neg rcx
lea r12, [r11 + rdx]
lea rdx, [rdx + rcx*8]
add r11, rdx
mov r10, qword [rax]
mov edx, dword [r10 + 0x38]
test edx, edx
jle 0x14002245e
mov rax, qword [r10 + 0x30]
lea ecx, [rdx - 1]
lea rdx, [rax + 8]
lea r8, [rdx + rcx*8]
jmp 0x1400223fc
cmp r8, rdx
mov rax, rdx
je 0x14002245e
add rdx, 8
mov rax, qword [rax]
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x1400223f0
mov r13d, dword [rcx + 8]
test r13d, r13d
jns 0x1400223f0
cmp dword [r10 + 0x28], 1
jne 0x1400223f0
test edi, edi
js 0x140023470
mov rax, qword [r10 + 0x20]
mov rax, qword [rax]
mov r13, qword [rax + 8]
cmp qword [r12], r13
je 0x140023470
mov rax, rsi
jmp 0x14002244a
sub rax, 1
cmp qword [r11 + rax*8], r13
je 0x140022452
cmp eax, 0xffffffff
mov r9d, eax
jne 0x140022440
mov dword [rcx + 8], r9d
cmp r8, rdx
mov rax, rdx
jne 0x1400223f8
cmp r14, rbx
mov rax, rbx
je 0x14002246f
add rbx, 8
jmp 0x1400223cb
mov edx, dword [sym.ffmpeg_g.exe_nb_input_files]
test edx, edx
jle 0x1400224e6
xor r12d, r12d
xor r13d, r13d
jmp 0x14002248e
add r13d, 1
add r12, 8
cmp r13d, edx
jge 0x1400224e6
mov rax, qword [sym.ffmpeg_g.exe_input_files]
mov rsi, qword [rax + r12]
mov ebx, dword [rsi + 0x60]
test ebx, ebx
je 0x140022481
mov r11d, dword [rsi + 0x58]
test r11d, r11d
jle 0x140022481
xor ebx, ebx
nop dword [rax + rax]
mov eax, dword [rsi + 0x10]
mov rdx, qword [sym.ffmpeg_g.exe_input_streams]
add eax, ebx
add ebx, 1
cdqe
mov rdi, qword [rdx + rax*8]
call sub.avutil_56.dll_av_gettime_relative
cmp ebx, dword [rsi + 0x58]
mov qword [rdi + 0x40], rax
jl 0x1400224b0
mov edx, dword [sym.ffmpeg_g.exe_nb_input_files]
add r13d, 1
add r12, 8
cmp r13d, edx
jl 0x14002248e
mov edx, dword [sym.ffmpeg_g.exe_nb_input_streams]
test edx, edx
jle 0x140022c37
lea r15, [0x140016e80]
xor esi, esi
xor ebx, ebx
movabs rdi, 0x8000000000000000
mov rax, qword [sym.ffmpeg_g.exe_input_streams]
mov r14, qword [rax + rsi]
mov r10d, dword [r14 + 0x18]
test r10d, r10d
je 0x140022c20
mov r12, qword [r14 + 0x28]
mov rcx, qword [r14 + 0x20]
test r12, r12
je 0x140025595
lea rax, [0x140016e50]
lea rdx, str.refcounted_frames
xor r9d, r9d
mov qword [rcx + 0x30], r14
mov qword [rcx + 0x98], r15
mov r8d, 1
mov qword [rcx + 0x1c8], rax
mov dword [rcx + 0x31c], 1
lea r13, [r14 + 0xa8]
call sub.avutil_56.dll_av_opt_set_int
mov rax, qword [r14 + 0x20]
cmp dword [rax + 0x18], 0x17001
je 0x140022d45
lea r8, [0x1400409b3]
lea rdx, str.sub_text_format
mov r9d, 0x10
mov rcx, r13
call fcn.140026590
mov rdx, qword [r14 + 8]
mov rax, qword [r14 + 0x20]
xor r9d, r9d
mov rcx, qword [r14 + 0xa8]
xor r8d, r8d
mov rdx, qword [rdx + 0x18]
mov qword [rax + 0x374], rdx
lea rdx, str.threads
call sub.avutil_56.dll_av_dict_get
test rax, rax
je 0x140023b62
mov rax, qword [r14 + 8]
test byte [rax + 0x39], 4
je 0x1400225f6
lea r8, [0x140040927]
lea rdx, str.threads
xor r9d, r9d
mov rcx, r13
call fcn.140026590
mov rcx, r14
call sym.ffmpeg_g.exe_hw_device_setup_for_decode
test eax, eax
js 0x1400233c6
mov rcx, qword [r14 + 0x20]
mov r8, r13
mov rdx, r12
call sub.avcodec_58.dll_avcodec_open2
test eax, eax
jns 0x140022bf5
cmp eax, 0xd44d5058
mov dword [rsp + 0x88], eax
je 0x1400241cf
lea rbx, [rsp + 0x380]
mov ecx, eax
mov r8d, 0x40
mov qword [rsp + 0x380], 0
mov qword [rsp + 0x388], 0
mov rdx, rbx
mov qword [rsp + 0x390], 0
mov qword [rsp + 0x398], 0
mov qword [rsp + 0x3a0], 0
mov qword [rsp + 0x3a8], 0
mov qword [rsp + 0x3b0], 0
mov qword [rsp + 0x3b8], 0
call sub.avutil_56.dll_av_strerror
mov qword [rsp + 0x28], rbx
mov rax, qword [r14 + 8]
lea r8, str.Error_while_opening_decoder_for_input_stream__d:_d_:__s
mov edx, 0x400
mov rcx, rbp
mov eax, dword [rax]
mov dword [rsp + 0x20], eax
mov r9d, dword [r14]
call fcn.140017020
cmp dword [sym.ffmpeg_g.exe_nb_output_streams], 0
jle 0x1400226fd
xor esi, esi
xor ebx, ebx
mov rax, qword [sym.ffmpeg_g.exe_output_streams]
add ebx, 1
mov rax, qword [rax + rsi]
add rsi, 8
mov rcx, qword [rax + 0x60]
call sub.avcodec_58.dll_avcodec_close
cmp ebx, dword [sym.ffmpeg_g.exe_nb_output_streams]
jl 0x1400226da
lea r8, str.Stream_mapping:_n
xor ecx, ecx
mov edx, 0x20
call sub.avutil_56.dll_av_log
mov eax, dword [sym.ffmpeg_g.exe_nb_input_streams]
test eax, eax
jle 0x140022830
lea r13, [0x1400408c8]
lea r12, str.__Stream__d:_d___s______s
xor r15d, r15d
xor r14d, r14d
mov qword [rsp + 0x90], rbp
mov rdx, qword [sym.ffmpeg_g.exe_input_streams]
mov rbp, qword [rdx + r15]
mov edx, dword [rbp + 0x128]
test edx, edx
jle 0x140022817
lea rdi, [0x14003f3e9]
xor ebx, ebx
xor esi, esi
nop
mov rax, qword [rbp + 0x120]
mov rax, qword [rax + rbx]
mov rcx, qword [rax + 0x10]
call sym.ffmpeg_g.exe_filtergraph_is_simple
test eax, eax
jne 0x1400227fe
mov rax, qword [rbp + 0x120]
mov rdx, qword [rbp + 0x28]
mov rax, qword [rax + rbx]
test rdx, rdx
mov rcx, qword [rax + 0x18]
mov rax, r13
je 0x14002279a
mov rax, qword [rdx]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov rax, qword [rbp + 8]
mov r8, r12
mov edx, 0x20
mov eax, dword [rax]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbp]
call sub.avutil_56.dll_av_log
cmp dword [sym.ffmpeg_g.exe_nb_filtergraphs], 1
jle 0x1400227ef
mov rax, qword [rbp + 0x120]
lea r8, str.__graph__d_
mov edx, 0x20
xor ecx, ecx
mov rax, qword [rax + rbx]
mov rax, qword [rax + 0x10]
mov r9d, dword [rax]
call sub.avutil_56.dll_av_log
mov r8, rdi
mov edx, 0x20
xor ecx, ecx
call sub.avutil_56.dll_av_log
add esi, 1
add rbx, 8
cmp esi, dword [rbp + 0x128]
jl 0x140022760
mov eax, dword [sym.ffmpeg_g.exe_nb_input_streams]
add r14d, 1
add r15, 8
cmp r14d, eax
jl 0x14002273a
mov rbp, qword [rsp + 0x90]
mov r12d, dword [sym.ffmpeg_g.exe_nb_output_streams]
test r12d, r12d
jle 0x140022a13
xor edi, edi
xor esi, esi
lea r12, [0x1400408c8]
mov qword [rsp + 0x90], rbp
jmp 0x1400229c1
mov rax, qword [rbx + 0x138]
test rax, rax
je 0x140022875
mov rcx, qword [rax + 0x10]
call sym.ffmpeg_g.exe_filtergraph_is_simple
test eax, eax
je 0x140023b8c
movsxd rdx, dword [rbx + 8]
mov rax, qword [sym.ffmpeg_g.exe_input_streams]
lea r8, str.__Stream__d:_d_____d:_d
xor ecx, ecx
mov rax, qword [rax + rdx*8]
mov edx, dword [rbx + 4]
mov dword [rsp + 0x30], edx
mov edx, dword [rbx]
mov dword [rsp + 0x28], edx
mov rdx, qword [rax + 8]
mov edx, dword [rdx]
mov dword [rsp + 0x20], edx
mov r9d, dword [rax]
mov edx, 0x20
call sub.avutil_56.dll_av_log
movsxd rcx, dword [rbx + 8]
mov rdx, qword [sym.ffmpeg_g.exe_input_streams]
mov rax, qword [rbx + 0x20]
cmp rax, qword [rdx + rcx*8]
je 0x1400228e6
mov rdx, qword [rax + 8]
lea r8, str.__sync__d:_d_
xor ecx, ecx
mov edx, dword [rdx]
mov dword [rsp + 0x20], edx
mov r9d, dword [rax]
mov edx, 0x20
call sub.avutil_56.dll_av_log
mov ebp, dword [rbx + 0x188]
test ebp, ebp
jne 0x1400233ae
movsxd rdx, dword [rbx + 8]
mov rax, qword [sym.ffmpeg_g.exe_input_streams]
mov r14, r12
mov rbp, qword [rbx + 0x70]
mov rbx, r12
mov rax, qword [rax + rdx*8]
mov rax, qword [rax + 0x28]
test rax, rax
je 0x140022942
mov ecx, dword [rax + 0x14]
mov rbx, qword [rax]
call sub.avcodec_58.dll_avcodec_descriptor_get
test rax, rax
je 0x14002292a
mov r14, qword [rax + 8]
mov rcx, rbx
mov rdx, r14
call sub.msvcrt.dll_strcmp
test eax, eax
lea rax, str.native
cmove rbx, rax
test rbp, rbp
mov r15, r12
mov r13, r12
je 0x14002297a
mov ecx, dword [rbp + 0x14]
mov r13, qword [rbp]
call sub.avcodec_58.dll_avcodec_descriptor_get
test rax, rax
je 0x140022962
mov r15, qword [rax + 8]
mov rcx, r13
mov rdx, r15
call sub.msvcrt.dll_strcmp
test eax, eax
lea rax, str.native
cmove r13, rax
lea r8, str.___s___s______s___s__
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rbx
mov r9, r14
mov edx, 0x20
xor ecx, ecx
call sub.avutil_56.dll_av_log
lea r8, [0x14003f3e9]
mov edx, 0x20
xor ecx, ecx
call sub.avutil_56.dll_av_log
add esi, 1
add rdi, 8
cmp esi, dword [sym.ffmpeg_g.exe_nb_output_streams]
jge 0x140022a0b
mov rax, qword [sym.ffmpeg_g.exe_output_streams]
mov rbx, qword [rax + rdi]
mov r9, qword [rbx + 0x198]
test r9, r9
je 0x140022858
mov eax, dword [rbx + 4]
lea r8, str.__File__s____Stream__d:_d_n
xor ecx, ecx
mov edx, 0x20
add esi, 1
add rdi, 8
mov dword [rsp + 0x28], eax
mov eax, dword [rbx]
mov dword [rsp + 0x20], eax
call sub.avutil_56.dll_av_log
cmp esi, dword [sym.ffmpeg_g.exe_nb_output_streams]
jl 0x1400229c1
mov rbp, qword [rsp + 0x90]
mov edi, dword [rsp + 0x88]
test edi, edi
jne 0x140023c23
mov dword [0x140046230], 1
mfence
mov rax, qword [sym.ffmpeg_g.exe_stdin_interaction]
mov esi, dword [rax]
test esi, esi
jne 0x140023d8e
call sub.avutil_56.dll_av_gettime_relative
movss xmm6, dword [0x1400416e0]
mov qword [rsp + 0xd0], rax
lea rax, [rsp + 0x3c0]
mov qword [rsp + 0x90], rbp
movaps xmm8, xmm6
movaps xmm7, xmm6
mov qword [rsp + 0xd8], rax
mov eax, dword [0x140046238]
test eax, eax
jne 0x14002336c
call sub.avutil_56.dll_av_gettime_relative
mov rdi, qword [sym.ffmpeg_g.exe_stdin_interaction]
mov qword [rsp + 0x88], rax
mov ebx, dword [rdi]
test ebx, ebx
je 0x140022aac
mov rcx, rax
call fcn.140019640
test eax, eax
js 0x14002336c
mov r15d, dword [sym.ffmpeg_g.exe_nb_output_streams]
test r15d, r15d
jle 0x140022e20
xor r14d, r14d
xor edi, edi
movabs r12, 0xf424000000001
mov rax, qword [sym.ffmpeg_g.exe_output_streams]
mov rbx, qword [rax + r14]
mov r11d, dword [rbx + 0x180]
test r11d, r11d
jne 0x140022e10
movsxd rdx, dword [rbx]
mov rax, qword [sym.ffmpeg_g.exe_output_files]
mov rsi, qword [rax + rdx*8]
mov rax, qword [rsi]
mov rcx, qword [rax + 0x20]
test rcx, rcx
je 0x140022b1e
xor edx, edx
mov r8d, 1
call sub.avformat_58.dll_avio_seek
cmp rax, qword [rsi + 0x28]
mov r15d, dword [sym.ffmpeg_g.exe_nb_output_streams]
jae 0x140022e10
movsxd rax, dword [rbx + 0x1c]
cmp rax, qword [rbx + 0x78]
jge 0x140022d90
test r15d, r15d
jle 0x1400232ed
xor r15d, r15d
xor esi, esi
movabs r12, 0x7fffffffffffffff
xor ebp, ebp
movabs rdi, 0x8000000000000000
lea r14, str.cur_dts_is_invalid__this_is_harmless_if_it_occurs_once_at_the_start_per_stream__n
movabs r13, 0xf424000000001
jmp 0x140022bc3
mov rdx, qword [rax + 0x18]
mov r8, r13
call sub.avutil_56.dll_av_rescale_q
mov r9d, dword [rbx + 0x18c]
test r9d, r9d
jne 0x140022b8b
mov r8d, dword [rbx + 0x190]
test r8d, r8d
je 0x1400231c3
mov ecx, dword [rbx + 0x180]
test ecx, ecx
jne 0x140022bae
cmp r12, rax
jle 0x140022bae
mov edx, dword [rbx + 0x184]
mov esi, 0
mov r12, rax
test edx, edx
cmove rsi, rbx
mov eax, dword [sym.ffmpeg_g.exe_nb_output_streams]
add ebp, 1
add r15, 8
cmp ebp, eax
jge 0x140022f90
mov rax, qword [sym.ffmpeg_g.exe_output_streams]
mov rbx, qword [rax + r15]
mov rax, qword [rbx + 0x10]
mov rcx, qword [rax + 0xf0]
cmp rcx, rdi
jne 0x140022b63
mov r8, r14
mov edx, 0x30
xor ecx, ecx
call sub.avutil_56.dll_av_log
mov rax, rdi
jmp 0x140022b6f
mov rcx, qword [r14 + 0xa8]
lea rdx, [0x14003efb3]
xor r8d, r8d
mov r9d, 2
call sub.avutil_56.dll_av_dict_get
test rax, rax
jne 0x1400254df
mov edx, dword [sym.ffmpeg_g.exe_nb_input_streams]
add ebx, 1
add rsi, 8
mov qword [r14 + 0x58], rdi
cmp ebx, edx
mov qword [r14 + 0x48], rdi
jl 0x140022509
mov edx, dword [sym.ffmpeg_g.exe_nb_output_streams]
test edx, edx
jle 0x140025611
xor ebx, ebx
xor eax, eax
xor esi, esi
jmp 0x140022c58
add esi, 1
add rbx, 8
cmp esi, edx
jge 0x140022c8e
mov rcx, qword [sym.ffmpeg_g.exe_output_streams]
mov rcx, qword [rcx + rbx]
cmp qword [rcx + 0x138], 0
jne 0x140022c4d
mov rdx, rbp
call fcn.14001c7f0
test eax, eax
js 0x140023b80
mov edx, dword [sym.ffmpeg_g.exe_nb_output_streams]
add esi, 1
add rbx, 8
cmp esi, edx
jl 0x140022c58
mov dword [rsp + 0x88], eax
mov edx, dword [sym.ffmpeg_g.exe_nb_input_files]
test edx, edx
jle 0x140023f21
mov rax, qword [sym.ffmpeg_g.exe_input_files]
sub edx, 1
mov r9, qword [sym.ffmpeg_g.exe_input_streams]
lea rdi, [rax + 8]
lea r12, [rdi + rdx*8]
mov rbx, qword [rax]
mov rax, qword [rbx]
mov edx, dword [rax + 0x47c]
test edx, edx
je 0x140023f10
mov rax, qword [rax + 0x480]
sub edx, 1
lea r10, [rax + 8]
lea rsi, [r10 + rdx*8]
mov r11, qword [rax]
mov r8d, dword [r11 + 0x18]
test r8d, r8d
je 0x140022d2a
mov ecx, dword [rbx + 0x10]
mov rax, qword [r11 + 0x10]
mov edx, ecx
add edx, dword [rax]
mov rdx, qword [r9 + rdx*8]
mov edx, dword [rdx + 0x10]
test edx, edx
je 0x140022d2f
lea edx, [r8 - 1]
add rax, 4
lea r8, [rax + rdx*4]
jmp 0x140022d25
mov edx, ecx
add edx, dword [rax]
add rax, 4
mov rdx, qword [r9 + rdx*8]
mov edx, dword [rdx + 0x10]
test edx, edx
je 0x140022d2f
cmp r8, rax
jne 0x140022d12
mov edx, 0x30
cmp rsi, r10
mov dword [r11 + 8], edx
mov rax, r10
je 0x140023f10
add r10, 8
jmp 0x140022ce2
test byte [r14 + 0x18], 1
je 0x140022582
lea r8, [0x140040927]
lea rdx, str.compute_edt
mov r9d, 0x10
mov rcx, r13
call fcn.140026590
test byte [r14 + 0x18], 2
je 0x140022582
lea r8, str.Warning_using_DVB_subtitles_for_filtering_and_output_at_the_same_time_is_not_fully_supported__also_see__compute_edt__01__n
mov edx, 0x18
xor ecx, ecx
call sub.avutil_56.dll_av_log
jmp 0x140022582
mov rax, qword [rsi]
mov eax, dword [rax + 0x2c]
test eax, eax
je 0x140022e10
movsxd rcx, dword [rsi + 0x10]
mov rdx, qword [sym.ffmpeg_g.exe_output_streams]
sub eax, 1
mov r13, qword [sym.ffmpeg_g.exe_output_files]
add rax, rcx
lea rbx, [rdx + rcx*8]
lea rbp, [rdx + rax*8 + 8]
nop dword [rax + rax]
mov rax, qword [rbx]
movsxd rdx, dword [rax]
mov rsi, qword [r13 + rdx*8]
or dword [rax + 0x180], 1
mov r10d, dword [rsi + 0x30]
test r10d, r10d
je 0x140022e00
mov rdx, qword [rax + 0x60]
mov rcx, qword [rax + 0x28]
mov r8, r12
sub rcx, qword [rax + 0x30]
mov rdx, qword [rdx + 0x64]
call sub.avutil_56.dll_av_rescale_q
cmp qword [rsi + 0x18], rax
cmovle rax, qword [rsi + 0x18]
mov qword [rsi + 0x18], rax
add rbx, 8
cmp rbp, rbx
jne 0x140022dc0
nop dword [rax]
add edi, 1
add r14, 8
cmp edi, r15d
jl 0x140022acb
lea r8, str.No_more_output_streams_to_write_to__finishing._n
mov edx, 0x28
xor ecx, ecx
mov rbp, qword [rsp + 0x90]
call sub.avutil_56.dll_av_log
mov edx, dword [sym.ffmpeg_g.exe_nb_input_streams]
xor esi, esi
xor ebx, ebx
test edx, edx
jle 0x140022e7a
mov r9, qword [sym.ffmpeg_g.exe_input_streams]
mov r8, qword [sym.ffmpeg_g.exe_input_files]
mov rcx, qword [r9 + rsi]
movsxd rax, dword [rcx]
mov rax, qword [r8 + rax*8]
mov r13d, dword [rax + 8]
test r13d, r13d
je 0x14002338d
add ebx, 1
add rsi, 8
cmp ebx, edx
jl 0x140022e57
mov edx, dword [sym.ffmpeg_g.exe_nb_output_streams]
xor eax, eax
xor r13d, r13d
mov r15d, eax
test edx, edx
jg 0x140022eba
jmp 0x140023f8a
mov eax, dword [rbx + 0xc]
cmp eax, 1
je 0x140023060
jbe 0x140023b5b
mov edx, dword [sym.ffmpeg_g.exe_nb_output_streams]
add r15d, 1
add r13, 8
cmp r15d, edx
jge 0x140023f8a
mov rax, qword [sym.ffmpeg_g.exe_output_streams]
mov rsi, qword [rax + r13]
mov r12d, dword [rsi + 0x18]
test r12d, r12d
je 0x140022ea9
movsxd rdx, dword [rsi]
mov edi, dword [rsi + 0x18c]
mov rax, qword [sym.ffmpeg_g.exe_output_files]
mov rbx, qword [rsi + 0x60]
test edi, edi
mov r12, qword [rax + rdx*8]
jne 0x140022e91
mov rax, qword [rsi + 0x138]
lea rdi, [rsp + 0x470]
mov ecx, 0x7e
lea r8, str.Finishing_stream__d:_d_without_any_data_written_to_it._n
mov edx, 0x18
mov r14, qword [rax + 0x10]
xor eax, eax
mov qword [rsp + 0x460], 0
rep stosq qword [rdi], rax
mov qword [rsp + 0x468], 0
mov rax, qword [rsi + 0x10]
mov eax, dword [rax]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsi]
call sub.avutil_56.dll_av_log
cmp qword [rsi + 0x138], 0
je 0x140022f52
cmp qword [r14 + 0x10], 0
je 0x140023de6
mov rdx, rbp
mov rcx, rsi
call fcn.14001c7f0
test eax, eax
jns 0x140022e91
mov qword [rsp + 0x28], rbp
mov eax, dword [rsi + 4]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsi]
lea r8, str.Error_initializing_output_stream__d:_d_____s_n
mov edx, 0x10
xor ecx, ecx
call sub.avutil_56.dll_av_log
jmp 0x1400241cf
test rsi, rsi
je 0x1400232a0
mov rax, qword [rsi + 0x138]
test rax, rax
je 0x1400231d6
mov rbx, qword [rax + 0x10]
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140023aac
mov edi, dword [rsi + 0x18c]
test edi, edi
jne 0x140023008
mov rdi, qword [rsp + 0x90]
xor eax, eax
mov ecx, pe_nt_image_headers64
rep stosq qword [rdi], rax
lea rax, [rsp + 0x460]
mov rcx, rsi
mov rdx, rax
mov qword [rsp + 0x90], rax
call fcn.14001c7f0
test eax, eax
js 0x1400255d5
mov rax, qword [rsi + 0x138]
mov rbx, qword [rax + 0x10]
mov rcx, qword [rbx + 0x10]
call sub.avfilter_7.dll_avfilter_graph_request_oldest
test eax, eax
jns 0x140023b3f
cmp eax, 0xdfb9b0bb
je 0x1400245ea
cmp eax, 0xfffffff5
je 0x1400244a1
mov rbp, qword [rsp + 0x90]
mov r8d, pe_nt_image_headers64
mov ecx, eax
mov rdx, rbp
call sub.avutil_56.dll_av_strerror
lea r8, str.Error_while_filtering:__s_n
mov r9, rbp
mov edx, 0x10
xor ecx, ecx
call sub.avutil_56.dll_av_log
jmp 0x140022e3b
cmp dword [rbx + 0x19c], 1
jle 0x140022ea3
test eax, eax
je 0x14002318b
cmp eax, 1
jne 0x140025473
lea rdi, str.audio
mov rcx, rbp
call sub.avcodec_58.dll_av_init_packet
xor ecx, ecx
mov qword [rsp + 0x478], 0
mov dword [rsp + 0x480], 0
call fcn.140019130
jmp 0x1400230c2
xor edx, edx
mov rcx, rbx
call sub.avcodec_58.dll_avcodec_send_frame
test eax, eax
js 0x140024184
mov rdx, rbp
mov rcx, rbx
call sub.avcodec_58.dll_avcodec_receive_packet
cmp eax, 0xfffffff5
je 0x1400230b0
mov r9d, dword [rsi + 4]
mov r8d, dword [rsi]
lea rcx, str.flush__s__d._d
mov r14d, eax
mov rdx, rdi
call fcn.140019370
test r14d, r14d
jns 0x1400230fd
cmp r14d, 0xdfb9b0bb
jne 0x140025621
mov rcx, qword [rsi + 0x130]
test rcx, rcx
je 0x140023121
mov r8, qword [rbx + 0x270]
test r8, r8
je 0x140023121
lea rdx, [0x14003efb4]
call fcn.140017040
cmp r14d, 0xdfb9b0bb
je 0x1400231aa
test byte [rsi + 0x180], 2
jne 0x1400231a0
mov rdx, qword [rbx + 0x64]
mov r8, qword [rsi + 0x40]
mov rcx, rbp
call sub.avcodec_58.dll_av_packet_rescale_ts
mov r8, rsi
mov rdx, rbp
mov rcx, r12
mov edi, dword [rsp + 0x480]
call fcn.14001a860
mov rax, qword [rsi + 0x60]
mov r9d, dword [rax + 0xc]
test r9d, r9d
jne 0x140023180
mov rax, qword [sym.ffmpeg_g.exe_vstats_filename]
cmp qword [rax], 0
je 0x140023180
mov edx, edi
mov rcx, rsi
call fcn.1400170a0
mov eax, dword [rbx + 0xc]
test eax, eax
jne 0x140023075
lea rdi, str.video
jmp 0x140023085
mov rcx, rbp
call sub.avcodec_58.dll_av_packet_unref
jmp 0x140023180
mov r9d, 1
mov r8, rsi
mov rdx, rbp
mov rcx, r12
call fcn.14001fb20
jmp 0x140022ea3
mov rsi, rbx
mov rax, qword [rsi + 0x138]
test rax, rax
jne 0x140022fa9
movsxd rax, dword [rsi + 8]
test eax, eax
js 0x1400255f1
mov rdx, qword [sym.ffmpeg_g.exe_input_streams]
mov rdi, qword [rdx + rax*8]
mov r8, qword [sym.ffmpeg_g.exe_input_files]
movsxd rax, dword [rdi]
mov rbx, qword [r8 + rax*8]
mov dword [rsp + 0xa8], eax
mov qword [rsp + 0xb0], rax
mov r8d, dword [rbx + 0x60]
mov r12, qword [rbx]
test r8d, r8d
je 0x14002347c
mov ecx, dword [rbx + 0x58]
test ecx, ecx
jle 0x14002347c
xor r14d, r14d
jmp 0x14002323e
add r14d, 1
cmp r14d, dword [rbx + 0x58]
jge 0x140023b53
mov eax, dword [rbx + 0x10]
mov rdx, qword [sym.ffmpeg_g.exe_input_streams]
mov r8d, 0xf4240
add eax, r14d
cdqe
mov rbp, qword [rdx + rax*8]
mov edx, 0xf4240
mov rcx, qword [rbp + 0x50]
call sub.avutil_56.dll_av_rescale
mov r13, rax
call sub.avutil_56.dll_av_gettime_relative
sub rax, qword [rbp + 0x40]
cmp r13, rax
jle 0x140023230
mov dword [rbx + 0xc], 1
movsxd rax, dword [rdi]
mov r8, qword [sym.ffmpeg_g.exe_input_files]
mov rax, qword [r8 + rax*8]
mov r15d, dword [rax + 0xc]
test r15d, r15d
je 0x140023300
mov dword [rsi + 0x184], 1
jmp 0x140023300
test eax, eax
jle 0x1400232ed
mov rdx, qword [sym.ffmpeg_g.exe_output_streams]
mov r10, qword [rdx]
lea r11, [rdx + 8]
mov r13d, dword [r10 + 0x184]
test r13d, r13d
jne 0x140023a45
lea edx, [rax - 1]
mov rcx, r11
mov rax, rdx
lea r9, [r11 + rdx*8]
jmp 0x1400232e8
mov rdx, qword [rcx]
add rcx, 8
mov r12d, dword [rdx + 0x184]
test r12d, r12d
jne 0x140023a48
cmp r9, rcx
jne 0x1400232d1
lea r8, str.No_more_inputs_to_read_from__finishing._n
mov edx, 0x28
xor ecx, ecx
call sub.avutil_56.dll_av_log
mov rax, qword [sym.ffmpeg_g.exe_print_stats]
mov r14d, dword [rax]
test r14d, r14d
jne 0x14002331d
cmp qword [sym.ffmpeg_g.exe_progress_avio], 0
je 0x140022a74
mov rax, qword [0x140035050]
cmp rax, 0xffffffffffffffff
je 0x140023379
mov rdi, qword [rsp + 0x88]
mov rsi, rdi
sub rsi, rax
cmp rsi, 0x7a11f
jle 0x140022a74
mov rdx, qword [rsp + 0xd0]
xor ecx, ecx
mov r8, rdi
mov qword [0x140035050], rdi
call fcn.1400174d0
mov eax, dword [0x140046238]
test eax, eax
je 0x140022a82
mov rbp, qword [rsp + 0x90]
jmp 0x140022e3b
mov rax, qword [rsp + 0x88]
mov qword [0x140035050], rax
jmp 0x140022a74
xor edx, edx
add ebx, 1
add rsi, 8
call fcn.140021e50
mov edx, dword [sym.ffmpeg_g.exe_nb_input_streams]
cmp edx, ebx
jg 0x140022e49
jmp 0x140022e7a
lea r8, str.__copy_
mov edx, 0x20
xor ecx, ecx
call sub.avutil_56.dll_av_log
jmp 0x14002299f
lea rbx, [rsp + 0x340]
mov r8d, 0x40
mov ecx, eax
mov dword [rsp + 0x88], eax
mov qword [rsp + 0x340], 0
mov rdx, rbx
mov qword [rsp + 0x348], 0
mov qword [rsp + 0x350], 0
mov qword [rsp + 0x358], 0
mov qword [rsp + 0x360], 0
mov qword [rsp + 0x368], 0
mov qword [rsp + 0x370], 0
mov qword [rsp + 0x378], 0
call sub.avutil_56.dll_av_strerror
mov qword [rsp + 0x28], rbx
mov rax, qword [r14 + 8]
lea r8, str.Device_setup_failed_for_decoder_on_input_stream__d:_d_:__s
mov edx, 0x400
mov rcx, rbp
mov eax, dword [rax]
mov dword [rsp + 0x20], eax
mov r9d, dword [r14]
call fcn.140017020
jmp 0x1400226cd
mov r9d, edi
mov dword [rcx + 8], r9d
jmp 0x140022456
mov rcx, r12
lea rax, [rsp + 0x400]
mov rdx, rax
mov qword [rsp + 0x98], rax
call sub.avformat_58.dll_av_read_frame
cmp eax, 0xfffffff5
je 0x140023276
test eax, eax
js 0x140023900
mov eax, dword [sym.ffmpeg_g.exe_nb_input_files]
test eax, eax
jle 0x1400234dc
mov rdx, qword [sym.ffmpeg_g.exe_input_files]
lea ecx, [rax - 1]
lea rax, [rdx + 8]
lea rcx, [rax + rcx*8]
jmp 0x1400234ca
add rax, 8
mov rdx, qword [rdx]
cmp rcx, rax
mov dword [rdx + 0xc], 0
mov rdx, rax
jne 0x1400234c6
mov eax, dword [sym.ffmpeg_g.exe_nb_output_streams]
test eax, eax
jle 0x140023513
mov rdx, qword [sym.ffmpeg_g.exe_output_streams]
lea ecx, [rax - 1]
lea rax, [rdx + 8]
lea rcx, [rax + rcx*8]
jmp 0x1400234fe
add rax, 8
mov rdx, qword [rdx]
cmp rcx, rax
mov dword [rdx + 0x184], 0
mov rdx, rax
jne 0x1400234fa
mov rdx, qword [sym.ffmpeg_g.exe_do_pkt_dump]
movsxd rax, dword [rsp + 0x424]
mov ecx, dword [rdx]
test ecx, ecx
je 0x14002355c
mov rdx, qword [r12 + 0x30]
mov r8, qword [rsp + 0x98]
xor ecx, ecx
mov rax, qword [rdx + rax*8]
mov edx, 0x20
mov qword [rsp + 0x20], rax
mov rax, qword [sym.ffmpeg_g.exe_do_hex_dump]
mov r9d, dword [rax]
call sub.avformat_58.dll_av_pkt_dump_log2
movsxd rax, dword [rsp + 0x424]
cmp dword [rbx + 0x58], eax
jle 0x1400241d9
mov edx, dword [rbx + 0x10]
mov rcx, qword [sym.ffmpeg_g.exe_input_streams]
add edx, eax
movsxd rdx, edx
mov rsi, qword [rcx + rdx*8]
movsxd rdx, dword [rsp + 0x420]
add qword [rsi + 0x178], rdx
mov edx, dword [rsi + 0x10]
add qword [rsi + 0x180], 1
test edx, edx
jne 0x1400238cd
mov rdx, qword [sym.ffmpeg_g.exe_exit_on_error]
cmp dword [rdx], 0
je 0x1400235b4
test byte [rsp + 0x428], 2
jne 0x1400254b9
mov rax, qword [sym.ffmpeg_g.exe_debug_ts]
cmp dword [rax], 0
jne 0x140024ddf
cmp dword [rsi + 0x68], 0
je 0x14002473d
mov rdi, qword [rsi + 8]
cmp qword [rsi + 0x180], 1
je 0x140024d52
mov r13, qword [rsp + 0x410]
movabs rax, 0x8000000000000000
mov r15, qword [rdi + 0x18]
cmp r13, rax
je 0x14002361c
mov rcx, qword [rbx + 0x30]
mov r8, r15
movabs rdx, 0xf424000000001
call sub.avutil_56.dll_av_rescale_q
add r13, rax
mov qword [rsp + 0x410], r13
mov r14, qword [rsp + 0x408]
movabs r9, 0x8000000000000000
mov qword [rsp + 0xa0], r9
cmp r14, r9
je 0x140023687
mov rcx, qword [rbx + 0x30]
mov r8, r15
movabs rdx, 0xf424000000001
call sub.avutil_56.dll_av_rescale_q
mov r9, qword [rsp + 0xa0]
add r14, rax
mov qword [rsp + 0x408], r14
cmp r14, r9
je 0x140023687
pxor xmm0, xmm0
cvtsi2sd xmm0, r14
mulsd xmm0, qword [rsi + 0x98]
cvttsd2si rax, xmm0
mov qword [rsp + 0x408], rax
movabs rax, 0x8000000000000000
cmp r13, rax
je 0x1400236b4
pxor xmm0, xmm0
cvtsi2sd xmm0, r13
mulsd xmm0, qword [rsi + 0x98]
cvttsd2si r13, xmm0
mov qword [rsp + 0x410], r13
mov rdx, r15
mov r9d, 0x2005
movabs r8, 0xf424000000001
mov rcx, r13
call sub.avutil_56.dll_av_rescale_q_rnd
mov r15, qword [rsi + 0x20]
cmp dword [r15 + 0xc], 1
ja 0x1400236ed
movabs rdx, 0x8000000000000000
cmp rax, rdx
jne 0x140024974
mov rdx, qword [rbx + 0x20]
mov rcx, qword [rbx + 0x18]
mov r8, qword [rdi + 0x18]
call sub.avutil_56.dll_av_rescale_q
mov rdx, qword [rsp + 0x408]
movabs rcx, 0x8000000000000000
cmp rdx, rcx
je 0x140023746
add rdx, rax
cmp qword [rsi + 0x80], rdx
mov rcx, rdx
cmovge rcx, qword [rsi + 0x80]
cmp qword [rsi + 0x78], rdx
mov qword [rsp + 0x408], rdx
cmovle rdx, qword [rsi + 0x78]
mov qword [rsi + 0x80], rcx
mov qword [rsi + 0x78], rdx
movabs rdx, 0x8000000000000000
cmp r13, rdx
je 0x140023760
add r13, rax
mov qword [rsp + 0x410], r13
mov rdx, qword [rdi + 0x18]
mov r9d, 0x2005
movabs r8, 0xf424000000001
mov rcx, r13
call sub.avutil_56.dll_av_rescale_q_rnd
cmp dword [r15 + 0xc], 1
ja 0x140023796
movabs rdx, 0x8000000000000000
cmp rax, rdx
jne 0x14002485e
movabs rax, 0x8000000000000000
cmp r13, rax
je 0x1400237c3
mov rax, qword [rsi + 8]
movabs r8, 0xf424000000001
mov rcx, r13
mov rdx, qword [rax + 0x18]
call sub.avutil_56.dll_av_rescale_q
mov qword [rbx + 0x38], rax
mov rax, qword [sym.ffmpeg_g.exe_debug_ts]
cmp dword [rax], 0
jne 0x140024ac1
movsxd rdx, dword [rsi]
mov rax, qword [sym.ffmpeg_g.exe_input_files]
mov r12, qword [rax + rdx*8]
mov r13d, dword [r12 + 0x58]
test r13d, r13d
jle 0x1400238ba
mov rax, qword [rsp + 0x408]
xor r14d, r14d
mov qword [rsp + 0xa0], rax
mov eax, dword [r12 + 0x10]
mov rdx, qword [sym.ffmpeg_g.exe_input_streams]
add eax, r14d
cdqe
mov rbx, qword [rdx + rax*8]
mov rdi, qword [rbx + 0x108]
test rdi, rdi
je 0x1400238ad
mov rax, qword [rbx + 8]
mov rdx, qword [rsi + 8]
mov rcx, qword [rsp + 0xa0]
mov rdx, qword [rdx + 0x18]
mov r8, qword [rax + 0x18]
call sub.avutil_56.dll_av_rescale_q
lea r15, [rax - 1]
cmp r15, qword [rbx + 0xf0]
jle 0x1400238ad
cmp r15, qword [rbx + 0xf8]
jge 0x140023dcc
cmp qword [rdi], 0
je 0x140023dcc
cmp dword [rbx + 0x128], 0
jle 0x1400238ad
xor r13d, r13d
xor ebp, ebp
xor edi, edi
mov rax, qword [rbx + 0x120]
add ebp, 1
mov rax, qword [rax + rdi]
add rdi, 8
mov rcx, qword [rax]
call sub.avfilter_7.dll_av_buffersrc_get_nb_failed_requests
add r13d, eax
mov eax, dword [rbx + 0x128]
cmp ebp, eax
jl 0x140023878
test r13d, r13d
jne 0x14002452b
mov r13d, dword [r12 + 0x58]
add r14d, 1
cmp r14d, r13d
jl 0x140023802
mov rdx, qword [rsp + 0x98]
xor r8d, r8d
mov rcx, rsi
call fcn.1400210c0
mov rcx, qword [rsp + 0x98]
call sub.avcodec_58.dll_av_packet_unref
xor ecx, ecx
call fcn.14001df60
test eax, eax
jns 0x140023300
cmp eax, 0xdfb9b0bb
je 0x140023300
jmp 0x140023029
mov edx, dword [rbx + 0x14]
test edx, edx
jne 0x1400242d7
cmp eax, 0xdfb9b0bb
je 0x14002392e
lea rcx, [r12 + 0x38]
mov edx, eax
call sym.ffmpeg_g.exe_print_error
mov rax, qword [sym.ffmpeg_g.exe_exit_on_error]
cmp dword [rax], 0
jne 0x1400241cf
mov r15d, dword [rbx + 0x58]
xor r12d, r12d
test r15d, r15d
jle 0x140023a21
nop
mov eax, dword [rbx + 0x10]
mov rdx, qword [sym.ffmpeg_g.exe_input_streams]
add eax, r12d
cdqe
mov rcx, qword [rdx + rax*8]
mov eax, dword [rcx + 0x18]
test eax, eax
jne 0x140023a2d
mov edx, dword [sym.ffmpeg_g.exe_nb_output_streams]
test edx, edx
jle 0x140023a14
mov r11, qword [sym.ffmpeg_g.exe_output_streams]
mov r9d, dword [rbx + 0x10]
sub edx, 1
mov r13, qword [sym.ffmpeg_g.exe_output_files]
lea rbp, [r11 + 8]
add r9d, r12d
mov rax, r11
lea r8, [rbp + rdx*8]
jmp 0x14002399b
add rax, 8
cmp r8, rax
je 0x140023a14
mov rdx, qword [rax]
cmp dword [rdx + 8], r9d
jne 0x140023992
mov r14d, dword [rdx + 0x188]
test r14d, r14d
jne 0x1400239ba
mov rcx, qword [rdx + 0x70]
cmp dword [rcx + 0x10], 3
jne 0x140023992
movsxd rcx, dword [rdx]
mov rcx, qword [r13 + rcx*8]
mov dword [rdx + 0x180], 3
mov r10d, dword [rcx + 0x30]
test r10d, r10d
je 0x140023992
mov rdx, qword [rcx]
mov r10d, dword [rdx + 0x2c]
test r10d, r10d
je 0x140023992
movsxd r14, dword [rcx + 0x10]
lea ecx, [r10 - 1]
add rcx, r14
lea rdx, [r11 + r14*8]
lea r10, [rbp + rcx*8]
mov rcx, qword [rdx]
add rdx, 8
cmp r10, rdx
mov dword [rcx + 0x180], 3
jne 0x1400239f5
add rax, 8
cmp r8, rax
jne 0x14002399b
add r12d, 1
cmp r12d, r15d
jl 0x140023940
mov dword [rbx + 8], 1
jmp 0x14002327d
xor edx, edx
call fcn.140021e50
test eax, eax
jg 0x1400238da
mov r15d, dword [rbx + 0x58]
jmp 0x14002395e
sub eax, 1
mov edx, dword [sym.ffmpeg_g.exe_nb_input_files]
test edx, edx
jle 0x140023a7d
mov rcx, qword [sym.ffmpeg_g.exe_input_files]
lea r8d, [rdx - 1]
lea rdx, [rcx + 8]
lea r8, [rdx + r8*8]
jmp 0x140023a6b
add rdx, 8
mov rcx, qword [rcx]
cmp r8, rdx
mov dword [rcx + 0xc], 0
mov rcx, rdx
jne 0x140023a67
mov rdx, r11
lea rax, [r11 + rax*8]
jmp 0x140023a8d
mov r10, qword [rdx]
add rdx, 8
cmp rax, rdx
mov dword [r10 + 0x184], 0
jne 0x140023a86
mov ecx, 0x2710
call sub.avutil_56.dll_av_usleep
jmp 0x140023300
mov edx, dword [rbx + 0x28]
mov rax, qword [rbx + 0x20]
test edx, edx
jle 0x140023bed
sub edx, 1
lea rcx, [rax + rdx*8 + 8]
jmp 0x140023ad2
add rax, 8
cmp rcx, rax
je 0x140023bed
mov rdx, qword [rax]
mov ebp, dword [rdx + 0x30]
test ebp, ebp
jns 0x140023ac5
cmp dword [rdx + 0x20], 1
ja 0x140023ac5
mov edx, dword [rbx + 0x28]
test edx, edx
jle 0x140023b30
mov rax, qword [rbx + 0x20]
sub edx, 1
mov r8, qword [sym.ffmpeg_g.exe_input_files]
lea rcx, [rax + rdx*8 + 8]
nop dword [rax]
mov rdx, qword [rax]
mov rdi, qword [rdx + 8]
mov r10d, dword [rdi + 0x1a4]
test r10d, r10d
jne 0x140023b27
movsxd rdx, dword [rdi]
mov rdx, qword [r8 + rdx*8]
mov r9d, dword [rdx + 8]
test r9d, r9d
je 0x1400231f4
add rax, 8
cmp rcx, rax
jne 0x140023b00
mov dword [rsi + 0x190], 1
jmp 0x140023300
xor ecx, ecx
call fcn.14001df60
test eax, eax
jns 0x140023300
jmp 0x1400238e1
mov rcx, qword [rbx]
jmp 0x14002347f
xor eax, eax
jmp 0x14002306d
lea r8, str.auto
lea rdx, str.threads
xor r9d, r9d
mov rcx, r13
call fcn.140026590
jmp 0x1400225d3
mov dword [rsp + 0x88], eax
jmp 0x1400226fd
mov rax, qword [rbx + 0x138]
lea r8, str.___s
xor ecx, ecx
mov edx, 0x20
mov r9, qword [rax + 0x18]
call sub.avutil_56.dll_av_log
cmp dword [sym.ffmpeg_g.exe_nb_filtergraphs], 1
jg 0x140023da6
mov rdx, qword [rbx + 0x70]
mov rax, r12
test rdx, rdx
je 0x140023bc6
mov rax, qword [rdx]
mov qword [rsp + 0x28], rax
mov eax, dword [rbx + 4]
lea r8, str.____Stream__d:_d___s__n
mov edx, 0x20
xor ecx, ecx
mov dword [rsp + 0x20], eax
mov r9d, dword [rbx]
call sub.avutil_56.dll_av_log
jmp 0x1400229b2
mov rcx, rbx
call sym.ffmpeg_g.exe_configure_filtergraph
test eax, eax
js 0x140024838
mov rax, qword [rsi + 0x138]
test rax, rax
je 0x1400231d6
mov rbx, qword [rax + 0x10]
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140023ae2
jmp 0x140022fba
lea r8, [0x140040af9]
xor ecx, ecx
mov r9, rbp
mov edx, 0x10
call sub.avutil_56.dll_av_log
test edi, edi
jns 0x140022a2f
cmp qword [sym.ffmpeg_g.exe_output_streams], 0
je 0x140023d51
mov eax, dword [sym.ffmpeg_g.exe_nb_output_streams]
test eax, eax
jle 0x140023d51
mov r14, qword [sym.imp.msvcrt.dll__errno]
lea r12, [rsp + 0x460]
xor r15d, r15d
xor esi, esi
xor r13d, r13d
mov rdx, qword [sym.ffmpeg_g.exe_output_streams]
mov rbx, qword [rdx + r15]
test rbx, rbx
je 0x140023d42
mov rcx, qword [rbx + 0x130]
test rcx, rcx
je 0x140023ce8
call sub.msvcrt.dll_fclose
test eax, eax
je 0x140023cdd
call r14
mov r9d, dword [rax]
mov rdi, rbp
mov eax, r13d
mov ecx, 0x10
mov r8d, 0x40
mov rdx, r12
rep stosd dword [rdi], eax
neg r9d
mov rbp, r12
mov ecx, r9d
call sub.avutil_56.dll_av_strerror
lea r8, str.Error_closing_logfile__loss_of_information_possible:__s_n
mov r9, r12
mov edx, 0x10
xor ecx, ecx
call sub.avutil_56.dll_av_log
mov qword [rbx + 0x130], 0
lea rcx, [rbx + 0xd0]
call sub.avutil_56.dll_av_freep
lea rcx, [rbx + 0x178]
call sub.avutil_56.dll_av_freep
lea rcx, [rbx + 0x1a8]
call sub.avutil_56.dll_av_freep
lea rcx, [rbx + 0x158]
call fcn.1400265a8
lea rcx, [rbx + 0x160]
call fcn.1400265a8
lea rcx, [rbx + 0x168]
call fcn.1400265a8
lea rcx, [rbx + 0x170]
call fcn.1400265a8
mov eax, dword [sym.ffmpeg_g.exe_nb_output_streams]
add esi, 1
add r15, 8
cmp esi, eax
jl 0x140023c74
mov eax, dword [rsp + 0x88]
movaps xmm6, xmmword [rsp + 0x860]
movaps xmm7, xmmword [rsp + 0x870]
movaps xmm8, xmmword [rsp + 0x880]
movaps xmm9, xmmword [rsp + 0x890]
add rsp, 0x8a8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
lea r8, str.Press__q__to_stop______for_help_n
mov edx, 0x20
xor ecx, ecx
call sub.avutil_56.dll_av_log
jmp 0x140022a40
mov rax, qword [rbx + 0x138]
lea r8, str.__graph__d_
mov edx, 0x20
xor ecx, ecx
mov rax, qword [rax + 0x10]
mov r9d, dword [rax]
call sub.avutil_56.dll_av_log
jmp 0x140023bb7
mov rcx, rbx
call fcn.140019450
cmp dword [rbx + 0x128], 0
jg 0x140023871
jmp 0x1400238a8
mov edx, dword [r14 + 0x28]
mov rax, qword [r14 + 0x20]
test edx, edx
jle 0x140023e59
sub edx, 1
mov rcx, rax
lea r9, [rax + rdx*8 + 8]
mov rdx, qword [rcx]
mov r11d, dword [rdx + 0x30]
test r11d, r11d
jns 0x140023e50
mov r8, qword [rdx + 8]
mov r8, qword [r8 + 8]
mov r8, qword [r8 + 0xd0]
mov r10d, dword [r8 + 0x1c]
mov dword [rdx + 0x30], r10d
mov r10d, dword [r8 + 0x74]
mov dword [rdx + 0x44], r10d
mov r10d, dword [r8 + 0x70]
mov dword [rdx + 0x48], r10d
mov r10, qword [r8 + 0x68]
mov qword [rdx + 0x50], r10
mov r10d, dword [r8 + 0x38]
mov dword [rdx + 0x34], r10d
mov r10d, dword [r8 + 0x3c]
mov r8, qword [r8 + 0x40]
mov dword [rdx + 0x38], r10d
mov qword [rdx + 0x3c], r8
add rcx, 8
cmp r9, rcx
jne 0x140023dfd
mov edx, dword [r14 + 0x28]
test edx, edx
jle 0x140023e93
sub edx, 1
lea rcx, [rax + rdx*8 + 8]
jmp 0x140023e74
add rax, 8
cmp rcx, rax
je 0x140023e93
mov rdx, qword [rax]
mov r10d, dword [rdx + 0x30]
test r10d, r10d
jns 0x140023e6b
cmp dword [rdx + 0x20], 1
jbe 0x140022ea3
add rax, 8
cmp rcx, rax
jne 0x140023e74
mov rcx, r14
call sym.ffmpeg_g.exe_configure_filtergraph
test eax, eax
js 0x140025456
movsxd rdx, dword [rsi]
mov rax, qword [sym.ffmpeg_g.exe_output_files]
mov rax, qword [rax + rdx*8]
mov dword [rsi + 0x180], 3
cmp dword [rax + 0x30], 0
je 0x140022f52
mov rdx, qword [rax]
mov edx, dword [rdx + 0x2c]
test edx, edx
je 0x140022f52
movsxd r8, dword [rax + 0x10]
mov rcx, qword [sym.ffmpeg_g.exe_output_streams]
sub edx, 1
add rdx, r8
lea rax, [rcx + r8*8]
lea rdx, [rcx + rdx*8 + 8]
mov rcx, qword [rax]
add rax, 8
cmp rax, rdx
mov dword [rcx + 0x180], 3
jne 0x140023eed
jmp 0x140022f52
cmp r12, rdi
mov rax, rdi
je 0x140023f21
add rdi, 8
jmp 0x140022cbc
mov r8d, dword [sym.ffmpeg_g.exe_nb_output_files]
test r8d, r8d
jle 0x1400226fd
xor ebx, ebx
mov eax, dword [rsp + 0x88]
jmp 0x140023f50
lea edx, [rbx + 1]
add rbx, 1
cmp edx, r8d
jge 0x140023b80
mov rdx, qword [sym.ffmpeg_g.exe_output_files]
mov rcx, qword [rdx + rbx*8]
mov rdx, qword [rcx]
mov r9, qword [rdx + 0x10]
test byte [r9 + 0x2d], 0x10
je 0x140023f40
mov r9d, dword [rdx + 0x2c]
test r9d, r9d
jne 0x140023f40
mov edx, ebx
call fcn.14001bd00
test eax, eax
js 0x140023b80
mov r8d, dword [sym.ffmpeg_g.exe_nb_output_files]
jmp 0x140023f40
lea r9, [0x14003efb3]
lea r8, [0x14003efb4]
xor ecx, ecx
mov edx, 0xfffffff8
call sub.avutil_56.dll_av_log
cmp dword [sym.ffmpeg_g.exe_nb_output_files], 0
jle 0x14002402c
xor esi, esi
xor ebx, ebx
xor r13d, r13d
lea r12, [rsp + 0x300]
mov r15, qword [sym.ffmpeg_g.exe_exit_on_error]
jmp 0x140023fe7
mov rcx, r14
call sub.avformat_58.dll_av_write_trailer
test eax, eax
mov r9d, eax
js 0x1400240e4
add ebx, 1
add rsi, 8
cmp dword [sym.ffmpeg_g.exe_nb_output_files], ebx
jle 0x14002402c
mov rax, qword [sym.ffmpeg_g.exe_output_files]
mov rax, qword [rax + rsi]
mov r8d, dword [rax + 0x34]
mov r14, qword [rax]
test r8d, r8d
jne 0x140023fc5
add r14, 0x38
lea r8, str.Nothing_was_written_into_output_file__d___s___because_at_least_one_of_its_streams_received_no_packets._n
mov r9d, ebx
xor ecx, ecx
mov qword [rsp + 0x20], r14
mov edx, 0x10
call sub.avutil_56.dll_av_log
add ebx, 1
add rsi, 8
cmp dword [sym.ffmpeg_g.exe_nb_output_files], ebx
jg 0x140023fe7
call sub.avutil_56.dll_av_gettime_relative
mov rdx, qword [rsp + 0xd0]
mov r8, rax
mov ecx, 1
call fcn.1400174d0
mov eax, dword [sym.ffmpeg_g.exe_nb_output_streams]
test eax, eax
jle 0x14002467e
xor esi, esi
xor r12d, r12d
xor ebx, ebx
mov rdx, qword [sym.ffmpeg_g.exe_output_streams]
mov rdi, qword [rdx + rsi]
mov ecx, dword [rdi + 0x18]
test ecx, ecx
jne 0x140024132
add ebx, 1
add r12, qword [rdi + 0x1d0]
add rsi, 8
cmp ebx, eax
jl 0x140024062
test r12, r12
je 0x14002467e
mov eax, dword [sym.ffmpeg_g.exe_nb_input_streams]
test eax, eax
jle 0x140024163
xor esi, esi
xor ebx, ebx
jmp 0x1400240af
add ebx, 1
add rsi, 8
cmp ebx, eax
jge 0x140024163
mov rdx, qword [sym.ffmpeg_g.exe_input_streams]
mov rdi, qword [rdx + rsi]
mov edx, dword [rdi + 0x18]
test edx, edx
je 0x1400240a0
mov rcx, qword [rdi + 0x20]
call sub.avcodec_58.dll_avcodec_close
mov rax, qword [rdi + 0x150]
test rax, rax
je 0x1400240dc
mov rcx, qword [rdi + 0x20]
call rax
mov eax, dword [sym.ffmpeg_g.exe_nb_input_streams]
jmp 0x1400240a0
lea rdi, [rsp + 0x300]
mov eax, r13d
mov ecx, 0x10
mov r8d, 0x40
mov rdx, r12
rep stosd dword [rdi], eax
mov ecx, r9d
call sub.avutil_56.dll_av_strerror
lea r9, [r14 + 0x38]
lea r8, str.Error_writing_trailer_of__s:__s_n
xor ecx, ecx
mov qword [rsp + 0x20], r12
mov edx, 0x10
call sub.avutil_56.dll_av_log
cmp dword [r15], 0
je 0x140023fd8
jmp 0x1400241cf
mov rax, qword [rdi + 0x60]
add ebx, 1
add rsi, 8
lea rcx, [rax + 0x278]
call sub.avutil_56.dll_av_freep
mov eax, dword [sym.ffmpeg_g.exe_nb_output_streams]
add r12, qword [rdi + 0x1d0]
cmp eax, ebx
jg 0x14002405b
jmp 0x140024083
mov rcx, qword [sym.ffmpeg_g.exe_hw_device_ctx]
call sub.avutil_56.dll_av_buffer_unref
call sym.ffmpeg_g.exe_hw_device_free_all
mov dword [rsp + 0x88], 0
jmp 0x140023c41
mov r15, rdi
lea rbx, [rsp + 0x400]
lea rdi, [rsp + 0x400]
mov r9d, eax
mov ecx, 0x10
xor eax, eax
rep stosd dword [rdi], eax
mov r8d, 0x40
mov rdx, rbx
mov ecx, r9d
call sub.avutil_56.dll_av_strerror
lea r8, str._s_encoding_failed:__s_n
mov qword [rsp + 0x20], rbx
mov r9, r15
mov edx, 8
xor ecx, ecx
call sub.avutil_56.dll_av_log
mov ecx, 1
call sym.ffmpeg_g.exe_exit_program
mov rdx, qword [sym.ffmpeg_g.exe_input_files]
mov rdi, qword [rsp + 0xb0]
mov rbx, qword [rdx + rdi*8]
cmp dword [rbx + 0x5c], eax
jg 0x1400238cd
mov rdx, qword [rbx]
lea rsi, [rsp + 0x2e0]
mov ecx, 8
mov rdi, rsi
mov rdx, qword [rdx + 0x30]
mov r12, qword [rdx + rax*8]
mov rdx, qword [rsp + 0x410]
xor eax, eax
rep stosd dword [rdi], eax
movabs rax, 0x8000000000000000
cmp rdx, rax
je 0x14002543d
pxor xmm0, xmm0
lea r8, str._.6g
mov rcx, rsi
pxor xmm1, xmm1
cvtsi2sd xmm0, dword [r12 + 0x18]
cvtsi2sd xmm1, dword [r12 + 0x1c]
divsd xmm0, xmm1
movapd xmm1, xmm0
pxor xmm0, xmm0
cvtsi2sd xmm0, rdx
mov edx, 0x20
mulsd xmm0, xmm1
movapd xmm3, xmm0
movq r9, xmm0
call fcn.140017020
mov rax, qword [r12 + 0xd0]
mov r13, qword [rsp + 0x448]
mov edi, dword [rsp + 0x424]
mov ecx, dword [rax]
call sub.avutil_56.dll_av_get_media_type_string
mov r9, rax
mov eax, dword [rsp + 0xa8]
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], edi
lea r8, str.New__s_stream__d:_d_at_pos:_lld_and_DTS:_ss_n
mov edx, 0x18
mov dword [rsp + 0x20], eax
mov rcx, qword [rbx]
call sub.avutil_56.dll_av_log
mov eax, dword [rsp + 0x424]
add eax, 1
mov dword [rbx + 0x5c], eax
jmp 0x1400238cd
mov r8, qword [r12 + 0x438]
xor r9d, r9d
or edx, 0xffffffff
mov rcx, r12
call sub.avformat_58.dll_av_seek_frame
test eax, eax
js 0x140024a92
cmp dword [rbx + 0x58], 0
jle 0x1400246ab
mov dword [rsp + 0xa0], 0
xor r15d, r15d
mov eax, dword [rbx + 0x10]
mov rdx, qword [sym.ffmpeg_g.exe_input_streams]
add eax, r15d
cdqe
mov rbp, qword [rdx + rax*8]
mov eax, dword [rbp + 0x18]
mov r13, qword [rbp + 0x20]
test eax, eax
je 0x140024340
mov rcx, rbp
mov edx, 1
call fcn.140021e50
mov rcx, r13
call sub.avcodec_58.dll_avcodec_flush_buffers
cmp dword [r13 + 0xc], 1
jne 0x140024363
cmp qword [rbp + 0x90], 0
mov eax, 1
cmove eax, dword [rsp + 0xa0]
mov dword [rsp + 0xa0], eax
mov eax, dword [rbx + 0x58]
add r15d, 1
cmp r15d, eax
jl 0x14002430d
test eax, eax
jle 0x1400246ab
xor r15d, r15d
jmp 0x140024403
mov rax, qword [r13 + 0x20]
cmp dword [rax + 0xc], 1
jne 0x1400243f5
mov rcx, qword [r13 + 0x90]
test rcx, rcx
je 0x1400243f5
mov edx, dword [rax + 0x190]
mov rbp, qword [r13 + 8]
mov r8, qword [rbp + 0x18]
shl rdx, 0x20
or rdx, 1
call sub.avutil_56.dll_av_rescale_q
add rax, qword [r13 + 0x80]
mov rcx, qword [rbx + 0x18]
sub rax, qword [r13 + 0x78]
test rcx, rcx
mov r13, rax
je 0x140024455
mov r14, qword [rbp + 0x18]
mov rbp, qword [rbx + 0x20]
mov r8, rax
mov r9, r14
mov rdx, rbp
call sub.avutil_56.dll_av_compare_ts
test eax, eax
js 0x140024a7f
mov eax, ebp
shr rbp, 0x20
mov dword [rbx + 0x20], eax
mov dword [rbx + 0x24], ebp
add r15d, 1
cmp r15d, dword [rbx + 0x58]
jge 0x1400246ab
mov eax, dword [rbx + 0x10]
mov rdx, qword [sym.ffmpeg_g.exe_input_streams]
add eax, r15d
cdqe
mov r13, qword [rdx + rax*8]
mov eax, dword [rsp + 0xa0]
test eax, eax
jne 0x14002437f
mov eax, dword [r13 + 0xb0]
mov rbp, qword [r13 + 8]
test eax, eax
je 0x140024474
mov edx, dword [r13 + 0xb4]
mov r8, qword [rbp + 0x18]
shl rax, 0x20
mov ecx, 1
or rdx, rax
call sub.avutil_56.dll_av_rescale_q
jmp 0x1400243b0
mov rax, qword [rbp + 0x18]
mov r14, qword [rbp + 0x18]
mov qword [rbx + 0x18], r13
mov qword [rbx + 0x20], rax
mov eax, r14d
shr r14, 0x20
mov rbp, r14
jmp 0x1400243ef
mov edx, dword [rbp + 0x50]
mov eax, 1
test edx, edx
je 0x1400243b0
mov eax, dword [rbp + 0x54]
mov r8, qword [rbp + 0x18]
shl rdx, 0x20
mov ecx, 1
or rdx, rax
call sub.avutil_56.dll_av_rescale_q
jmp 0x1400243b0
mov edx, dword [rbx + 0x28]
test edx, edx
jle 0x140024501
xor r13d, r13d
xor edi, edi
xor r14d, r14d
xor r12d, r12d
mov rax, qword [rbx + 0x20]
mov rcx, qword [sym.ffmpeg_g.exe_input_files]
mov rax, qword [rax + r13]
mov rbp, qword [rax + 8]
movsxd r8, dword [rbp]
mov rcx, qword [rcx + r8*8]
cmp qword [rcx + 8], 0
jne 0x1400244eb
mov rcx, qword [rax]
call sub.avfilter_7.dll_av_buffersrc_get_nb_failed_requests
cmp eax, r14d
mov edx, dword [rbx + 0x28]
jle 0x1400244eb
mov rdi, rbp
mov r14d, eax
add r12d, 1
add r13, 8
cmp r12d, edx
jl 0x1400244b3
test rdi, rdi
jne 0x1400231ed
mov edx, dword [rbx + 0x38]
xor eax, eax
jmp 0x140024522
mov rcx, qword [rbx + 0x30]
mov rcx, qword [rcx + rax*8]
add rax, 1
mov rcx, qword [rcx + 8]
mov dword [rcx + 0x184], 1
cmp edx, eax
jg 0x140024508
jmp 0x140023300
mov rbp, qword [rbx + 0x108]
test eax, eax
mov qword [rbp + 0x88], r15
mov qword [rbx + 0xf0], r15
jle 0x1400238a8
xor r13d, r13d
xor r15d, r15d
mov rax, qword [rbx + 0x120]
mov r8d, 0xc
mov rdx, rbp
mov rax, qword [rax + r15]
mov rcx, qword [rax]
call sub.avfilter_7.dll_av_buffersrc_add_frame_flags
cmp eax, 0xdfb9b0bb
mov r9d, eax
je 0x1400245d0
test eax, eax
jns 0x1400245d0
lea rdi, [rsp + 0x3c0]
xor eax, eax
mov ecx, 0x10
mov r8d, 0x40
add r13d, 1
add r15, 8
rep stosd dword [rdi], eax
mov rdi, qword [rsp + 0xd8]
mov ecx, r9d
mov rdx, rdi
call sub.avutil_56.dll_av_strerror
lea r8, str.Error_while_add_the_frame_to_buffer_source__s_._n
xor ecx, ecx
mov r9, rdi
mov edx, 0x18
call sub.avutil_56.dll_av_log
cmp r13d, dword [rbx + 0x128]
jl 0x14002454e
jmp 0x1400238a8
add r13d, 1
add r15, 8
cmp r13d, dword [rbx + 0x128]
jl 0x14002454e
jmp 0x1400238a8
mov ecx, 1
call fcn.14001df60
mov edx, dword [rbx + 0x38]
mov edi, eax
test edx, edx
jle 0x14002466f
mov rax, qword [rbx + 0x30]
sub edx, 1
mov r12, qword [sym.ffmpeg_g.exe_output_files]
movabs rbx, 0xf424000000001
lea r13, [rax + 8]
lea rsi, [r13 + rdx*8]
jmp 0x140024624
add r13, 8
mov rax, qword [rax]
mov rax, qword [rax + 8]
movsxd rdx, dword [rax]
mov rbp, qword [r12 + rdx*8]
or dword [rax + 0x180], 1
mov r11d, dword [rbp + 0x30]
test r11d, r11d
je 0x140024667
mov rdx, qword [rax + 0x60]
mov rcx, qword [rax + 0x28]
mov r8, rbx
sub rcx, qword [rax + 0x30]
mov rdx, qword [rdx + 0x64]
call sub.avutil_56.dll_av_rescale_q
cmp qword [rbp + 0x18], rax
cmovle rax, qword [rbp + 0x18]
mov qword [rbp + 0x18], rax
cmp rsi, r13
mov rax, r13
jne 0x140024620
test edi, edi
mov eax, 0
cmovle eax, edi
jmp 0x1400238e1
mov rax, qword [sym.ffmpeg_g.exe_abort_on_flags]
test byte [rax], 1
je 0x14002408c
lea r8, str.Empty_output_n
xor ecx, ecx
mov edx, 8
call sub.avutil_56.dll_av_log
mov ecx, 1
call sym.ffmpeg_g.exe_exit_program
mov eax, dword [rbx + 0x14]
test eax, eax
jle 0x1400246b8
sub eax, 1
mov dword [rbx + 0x14], eax
cmp dword [rbx + 0x60], 0
je 0x140024717
xor r14d, r14d
cmp dword [rbx + 0x58], 0
jg 0x1400246da
jmp 0x140024717
add r14d, 1
cmp r14d, dword [rbx + 0x58]
jge 0x140024717
mov eax, dword [rbx + 0x10]
mov rdx, qword [sym.ffmpeg_g.exe_input_streams]
mov r8d, 0xf4240
add eax, r14d
cdqe
mov rbp, qword [rdx + rax*8]
mov edx, 0xf4240
mov rcx, qword [rbp + 0x50]
call sub.avutil_56.dll_av_rescale
mov r13, rax
call sub.avutil_56.dll_av_gettime_relative
sub rax, qword [rbp + 0x40]
cmp r13, rax
jle 0x1400246d0
jmp 0x140023276
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rbx]
call sub.avformat_58.dll_av_read_frame
cmp eax, 0xfffffff5
je 0x140023276
test eax, eax
js 0x14002390b
jmp 0x1400234a8
mov r14, qword [r12 + 0x438]
movabs rax, 0x8000000000000000
mov rdi, qword [rsi + 8]
cmp r14, rax
je 0x1400235d2
cmp dword [rdi + 0xe0], 0x3f
jg 0x1400235d2
cmp qword [rsi + 0x48], rax
je 0x14002533b
mov r8, qword [rdi + 0x18]
movabs rdx, 0xf424000000001
mov rcx, r14
call sub.avutil_56.dll_av_rescale_q
mov r8d, dword [rdi + 0xe0]
mov edx, 1
mov dword [rsi + 0x68], 1
mov r9, rdx
mov ecx, r8d
shl r9, cl
lea rcx, [rax + r9]
cmp rax, rcx
jge 0x1400235d2
mov r10, qword [rsp + 0x410]
movabs rcx, 0x8000000000000000
cmp r10, rcx
je 0x1400247ed
lea ecx, [r8 - 1]
shl rdx, cl
add rdx, rax
cmp r10, rdx
jle 0x1400247ed
mov rdx, r10
sub rdx, r9
mov qword [rsp + 0x410], rdx
mov dword [rsi + 0x68], 0
mov rdx, qword [rsp + 0x408]
movabs rcx, 0x8000000000000000
cmp rdx, rcx
je 0x1400235d2
lea ecx, [r8 - 1]
mov r10d, 1
shl r10, cl
add rax, r10
cmp rdx, rax
jle 0x1400235d2
sub rdx, r9
mov qword [rsp + 0x408], rdx
mov dword [rsi + 0x68], 0
jmp 0x1400235d2
lea r8, str.Error_reinitializing_filters__n
mov edx, 0x10
xor ecx, ecx
mov dword [rsp + 0x98], eax
call sub.avutil_56.dll_av_log
mov eax, dword [rsp + 0x98]
jmp 0x1400238e1
mov r15, qword [rsi + 0x48]
cmp r15, rdx
je 0x140023796
mov rcx, qword [sym.ffmpeg_g.exe_copy_ts]
cmp dword [rcx], 0
jne 0x140023796
mov rcx, qword [r12 + 8]
mov r14, rax
sub r14, r15
pxor xmm2, xmm2
test byte [rcx + 0x11], 2
cvtsi2ss xmm2, r14
je 0x14002520e
mov rdx, qword [sym.ffmpeg_g.exe_dts_delta_threshold]
movss xmm0, dword [0x1400416f0]
movss xmm1, dword [rdx]
movaps xmm3, xmm1
xorps xmm3, xmm8
mulss xmm3, xmm0
ucomiss xmm3, xmm2
ja 0x1400248e1
mulss xmm0, xmm1
ucomiss xmm2, xmm0
ja 0x1400248e1
add rax, 0x186a0
mov rdx, qword [rsi + 0x60]
cmp qword [rsi + 0x50], rdx
cmovge rdx, qword [rsi + 0x50]
cmp rax, rdx
jge 0x140023796
mov rax, qword [rbx + 0x30]
lea r8, str.timestamp_discontinuity__lld__new_offset__lld_n
xor ecx, ecx
mov r9, r14
mov edx, 0x30
sub rax, r14
mov qword [rbx + 0x30], rax
mov qword [rsp + 0x20], rax
call sub.avutil_56.dll_av_log
mov rax, qword [rsi + 8]
movabs rdx, 0xf424000000001
mov rcx, r14
mov r12, qword [rax + 0x18]
mov r8, r12
call sub.avutil_56.dll_av_rescale_q
mov rdi, qword [rsp + 0x408]
sub qword [rsp + 0x410], rax
movabs rax, 0x8000000000000000
cmp rdi, rax
je 0x14002530d
mov r8, r12
movabs rdx, 0xf424000000001
mov rcx, r14
call sub.avutil_56.dll_av_rescale_q
sub rdi, rax
mov r13, qword [rsp + 0x410]
mov qword [rsp + 0x408], rdi
jmp 0x140023796
cmp qword [rsi + 0x48], rdx
jne 0x1400236ed
mov rcx, qword [sym.ffmpeg_g.exe_copy_ts]
cmp dword [rcx], 0
jne 0x1400236ed
mov rcx, qword [r12 + 8]
test byte [rcx + 0x11], 2
je 0x1400236ed
mov rcx, qword [rbx + 0x38]
cmp rcx, rdx
je 0x1400236ed
pxor xmm3, xmm3
sub rax, rcx
mov r14, rax
movss xmm0, dword [0x1400416f0]
cvtsi2ss xmm3, rax
mov rax, qword [sym.ffmpeg_g.exe_dts_delta_threshold]
movss xmm1, dword [rax]
movaps xmm2, xmm1
xorps xmm2, xmm7
mulss xmm2, xmm0
ucomiss xmm2, xmm3
ja 0x1400249e8
mulss xmm0, xmm1
ucomiss xmm3, xmm0
jbe 0x1400236ed
mov rax, qword [rbx + 0x30]
lea r8, str.Inter_stream_timestamp_discontinuity__lld__new_offset__lld_n
xor ecx, ecx
mov r9, r14
mov edx, 0x30
sub rax, r14
mov qword [rbx + 0x30], rax
mov qword [rsp + 0x20], rax
call sub.avutil_56.dll_av_log
mov rdi, qword [rsi + 8]
movabs rdx, 0xf424000000001
mov rcx, r14
mov r15, qword [rdi + 0x18]
mov r8, r15
call sub.avutil_56.dll_av_rescale_q
mov r13, qword [rsp + 0x408]
sub qword [rsp + 0x410], rax
movabs rax, 0x8000000000000000
cmp r13, rax
je 0x14002531a
mov r8, r15
movabs rdx, 0xf424000000001
mov rcx, r14
call sub.avutil_56.dll_av_rescale_q
sub r13, rax
mov r15, qword [rsi + 0x20]
mov qword [rsp + 0x408], r13
mov r13, qword [rsp + 0x410]
jmp 0x1400236ed
mov eax, r14d
shr r14, 0x20
mov qword [rbx + 0x18], r13
mov rbp, r14
jmp 0x1400243ef
lea r8, str.Seek_to_start_failed._n
xor ecx, ecx
mov edx, 0x18
mov dword [rsp + 0x98], eax
call sub.avutil_56.dll_av_log
mov eax, dword [rsp + 0x98]
cmp eax, 0xfffffff5
jne 0x14002390b
jmp 0x140023276
movsxd rdx, dword [rsi]
mov rax, qword [sym.ffmpeg_g.exe_input_files]
lea r13, [rsp + 0x180]
mov ecx, 8
mov rdi, r13
mov rax, qword [rax + rdx*8]
mov rdx, qword [rax + 0x30]
xor eax, eax
rep stosd dword [rdi], eax
movabs rax, 0x8000000000000000
cmp rdx, rax
je 0x14002557c
pxor xmm0, xmm0
lea r8, str._.6g
mov rcx, r13
cvtsi2sd xmm0, rdx
mov edx, 0x20
mulsd xmm0, qword [0x1400416d0]
movapd xmm3, xmm0
movq r9, xmm0
call fcn.140017020
movsxd rdx, dword [rsi]
mov rax, qword [sym.ffmpeg_g.exe_input_files]
lea r12, [rsp + 0x160]
mov ecx, 8
mov rdi, r12
mov rax, qword [rax + rdx*8]
mov r9, qword [rax + 0x30]
xor eax, eax
rep stosd dword [rdi], eax
movabs rax, 0x8000000000000000
cmp r9, rax
je 0x140025563
lea r8, str._lld
mov edx, 0x20
mov rcx, r12
call fcn.140017020
lea r14, [rsp + 0x140]
mov rdx, qword [rsp + 0x410]
xor eax, eax
mov ecx, 8
mov r8, qword [rsi + 8]
mov rdi, r14
rep stosd dword [rdi], eax
movabs rax, 0x8000000000000000
cmp rdx, rax
je 0x14002554a
pxor xmm0, xmm0
mov rcx, r14
pxor xmm1, xmm1
cvtsi2sd xmm0, dword [r8 + 0x18]
cvtsi2sd xmm1, dword [r8 + 0x1c]
divsd xmm0, xmm1
lea r8, str._.6g
movapd xmm1, xmm0
pxor xmm0, xmm0
cvtsi2sd xmm0, rdx
mov edx, 0x20
mulsd xmm0, xmm1
movapd xmm3, xmm0
movq r9, xmm0
call fcn.140017020
lea r15, [rsp + 0x120]
mov r9, qword [rsp + 0x410]
xor eax, eax
mov ecx, 8
mov rdi, r15
rep stosd dword [rdi], eax
movabs rax, 0x8000000000000000
cmp r9, rax
je 0x140025531
lea r8, str._lld
mov edx, 0x20
mov rcx, r15
call fcn.140017020
lea rdi, [rsp + 0x100]
mov rdx, qword [rsp + 0x408]
xor eax, eax
mov ecx, 8
mov r8, qword [rsi + 8]
mov qword [rsp + 0xa0], rdi
rep stosd dword [rdi], eax
movabs rax, 0x8000000000000000
cmp rdx, rax
je 0x140025513
pxor xmm0, xmm0
mov rcx, qword [rsp + 0xa0]
pxor xmm1, xmm1
cvtsi2sd xmm0, dword [r8 + 0x18]
cvtsi2sd xmm1, dword [r8 + 0x1c]
divsd xmm0, xmm1
lea r8, str._.6g
movapd xmm1, xmm0
pxor xmm0, xmm0
cvtsi2sd xmm0, rdx
mov edx, 0x20
mulsd xmm0, xmm1
movapd xmm3, xmm0
movq r9, xmm0
call fcn.140017020
lea rdi, [rsp + 0xe0]
mov r9, qword [rsp + 0x408]
xor eax, eax
mov ecx, 8
mov rbp, rdi
rep stosd dword [rdi], eax
movabs rax, 0x8000000000000000
cmp r9, rax
je 0x1400254fa
lea r8, str._lld
mov edx, 0x20
mov rcx, rbp
call fcn.140017020
mov rax, qword [rsi + 0x20]
mov ecx, dword [rax + 0xc]
call sub.avutil_56.dll_av_get_media_type_string
mov r9d, dword [rsp + 0x424]
mov rdi, qword [rsp + 0xa0]
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
add r9d, dword [rbx + 0x10]
mov edx, 0x20
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r14
xor ecx, ecx
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rax
call sub.avutil_56.dll_av_log
jmp 0x1400237d3
cmp dword [rdi + 0xb8], 0
jle 0x1400235e0
xor r14d, r14d
xor r13d, r13d
jmp 0x140024d89
mov rdi, qword [rsi + 8]
add r14d, 1
add r13, 0x10
cmp r14d, dword [rdi + 0xb8]
jge 0x1400235e0
mov rbp, qword [rdi + 0xb0]
add rbp, r13
mov edx, dword [rbp + 0xc]
cmp edx, 5
je 0x140024d74
mov rcx, qword [rsp + 0x98]
xor r8d, r8d
call sub.avcodec_58.dll_av_packet_get_side_data
test rax, rax
jne 0x140024d70
mov edx, dword [rbp + 0xc]
mov r8d, dword [rbp + 8]
mov rcx, qword [rsp + 0x98]
call sub.avcodec_58.dll_av_packet_new_side_data
test rax, rax
je 0x1400241cf
movsxd r8, dword [rbp + 8]
mov rdx, qword [rbp]
mov rcx, rax
call sub.msvcrt.dll_memcpy
jmp 0x140024d70
movsxd rdx, dword [rsi]
mov rax, qword [sym.ffmpeg_g.exe_input_files]
lea r13, [rsp + 0x2c0]
mov ecx, 8
mov rdi, r13
mov rax, qword [rax + rdx*8]
mov rdx, qword [rax + 0x30]
xor eax, eax
rep stosd dword [rdi], eax
movabs rax, 0x8000000000000000
cmp rdx, rax
je 0x14002574d
pxor xmm0, xmm0
lea r8, str._.6g
mov rcx, r13
cvtsi2sd xmm0, rdx
mov edx, 0x20
mulsd xmm0, qword [0x1400416d0]
movapd xmm3, xmm0
movq r9, xmm0
call fcn.140017020
movsxd rdx, dword [rsi]
mov rax, qword [sym.ffmpeg_g.exe_input_files]
lea r14, [rsp + 0x2a0]
mov ecx, 8
mov rdi, r14
mov rax, qword [rax + rdx*8]
mov r9, qword [rax + 0x30]
xor eax, eax
rep stosd dword [rdi], eax
movabs rax, 0x8000000000000000
cmp r9, rax
je 0x140025734
lea r8, str._lld
mov edx, 0x20
mov rcx, r14
call fcn.140017020
lea r15, [rsp + 0x280]
mov rdx, qword [rsp + 0x410]
xor eax, eax
mov ecx, 8
mov r8, qword [rsi + 8]
mov rdi, r15
rep stosd dword [rdi], eax
movabs rax, 0x8000000000000000
cmp rdx, rax
je 0x14002571b
pxor xmm0, xmm0
mov rcx, r15
pxor xmm1, xmm1
cvtsi2sd xmm0, dword [r8 + 0x18]
cvtsi2sd xmm1, dword [r8 + 0x1c]
divsd xmm0, xmm1
lea r8, str._.6g
movapd xmm1, xmm0
pxor xmm0, xmm0
cvtsi2sd xmm0, rdx
mov edx, 0x20
mulsd xmm0, xmm1
movapd xmm3, xmm0
movq r9, xmm0
call fcn.140017020
lea rdi, [rsp + 0x260]
mov r9, qword [rsp + 0x410]
xor eax, eax
mov ecx, 8
mov qword [rsp + 0xb0], rdi
rep stosd dword [rdi], eax
movabs rax, 0x8000000000000000
cmp r9, rax
je 0x1400256fd
mov rcx, qword [rsp + 0xb0]
lea r8, str._lld
mov edx, 0x20
call fcn.140017020
lea rdi, [rsp + 0x240]
mov rdx, qword [rsp + 0x408]
xor eax, eax
mov ecx, 8
mov r8, qword [rsi + 8]
mov qword [rsp + 0xa8], rdi
rep stosd dword [rdi], eax
movabs rax, 0x8000000000000000
cmp rdx, rax
je 0x1400256df
pxor xmm0, xmm0
mov rcx, qword [rsp + 0xa8]
pxor xmm1, xmm1
cvtsi2sd xmm0, dword [r8 + 0x18]
cvtsi2sd xmm1, dword [r8 + 0x1c]
divsd xmm0, xmm1
lea r8, str._.6g
movapd xmm1, xmm0
pxor xmm0, xmm0
cvtsi2sd xmm0, rdx
mov edx, 0x20
mulsd xmm0, xmm1
movapd xmm3, xmm0
movq r9, xmm0
call fcn.140017020
lea rdi, [rsp + 0x220]
mov r9, qword [rsp + 0x408]
xor eax, eax
mov ecx, 8
mov qword [rsp + 0xa0], rdi
rep stosd dword [rdi], eax
movabs rax, 0x8000000000000000
cmp r9, rax
je 0x1400256c1
mov rcx, qword [rsp + 0xa0]
lea r8, str._lld
mov edx, 0x20
call fcn.140017020
lea rdi, [rsp + 0x200]
mov rdx, qword [rsi + 0x58]
xor eax, eax
mov ecx, 8
mov rbp, rdi
rep stosd dword [rdi], eax
movabs rax, 0x8000000000000000
cmp rdx, rax
je 0x1400256a8
pxor xmm0, xmm0
lea r8, str._.6g
mov rcx, rbp
cvtsi2sd xmm0, rdx
mov edx, 0x20
mulsd xmm0, qword [0x1400416d0]
movapd xmm3, xmm0
movq r9, xmm0
call fcn.140017020
lea rdi, [rsp + 0x1e0]
mov r9, qword [rsi + 0x58]
xor eax, eax
mov ecx, 8
mov qword [rsp + 0xc8], rdi
rep stosd dword [rdi], eax
movabs rax, 0x8000000000000000
cmp r9, rax
je 0x14002568a
mov rcx, qword [rsp + 0xc8]
lea r8, str._lld
mov edx, 0x20
call fcn.140017020
lea rdi, [rsp + 0x1c0]
mov rdx, qword [rsi + 0x48]
xor eax, eax
mov ecx, 8
mov qword [rsp + 0xc0], rdi
rep stosd dword [rdi], eax
movabs rax, 0x8000000000000000
cmp rdx, rax
je 0x14002566c
pxor xmm0, xmm0
mov rcx, qword [rsp + 0xc0]
lea r8, str._.6g
cvtsi2sd xmm0, rdx
mov edx, 0x20
mulsd xmm0, qword [0x1400416d0]
movapd xmm3, xmm0
movq r9, xmm0
call fcn.140017020
lea rdi, [rsp + 0x1a0]
mov r9, qword [rsi + 0x48]
xor eax, eax
mov ecx, 8
mov qword [rsp + 0xb8], rdi
rep stosd dword [rdi], eax
movabs rax, 0x8000000000000000
cmp r9, rax
je 0x14002564e
mov rcx, qword [rsp + 0xb8]
lea r8, str._lld
mov edx, 0x20
call fcn.140017020
mov rax, qword [rsi + 0x20]
mov ecx, dword [rax + 0xc]
call sub.avutil_56.dll_av_get_media_type_string
mov rdi, qword [rsp + 0xb0]
mov r9d, dword [rsp + 0x424]
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
add r9d, dword [rbx + 0x10]
mov edx, 0x20
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x60], r15
xor ecx, ecx
mov qword [rsp + 0x58], rdi
mov rdi, qword [rsp + 0xa8]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x50], rdi
mov rdi, qword [rsp + 0xa0]
mov qword [rsp + 0x48], rdi
mov rdi, qword [rsp + 0xc8]
mov qword [rsp + 0x38], rdi
mov rdi, qword [rsp + 0xc0]
mov qword [rsp + 0x30], rdi
mov rdi, qword [rsp + 0xb8]
mov qword [rsp + 0x28], rdi
call sub.avutil_56.dll_av_log
jmp 0x1400235c4
mov r12, qword [sym.ffmpeg_g.exe_dts_error_threshold]
movss xmm9, dword [0x1400416f0]
movss xmm0, dword [r12]
movaps xmm1, xmm0
xorps xmm1, xmm6
mulss xmm1, xmm9
ucomiss xmm1, xmm2
ja 0x140025242
mulss xmm0, xmm9
ucomiss xmm2, xmm0
jbe 0x1400254a3
mov eax, dword [rsp + 0x424]
lea r8, str.DTS__lld__next:_lld_st:_d_invalid_dropping_n
xor ecx, ecx
mov qword [rsp + 0x20], r15
mov r9, r13
mov edx, 0x18
mov dword [rsp + 0x28], eax
call sub.avutil_56.dll_av_log
mov r14, qword [rsp + 0x408]
movabs rax, 0x8000000000000000
mov qword [rsp + 0x410], rax
cmp r14, rax
je 0x1400237c3
mov rdi, qword [rsi + 8]
mov r15, qword [rsi + 0x48]
mov rdx, qword [rdi + 0x18]
movabs r8, 0xf424000000001
mov rcx, r14
call sub.avutil_56.dll_av_rescale_q
pxor xmm1, xmm1
sub rax, r15
movss xmm0, dword [r12]
movaps xmm2, xmm0
cvtsi2ss xmm1, rax
xorps xmm2, xmm6
mulss xmm2, xmm9
ucomiss xmm2, xmm1
ja 0x1400252d5
mulss xmm0, xmm9
ucomiss xmm1, xmm0
jbe 0x14002530d
mov eax, dword [rsp + 0x424]
lea r8, str.PTS__lld__next:_lld_invalid_dropping_st:_d_n
mov qword [rsp + 0x20], r15
mov r9, r14
mov edx, 0x18
xor ecx, ecx
mov dword [rsp + 0x28], eax
call sub.avutil_56.dll_av_log
movabs rax, 0x8000000000000000
mov qword [rsp + 0x408], rax
mov r13, qword [rsp + 0x410]
jmp 0x140023796
mov rdx, qword [rbx + 0x20]
mov rcx, qword [rbx + 0x18]
mov r8, r15
call sub.avutil_56.dll_av_rescale_q
mov r13, qword [rsp + 0x410]
mov r15, qword [rsi + 0x20]
jmp 0x140023746
mov rcx, r14
add rcx, qword [rbx + 0x30]
jne 0x140024773
mov rdx, qword [r12 + 8]
test byte [rdx + 0x11], 2
je 0x140024773
mov ecx, dword [r12 + 0x2c]
mov qword [rsp + 0xa8], rax
mov rax, rdi
xor r15d, r15d
mov rdi, rsi
movabs r13, 0x7fffffffffffffff
mov rsi, r12
mov qword [rsp + 0xb0], rbx
mov r12, rax
mov dword [rsp + 0xa0], ecx
cmp dword [rsp + 0xa0], r15d
jbe 0x1400253ee
mov rax, qword [rsi + 0x30]
mov rax, qword [rax + r15*8]
cmp dword [rax + 0x3c], 0x30
je 0x1400253e8
mov rbp, qword [rax + 0x20]
cmp rbp, qword [rsp + 0xa8]
je 0x1400253e8
mov rbx, qword [rax + 0x18]
movabs r8, 0xf424000000001
mov rcx, rbp
mov rdx, rbx
call sub.avutil_56.dll_av_rescale_q
cmp rax, r13
jge 0x1400253e8
movabs r8, 0xf424000000001
mov rdx, rbx
mov rcx, rbp
call sub.avutil_56.dll_av_rescale_q
mov r13, rax
add r15, 1
jmp 0x14002538c
mov rax, r12
cmp r14, r13
mov r12, rsi
mov rbx, qword [rsp + 0xb0]
mov rsi, rdi
mov rdi, rax
jge 0x140024773
mov r9, r13
lea r8, str.Correcting_start_time_by__lld_n
mov edx, 0x28
sub r9, r14
mov rcx, r12
neg r13
call sub.avutil_56.dll_av_log
mov qword [rbx + 0x30], r13
mov r14, qword [r12 + 0x438]
mov rdi, qword [rsi + 8]
jmp 0x140024773
lea r8, str.NOPTS
mov edx, 0x20
mov rcx, rsi
call fcn.140017020
jmp 0x140024277
lea r8, str.Error_configuring_filter_graph_n
xor ecx, ecx
mov edx, 0x10
call sub.avutil_56.dll_av_log
mov ecx, 1
call sym.ffmpeg_g.exe_exit_program
lea rax, str.src_fftools_ffmpeg.c
lea r9, [0x14003fc5b]
mov dword [rsp + 0x28], 0x775
mov qword [rsp + 0x20], rax
lea r8, str.Assertion__s_failed_at__s:_d_n
xor edx, edx
xor ecx, ecx
call sub.avutil_56.dll_av_log
call sub.msvcrt.dll_abort
mov r14, qword [rsp + 0x408]
cmp r14, rdx
jne 0x140025293
jmp 0x140023796
lea r9, [r12 + 0x38]
lea r8, str._s:_corrupt_input_packet_in_stream__d_n
xor ecx, ecx
mov dword [rsp + 0x20], eax
mov edx, 8
call sub.avutil_56.dll_av_log
mov ecx, 1
call sym.ffmpeg_g.exe_exit_program
mov r9, qword [rax]
lea r8, str.Option__s_not_found._n
mov edx, 8
xor ecx, ecx
call sub.avutil_56.dll_av_log
jmp 0x1400241cf
lea r8, str.NOPTS
mov edx, 0x20
mov rcx, rbp
call fcn.140017020
jmp 0x140024cf7
mov rcx, qword [rsp + 0xa0]
lea r8, str.NOPTS
mov edx, 0x20
call fcn.140017020
jmp 0x140024cb4
lea r8, str.NOPTS
mov edx, 0x20
mov rcx, r15
call fcn.140017020
jmp 0x140024c31
lea r8, str.NOPTS
mov edx, 0x20
mov rcx, r14
call fcn.140017020
jmp 0x140024bee
lea r8, str.NOPTS
mov edx, 0x20
mov rcx, r12
call fcn.140017020
jmp 0x140024b75
lea r8, str.NOPTS
mov edx, 0x20
mov rcx, r13
call fcn.140017020
jmp 0x140024b28
mov rax, qword [r14 + 8]
mov ecx, dword [rcx + 0x18]
mov ebx, dword [r14]
mov esi, dword [rax]
call sub.avcodec_58.dll_avcodec_get_name
lea r8, str.Decoder__codec__s__not_found_for_input_stream__d:_d
mov r9, rax
mov dword [rsp + 0x20], ebx
mov dword [rsp + 0x28], esi
mov edx, 0x400
mov rcx, rbp
call fcn.140017020
mov dword [rsp + 0x88], 0xffffffea
jmp 0x1400226cd
mov rbp, qword [rsp + 0x90]
mov qword [rsp + 0x28], rbp
mov eax, dword [rsi + 4]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsi]
jmp 0x140022f74
lea rax, str.src_fftools_ffmpeg.c
mov dword [rsp + 0x28], 0x11e3
lea r9, str.ost__source_index___0
mov qword [rsp + 0x20], rax
jmp 0x14002548e
mov dword [rsp + 0x88], 0
jmp 0x140022c95
mov r15, rdi
lea rbx, [rsp + 0x400]
lea rdi, [rsp + 0x400]
mov ecx, 0x10
xor eax, eax
mov r8d, 0x40
rep stosd dword [rdi], eax
mov rdx, rbx
mov ecx, r14d
jmp 0x1400241af
mov rcx, qword [rsp + 0xb8]
lea r8, str.NOPTS
mov edx, 0x20
call fcn.140017020
jmp 0x140025177
mov rcx, qword [rsp + 0xc0]
lea r8, str.NOPTS
mov edx, 0x20
call fcn.140017020
jmp 0x14002512e
mov rcx, qword [rsp + 0xc8]
lea r8, str.NOPTS
mov edx, 0x20
call fcn.140017020
jmp 0x1400250cb
lea r8, str.NOPTS
mov edx, 0x20
mov rcx, rbp
call fcn.140017020
jmp 0x140025082
mov rcx, qword [rsp + 0xa0]
lea r8, str.NOPTS
mov edx, 0x20
call fcn.140017020
jmp 0x140025029
mov rcx, qword [rsp + 0xa8]
lea r8, str.NOPTS
mov edx, 0x20
call fcn.140017020
jmp 0x140024fdc
mov rcx, qword [rsp + 0xb0]
lea r8, str.NOPTS
mov edx, 0x20
call fcn.140017020
jmp 0x140024f59
lea r8, str.NOPTS
mov edx, 0x20
mov rcx, r15
call fcn.140017020
jmp 0x140024f0c
lea r8, str.NOPTS
mov edx, 0x20
mov rcx, r14
call fcn.140017020
jmp 0x140024e93
lea r8, str.NOPTS
mov edx, 0x20
mov rcx, r13
call fcn.140017020
jmp 0x140024e46