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

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x30
mov rbx, rdx
mov edx, dword [rdx + 0x21c]
mov rdi, rcx
test edx, edx
js 0x14000ba67
mov rcx, qword [rcx + 0xb0]
mov r8, qword [rbx + 0x48]
call fcn.14001c6a0
mov rsi, qword [rbx + 0x280]
test rsi, rsi
je 0x14000bac1
mov rax, qword [rbx + 0x18]
mov rcx, qword [rsi + 0x18]
mov rdx, qword [rax + 0x10]
call sub.avcodec_60.dll_avcodec_parameters_copy
test eax, eax
js 0x14000bb03
mov rax, qword [rbx + 0x18]
mov rcx, rsi
mov rax, qword [rax + 0x20]
mov qword [rsi + 0x28], rax
call sub.avcodec_60.dll_av_bsf_init
test eax, eax
js 0x14000bae0
mov rax, qword [rbx + 0x18]
mov rdx, qword [rsi + 0x20]
mov rcx, qword [rax + 0x10]
call sub.avcodec_60.dll_avcodec_parameters_copy
test eax, eax
js 0x14000bb03
mov rax, qword [rbx + 0x18]
mov rdx, qword [rsi + 0x30]
mov qword [rax + 0x20], rdx
mov dword [rbx + 0x1a0], 1
mov rcx, rdi
add rsp, 0x30
pop rbx
pop rsi
pop rdi
jmp fcn.14000b8b0
mov rdx, qword [rsi + 8]
lea r8, str.Error_initializing_bitstream_filter:__s_n
mov rcx, rbx
mov dword [rsp + 0x2c], eax
mov r9, qword [rdx]
mov edx, 0x10
call sub.avutil_58.dll_av_log
mov eax, dword [rsp + 0x2c]
add rsp, 0x30
pop rbx
pop rsi
pop rdi
ret
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xa8
mov rbp, qword [rcx + 0x58]
mov rsi, qword [rcx + 0x10]
mov rbx, rcx
mov rdi, rdx
movsxd rcx, dword [rcx + 8]
mov qword [rsp + 0x38], r8
mov rdx, qword [0x14005a138]
mov rax, rcx
mov r13, qword [rdx + rcx*8]
test rbp, rbp
je 0x140025a40
mov rax, qword [rbx + 0x18]
mov r12, qword [rbp + 0x10]
xor r9d, r9d
xor r8d, r8d
lea r14, str.encoder
mov rcx, qword [rax + 0x50]
mov rdx, r14
mov r15, qword [r12]
call sub.avutil_58.dll_av_dict_get
test rax, rax
je 0x140025d30
xor r14d, r14d
test rsi, rsi
je 0x1400255db
mov r14, qword [rsi + 0x30]
mov eax, dword [rbp + 0xc]
test eax, eax
je 0x140025888
cmp eax, 2
je 0x1400256d0
jg 0x140025928
cmp eax, 1
jne 0x1400266fe
mov rax, qword [rbx + 0x158]
mov rcx, qword [rax]
call sub.avfilter_9.dll_av_buffersink_get_format
mov dword [rbp + 0x168], eax
mov rax, qword [rbx + 0x158]
mov rcx, qword [rax]
call sub.avfilter_9.dll_av_buffersink_get_sample_rate
lea rdx, [rbp + 0x390]
mov dword [rbp + 0x160], eax
mov rax, qword [rbx + 0x158]
mov rcx, qword [rax]
call sub.avfilter_9.dll_av_buffersink_get_ch_layout
mov edi, eax
test eax, eax
js 0x14002586d
mov eax, dword [rbx + 0xcc]
test eax, eax
jne 0x140025690
test r14, r14
je 0x140025696
mov rax, qword [rbx + 0x158]
mov rax, qword [rax + 0x10]
mov edi, dword [rax + 0x1c]
test edi, edi
je 0x140025696
mov ecx, dword [rbp + 0x168]
mov edi, dword [r14 + 0x274]
call sub.avutil_58.dll_av_get_bytes_per_sample
shl eax, 3
cmp edi, eax
jg 0x14002668b
mov eax, dword [r14 + 0x274]
nop dword [rax]
mov dword [rbp + 0x274], eax
mov r11d, dword [rbx + 0x50]
mov r14d, dword [rbp + 0x160]
mov rax, qword [rbx + 0x10]
mov rdi, qword [rbx + 0x58]
test r11d, r11d
jg 0x140026388
je 0x14002628e
test rax, rax
je 0x14002627a
mov rax, qword [rax + 8]
mov rax, qword [rax + 0x20]
mov qword [rdi + 0x64], rax
nop dword [rax]
mov eax, dword [rbx + 0xc8]
test eax, eax
je 0x1400256e1
or dword [rbp + 0x4c], 0x800000
mov edx, dword [rbx + 0x218]
test edx, edx
js 0x1400256f8
mov rcx, qword [r13 + 0x30]
mov r8, qword [rbp + 0x64]
call fcn.14001c6a0
mov rax, qword [rbp + 0x64]
lea rdi, str.threads
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rbx + 0x178]
mov rdx, rdi
mov qword [rbx + 0x48], rax
call sub.avutil_58.dll_av_dict_get
test rax, rax
je 0x1400261b0
test byte [r12 + 0x1a], 0x10
je 0x140025757
lea rcx, [rbx + 0x178]
mov r9d, 0x40
lea r8, str.copy_opaque
lea rdx, str.flags
call sub.avutil_58.dll_av_dict_set
mov edi, eax
test eax, eax
js 0x14002586d
mov rcx, rbx
call fcn.14000a330
mov edi, eax
test eax, eax
js 0x140025dd0
mov rcx, qword [rbx + 0x58]
lea r8, [rbx + 0x178]
mov rdx, r12
call sub.avcodec_60.dll_avcodec_open2
mov edi, eax
test eax, eax
js 0x140025ef8
cmp dword [r12 + 0x10], 1
je 0x140026410
mov rcx, qword [rbx + 0x178]
xor r8d, r8d
mov r9d, 2
lea rdx, [0x140051aa3]
call sub.avutil_58.dll_av_dict_get
test rax, rax
jne 0x14002669e
mov rdx, qword [rbx + 0x58]
mov rax, qword [rdx + 0x38]
test rax, rax
je 0x1400257ed
cmp rax, 0x3e7
jg 0x1400257ed
cmp dword [rdx + 0x18], 0x15043
je 0x1400257ed
mov edx, 0x18
lea r8, str.The_bitrate_parameter_is_set_too_low._It_takes_bits_s_as_argument__not_kbits_s_n
mov rcx, rbx
call sub.avutil_58.dll_av_log
mov rdx, qword [rbx + 0x58]
mov rax, qword [rbx + 0x18]
mov rcx, qword [rax + 0x10]
call sub.avcodec_60.dll_avcodec_parameters_from_context
test eax, eax
js 0x140026703
mov rdx, qword [rbx + 0x58]
mov eax, dword [rdx + 0x340]
test eax, eax
jle 0x140025c40
xor edi, edi
jmp 0x140025841
mov rdx, qword [rbp]
mov r8, qword [rbp + 8]
add rdi, 1
call sub.msvcrt.dll_memcpy
mov rdx, qword [rbx + 0x58]
cmp dword [rdx + 0x340], edi
jle 0x140025c40
mov rdx, qword [rdx + 0x338]
lea rax, [rdi + rdi*2]
mov rcx, qword [rbx + 0x18]
lea rbp, [rdx + rax*8]
mov edx, dword [rbp + 0x10]
mov r8, qword [rbp + 8]
call sub.avformat_60.dll_av_stream_new_side_data
mov rcx, rax
test rax, rax
jne 0x140025820
mov edi, 0xfffffff4
mov eax, edi
add rsp, 0xa8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov eax, dword [rbx + 0xa0]
test eax, eax
je 0x140025e30
mov edx, dword [rbx + 0xa8]
test edx, edx
jne 0x140026338
mov rax, qword [rbp + 0x10]
mov rdx, qword [rax + 0x20]
test rdx, rdx
je 0x1400258c1
mov r15d, dword [rbx + 0xb8]
test r15d, r15d
je 0x140025f30
cmp dword [rbp + 0x18], 0xc
je 0x140026180
mov eax, dword [rbp + 0xc]
cmp eax, 2
je 0x1400256d0
jg 0x140025928
test eax, eax
jne 0x1400255f5
mov r10d, dword [rbx + 0x50]
mov r9d, dword [rbx + 0xa0]
mov r11d, dword [rbx + 0xa4]
mov rax, qword [rbx + 0x10]
mov r15, qword [rbx + 0x58]
test r10d, r10d
jg 0x140025f60
je 0x140026220
test rax, rax
je 0x1400261f8
mov rax, qword [rax + 8]
mov rax, qword [rax + 0x20]
mov qword [r15 + 0x64], rax
jmp 0x140025f68
cmp eax, 3
jne 0x1400266f9
movabs rax, 0xf424000000001
mov qword [rbp + 0x64], rax
mov eax, dword [rbp + 0x74]
test eax, eax
je 0x140025eb0
test r14, r14
je 0x1400259ae
cmp qword [r14 + 0x2b0], 0
je 0x1400259ae
mov eax, dword [r14 + 0x2b8]
mov rdi, qword [rbx + 0x58]
lea ecx, [rax + 1]
movsxd rcx, ecx
call sub.avutil_58.dll_av_mallocz
mov qword [rdi + 0x2b0], rax
mov rax, qword [rbx + 0x58]
mov rcx, qword [rax + 0x2b0]
test rcx, rcx
je 0x140025868
mov rdx, qword [r14 + 0x2b0]
movsxd r8, dword [r14 + 0x2b8]
call sub.msvcrt.dll_memcpy
mov edx, dword [r14 + 0x2b8]
mov rax, qword [rbx + 0x58]
mov dword [rax + 0x2b8], edx
test rsi, rsi
je 0x1400256d0
mov rax, qword [rsi + 0x38]
cmp dword [rax + 0x10], 3
jne 0x1400256d0
cmp dword [rbp + 0xc], 3
jne 0x1400256d0
mov ecx, dword [rax + 0x14]
call sub.avcodec_60.dll_avcodec_descriptor_get
mov rdi, rax
mov rax, qword [rbx + 0x58]
mov ecx, dword [rax + 0x18]
call sub.avcodec_60.dll_avcodec_descriptor_get
test rdi, rdi
je 0x1400256d0
mov edx, dword [rdi + 0x18]
test rax, rax
je 0x1400256d0
mov eax, dword [rax + 0x18]
and edx, 0x30000
setne r8b
and eax, 0x30000
setne cl
test r8b, cl
je 0x1400256d0
cmp edx, eax
je 0x1400256d0
lea r8, str.Subtitle_encoding_currently_only_possible_from_text_to_text_or_bitmap_to_bitmap
mov edx, 0x10
mov rcx, rbx
mov edi, 0xbebbb1b7
call sub.avutil_58.dll_av_log
jmp 0x14002586d
test rsi, rsi
je 0x140025d0d
mov rax, qword [0x14005a148]
movsxd rdx, dword [rsi]
cmp qword [rbx + 0x158], 0
mov r14, qword [rax + rdx*8]
mov rax, qword [rbx + 0x18]
mov rbp, qword [rax + 0x10]
mov r12d, dword [rbp + 8]
jne 0x1400266c8
xor ecx, ecx
call sub.avcodec_60.dll_avcodec_alloc_context3
mov qword [rsp + 0x60], rax
mov rcx, rax
test rax, rax
je 0x140025868
mov rdx, qword [rsi + 0x28]
call sub.avcodec_60.dll_avcodec_parameters_to_context
mov edi, eax
test eax, eax
js 0x140025ed0
mov rcx, qword [rsp + 0x60]
lea rdx, [rbx + 0x178]
call sub.avutil_58.dll_av_opt_set_dict
mov edi, eax
test eax, eax
js 0x140025ed0
mov rdx, qword [rsp + 0x60]
mov rcx, rbp
call sub.avcodec_60.dll_avcodec_parameters_from_context
lea rcx, [rsp + 0x60]
mov edi, eax
call sub.avcodec_60.dll_avcodec_free_context
test edi, edi
js 0x140026590
mov rcx, qword [r13 + 0x10]
test r12d, r12d
jne 0x140025b0a
mov rax, qword [rcx + 0x30]
mov edx, dword [rbp + 8]
test rax, rax
je 0x140025b07
mov rcx, rax
call sub.avformat_60.dll_av_codec_get_id
mov edx, dword [rbp + 4]
cmp eax, edx
jne 0x140026610
mov rcx, qword [r13 + 0x10]
mov edx, dword [rbp + 8]
mov r12d, edx
mov r8, qword [rsi + 8]
mov rdx, qword [rbx + 0x18]
mov dword [rbp + 8], r12d
mov r12d, dword [rbx + 0xa0]
test r12d, r12d
je 0x1400261d0
mov rax, qword [rbx + 0xa0]
mov qword [rdx + 0x58], rax
mov rax, qword [0x140054800]
mov r9d, dword [rax]
call sub.avformat_60.dll_avformat_transfer_internal_stream_timing_info
mov edi, eax
test eax, eax
js 0x14002586d
mov r15, qword [rbx + 0x18]
mov edi, dword [r15 + 0x20]
test edi, edi
jle 0x140026360
mov r11d, dword [r15 + 0x24]
test r11d, r11d
jle 0x140026360
cmp qword [r15 + 0x30], 0
mov r12, qword [rsi + 8]
jle 0x140026450
mov r10d, dword [rbx + 0x1b8]
test r10d, r10d
jne 0x140025bc8
movabs rcx, 0x8000000000000000
mov rax, qword [r13 + 0x40]
xor edx, edx
cmp rax, rcx
cmove rax, rdx
mov rdx, qword [0x140054810]
mov r9d, dword [rdx]
mov qword [rbx + 0x40], rax
test r9d, r9d
je 0x140025bc8
mov rdx, qword [r14 + 0x48]
cmp rdx, rcx
je 0x140025bc8
add rdx, qword [r14 + 0x30]
cmp rdx, rax
cmovl rdx, rax
mov qword [rbx + 0x40], rdx
nop dword [rax]
mov r8d, dword [r12 + 0xd0]
test r8d, r8d
jle 0x1400262d0
xor edi, edi
jmp 0x140025c08
mov rdx, qword [r12]
mov r8, qword [r12 + 8]
add rdi, 1
call sub.msvcrt.dll_memcpy
mov r12, qword [rsi + 8]
cmp dword [r12 + 0xd0], edi
jle 0x1400262d0
mov r15, qword [rbx + 0x18]
mov rdx, qword [r12 + 0xc8]
lea rax, [rdi + rdi*2]
mov rcx, r15
lea r12, [rdx + rax*8]
mov edx, dword [r12 + 0x10]
mov r8, qword [r12 + 8]
call sub.avformat_60.dll_av_stream_new_side_data
mov rcx, rax
test rax, rax
jne 0x140025be0
jmp 0x140025868
test rsi, rsi
je 0x1400262a0
mov rcx, qword [rsi + 8]
mov r8d, dword [rcx + 0xd0]
test r8d, r8d
jle 0x1400262a0
mov r12, qword [rbx + 0x18]
xor edi, edi
nop dword [rax + rax]
mov rdx, qword [rcx + 0xc8]
lea rax, [rdi + rdi*2]
lea rbp, [rdx + rax*8]
mov edx, dword [rbp + 0x10]
cmp edx, 0xa
je 0x140025ccc
mov r8, qword [rbp + 8]
mov rcx, r12
call sub.avformat_60.dll_av_stream_new_side_data
mov rcx, rax
test rax, rax
je 0x140025868
mov rdx, qword [rbp]
mov r8, qword [rbp + 8]
call sub.msvcrt.dll_memcpy
mov r14d, dword [rsi + 0xe8]
mov rcx, rax
test r14d, r14d
je 0x140025cbd
cmp dword [rbp + 0x10], 5
je 0x140026440
mov rcx, qword [rsi + 8]
mov r12, qword [rbx + 0x18]
mov r8d, dword [rcx + 0xd0]
add rdi, 1
cmp r8d, edi
jg 0x140025c68
mov r15d, dword [r12 + 0x20]
test r15d, r15d
jle 0x1400263c0
mov r13d, dword [r12 + 0x24]
test r13d, r13d
jle 0x1400263c0
cmp qword [r12 + 0x30], 0
jg 0x140025d02
test rsi, rsi
jne 0x1400265b0
movsxd rax, dword [rbx + 8]
mov rdx, qword [0x14005a138]
mov rcx, qword [rdx + rax*8]
mov rdx, rbx
add rsp, 0xa8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp 0x14000ba40
mov rcx, r15
call sub.msvcrt.dll_strlen
add eax, 0xf
cdqe
mov rcx, rax
mov qword [rsp + 0x40], rax
call sub.avutil_58.dll_av_mallocz
mov r10, rax
test rax, rax
je 0x1400266be
mov eax, dword [r13 + 0x4c]
mov r8, qword [rsp + 0x40]
test eax, eax
jne 0x140025d71
mov eax, dword [rbx + 0xc8]
test eax, eax
je 0x1400263e8
mov rcx, r10
lea rdx, str.Lavc
mov qword [rsp + 0x48], r10
call sub.avutil_58.dll_av_strlcpy
mov r10, qword [rsp + 0x48]
mov r8, qword [rsp + 0x40]
mov rcx, r10
mov rdx, r15
mov qword [rsp + 0x40], r10
call sub.avutil_58.dll_av_strlcat
mov rax, qword [rbx + 0x18]
mov r8, qword [rsp + 0x40]
mov rdx, r14
mov r9d, 0x18
xor r14d, r14d
lea rcx, [rax + 0x50]
call sub.avutil_58.dll_av_dict_set
test rsi, rsi
jne 0x1400255d7
jmp 0x1400255db
lea rsi, [rsp + 0x60]
pxor xmm0, xmm0
mov r8d, 0x40
mov ecx, eax
mov rdx, rsi
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x90], xmm0
call sub.avutil_58.dll_av_strerror
mov qword [rsp + 0x28], rsi
mov eax, dword [rbx + 0xc]
lea r8, str.Device_setup_failed_for_encoder_on_output_stream__d:_d_:__s
mov rcx, qword [rsp + 0x38]
mov edx, 0x400
mov dword [rsp + 0x20], eax
mov r9d, dword [rbx + 8]
call fcn.1400377b0
jmp 0x14002586d
mov rax, qword [rbx + 0x158]
mov rcx, qword [rax]
call sub.avfilter_9.dll_av_buffersink_get_frame_rate
mov qword [rbx + 0xa0], rax
test eax, eax
jne 0x140025896
mov edx, dword [rbx + 0xa8]
test edx, edx
je 0x140026308
mov ecx, dword [rbx + 0xa4]
pxor xmm1, xmm1
pxor xmm0, xmm0
pxor xmm2, xmm2
cvtsi2sd xmm1, eax
cvtsi2sd xmm0, ecx
cvtsi2sd xmm2, dword [rbx + 0xac]
divsd xmm1, xmm0
pxor xmm0, xmm0
cvtsi2sd xmm0, edx
divsd xmm0, xmm2
comisd xmm1, xmm0
ja 0x140025e9c
test ecx, ecx
jne 0x1400258a4
mov rax, qword [rbx + 0xa8]
mov qword [rbx + 0xa0], rax
jmp 0x1400258a4
mov rax, qword [rbx + 0x10]
mov rax, qword [rax + 0x28]
mov edx, dword [rax + 0x38]
mov eax, dword [rax + 0x3c]
mov dword [rbp + 0x74], edx
mov dword [rbp + 0x78], eax
jmp 0x14002594a
mov rcx, rbx
lea r8, str.Error_setting_up_codec_context_options._n
mov edx, 8
call sub.avutil_58.dll_av_log
lea rcx, [rsp + 0x60]
call sub.avcodec_60.dll_avcodec_free_context
jmp 0x14002586d
cmp eax, 0xd44d5058
je 0x1400266b4
mov eax, dword [rbx + 0xc]
mov rcx, qword [rsp + 0x38]
mov edx, 0x400
lea r8, str.Error_while_opening_encoder_for_output_stream__d:_d___maybe_incorrect_parameters_such_as_bit_rate__rate__width_or_height
mov dword [rsp + 0x20], eax
mov r9d, dword [rbx + 8]
call fcn.1400377b0
jmp 0x14002586d
mov rcx, qword [rbx + 0xa0]
call sub.avutil_58.dll_av_find_nearest_q_idx
mov rdx, qword [rbp + 0x10]
cdqe
mov rdx, qword [rdx + 0x20]
mov rax, qword [rdx + rax*8]
mov qword [rbx + 0xa0], rax
jmp 0x1400258c1
mov rax, qword [rbx + 0x50]
mov qword [r15 + 0x64], rax
mov edx, dword [rbp + 0x64]
test edx, edx
je 0x140026108
mov eax, dword [rbp + 0x68]
test eax, eax
je 0x140026108
pxor xmm0, xmm0
pxor xmm1, xmm1
cvtsi2sd xmm1, eax
cvtsi2sd xmm0, edx
divsd xmm0, xmm1
movsd xmm1, qword [0x140053760]
comisd xmm1, xmm0
jbe 0x140025fae
mov eax, dword [rbx + 0xb0]
test eax, eax
jne 0x140026240
mov rax, qword [rbx + 0x158]
mov rcx, qword [rax]
call sub.avfilter_9.dll_av_buffersink_get_w
mov dword [rbp + 0x74], eax
mov rax, qword [rbx + 0x158]
mov rcx, qword [rax]
call sub.avfilter_9.dll_av_buffersink_get_h
mov r9d, dword [rbx + 0xd8]
mov r15, qword [rbx + 0x18]
mov dword [rbp + 0x78], eax
test r9d, r9d
je 0x140026348
mov ecx, dword [rbp + 0x74]
mov edx, eax
shl rcx, 0x20
or rdx, rcx
mov rcx, qword [rbx + 0xd8]
call sub.avutil_58.dll_av_mul_q
mov qword [r15 + 0x48], rax
mov qword [rbp + 0xd8], rax
mov rax, qword [rbx + 0x158]
mov rcx, qword [rax]
call sub.avfilter_9.dll_av_buffersink_get_format
mov edx, dword [rbx + 0xcc]
mov dword [rbp + 0x88], eax
test edx, edx
je 0x140026130
mov dword [rbp + 0x274], edx
mov eax, dword [rbx + 0xbc]
mov rdx, qword [rbx + 0x18]
test rdi, rdi
je 0x140026398
mov ecx, dword [rdi + 0x140]
mov dword [rbp + 0x150], ecx
mov ecx, dword [rdi + 0x144]
mov dword [rbp + 0x144], ecx
mov ecx, dword [rdi + 0x148]
mov dword [rbp + 0x148], ecx
mov ecx, dword [rdi + 0x14c]
mov dword [rbp + 0x14c], ecx
mov ecx, dword [rdi + 0x150]
mov dword [rbp + 0x154], ecx
mov rcx, qword [rbx + 0xa0]
mov qword [rbp + 0x2c0], rcx
mov rcx, qword [rbx + 0xa0]
mov qword [rdx + 0x58], rcx
test dword [rbp + 0x4c], 0x20040000
je 0x1400260b7
test eax, eax
js 0x140026478
setne dl
movzx edx, dl
mov dword [rdi + 0xc0], edx
mov edx, dword [rdi + 0xbc]
test edx, edx
je 0x140026230
mov rdx, qword [rbp + 0x10]
mov ecx, dword [rdi + 0xc0]
cmp dword [rdx + 0x14], 7
je 0x140026570
cmp ecx, 1
mov edx, 4
adc edx, 0
mov dword [rbp + 0x15c], edx
test eax, eax
jne 0x1400262b0
mov dword [rbp + 0x15c], 3
jmp 0x1400256d0
mov rax, qword [rbx + 0x158]
mov rcx, qword [rax]
call sub.avfilter_9.dll_av_buffersink_get_time_base
mov qword [rbp + 0x64], rax
mov edx, eax
shr rax, 0x20
jmp 0x140025f7e
test r14, r14
je 0x140026032
mov rdx, qword [rbx + 0x158]
mov rdx, qword [rdx + 0x10]
mov r8d, dword [rdx + 0x1c]
test r8d, r8d
je 0x140026032
mov ecx, eax
mov r15d, dword [r14 + 0x274]
call sub.avutil_58.dll_av_pix_fmt_desc_get
cmp r15d, dword [rax + 0x28]
jg 0x140026678
mov eax, dword [r14 + 0x274]
mov dword [rbp + 0x274], eax
jmp 0x140026032
mov qword [rsp + 0x20], 0xffff
movsxd r9, dword [rbx + 0xa4]
lea rdx, [rbx + 0xa4]
lea rcx, [rbx + 0xa0]
movsxd r8, dword [rbx + 0xa0]
call sub.avutil_58.dll_av_reduce
jmp 0x1400258cb
lea rcx, [rbx + 0x178]
xor r9d, r9d
lea r8, str.auto
mov rdx, rdi
call sub.avutil_58.dll_av_dict_set
jmp 0x140025725
mov rax, qword [rsi + 0xd8]
mov qword [rbx + 0xa0], rax
test eax, eax
jne 0x140025b26
mov rax, qword [r8 + 0x58]
mov qword [rdx + 0x58], rax
jmp 0x140025b31
lea r8, str.Input_stream_data_not_available__using_default_time_base_n
mov edx, 0x18
mov rcx, rbx
mov dword [rsp + 0x48], r11d
mov dword [rsp + 0x40], r9d
call sub.avutil_58.dll_av_log
mov r11d, dword [rsp + 0x48]
mov r9d, dword [rsp + 0x40]
mov dword [r15 + 0x64], r11d
mov dword [r15 + 0x68], r9d
jmp 0x140025f68
mov dword [rbp + 0x15c], 1
jmp 0x1400260ea
mov edx, eax
and edx, 0xfffffffd
cmp edx, 1
je 0x140026261
cmp eax, 0xffffffff
jne 0x140025fae
mov rax, qword [r13 + 0x10]
test byte [rax + 0x2d], 4
jne 0x140025fae
lea r8, str.Frame_rate_very_high_for_a_muxer_not_efficiently_supporting_it._nPlease_consider_specifying_a_lower_framerate__a_different_muxer_or_setting_vsync_fps_mode_to_vfr_n
mov edx, 0x18
mov rcx, rbx
call sub.avutil_58.dll_av_log
jmp 0x140025fae
lea r8, str.Input_stream_data_not_available__using_default_time_base_n
mov edx, 0x18
mov rcx, rbx
call sub.avutil_58.dll_av_log
mov dword [rdi + 0x64], 1
mov dword [rdi + 0x68], r14d
jmp 0x1400256d0
mov r12, qword [rbx + 0x18]
jmp 0x140025cd5
cmp eax, 1
jne 0x1400256d0
mov dword [rbp + 0x15c], 2
jmp 0x1400256d0
mov ecx, dword [rbx + 0xc0]
test ecx, ecx
jne 0x140026530
mov eax, dword [rbp]
test eax, eax
je 0x1400264e0
cmp eax, 1
je 0x140026498
mov rdx, qword [rsi + 8]
mov rax, qword [rdx + 0x20]
mov qword [rbx + 0x48], rax
jmp 0x140025d02
lea r8, str.No_information_about_the_input_framerate_is_available._Falling_back_to_a_default_value_of_25fps._Use_the__r_option_if_you_want_a_different_framerate._n
mov edx, 0x18
mov rcx, rbx
movabs rax, 0x100000019
mov qword [rbx + 0xa0], rax
call sub.avutil_58.dll_av_log
jmp 0x140025896
mov eax, dword [rbx + 0xa0]
jmp 0x140025e5c
mov rax, qword [rbx + 0x158]
mov rcx, qword [rax]
call sub.avfilter_9.dll_av_buffersink_get_sample_aspect_ratio
mov qword [r15 + 0x48], rax
jmp 0x140026002
mov eax, dword [rbx + 0xa0]
test eax, eax
je 0x1400265e8
mov edx, dword [rbx + 0xa4]
mov dword [r15 + 0x24], eax
mov dword [r15 + 0x20], edx
jmp 0x140025b67
mov rax, qword [rbx + 0x50]
mov qword [rdi + 0x64], rax
jmp 0x1400256d0
mov rcx, qword [rbx + 0xa0]
mov qword [rbp + 0x2c0], rcx
mov rcx, qword [rbx + 0xa0]
mov qword [rdx + 0x58], rcx
jmp 0x1400260ea
movabs rdx, 0x100000000
mov rax, qword [rbx + 0x58]
mov rcx, qword [rax + 0x64]
call sub.avutil_58.dll_av_add_q
mov qword [r12 + 0x20], rax
jmp 0x140025cf1
mov rcx, r10
lea rdx, str.Lavc60.3.100
mov qword [rsp + 0x48], r10
call sub.avutil_58.dll_av_strlcpy
mov r10, qword [rsp + 0x48]
jmp 0x140025d8a
test byte [r12 + 0x1a], 1
jne 0x140025792
mov rax, qword [rbx + 0x58]
mov edx, dword [rax + 0x16c]
mov rax, qword [rbx + 0x158]
mov rcx, qword [rax]
call sub.avfilter_9.dll_av_buffersink_set_frame_size
jmp 0x140025792
pxor xmm1, xmm1
call sub.avutil_58.dll_av_display_rotation_set
jmp 0x140025cbd
mov rcx, qword [r12 + 0x30]
test rcx, rcx
jle 0x140025b76
mov rdx, qword [r12 + 0x20]
mov r8, qword [r15 + 0x20]
call sub.avutil_58.dll_av_rescale_q
mov qword [r15 + 0x30], rax
jmp 0x140025b76
mov ecx, dword [rdi + 0xbc]
test ecx, ecx
jne 0x1400260c5
mov dword [rbp + 0x15c], 1
jmp 0x1400256d0
mov eax, dword [rbp + 0x78]
mov r8d, dword [rbp + 4]
mov rdx, qword [rsi + 8]
cmp eax, 1
sete cl
cmp eax, 0x480
sete r9b
or cl, r9b
jne 0x1400264be
cmp eax, 0x240
jne 0x1400264c7
cmp r8d, 0x15001
je 0x1400264d4
cmp r8d, 0x15003
jne 0x1400262f6
mov dword [rbp + 0x78], 0
jmp 0x1400262f6
mov edx, dword [rbx + 0xd8]
test edx, edx
jne 0x14002663f
mov rdx, qword [rsi + 8]
mov eax, dword [rdx + 0x48]
test eax, eax
je 0x140026636
mov rdi, qword [rdx + 0x48]
mov rcx, qword [rbx + 0x18]
mov rax, qword [rdx + 0x58]
mov qword [rbp + 0x40], rdi
mov qword [rcx + 0x58], rax
mov rax, qword [rdx + 0xd8]
mov qword [rcx + 0x48], rdi
mov qword [rcx + 0xd8], rax
jmp 0x1400262f6
mov rcx, qword [rbx + 0x18]
mov r8d, 0x24
mov edx, 5
call sub.avformat_60.dll_av_stream_new_side_data
test rax, rax
je 0x1400262de
movsd xmm1, qword [rbx + 0xd0]
xorpd xmm1, xmmword [0x140053770]
mov rcx, rax
call sub.avutil_58.dll_av_display_rotation_set
jmp 0x1400262de
cmp ecx, 1
mov edx, 2
adc edx, 0
mov dword [rbp + 0x15c], edx
jmp 0x1400260ea
lea r8, str.Error_getting_reference_codec_parameters._n
mov edx, 8
mov rcx, rbx
call sub.avutil_58.dll_av_log
jmp 0x14002586d
mov rax, qword [rsi + 8]
mov rcx, qword [rax + 0x30]
test rcx, rcx
jle 0x140025d02
mov rdx, qword [rax + 0x20]
mov r8, qword [r12 + 0x20]
call sub.avutil_58.dll_av_rescale_q
mov rdx, qword [0x14005a138]
mov qword [r12 + 0x30], rax
movsxd rax, dword [rbx + 8]
jmp 0x140025d0d
mov rcx, r15
call sub.avformat_60.dll_av_stream_get_codec_timebase
mov r15, qword [rbx + 0x18]
movabs rdx, 0x100000000
mov rcx, rax
call sub.avutil_58.dll_av_add_q
mov qword [r15 + 0x20], rax
jmp 0x140025b67
mov rax, qword [r13 + 0x10]
lea r8, [rsp + 0x5c]
mov rcx, qword [rax + 0x30]
call sub.avformat_60.dll_av_codec_get_tag2
mov rcx, qword [r13 + 0x10]
test eax, eax
jne 0x140025b0a
mov edx, dword [rbp + 8]
jmp 0x140025b07
mov rdi, qword [rbp + 0x40]
jmp 0x140026501
mov eax, dword [rbp + 0x38]
mov edx, dword [rbp + 0x3c]
mov rcx, qword [rbx + 0xd8]
shl rax, 0x20
or rdx, rax
call sub.avutil_58.dll_av_mul_q
mov edx, 0x18
lea r8, str.Overriding_aspect_ratio_with_stream_copy_may_produce_invalid_files_n
mov rcx, rbx
mov rdi, rax
call sub.avutil_58.dll_av_log
mov rdx, qword [rsi + 8]
jmp 0x140026501
mov ecx, dword [rbp + 0x88]
call sub.avutil_58.dll_av_pix_fmt_desc_get
mov eax, dword [rax + 0x28]
jmp 0x140026170
mov ecx, dword [rbp + 0x168]
call sub.avutil_58.dll_av_get_bytes_per_sample
shl eax, 3
jmp 0x140025690
mov r9, qword [rax]
lea r8, str.Option__s_not_found._n
mov edx, 8
xor ecx, ecx
call sub.avutil_58.dll_av_log
mov ecx, 1
call fcn.14001d850
mov ecx, 0xfffffff4
call fcn.14001d870
lea rax, str.D:_code_ffmpeg_src_fftools_ffmpeg.c
lea r9, str.ist___ost__filter
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
lea r8, str.Assertion__s_failed_at__s:_d_n
mov dword [rsp + 0x28], 0xb2f
call sub.avutil_58.dll_av_log
call sub.msvcrt.dll_abort
nop
jmp 0x140044770
jmp 0x140044770
mov rcx, rbx
lea r8, str.Error_initializing_the_output_stream_codec_context._n
mov edx, 8
call sub.avutil_58.dll_av_log
mov ecx, 1
call fcn.14001d850
nop
nop word cs:[rax + rax]
nop dword [rax]