Function at 0x14001c7f0
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, 0xd8
mov r10d, dword [rcx + 0x18]
mov r13, rcx
mov rbp, rdx
test r10d, r10d
jne 0x14001c9a0
mov ebx, dword [rcx + 0x188]
test ebx, ebx
jne 0x14001c900
mov r8, qword [r13 + 0x1a8]
test r8, r8
je 0x14001c865
lea rax, [0x140041500]
lea rcx, [rsp + 0x90]
lea rdx, str.disposition
mov qword [rsp + 0x90], rax
mov rax, qword [r13 + 0x10]
lea r9, [rax + 0x38]
call sub.avutil_56.dll_av_opt_eval_flags
test eax, eax
mov esi, eax
js 0x14001c980
movsxd rax, dword [r13 + 0x50]
cmp eax, 0
je 0x14001cd85
jle 0x14001cd52
xor ebx, ebx
xor ebp, ebp
jmp 0x14001c8ca
mov rax, qword [rax + rbx - 8]
mov rdx, qword [rax + 0x28]
call sub.avcodec_58.dll_avcodec_parameters_copy
test eax, eax
js 0x14001cda7
mov rax, qword [r13 + 0x58]
mov rax, qword [rax + rbx - 8]
mov rax, qword [rax + 0x38]
mov qword [rsi + 0x30], rax
mov rcx, rsi
call sub.avcodec_58.dll_av_bsf_init
test eax, eax
js 0x14001d500
movsxd rax, dword [r13 + 0x50]
add ebp, 1
add rbx, 8
cmp ebp, eax
jge 0x14001cd52
mov rax, qword [r13 + 0x58]
test ebp, ebp
mov rsi, qword [rax + rbx]
mov rcx, qword [rsi + 0x20]
jne 0x14001c880
mov rax, qword [r13 + 0x10]
mov rdx, qword [rax + 0xd0]
call sub.avcodec_58.dll_avcodec_parameters_copy
test eax, eax
js 0x14001cda7
mov rax, qword [r13 + 0x10]
mov rax, qword [rax + 0x18]
mov qword [rsi + 0x30], rax
jmp 0x14001c8a7
movsxd rdx, dword [rcx]
mov rax, qword [sym.ffmpeg_g.exe_output_files]
mov rbx, qword [rax + rdx*8]
movsxd rax, dword [rcx + 8]
test eax, eax
js 0x14001d7c7
mov rdx, qword [sym.ffmpeg_g.exe_input_streams]
mov r12, qword [rcx + 0x68]
mov rdi, qword [rdx + rax*8]
mov rax, qword [rcx + 0x10]
mov rbp, qword [rax + 0xd0]
test rdi, rdi
mov r14d, dword [rbp + 8]
je 0x14001d7c7
cmp qword [rcx + 0x138], 0
jne 0x14001d7c7
mov rax, qword [rdi + 8]
mov rcx, qword [rcx + 0x60]
mov rdx, qword [rax + 0xd0]
call sub.avcodec_58.dll_avcodec_parameters_to_context
test eax, eax
mov esi, eax
jns 0x14001d1e0
lea r8, str.Error_setting_up_codec_context_options._n
mov edx, 8
xor ecx, ecx
call sub.avutil_56.dll_av_log
mov eax, esi
add rsp, 0xd8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rcx + 0x70]
xor esi, esi
mov qword [rsp + 0x60], rax
movsxd rax, dword [rcx + 8]
test eax, eax
js 0x14001c9be
mov rdx, qword [sym.ffmpeg_g.exe_input_streams]
mov rsi, qword [rdx + rax*8]
movsxd rdx, dword [r13]
mov rax, qword [sym.ffmpeg_g.exe_output_files]
xor r9d, r9d
mov rbx, qword [r13 + 0x60]
xor r8d, r8d
mov r12, qword [rax + rdx*8]
mov eax, dword [rbx + 0x4c]
lea rdx, str.encoder
mov rdi, qword [r12]
mov dword [rsp + 0x90], eax
mov rax, qword [r13 + 0x10]
mov dword [rsp + 0x8c], 0
mov rcx, qword [rax + 0x48]
call sub.avutil_56.dll_av_dict_get
test rax, rax
je 0x14001d5f0
mov rax, qword [r13 + 0x10]
lea rdx, str.rotate
xor r9d, r9d
xor r8d, r8d
lea rcx, [rax + 0x48]
call fcn.140026590
test rsi, rsi
je 0x14001d353
mov rax, qword [rsi + 8]
mov r12, qword [rsi + 0x20]
mov edx, dword [rax + 0x38]
mov rax, qword [r13 + 0x10]
mov dword [rax + 0x38], edx
mov eax, dword [r12 + 0x184]
mov dword [rbx + 0x184], eax
mov eax, dword [rbx + 0xc]
test eax, eax
jne 0x14001cafd
mov r9d, dword [r13 + 0xa8]
test r9d, r9d
je 0x14001d734
test rsi, rsi
je 0x14001cad4
mov r8d, dword [r13 + 0xa8]
test r8d, r8d
jne 0x14001cad4
mov rax, qword [rsi + 0xb0]
test eax, eax
mov qword [r13 + 0xa8], rax
jne 0x14001cad4
mov rax, qword [rsi + 8]
mov rax, qword [rax + 0xc0]
test eax, eax
mov qword [r13 + 0xa8], rax
jne 0x14001cad4
movabs rax, 0x100000019
lea r8, str.No_information_about_the_input_framerate_is_available._Falling_back_to_a_default_value_of_25fps_for_output_stream__d:_d._Use_the__r_option_if_you_want_a_different_framerate._n
mov edx, 0x18
mov qword [r13 + 0xa8], rax
mov eax, dword [r13 + 4]
xor ecx, ecx
mov dword [rsp + 0x20], eax
mov r9d, dword [r13]
call sub.avutil_56.dll_av_log
mov rax, qword [r13 + 0x70]
mov rdx, qword [rax + 0x20]
test rdx, rdx
je 0x14001caf0
mov ecx, dword [r13 + 0xb4]
test ecx, ecx
je 0x14001db24
cmp dword [rbx + 0x18], 0xc
je 0x14001db50
mov eax, dword [rbx + 0xc]
cmp eax, 1
je 0x14001d3d0
jle 0x14001cdb0
cmp eax, 2
je 0x14001cb33
cmp eax, 3
jne 0x14001d7f2
movabs rax, 0xf424000000001
mov qword [rbx + 0x64], rax
mov eax, dword [rbx + 0x74]
test eax, eax
je 0x14001d800
mov rax, qword [rbx + 0x64]
mov qword [r13 + 0x40], rax
movsxd rax, dword [r13 + 8]
test eax, eax
js 0x14001d1d0
mov rdx, qword [sym.ffmpeg_g.exe_input_streams]
mov rdi, qword [rdx + rax*8]
test rdi, rdi
je 0x14001cbbd
mov rbx, qword [rdi + 0x20]
test rbx, rbx
je 0x14001cbbd
cmp qword [rbx + 0x348], 0
je 0x14001cbbd
mov eax, dword [rbx + 0x350]
mov rsi, qword [r13 + 0x60]
lea ecx, [rax + 1]
movsxd rcx, ecx
call sub.avutil_56.dll_av_mallocz
mov qword [rsi + 0x348], rax
mov rax, qword [r13 + 0x60]
mov rcx, qword [rax + 0x348]
test rcx, rcx
je 0x14001cd48
movsxd r8, dword [rbx + 0x350]
mov rdx, qword [rbx + 0x348]
call sub.msvcrt.dll_memcpy
mov edx, dword [rbx + 0x350]
mov rax, qword [r13 + 0x60]
mov dword [rax + 0x350], edx
mov rcx, qword [r13 + 0x158]
lea rdx, str.threads
xor r9d, r9d
xor r8d, r8d
call sub.avutil_56.dll_av_dict_get
test rax, rax
je 0x14001dae0
mov rax, qword [r13 + 0x70]
cmp dword [rax + 0x10], 1
je 0x14001d480
mov rax, qword [r13 + 0x138]
test rax, rax
je 0x14001cc33
mov rcx, qword [rax]
call sub.avfilter_7.dll_av_buffersink_get_hw_frames_ctx
test rax, rax
je 0x14001cc33
mov rax, qword [r13 + 0x138]
mov rcx, qword [rax]
call sub.avfilter_7.dll_av_buffersink_get_hw_frames_ctx
mov rax, qword [rax + 8]
mov ebx, dword [rax + 0x44]
mov rax, qword [r13 + 0x138]
mov rcx, qword [rax]
call sub.avfilter_7.dll_av_buffersink_get_format
cmp ebx, eax
je 0x14001dd50
mov rcx, r13
call sym.ffmpeg_g.exe_hw_device_setup_for_encode
test eax, eax
mov esi, eax
js 0x14001da30
mov rcx, qword [r13 + 0x60]
mov rdx, qword [rsp + 0x60]
lea r8, [r13 + 0x158]
call sub.avcodec_58.dll_avcodec_open2
test eax, eax
mov esi, eax
js 0x14001d530
mov rax, qword [r13 + 0x70]
cmp dword [rax + 0x10], 1
je 0x14001da00
mov rcx, qword [r13 + 0x158]
lea rdx, [0x14003efb3]
xor r8d, r8d
mov r9d, 2
call sub.avutil_56.dll_av_dict_get
test rax, rax
jne 0x14001df35
mov rdx, qword [r13 + 0x60]
mov rax, qword [rdx + 0x38]
test rax, rax
je 0x14001ccb0
cmp rax, 0x3e7
jle 0x14001d830
mov rax, qword [r13 + 0x10]
mov rcx, qword [rax + 0xd0]
call sub.avcodec_58.dll_avcodec_parameters_from_context
test eax, eax
js 0x14001df0c
mov rax, qword [r13 + 0x10]
mov rdx, qword [r13 + 0x60]
mov rcx, qword [rax + 8]
call sub.avcodec_58.dll_avcodec_copy_context
test eax, eax
mov esi, eax
js 0x14001c980
mov rbx, qword [r13 + 0x60]
mov eax, dword [rbx + 0x3e8]
test eax, eax
jle 0x14001d560
xor esi, esi
xor ebp, ebp
jmp 0x14001cd26
movsxd r8, dword [rbx + 8]
mov rdx, qword [rbx]
mov rcx, rax
add ebp, 1
add rsi, 0x10
call sub.msvcrt.dll_memcpy
mov rbx, qword [r13 + 0x60]
cmp ebp, dword [rbx + 0x3e8]
jge 0x14001d560
mov rax, qword [rbx + 0x3e0]
mov rcx, qword [r13 + 0x10]
add rax, rsi
mov edx, dword [rax + 0xc]
mov r8d, dword [rax + 8]
mov rbx, rax
call sub.avformat_58.dll_av_stream_new_side_data
test rax, rax
jne 0x14001cd00
mov esi, 0xfffffff4
jmp 0x14001c980
mov rdx, qword [r13 + 0x58]
mov rbx, qword [rdx + rax*8 - 8]
mov rax, qword [r13 + 0x10]
mov rdx, qword [rbx + 0x28]
mov rcx, qword [rax + 0xd0]
call sub.avcodec_58.dll_avcodec_parameters_copy
test eax, eax
mov esi, eax
js 0x14001c980
mov rax, qword [r13 + 0x10]
mov rdx, qword [rbx + 0x38]
mov qword [rax + 0x18], rdx
movsxd rcx, dword [r13]
mov rax, qword [sym.ffmpeg_g.exe_output_files]
mov dword [r13 + 0x18c], 1
mov rdx, rcx
mov rcx, qword [rax + rcx*8]
call fcn.14001bd00
mov esi, eax
jmp 0x14001c980
test eax, eax
jne 0x14001d7f2
movsxd rax, dword [r13 + 8]
mov r15d, dword [r13 + 0xa8]
mov r14d, dword [r13 + 0xac]
mov rsi, qword [r13 + 0x60]
mov edx, dword [r13 + 0x48]
test eax, eax
js 0x14001db80
cmp edx, 0
jle 0x14001d873
mov rax, qword [r13 + 0x48]
mov qword [rsi + 0x64], rax
mov edx, dword [rbx + 0x64]
test edx, edx
je 0x14001cdf9
mov eax, dword [rbx + 0x68]
test eax, eax
jne 0x14001ce12
mov rax, qword [r13 + 0x138]
mov rcx, qword [rax]
call sub.avfilter_7.dll_av_buffersink_get_time_base
mov qword [rbx + 0x64], rax
mov edx, eax
shr rax, 0x20
pxor xmm1, xmm1
pxor xmm0, xmm0
cvtsi2sd xmm1, edx
cvtsi2sd xmm0, eax
divsd xmm1, xmm0
movapd xmm0, xmm1
movsd xmm1, qword [0x1400416b0]
ucomisd xmm1, xmm0
jbe 0x14001ce62
mov rax, qword [sym.ffmpeg_g.exe_video_sync_method]
mov eax, dword [rax]
test eax, eax
je 0x14001ce62
cmp eax, 1
je 0x14001ddf7
cmp eax, 0xfe
je 0x14001ddf7
cmp eax, 0xffffffff
je 0x14001dde9
mov eax, dword [r13 + 0xd8]
test eax, eax
jle 0x14001cec2
mov r15, qword [r13 + 0xd0]
mov rdi, qword [rbx + 0x64]
sub eax, 1
mov qword [rsp + 0x58], rbx
movabs rsi, 0xf424000000001
lea r14, [r15 + 8]
mov rbx, r15
mov r15, rdi
lea rax, [r14 + rax*8]
mov rdi, rax
jmp 0x14001cea4
add r14, 8
mov rcx, qword [rbx]
mov r8, r15
mov rdx, rsi
call sub.avutil_56.dll_av_rescale_q
cmp rdi, r14
mov qword [rbx], rax
mov rbx, r14
jne 0x14001cea0
mov rbx, qword [rsp + 0x58]
mov rax, qword [r13 + 0x138]
mov rcx, qword [rax]
call sub.avfilter_7.dll_av_buffersink_get_w
mov dword [rbx + 0x74], eax
mov rax, qword [r13 + 0x138]
mov rcx, qword [rax]
call sub.avfilter_7.dll_av_buffersink_get_h
mov edx, dword [r13 + 0xc8]
mov dword [rbx + 0x78], eax
mov rsi, qword [r13 + 0x10]
test edx, edx
je 0x14001dc00
mov edx, dword [rbx + 0x74]
mov rcx, rdx
mov edx, eax
shl rcx, 0x20
or rdx, rcx
mov rcx, qword [r13 + 0xc8]
call sub.avutil_56.dll_av_mul_q
mov qword [rsi + 0x40], rax
mov qword [rbx + 0xe8], rax
mov rax, qword [r13 + 0x138]
mov rcx, qword [rax]
call sub.avfilter_7.dll_av_buffersink_get_format
test r12, r12
mov dword [rbx + 0x88], eax
je 0x14001db02
mov ecx, eax
mov esi, dword [r12 + 0x2fc]
call sub.avutil_56.dll_av_pix_fmt_desc_get
cmp esi, dword [rax + 0x28]
jg 0x14001dd90
mov eax, dword [r12 + 0x2fc]
mov dword [rbx + 0x2fc], eax
mov rax, qword [r13 + 0xa8]
mov rdx, qword [r13 + 0xa8]
mov qword [rbx + 0x368], rax
mov rax, qword [r13 + 0x10]
mov qword [rax + 0x50], rdx
mov eax, dword [r12 + 0x74]
cmp dword [rbx + 0x74], eax
je 0x14001dc40
mov rax, qword [sym.ffmpeg_g.exe_frame_bits_per_raw_sample]
mov eax, dword [rax]
mov dword [rbx + 0x2fc], eax
mov r15, qword [r13 + 0xe0]
test r15, r15
je 0x14001cb33
lea rdi, str.expr:
mov ecx, 5
mov rsi, r15
repe cmpsb byte [rsi], byte [rdi]
je 0x14001dc70
lea rdi, str.source
mov ecx, 6
mov rsi, r15
repe cmpsb byte [rsi], byte [rdi]
je 0x14001cb33
mov rax, qword [r13 + 0x60]
lea rdi, [rax + 0x64]
movzx eax, byte [r15]
test al, al
je 0x14001dedd
mov rdx, r15
mov ecx, 1
nop word [rax + rax]
cmp al, 0x2c
sete al
add rdx, 1
movzx eax, al
add ecx, eax
movzx eax, byte [rdx]
test al, al
jne 0x14001d000
mov dword [rsp + 0x70], ecx
movsxd rcx, ecx
mov edx, 8
call sub.avutil_56.dll_av_malloc_array
test rax, rax
mov rsi, rax
je 0x14001deef
mov eax, dword [rsp + 0x70]
mov qword [rsp + 0x78], rbx
mov r14, rsi
mov dword [rsp + 0x58], 0
mov qword [rsp + 0x120], r13
mov qword [rsp + 0x128], rbp
mov dword [rsp + 0x6c], eax
xor eax, eax
mov ebx, eax
nop
mov edx, 0x2c
mov rcx, r15
xor r13d, r13d
call sub.msvcrt.dll_strchr
test rax, rax
je 0x14001d07c
lea r13, [rax + 1]
mov byte [rax], 0
movabs rax, 0x7372657470616863
cmp qword [r15], rax
jne 0x14001d9a0
mov rax, qword [rsp + 0x120]
mov esi, dword [rsp + 0x6c]
movsxd rdx, dword [rax]
mov rax, qword [sym.ffmpeg_g.exe_output_files]
mov rax, qword [rax + rdx*8]
mov edx, 0x7fffffff
sub edx, esi
mov rbp, qword [rax]
mov eax, dword [rbp + 0x49c]
cmp eax, edx
ja 0x14001deef
lea eax, [rax + rsi - 1]
mov rcx, r14
mov r8d, 8
movsxd rdx, eax
mov dword [rsp + 0x6c], eax
call sub.avutil_56.dll_av_realloc_f
test rax, rax
mov r14, rax
je 0x14001deef
xor ecx, ecx
cmp byte [r15 + 8], 0
jne 0x14001d9e0
mov r8, qword [rdi]
movabs rdx, 0xf424000000001
call sub.avutil_56.dll_av_rescale_q
mov ecx, dword [rbp + 0x49c]
mov rsi, rax
test ecx, ecx
mov dword [rsp + 0x74], ecx
je 0x14001d160
mov rax, qword [rbp + 0x4a0]
movsxd rdx, ebx
lea r12, [r14 + rdx*8]
lea edx, [rcx - 1]
lea r15, [rax + 8]
lea rbp, [r15 + rdx*8]
jmp 0x14001d135
add r15, 8
mov rax, qword [rax]
mov r8, qword [rdi]
add r12, 8
mov rdx, qword [rax + 4]
mov rcx, qword [rax + 0x10]
call sub.avutil_56.dll_av_rescale_q
add rax, rsi
mov qword [r12 - 8], rax
cmp rbp, r15
mov rax, r15
jne 0x14001d131
add ebx, dword [rsp + 0x74]
add dword [rsp + 0x58], 1
mov r15, r13
mov eax, dword [rsp + 0x58]
cmp eax, dword [rsp + 0x70]
jne 0x14001d060
mov edi, ebx
cmp dword [rsp + 0x6c], edi
mov rbx, qword [rsp + 0x78]
mov r13, qword [rsp + 0x120]
mov rbp, qword [rsp + 0x128]
jne 0x14001df15
movsxd rdx, dword [rsp + 0x6c]
lea r9, [0x140016740]
mov r8d, 8
mov rcx, r14
mov rdi, rdx
call sub.msvcrt.dll_qsort
mov dword [r13 + 0xd8], edi
mov qword [r13 + 0xd0], r14
jmp 0x14001cb33
xor edi, edi
jmp 0x14001cbbd
mov rcx, qword [r13 + 0x60]
lea rdx, [r13 + 0x158]
call sub.avutil_56.dll_av_opt_set_dict
test eax, eax
mov esi, eax
js 0x14001c96d
mov rdx, qword [r13 + 0x60]
mov rcx, r12
call sub.avcodec_58.dll_avcodec_parameters_from_context
test r14d, r14d
jne 0x14001d252
mov rax, qword [rbx]
mov edx, dword [r12 + 8]
mov rax, qword [rax + 0x10]
mov rcx, qword [rax + 0x30]
test rcx, rcx
je 0x14001d24f
call sub.avformat_58.dll_av_codec_get_id
mov edx, dword [r12 + 4]
cmp eax, edx
je 0x14001d24a
mov rax, qword [rbx]
lea r8, [rsp + 0x90]
mov rax, qword [rax + 0x10]
mov rcx, qword [rax + 0x30]
call sub.avformat_58.dll_av_codec_get_tag2
test eax, eax
jne 0x14001d252
mov edx, dword [r12 + 8]
mov r14d, edx
mov rdx, r12
mov rcx, rbp
call sub.avcodec_58.dll_avcodec_parameters_copy
test eax, eax
mov esi, eax
js 0x14001c980
mov r11d, dword [r13 + 0xa8]
mov dword [rbp + 8], r14d
test r11d, r11d
jne 0x14001d285
mov rax, qword [rdi + 0xb0]
mov qword [r13 + 0xa8], rax
mov rax, qword [r13 + 0xa8]
mov rdx, qword [r13 + 0x10]
mov r8, qword [rdi + 8]
mov qword [rdx + 0x50], rax
mov rax, qword [rbx]
mov rcx, qword [rax + 0x10]
mov rax, qword [sym.ffmpeg_g.exe_copy_tb]
mov r9d, dword [rax]
call sub.avformat_58.dll_avformat_transfer_internal_stream_timing_info
test eax, eax
mov esi, eax
js 0x14001c980
mov r14, qword [r13 + 0x10]
mov r10d, dword [r14 + 0x18]
test r10d, r10d
jle 0x14001d8a5
mov r9d, dword [r14 + 0x1c]
test r9d, r9d
jle 0x14001d8a5
cmp qword [r14 + 0x28], 0
mov r15, qword [rdi + 8]
jle 0x14001d850
mov r8d, dword [r15 + 0xb8]
mov eax, dword [r15 + 0x38]
test r8d, r8d
mov dword [r14 + 0x38], eax
jle 0x14001d750
xor esi, esi
mov rcx, r14
jmp 0x14001d32f
movsxd r8, dword [rbx + 8]
mov rdx, qword [rbx]
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov r15, qword [rdi + 8]
lea eax, [rsi + 1]
add rsi, 1
cmp dword [r15 + 0xb8], eax
jle 0x14001d750
mov rcx, qword [r13 + 0x10]
mov rbx, rsi
shl rbx, 4
add rbx, qword [r15 + 0xb0]
mov edx, dword [rbx + 0xc]
mov r8d, dword [rbx + 8]
call sub.avformat_58.dll_av_stream_new_side_data
test rax, rax
jne 0x14001d304
jmp 0x14001cd48
mov r11d, dword [rdi + 0x2c]
mov rcx, qword [r13 + 0x10]
test r11d, r11d
je 0x14001d3ab
lea r9d, [r11 - 1]
mov r12, qword [rdi + 0x30]
mov eax, 1
add r9, 2
mov rdx, qword [r12 + rax*8 - 8]
cmp rdx, rcx
je 0x14001d394
mov r8, qword [rdx + 0xd0]
mov rdx, qword [rcx + 0xd0]
mov edx, dword [rdx]
cmp dword [r8], edx
je 0x14001dad2
mov edx, eax
add rax, 1
cmp r9, rax
jne 0x14001d371
xor r12d, r12d
cmp edx, r11d
jne 0x14001ca50
mov rax, qword [rcx + 0xd0]
xor r12d, r12d
cmp dword [rax], 1
ja 0x14001ca50
mov dword [rcx + 0x38], 1
jmp 0x14001ca50
mov rax, qword [r13 + 0x138]
mov rcx, qword [rax]
call sub.avfilter_7.dll_av_buffersink_get_format
test r12, r12
mov dword [rbx + 0x198], eax
je 0x14001d412
mov esi, dword [r12 + 0x2fc]
mov ecx, eax
call sub.avutil_56.dll_av_get_bytes_per_sample
shl eax, 3
cmp esi, eax
jg 0x14001dda3
mov eax, dword [r12 + 0x2fc]
mov dword [rbx + 0x2fc], eax
mov rax, qword [r13 + 0x138]
mov rcx, qword [rax]
call sub.avfilter_7.dll_av_buffersink_get_sample_rate
mov dword [rbx + 0x190], eax
mov rax, qword [r13 + 0x138]
mov rcx, qword [rax]
call sub.avfilter_7.dll_av_buffersink_get_channel_layout
mov qword [rbx + 0x1b0], rax
mov rax, qword [r13 + 0x138]
mov rcx, qword [rax]
call sub.avfilter_7.dll_av_buffersink_get_channels
mov dword [rbx + 0x194], eax
movsxd rax, dword [r13 + 8]
mov edi, dword [rbx + 0x190]
mov rsi, qword [r13 + 0x60]
test eax, eax
js 0x14001dbc0
cmp dword [r13 + 0x48], 0
jle 0x14001d890
mov rax, qword [r13 + 0x48]
mov qword [rsi + 0x64], rax
jmp 0x14001cb33
mov rax, qword [rsp + 0x60]
cmp qword [rax + 0x88], 0
jne 0x14001cbed
mov rcx, qword [r13 + 0x158]
lea rdx, [0x140040089]
xor r9d, r9d
xor r8d, r8d
call sub.avutil_56.dll_av_dict_get
test rax, rax
jne 0x14001cbed
mov rcx, qword [r13 + 0x158]
lea rdx, [0x14004008b]
xor r9d, r9d
xor r8d, r8d
call sub.avutil_56.dll_av_dict_get
test rax, rax
jne 0x14001cbed
lea rcx, [r13 + 0x158]
lea r8, str.128000
lea rdx, [0x140040089]
xor r9d, r9d
call fcn.140026590
jmp 0x14001cbed
mov esi, eax
mov rax, qword [r13 + 0x58]
lea r8, str.Error_initializing_bitstream_filter:__s_n
mov edx, 0x10
xor ecx, ecx
mov rax, qword [rax + rbx]
mov rax, qword [rax + 8]
mov r9, qword [rax]
call sub.avutil_56.dll_av_log
jmp 0x14001c980
cmp eax, 0xd44d5058
je 0x14001df02
mov eax, dword [r13 + 4]
lea r8, str.Error_while_opening_encoder_for_output_stream__d:_d___maybe_incorrect_parameters_such_as_bit_rate__rate__width_or_height
mov edx, 0x400
mov rcx, rbp
mov dword [rsp + 0x20], eax
mov r9d, dword [r13]
call fcn.140017020
jmp 0x14001c980
test rdi, rdi
je 0x14001d8d4
mov rax, qword [rdi + 8]
mov r15d, dword [rax + 0xb8]
test r15d, r15d
jle 0x14001d8d4
xor esi, esi
jmp 0x14001d598
mov rax, qword [rdi + 8]
lea edx, [rsi + 1]
add rsi, 1
cmp dword [rax + 0xb8], edx
jle 0x14001d8d0
mov rbx, rsi
mov rcx, qword [r13 + 0x10]
shl rbx, 4
add rbx, qword [rax + 0xb0]
mov edx, dword [rbx + 0xc]
mov r8d, dword [rbx + 8]
call sub.avformat_58.dll_av_stream_new_side_data
test rax, rax
je 0x14001cd48
movsxd r8, dword [rbx + 8]
mov rdx, qword [rbx]
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov r14d, dword [rdi + 0xc0]
test r14d, r14d
je 0x14001d581
cmp dword [rbx + 0xc], 5
jne 0x14001d581
pxor xmm1, xmm1
mov rcx, rax
call sub.avutil_56.dll_av_display_rotation_set
jmp 0x14001d581
mov rcx, qword [r12 + 8]
lea rdx, str.fflags
xor r9d, r9d
xor r8d, r8d
call sub.avutil_56.dll_av_dict_get
test rax, rax
mov r14, rax
je 0x14001d64e
mov dword [rsp + 0x20], 0
mov rcx, qword [r12]
lea rdx, str.fflags
xor r9d, r9d
xor r8d, r8d
call sub.avutil_56.dll_av_opt_find
test rax, rax
je 0x14001ca0d
mov r8, qword [r14 + 8]
mov rcx, qword [r12]
lea r9, [rsp + 0x8c]
mov rdx, rax
call sub.avutil_56.dll_av_opt_eval_flags
mov rcx, qword [r13 + 0x158]
lea rdx, str.flags
xor r9d, r9d
xor r8d, r8d
call sub.avutil_56.dll_av_dict_get
test rax, rax
mov r12, rax
je 0x14001d6af
mov rcx, qword [r13 + 0x60]
lea rdx, str.flags
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 0
call sub.avutil_56.dll_av_opt_find
test rax, rax
je 0x14001ca0d
mov rcx, qword [r13 + 0x60]
mov r8, qword [r12 + 8]
lea r9, [rsp + 0x90]
mov rdx, rax
call sub.avutil_56.dll_av_opt_eval_flags
mov rax, qword [r13 + 0x70]
mov rcx, qword [rax]
call sub.msvcrt.dll_strlen
lea r12d, [rax + 0xf]
movsxd r12, r12d
mov rcx, r12
call sub.avutil_56.dll_av_mallocz
test rax, rax
mov r14, rax
je 0x14001df02
test byte [rsp + 0x8d], 4
mov r8, r12
jne 0x14001d6f1
test byte [rsp + 0x92], 0x80
je 0x14001de64
lea rdx, str.Lavc
mov rcx, r14
call sub.avutil_56.dll_av_strlcpy
mov rax, qword [r13 + 0x70]
mov r8, r12
mov rcx, r14
mov rdx, qword [rax]
call sub.avutil_56.dll_av_strlcat
mov rax, qword [r13 + 0x10]
lea rdx, str.encoder
mov r9d, 0x18
mov r8, r14
lea rcx, [rax + 0x48]
call fcn.140026590
jmp 0x14001ca0d
mov rax, qword [r13 + 0x138]
mov rcx, qword [rax]
call sub.avfilter_7.dll_av_buffersink_get_frame_rate
mov qword [r13 + 0xa8], rax
jmp 0x14001ca6b
mov ecx, dword [r13 + 0xbc]
test ecx, ecx
jne 0x14001d960
mov ecx, dword [rbp + 4]
call sub.avcodec_58.dll_av_parser_init
xor ecx, ecx
mov qword [r13 + 0x1b8], rax
call sub.avcodec_58.dll_avcodec_alloc_context3
test rax, rax
mov rcx, rax
mov qword [r13 + 0x1c0], rax
je 0x14001cd48
mov eax, dword [rbp]
test eax, eax
je 0x14001d911
cmp eax, 1
je 0x14001dcf5
mov rdx, qword [r13 + 0x10]
mov r8, qword [rdi + 8]
mov rax, qword [r8 + 0x18]
mov rdx, qword [rdx + 0xd0]
mov qword [r13 + 0x40], rax
call sub.avcodec_58.dll_avcodec_parameters_to_context
test eax, eax
mov esi, eax
jns 0x14001c824
jmp 0x14001c980
lea rax, str.src_fftools_ffmpeg.c
lea r9, str.ist___ost__filter
mov dword [rsp + 0x28], 0xbf5
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
nop word [rax + rax]
movsxd rdx, dword [r13 + 8]
mov rax, qword [sym.ffmpeg_g.exe_input_streams]
mov rax, qword [rax + rdx*8]
mov rax, qword [rax + 8]
mov rax, qword [rax + 0xd0]
mov edx, dword [rax + 0x38]
mov eax, dword [rax + 0x3c]
mov dword [rbx + 0x74], edx
mov dword [rbx + 0x78], eax
jmp 0x14001cb33
lea r8, str.The_bitrate_parameter_is_set_too_low._It_takes_bits_s_as_argument__not_kbits_s_n
mov edx, 0x18
xor ecx, ecx
call sub.avutil_56.dll_av_log
mov rdx, qword [r13 + 0x60]
jmp 0x14001ccb0
mov rcx, qword [r15 + 0x28]
test rcx, rcx
jle 0x14001d2e5
mov rdx, qword [r15 + 0x18]
mov r8, qword [r14 + 0x18]
call sub.avutil_56.dll_av_rescale_q
mov qword [r14 + 0x28], rax
jmp 0x14001d2e5
jne 0x14001de10
mov dword [rsi + 0x64], r14d
mov dword [rsi + 0x68], r15d
jmp 0x14001cdeb
jne 0x14001de35
mov dword [rsi + 0x64], 1
mov dword [rsi + 0x68], edi
jmp 0x14001cb33
mov rcx, r14
call sub.avformat_58.dll_av_stream_get_codec_timebase
mov r14, qword [r13 + 0x10]
movabs rdx, 0x100000000
mov rcx, rax
call sub.avutil_56.dll_av_add_q
mov qword [r14 + 0x18], rax
jmp 0x14001d2d6
mov rbx, qword [r13 + 0x60]
mov rsi, qword [r13 + 0x10]
mov r12d, dword [rsi + 0x18]
test r12d, r12d
jle 0x14001dc20
mov ebp, dword [rsi + 0x1c]
test ebp, ebp
jle 0x14001dc20
cmp qword [rsi + 0x28], 0
jg 0x14001d900
test rdi, rdi
jne 0x14001ddb6
mov rdx, qword [rbx + 0x10]
mov rax, qword [rsi + 8]
mov qword [rax + 0x10], rdx
jmp 0x14001c824
mov edx, dword [r13 + 0xc8]
test edx, edx
jne 0x14001de78
mov r8, qword [rdi + 8]
mov eax, dword [r8 + 0x40]
test eax, eax
je 0x14001de5a
mov rbx, qword [r8 + 0x40]
mov rdx, qword [r13 + 0x10]
mov rax, qword [r8 + 0x50]
mov qword [rbp + 0x40], rbx
mov qword [rdx + 0x50], rax
mov rax, qword [r8 + 0xc0]
mov qword [rdx + 0x40], rbx
mov qword [rdx + 0xc0], rax
jmp 0x14001d7a4
mov rcx, qword [r13 + 0x10]
mov r8d, 0x24
mov edx, 5
call sub.avformat_58.dll_av_stream_new_side_data
test rax, rax
je 0x14001d75f
movsd xmm1, qword [r13 + 0xc0]
mov rcx, rax
xorpd xmm1, xmmword [0x140041670]
call sub.avutil_56.dll_av_display_rotation_set
jmp 0x14001d75f
lea rcx, str.force_key_frames
mov r8d, 1
mov rdx, r15
lea esi, [rbx + 1]
movsxd rbx, ebx
call sym.ffmpeg_g.exe_parse_time_or_die
mov r8, qword [rdi]
lea rbx, [r14 + rbx*8]
movabs rdx, 0xf424000000001
mov rcx, rax
call sub.avutil_56.dll_av_rescale_q
mov qword [rbx], rax
mov ebx, esi
jmp 0x14001d160
lea rcx, str.force_key_frames
lea rdx, [r15 + 8]
mov r8d, 1
call sym.ffmpeg_g.exe_parse_time_or_die
mov rcx, rax
jmp 0x14001d0f3
test byte [rax + 0x1a], 1
jne 0x14001cc72
mov rax, qword [r13 + 0x60]
mov edx, dword [rax + 0x19c]
mov rax, qword [r13 + 0x138]
mov rcx, qword [rax]
call sub.avfilter_7.dll_av_buffersink_set_frame_size
jmp 0x14001cc72
lea rbx, [rsp + 0x90]
mov r8d, 0x40
mov ecx, eax
mov qword [rsp + 0x90], 0
mov qword [rsp + 0x98], 0
mov rdx, rbx
mov qword [rsp + 0xa0], 0
mov qword [rsp + 0xa8], 0
mov qword [rsp + 0xb0], 0
mov qword [rsp + 0xb8], 0
mov qword [rsp + 0xc0], 0
mov qword [rsp + 0xc8], 0
call sub.avutil_56.dll_av_strerror
mov qword [rsp + 0x28], rbx
mov eax, dword [r13 + 4]
lea r8, str.Device_setup_failed_for_encoder_on_output_stream__d:_d_:__s
mov edx, 0x400
mov rcx, rbp
mov dword [rsp + 0x20], eax
mov r9d, dword [r13]
call fcn.140017020
jmp 0x14001c980
xor r12d, r12d
jmp 0x14001ca50
lea rcx, [r13 + 0x158]
lea r8, str.auto
lea rdx, str.threads
xor r9d, r9d
call fcn.140026590
jmp 0x14001cbdf
mov rax, qword [r13 + 0xa8]
mov rdx, qword [r13 + 0xa8]
mov qword [rbx + 0x368], rax
mov rax, qword [r13 + 0x10]
mov qword [rax + 0x50], rdx
jmp 0x14001cf8e
mov rcx, qword [r13 + 0xa8]
call sub.avutil_56.dll_av_find_nearest_q_idx
mov rdx, qword [r13 + 0x70]
cdqe
mov rdx, qword [rdx + 0x20]
mov rax, qword [rdx + rax*8]
mov qword [r13 + 0xa8], rax
jmp 0x14001caf0
movsxd r9, dword [r13 + 0xac]
movsxd r8, dword [r13 + 0xa8]
lea rdx, [r13 + 0xac]
lea rcx, [r13 + 0xa8]
mov qword [rsp + 0x20], 0xffff
call sub.avutil_56.dll_av_reduce
jmp 0x14001cafa
cmp edx, 0
jg 0x14001cde3
je 0x14001d879
movsxd rdx, dword [r13]
mov rax, qword [sym.ffmpeg_g.exe_output_files]
lea r8, str.Input_stream_data_not_available__using_default_time_base_n
mov rax, qword [rax + rdx*8]
mov edx, 0x18
mov rcx, qword [rax]
call sub.avutil_56.dll_av_log
jmp 0x14001d879
cmp dword [r13 + 0x48], 0
jg 0x14001d473
je 0x14001d896
movsxd rdx, dword [r13]
mov rax, qword [sym.ffmpeg_g.exe_output_files]
lea r8, str.Input_stream_data_not_available__using_default_time_base_n
mov rax, qword [rax + rdx*8]
mov edx, 0x18
mov rcx, qword [rax]
call sub.avutil_56.dll_av_log
jmp 0x14001d896
mov rax, qword [r13 + 0x138]
mov rcx, qword [rax]
call sub.avfilter_7.dll_av_buffersink_get_sample_aspect_ratio
mov qword [rsi + 0x40], rax
jmp 0x14001cf18
mov rcx, qword [rbx + 0x64]
movabs rdx, 0x100000000
call sub.avutil_56.dll_av_add_q
mov qword [rsi + 0x18], rax
jmp 0x14001d8f0
mov eax, dword [r12 + 0x78]
cmp dword [rbx + 0x78], eax
jne 0x14001cf8e
mov eax, dword [r12 + 0x88]
cmp dword [rbx + 0x88], eax
jne 0x14001cf8e
jmp 0x14001cf9d
lea rdx, [r15 + 5]
lea rcx, [r13 + 0xe8]
lea r8, sym.ffmpeg_g.exe_forced_keyframes_const_names
xor r9d, r9d
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
call sub.avutil_56.dll_av_expr_parse
test eax, eax
mov esi, eax
js 0x14001deba
movsd xmm0, qword [0x140041658]
mov qword [r13 + 0xf0], 0
mov qword [r13 + 0xf8], 0
movsd qword [r13 + 0x100], xmm0
movsd qword [r13 + 0x108], xmm0
jmp 0x14001cb33
mov rax, qword [sym.ffmpeg_g.exe_audio_volume]
cmp dword [rax], 0x100
jne 0x14001df55
mov eax, dword [rbp + 0x78]
mov edx, dword [rbp + 4]
mov r8, qword [rdi + 8]
cmp eax, 1
sete r11b
cmp eax, 0x480
sete r9b
or r11b, r9b
jne 0x14001dd2e
cmp eax, 0x240
jne 0x14001dd3a
cmp edx, 0x15001
je 0x14001dddd
cmp edx, 0x15003
je 0x14001dddd
mov rdx, qword [r13 + 0x10]
jmp 0x14001d7a4
mov rax, qword [r13 + 0x138]
mov rcx, qword [rax]
call sub.avfilter_7.dll_av_buffersink_get_hw_frames_ctx
mov rcx, rax
mov rbx, qword [r13 + 0x60]
call sub.avutil_56.dll_av_buffer_ref
mov rcx, qword [r13 + 0x60]
mov qword [rbx + 0x3f0], rax
cmp qword [rcx + 0x3f0], 0
jne 0x14001cc49
jmp 0x14001cd48
mov ecx, dword [rbx + 0x88]
call sub.avutil_56.dll_av_pix_fmt_desc_get
mov eax, dword [rax + 0x28]
jmp 0x14001cf5d
mov ecx, dword [rbx + 0x198]
call sub.avutil_56.dll_av_get_bytes_per_sample
shl eax, 3
jmp 0x14001d40c
mov rax, qword [rdi + 8]
mov rcx, qword [rax + 0x28]
test rcx, rcx
jle 0x14001d900
mov rdx, qword [rax + 0x18]
mov r8, qword [rsi + 0x18]
call sub.avutil_56.dll_av_rescale_q
mov qword [rsi + 0x28], rax
jmp 0x14001d900
mov dword [rbp + 0x78], 0
jmp 0x14001dd46
mov rax, qword [rdi + 0x10]
test byte [rax + 0x2d], 4
jne 0x14001ce62
lea r8, str.Frame_rate_very_high_for_a_muxer_not_efficiently_supporting_it._nPlease_consider_specifying_a_lower_framerate__a_different_muxer_or__vsync_2_n
mov edx, 0x18
mov rcx, rdi
call sub.avutil_56.dll_av_log
jmp 0x14001ce62
mov rdx, qword [sym.ffmpeg_g.exe_input_streams]
mov rax, qword [rdx + rax*8]
test rax, rax
je 0x14001db8f
mov rax, qword [rax + 8]
mov rax, qword [rax + 0x18]
mov qword [rsi + 0x64], rax
jmp 0x14001cdeb
mov rdx, qword [sym.ffmpeg_g.exe_input_streams]
mov rax, qword [rdx + rax*8]
test rax, rax
je 0x14001dbd1
mov rax, qword [rax + 8]
mov rax, qword [rax + 0x18]
mov qword [rsi + 0x64], rax
jmp 0x14001cb33
mov rbx, qword [r12 + 0x40]
jmp 0x14001d934
lea rdx, str.Lavc58.9.100
mov rcx, rax
call sub.avutil_56.dll_av_strlcpy
jmp 0x14001d700
mov edx, dword [rbp + 0x38]
mov rcx, qword [r13 + 0xc8]
mov rax, rdx
mov edx, dword [rbp + 0x3c]
shl rax, 0x20
or rdx, rax
call sub.avutil_56.dll_av_mul_q
lea r8, str.Overriding_aspect_ratio_with_stream_copy_may_produce_invalid_files_n
xor ecx, ecx
mov edx, 0x18
mov rbx, rax
call sub.avutil_56.dll_av_log
mov r8, qword [rdi + 8]
mov rcx, qword [r13 + 0x1c0]
jmp 0x14001d934
mov r9, qword [r13 + 0xe0]
lea r8, str.Invalid_force_key_frames_expression__s_n
mov edx, 0x10
xor ecx, ecx
add r9, 5
call sub.avutil_56.dll_av_log
jmp 0x14001c980
mov ecx, 1
mov dword [rsp + 0x70], 1
jmp 0x14001d01c
lea r8, str.Could_not_allocate_forced_key_frames_array._n
mov edx, 8
xor ecx, ecx
call sub.avutil_56.dll_av_log
mov ecx, 1
call sym.ffmpeg_g.exe_exit_program
lea r8, str.Error_initializing_the_output_stream_codec_context._n
jmp 0x14001def6
lea rax, str.src_fftools_ffmpeg.c
mov dword [rsp + 0x28], 0xcbe
lea r9, str.index__size
mov qword [rsp + 0x20], rax
jmp 0x14001d7e2
mov r9, qword [rax]
lea r8, str.Option__s_not_found._n
xor ecx, ecx
mov edx, 8
call sub.avutil_56.dll_av_log
mov ecx, 1
call sym.ffmpeg_g.exe_exit_program
lea r8, str._acodec_copy_and__vol_are_incompatible__frames_are_not_decoded__n
jmp 0x14001def6