Function at 0x1400143a0
Capabilities:
Accept command line arguments
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, 0x1c8
xor eax, eax
lea rdi, [rsp + 0x120]
mov dword [rsp + 0x210], ecx
mov ecx, 0x14
mov rsi, rdx
mov qword [rsp + 0x60], rdi
rep stosq qword [rdi], rax
mov rax, qword [0x14004d288]
mov qword [rsp + 0x48], rax
test rax, rax
je 0x1400153cf
mov eax, dword [0x14004d280]
mov dword [rsp + 0x210], eax
mov rdi, qword [rsp + 0x60]
xor eax, eax
mov ecx, 0x14
mov edx, 0x18
rep stosq qword [rdi], rax
mov ecx, 2
mov dword [rsp + 0x170], 2
call sub.avutil_56.dll_av_mallocz_array
mov qword [rsp + 0x168], rax
mov rdx, rax
test rax, rax
je 0x140014b04
mov ecx, dword [rsp + 0x170]
test ecx, ecx
jle 0x140014468
sub ecx, 1
lea rax, str.output_url
lea r8, [rcx + rcx*2]
lea rcx, [rax + 0x18]
lea rcx, [rcx + r8*8]
nop dword [rax]
mov qword [rdx], rax
add rax, 0x18
add rdx, 0x18
cmp rcx, rax
jne 0x140014458
lea rax, str.global
xor r9d, r9d
lea r8, str.bicubic
mov qword [rsp + 0x120], rax
lea rdx, [0x14004234b]
lea rax, [0x14004185d]
lea rcx, [0x14004d170]
mov qword [rsp + 0x128], rax
call sub.avutil_56.dll_av_dict_set
xor ecx, ecx
mov edx, 0x30
lea r8, str.Splitting_the_commandline._n
call sub.avutil_56.dll_av_log
cmp dword [rsp + 0x210], 1
jle 0x14001489a
mov dword [rsp + 0x58], 0xfffffffe
mov r15, qword [0x1400488e0]
mov esi, 1
mov r14, qword [0x140048a10]
jmp 0x14001469c
mov rsi, qword [rsp + 0x168]
mov eax, dword [rsi + 0x10]
lea r13d, [rax + 1]
cmp r13d, 0x1c71c70
jg 0x1400157df
mov rcx, qword [rsi + 8]
movsxd r12, r13d
mov r8d, 0x48
mov rdx, r12
call sub.avutil_56.dll_av_realloc_array
mov rdi, rax
test rax, rax
je 0x1400157ff
mov eax, dword [rsi + 0x10]
mov edx, r13d
sub edx, eax
lea ecx, [rax + rax*8]
lea r8d, [rdx + rdx*8]
shl ecx, 3
xor edx, edx
shl r8d, 3
movsxd rcx, ecx
add rcx, rdi
movsxd r8, r8d
call sub.msvcrt.dll_memset
mov dword [rsi + 0x10], r13d
lea rax, [r12 + r12*8]
mov rdx, qword [rsi]
movdqu xmm0, xmmword [rsp + 0x178]
lea rax, [rdi + rax*8 - 0x48]
mov qword [rsi + 8], rdi
xor r9d, r9d
lea r8, str.bicubic
lea rcx, [0x14004d170]
mov esi, ebp
movups xmmword [rax], xmm0
movdqu xmm1, xmmword [rsp + 0x188]
movups xmmword [rax + 0x10], xmm1
movdqu xmm2, xmmword [rsp + 0x198]
mov qword [rax], rdx
mov rdx, qword [0x14004d170]
movups xmmword [rax + 0x20], xmm2
mov qword [rax + 0x38], rdx
mov rdx, qword [0x14004d178]
mov qword [rax + 8], rbx
mov qword [rax + 0x40], rdx
mov rdx, qword [r15]
mov qword [0x14004d170], 0
mov qword [rax + 0x20], rdx
mov rdx, qword [r14]
mov qword [r15], 0
mov qword [rax + 0x28], rdx
mov rdx, qword [0x14004d290]
mov qword [r14], 0
mov qword [rax + 0x30], rdx
lea rdx, [0x14004234b]
mov qword [0x14004d290], 0
mov qword [0x14004d178], 0
call sub.avutil_56.dll_av_dict_set
lea r9, str.output_url
lea r8, str._matched_as__s._n
xor ecx, ecx
mov edx, 0x30
mov qword [rsp + 0x178], 0
mov qword [rsp + 0x180], 0
mov qword [rsp + 0x188], 0
mov qword [rsp + 0x190], 0
mov qword [rsp + 0x198], 0
mov qword [rsp + 0x1a0], 0
mov qword [rsp + 0x1a8], 0
mov qword [rsp + 0x1b0], 0
mov qword [rsp + 0x1b8], 0
call sub.avutil_56.dll_av_log
cmp esi, dword [rsp + 0x210]
jge 0x14001489a
movsxd rax, esi
xor ecx, ecx
lea ebp, [rsi + 1]
mov edx, 0x30
lea rbx, [rax*8]
lea r8, str.Reading_option__s_...
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsp + 0x48]
mov rbx, qword [rbx + rax*8]
mov r9, rbx
call sub.avutil_56.dll_av_log
cmp byte [rbx], 0x2d
jne 0x1400144e8
movzx eax, byte [rbx + 1]
cmp al, 0x2d
je 0x140014cf0
test al, al
je 0x1400144e8
cmp dword [rsp + 0x58], esi
je 0x1400144e8
cmp byte [rbx + 1], 0x69
lea r12, [rbx + 1]
jne 0x14001470b
cmp byte [r12 + 1], 0
je 0x140014b0e
mov rdi, qword [0x140048ba0]
lea rdx, [0x14004233f]
lea r13, [rsp + 0xa0]
mov r8, r13
mov rcx, r12
call sub.avutil_56.dll_av_strstart
test eax, eax
je 0x14001474b
mov rax, qword [rsp + 0xa0]
movzx eax, byte [rax]
test al, al
je 0x140014d05
cmp al, 0x3a
je 0x140014d05
mov rdx, qword [rdi + 0x28]
add rdi, 0x28
test rdx, rdx
jne 0x140014721
mov rax, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
lea r13, [rax + rdi + 8]
mov rdx, qword [r13]
test rdx, rdx
je 0x14001478b
mov rcx, r12
call fcn.140020b50
test eax, eax
jns 0x140015555
cmp eax, 0xabafb008
jne 0x1400157b6
cmp byte [rbx + 1], 0x6e
jne 0x140015735
cmp byte [rbx + 2], 0x6f
jne 0x140015735
lea rcx, [rbx + 3]
call fcn.1400208e0
mov rbx, rax
test rax, rax
je 0x140015735
cmp qword [rax], 0
je 0x140015735
mov eax, dword [rax + 8]
test al, 2
je 0x140015735
test ah, 0xe0
lea rsi, [rsp + 0x178]
cmove rsi, qword [rsp + 0x60]
mov eax, dword [rsi + 0x18]
lea r13d, [rax + 1]
cmp r13d, 0x5555554
jg 0x1400157df
movsxd r11, r13d
mov rcx, qword [rsi + 0x10]
mov r8d, 0x18
mov rdx, r11
mov qword [rsp + 0x68], r11
call sub.avutil_56.dll_av_realloc_array
mov r10, rax
test rax, rax
je 0x1400158a1
mov eax, dword [rsi + 0x18]
mov edx, r13d
mov qword [rsp + 0x50], r10
sub edx, eax
lea ecx, [rax + rax*2]
lea r8d, [rdx + rdx*2]
shl ecx, 3
xor edx, edx
shl r8d, 3
movsxd rcx, ecx
add rcx, r10
movsxd r8, r8d
call sub.msvcrt.dll_memset
mov r11, qword [rsp + 0x68]
mov dword [rsi + 0x18], r13d
xor ecx, ecx
mov r10, qword [rsp + 0x50]
lea r8, str._matched_as_option__s___s__with_argument_0._n
mov edx, 0x30
lea rax, [r11 + r11*2]
mov qword [rsi + 0x10], r10
lea rax, [r10 + rax*8 - 0x18]
lea rsi, [0x140042497]
mov qword [rax + 0x10], rsi
mov esi, ebp
mov qword [rax], rbx
mov qword [rax + 8], r12
mov rax, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
mov r9, qword [rbx]
call sub.avutil_56.dll_av_log
cmp esi, dword [rsp + 0x210]
jl 0x14001469c
mov ebx, dword [rsp + 0x190]
test ebx, ebx
jne 0x1400148b6
mov rax, qword [0x1400488e0]
cmp qword [rax], 0
je 0x140015531
lea r8, str.Trailing_option_s__found_in_the_command:_may_be_ignored._n
mov edx, 0x18
xor ecx, ecx
call sub.avutil_56.dll_av_log
lea r8, str.Finished_splitting_the_commandline._n
mov edx, 0x30
xor ecx, ecx
call sub.avutil_56.dll_av_log
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call fcn.140013c00
mov r13d, eax
test eax, eax
js 0x14001571d
lea rdx, [0x140011c10]
mov ecx, 2
call sub.msvcrt.dll_signal
lea rdx, [0x140011c10]
mov ecx, 0xf
call sub.msvcrt.dll_signal
mov edx, 1
lea rcx, [0x1400124d0]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
mov rax, qword [rsp + 0x168]
lea r8, [0x1400066e0]
lea rdx, str.input
lea rcx, [rax + 0x18]
call fcn.140014200
mov r13d, eax
test eax, eax
js 0x14001557c
mov rax, qword [0x140048b10]
cmp dword [rax], 0
jle 0x14001523c
mov qword [rsp + 0x50], 0
nop word [rax + rax]
mov rax, qword [0x140048a00]
mov rsi, qword [rsp + 0x50]
mov rax, qword [rax]
mov rbx, qword [rax + rsi*8]
call sub.avfilter_7.dll_avfilter_graph_alloc
mov qword [rsp + 0x80], rax
mov rcx, rax
test rax, rax
je 0x1400157f7
mov dword [rax + 0x2c], 1
mov rdx, qword [rbx + 8]
lea rax, [rsp + 0x70]
lea r9, [rsp + 0x78]
mov r8, rax
mov qword [rsp + 0x58], rax
call sub.avfilter_7.dll_avfilter_graph_parse2
mov r13d, eax
test eax, eax
js 0x140015769
mov rsi, qword [rsp + 0x70]
test rsi, rsi
je 0x14001506e
nop word [rax + rax]
mov rax, qword [rsi + 8]
mov edx, dword [rsi + 0x10]
mov rcx, qword [rax + 0x18]
call sub.avfilter_7.dll_avfilter_pad_get_type
mov r12d, eax
cmp eax, 1
ja 0x140015843
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400152c8
xor r8d, r8d
lea rdx, [rsp + 0xa0]
call sub.msvcrt.dll_strtol
test eax, eax
js 0x140015860
mov rdi, qword [0x140048b30]
cmp eax, dword [rdi]
jge 0x140015860
movsxd rdi, eax
mov rax, qword [0x140048a70]
mov qword [rsp + 0x48], rdi
mov rax, qword [rax]
mov rax, qword [rax + rdi*8]
mov r14, qword [rax]
mov r11d, dword [r14 + 0x2c]
test r11d, r11d
je 0x140014ae0
mov r15d, r12d
xor edi, edi
and r15d, 1
jmp 0x140014a73
cmp eax, 1
je 0x140014e40
add rdi, 1
cmp dword [r14 + 0x2c], edi
jbe 0x140014ae0
mov rax, qword [r14 + 0x30]
lea r13, [rdi*8]
mov rdx, qword [rax + rdi*8]
mov rax, qword [rdx + 0xd0]
mov eax, dword [rax]
cmp r12d, eax
je 0x140014a9b
cmp eax, 3
jne 0x140014a69
test r15b, r15b
jne 0x140014a69
mov rbp, qword [rsp + 0xa0]
xor eax, eax
mov rcx, r14
cmp byte [rbp], 0x3a
sete al
add rbp, rax
mov r8, rbp
call sub.avformat_58.dll_avformat_match_stream_specifier
test eax, eax
jns 0x140014a60
mov r9, rbp
mov edx, 0x10
mov rcx, r14
add rdi, 1
lea r8, str.Invalid_stream_specifier:__s._n
call sub.avutil_56.dll_av_log
cmp dword [r14 + 0x2c], edi
ja 0x140014a73
nop
mov rax, qword [rbx + 8]
mov r9, qword [rsp + 0xa0]
lea r8, str.Stream_specifier__s_in_filtergraph_description__s_matches_no_streams._n
mov qword [rsp + 0x20], rax
mov edx, 8
xor ecx, ecx
call sub.avutil_56.dll_av_log
mov ecx, 1
call fcn.140012ce0
mov rax, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
add esi, 2
mov rbx, qword [rax + rbx + 8]
test rbx, rbx
je 0x140015798
mov rbp, qword [rsp + 0x168]
mov eax, dword [rbp + 0x28]
lea r13d, [rax + 1]
cmp r13d, 0x1c71c70
jg 0x1400157df
mov rcx, qword [rbp + 0x20]
movsxd r12, r13d
mov r8d, 0x48
mov rdx, r12
call sub.avutil_56.dll_av_realloc_array
mov rdi, rax
test rax, rax
je 0x1400157ff
mov eax, dword [rbp + 0x28]
mov edx, r13d
sub edx, eax
lea ecx, [rax + rax*8]
lea r8d, [rdx + rdx*8]
shl ecx, 3
xor edx, edx
shl r8d, 3
movsxd rcx, ecx
add rcx, rdi
movsxd r8, r8d
call sub.msvcrt.dll_memset
mov dword [rbp + 0x28], r13d
lea rax, [r12 + r12*8]
xor r9d, r9d
lea rax, [rdi + rax*8 - 0x48]
mov qword [rbp + 0x20], rdi
mov rdx, qword [rbp + 0x18]
movdqu xmm4, xmmword [rsp + 0x178]
mov rcx, qword [0x1400488e0]
movups xmmword [rax], xmm4
movdqu xmm5, xmmword [rsp + 0x188]
movups xmmword [rax + 0x10], xmm5
movdqu xmm4, xmmword [rsp + 0x198]
mov qword [rax], rdx
mov rdx, qword [0x14004d170]
movups xmmword [rax + 0x20], xmm4
mov qword [rax + 0x38], rdx
mov rdx, qword [0x14004d178]
mov qword [rax + 8], rbx
mov qword [rax + 0x40], rdx
mov rdx, qword [rcx]
mov qword [rcx], 0
lea rcx, [0x14004d170]
mov qword [rax + 0x20], rdx
mov rdx, qword [0x140048a10]
mov qword [0x14004d170], 0
mov qword [0x14004d178], 0
mov r8, qword [rdx]
mov qword [rdx], 0
lea rdx, [0x14004234b]
mov qword [rax + 0x28], r8
mov r8, qword [0x14004d290]
mov qword [0x14004d290], 0
mov qword [rax + 0x30], r8
lea r8, str.bicubic
call sub.avutil_56.dll_av_dict_set
mov qword [rsp + 0x20], rbx
mov edx, 0x30
xor ecx, ecx
lea r9, str.input_url
lea r8, str._matched_as__s_with_argument__s._n
mov qword [rsp + 0x178], 0
mov qword [rsp + 0x180], 0
mov qword [rsp + 0x188], 0
mov qword [rsp + 0x190], 0
mov qword [rsp + 0x198], 0
mov qword [rsp + 0x1a0], 0
mov qword [rsp + 0x1a8], 0
mov qword [rsp + 0x1b0], 0
mov qword [rsp + 0x1b8], 0
call sub.avutil_56.dll_av_log
jmp 0x14001468f
cmp byte [rbx + 2], 0
jne 0x1400146e3
mov dword [rsp + 0x58], ebp
mov esi, ebp
jmp 0x14001468f
cmp qword [rdi], 0
je 0x140014758
mov eax, dword [rdi + 8]
test ah, 8
jne 0x140014e13
test al, 1
je 0x140014e2a
mov rbx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
add esi, 2
mov r11, qword [rbx + rdx + 8]
test r11, r11
je 0x140015798
test ah, 0xe0
lea rbx, [rsp + 0x178]
cmove rbx, qword [rsp + 0x60]
mov qword [rsp + 0x50], r11
mov eax, dword [rbx + 0x18]
lea ebp, [rax + 1]
cmp ebp, 0x5555554
jg 0x1400157df
movsxd r9, ebp
mov rcx, qword [rbx + 0x10]
mov r8d, 0x18
mov rdx, r9
mov qword [rsp + 0x68], r9
call sub.avutil_56.dll_av_realloc_array
mov r9, qword [rsp + 0x68]
mov r11, qword [rsp + 0x50]
test rax, rax
mov r13, rax
je 0x1400158a1
mov eax, dword [rbx + 0x18]
mov edx, ebp
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x50], r11
sub edx, eax
lea ecx, [rax + rax*2]
lea r8d, [rdx + rdx*2]
shl ecx, 3
xor edx, edx
shl r8d, 3
movsxd rcx, ecx
add rcx, r13
movsxd r8, r8d
call sub.msvcrt.dll_memset
mov r9, qword [rsp + 0x68]
mov dword [rbx + 0x18], ebp
xor ecx, ecx
mov r11, qword [rsp + 0x50]
mov qword [rbx + 0x10], r13
mov edx, 0x30
lea r8, str._matched_as_option__s___s__with_argument__s._n
lea rax, [r9 + r9*2]
lea rax, [r13 + rax*8 - 0x18]
mov qword [rax], rdi
mov qword [rax + 8], r12
mov qword [rax + 0x10], r11
mov qword [rsp + 0x28], r11
mov rax, qword [rdi + 0x18]
mov qword [rsp + 0x20], rax
mov r9, qword [rdi]
call sub.avutil_56.dll_av_log
jmp 0x14001468f
mov rbx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
add esi, 2
mov r11, qword [rbx + rdx + 8]
jmp 0x140014d3e
mov esi, ebp
lea r11, [0x140042341]
jmp 0x140014d3e
mov rax, qword [r14 + 0x30]
mov rax, qword [rax + r13]
test rax, rax
je 0x140014ae0
mov rdi, qword [0x140048a70]
mov eax, dword [rax]
mov rdx, qword [rdi]
mov rdi, qword [rsp + 0x48]
mov rdx, qword [rdx + rdi*8]
add eax, dword [rdx + 0x10]
mov rdx, qword [0x140048a80]
cdqe
mov rdx, qword [rdx]
mov rdi, qword [rdx + rax*8]
cmp dword [rdi + 0x14], 0x30
je 0x140015884
mov rax, qword [rdi + 8]
mov r12, qword [rbx + 0x20]
mov dword [rdi + 0x10], 0
or dword [rdi + 0x18], 2
mov dword [rax + 0x3c], 0xfffffff0
mov eax, dword [rbx + 0x28]
lea r13d, [rax + 1]
cmp r13d, 0xffffffe
jg 0x1400157df
movsxd rbp, eax
cmp r13d, eax
jg 0x140015350
mov qword [rbx + 0x20], r12
mov ecx, 0x68
lea rbp, [r12 + rbp*8 - 8]
call sub.avutil_56.dll_av_mallocz
mov qword [rbp], rax
test rax, rax
je 0x140014b04
mov rax, qword [rbx + 0x20]
movsxd rdx, dword [rbx + 0x28]
lea rcx, [rsp + 0x88]
mov r12, qword [rsi + 8]
mov rbp, qword [rax + rdx*8 - 8]
mov rax, qword [rdi + 8]
mov r14, qword [r12 + 0x18]
mov r13d, dword [r12 + 0x28]
mov rax, qword [rax + 0xd0]
mov qword [rbp + 8], rdi
mov qword [rbp + 0x10], rbx
mov eax, dword [rax]
mov dword [rbp + 0x30], 0xffffffff
mov qword [rsp + 0x90], 0
mov dword [rbp + 0x20], eax
call sub.avformat_58.dll_avio_open_dyn_buf
test eax, eax
js 0x140014b04
mov rax, qword [r12 + 8]
mov rcx, qword [rsp + 0x88]
lea rdx, [0x140041d2b]
mov r8, qword [rax]
call sub.avformat_58.dll_avio_printf
cmp r13d, 1
jle 0x140014f7c
mov edx, dword [rsi + 0x10]
mov rcx, r14
call sub.avfilter_7.dll_avfilter_pad_get_name
mov rcx, qword [rsp + 0x88]
lea rdx, [0x140042747]
mov r8, rax
call sub.avformat_58.dll_avio_printf
mov rcx, qword [rsp + 0x88]
xor edx, edx
call sub.avformat_58.dll_avio_w8
mov rcx, qword [rsp + 0x88]
lea rdx, [rsp + 0x90]
call sub.avformat_58.dll_avio_close_dyn_buf
movsxd rdx, dword [rbx + 0x28]
mov ecx, 0x40
mov rax, qword [rsp + 0x90]
mov qword [rbp + 0x18], rax
mov rax, qword [rbx + 0x20]
mov rbp, qword [rax + rdx*8 - 8]
call sub.avutil_56.dll_av_fifo_alloc
movsxd rdx, dword [rbx + 0x28]
mov qword [rbp + 0x28], rax
mov rax, qword [rbx + 0x20]
mov rax, qword [rax + rdx*8 - 8]
cmp qword [rax + 0x28], 0
je 0x140014b04
mov eax, dword [rdi + 0x138]
lea r12d, [rax + 1]
cmp r12d, 0xffffffe
jg 0x1400157df
mov rcx, qword [rdi + 0x130]
movsxd rbp, r12d
mov r8d, 8
mov rdx, rbp
call sub.avutil_56.dll_av_realloc_array
mov r13, rax
test rax, rax
je 0x1400158a1
mov eax, dword [rdi + 0x138]
mov r8d, r12d
xor edx, edx
sub r8d, eax
lea ecx, [rax*8]
shl r8d, 3
movsxd rcx, ecx
add rcx, r13
movsxd r8, r8d
call sub.msvcrt.dll_memset
mov dword [rdi + 0x138], r12d
mov rax, qword [rbx + 0x20]
movsxd rdx, dword [rbx + 0x28]
mov rsi, qword [rsi + 0x18]
mov qword [rdi + 0x130], r13
mov rax, qword [rax + rdx*8 - 8]
mov qword [r13 + rbp*8 - 8], rax
test rsi, rsi
jne 0x1400149e0
mov rsi, qword [rsp + 0x78]
test rsi, rsi
je 0x14001520b
mov ebp, dword [rbx + 0x38]
mov rcx, qword [rbx + 0x30]
lea r15, [rsp + 0x98]
lea r14, [0x140041d2b]
lea r13, [rsp + 0xa0]
nop word [rax + rax]
add ebp, 1
cmp ebp, 0xffffffe
jg 0x1400157df
movsxd rdi, ebp
mov r8d, 8
mov rdx, rdi
call sub.avutil_56.dll_av_realloc_array
mov r12, rax
test rax, rax
je 0x1400157ff
mov eax, dword [rbx + 0x38]
mov r8d, ebp
xor edx, edx
lea rdi, [r12 + rdi*8 - 8]
sub r8d, eax
lea ecx, [rax*8]
shl r8d, 3
movsxd rcx, ecx
add rcx, r12
movsxd r8, r8d
call sub.msvcrt.dll_memset
mov dword [rbx + 0x38], ebp
mov ecx, 0x68
mov qword [rbx + 0x30], r12
call sub.avutil_56.dll_av_mallocz
movsxd rdx, dword [rbx + 0x38]
mov qword [rdi], rax
mov rax, qword [rbx + 0x30]
mov rdi, qword [rax + rdx*8 - 8]
test rdi, rdi
je 0x140014b04
mov rax, qword [rsi + 8]
mov edx, dword [rsi + 0x10]
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x20], rsi
mov rcx, qword [rax + 0x30]
call sub.avfilter_7.dll_avfilter_pad_get_type
mov r12, qword [rsi + 8]
movsxd rdx, dword [rbx + 0x38]
mov rcx, r15
mov dword [rdi + 0x28], eax
mov rax, qword [rbx + 0x30]
mov ebp, dword [r12 + 0x40]
mov rdi, qword [rax + rdx*8 - 8]
mov rax, qword [r12 + 0x30]
mov qword [rsp + 0xa0], 0
mov qword [rsp + 0x48], rax
call sub.avformat_58.dll_avio_open_dyn_buf
test eax, eax
js 0x140014b04
mov rax, qword [r12 + 8]
mov rcx, qword [rsp + 0x98]
mov rdx, r14
mov r8, qword [rax]
call sub.avformat_58.dll_avio_printf
cmp ebp, 1
jle 0x1400151b7
mov edx, dword [rsi + 0x10]
mov rcx, qword [rsp + 0x48]
call sub.avfilter_7.dll_avfilter_pad_get_name
mov rcx, qword [rsp + 0x98]
lea rdx, [0x140042747]
mov r8, rax
call sub.avformat_58.dll_avio_printf
mov rcx, qword [rsp + 0x98]
xor edx, edx
call sub.avformat_58.dll_avio_w8
mov rcx, qword [rsp + 0x98]
mov rdx, r13
call sub.avformat_58.dll_avio_close_dyn_buf
mov rcx, qword [rbx + 0x30]
mov rsi, qword [rsi + 0x18]
mov rax, qword [rsp + 0xa0]
mov qword [rdi + 0x18], rax
movsxd rax, dword [rbx + 0x38]
mov rbp, rax
mov rax, qword [rcx + rax*8 - 8]
mov rax, qword [rax + 0x20]
mov qword [rax + 0x18], 0
test rsi, rsi
jne 0x1400150a0
mov rcx, qword [rsp + 0x58]
call fcn.14002adb8
lea rcx, [rsp + 0x80]
call sub.avfilter_7.dll_avfilter_graph_free
mov rsi, qword [0x140048b10]
add qword [rsp + 0x50], 1
mov rax, qword [rsp + 0x50]
cmp dword [rsi], eax
jg 0x140014970
mov rcx, qword [rsp + 0x168]
lea r8, [0x14000eea0]
lea rdx, str.output
call fcn.140014200
mov r13d, eax
test eax, eax
js 0x1400156d4
mov rax, qword [0x140048b10]
mov eax, dword [rax]
test eax, eax
jle 0x14001558f
mov rdx, qword [0x140048a00]
sub eax, 1
mov r8, qword [rdx]
lea r9, [r8 + rax*8 + 8]
nop dword [rax]
mov rax, qword [r8]
mov edx, dword [rax + 0x38]
test edx, edx
jle 0x1400152b7
mov rax, qword [rax + 0x30]
sub edx, 1
lea rcx, [rax + rdx*8 + 8]
nop
mov rdx, qword [rax]
cmp qword [rdx + 8], 0
je 0x140015808
add rax, 8
cmp rcx, rax
jne 0x1400152a0
add r8, 8
cmp r9, r8
jne 0x140015288
jmp 0x14001558f
mov rax, qword [0x140048b40]
mov r9d, dword [rax]
test r9d, r9d
jle 0x14001539d
mov rax, qword [0x140048a80]
lea r8d, [r9 + 1]
mov rcx, qword [rax]
mov eax, 1
jmp 0x1400152fb
mov edx, eax
add rax, 1
cmp r8, rax
je 0x140015328
mov rdi, qword [rcx + rax*8 - 8]
cmp dword [rdi + 0x14], 0x30
je 0x1400152f0
mov rdx, qword [rdi + 0x20]
cmp r12d, dword [rdx + 0xc]
jne 0x1400152f0
mov r10d, dword [rdi + 0x10]
test r10d, r10d
jne 0x140014e83
mov edx, eax
add rax, 1
cmp r8, rax
jne 0x1400152fb
cmp edx, r9d
jne 0x140014e83
mov rax, qword [rsi + 8]
mov r9d, dword [rsi + 0x10]
lea r8, str.Cannot_find_a_matching_stream_for_unlabeled_input_pad__d_on_filter__s_n
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x20], rax
jmp 0x140015873
movsxd rbp, r13d
mov rcx, r12
mov r8d, 8
mov rdx, rbp
call sub.avutil_56.dll_av_realloc_array
mov r12, rax
test rax, rax
je 0x1400158a1
mov eax, dword [rbx + 0x28]
mov r8d, r13d
xor edx, edx
sub r8d, eax
lea ecx, [rax*8]
shl r8d, 3
movsxd rcx, ecx
add rcx, r12
movsxd r8, r8d
call sub.msvcrt.dll_memset
mov dword [rbx + 0x28], r13d
jmp 0x140014ebd
je 0x140015331
lea rax, str.fftools_ffmpeg_filter.c
lea r9, [0x1400426de]
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
lea r8, [0x140041e64]
mov dword [rsp + 0x28], 0x128
call sub.avutil_56.dll_av_log
call sub.msvcrt.dll_abort
mov dword [0x14004d280], 0
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rdx, [0x14004d280]
mov rcx, rax
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp dword [0x14004d280], 0
mov r12, rax
jle 0x1400156ca
test rax, rax
je 0x1400156ca
mov rdi, qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
xor ebp, ebp
xor ebx, ebx
nop dword [rax + rax]
mov r8, qword [r12 + rbp*8]
xor edx, edx
mov ecx, 0xfde9
add rbp, 1
mov qword [rsp + 0x38], 0
mov r9d, 0xffffffff
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
call rdi
add ebx, eax
mov eax, dword [0x14004d280]
cmp eax, ebp
jg 0x140015418
add eax, 1
movsxd rdx, ebx
cdqe
lea rcx, [rdx + rax*8]
call sub.avutil_56.dll_av_mallocz
mov qword [0x14004d288], rax
mov rbp, rax
mov eax, dword [0x14004d280]
lea r13d, [rax + 1]
movsxd r13, r13d
shl r13, 3
test rbp, rbp
je 0x140015830
xor esi, esi
xor r14d, r14d
test eax, eax
jle 0x140015829
movsxd rax, r14d
mov r8, qword [r12 + rsi*8]
mov ecx, 0xfde9
mov rdx, qword [0x14004d288]
add rax, r13
mov r9d, 0xffffffff
add rax, rbp
mov qword [rdx + rsi*8], rax
mov edx, ebx
sub edx, r14d
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], edx
xor edx, edx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
call rdi
add r14d, eax
lea eax, [rsi + 1]
add rsi, 1
cmp dword [0x14004d280], esi
jg 0x1400154a0
mov rdx, qword [0x14004d288]
cdqe
mov rcx, r12
mov qword [rdx + rax*8], 0
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [0x14004d280]
mov dword [rsp + 0x210], eax
mov rax, qword [0x14004d288]
mov qword [rsp + 0x48], rax
jmp 0x1400143f6
mov rax, qword [0x140048a10]
cmp qword [rax], 0
jne 0x1400148b6
cmp qword [0x14004d290], 0
jne 0x1400148b6
jmp 0x1400148c9
mov rax, qword [r13]
mov r9, r12
lea r8, str._matched_as_AVOption__s_with_argument__s._n
xor ecx, ecx
mov edx, 0x30
add esi, 2
mov qword [rsp + 0x20], rax
call sub.avutil_56.dll_av_log
jmp 0x14001468f
lea r8, str.Error_opening_input_files:
mov edx, 8
xor ecx, ecx
call sub.avutil_56.dll_av_log
mov edx, dword [rsp + 0x170]
xor ebp, ebp
xor edi, edi
test edx, edx
jle 0x14001564b
nop word [rax + rax]
mov rsi, qword [rsp + 0x168]
xor ebx, ebx
xor r12d, r12d
add rsi, rbp
mov eax, dword [rsi + 0x10]
test eax, eax
jle 0x14001562e
nop
mov rcx, qword [rsi + 8]
add r12d, 1
add rcx, rbx
add rcx, 0x10
call sub.avutil_56.dll_av_freep
mov rcx, qword [rsi + 8]
add rcx, rbx
add rcx, 0x20
call sub.avutil_56.dll_av_dict_free
mov rcx, qword [rsi + 8]
add rcx, rbx
add rcx, 0x28
call sub.avutil_56.dll_av_dict_free
mov rcx, qword [rsi + 8]
add rcx, rbx
add rcx, 0x30
call sub.avutil_56.dll_av_dict_free
mov rcx, qword [rsi + 8]
add rcx, rbx
add rcx, 0x38
call sub.avutil_56.dll_av_dict_free
mov rcx, qword [rsi + 8]
add rcx, rbx
add rbx, 0x48
add rcx, 0x40
call sub.avutil_56.dll_av_dict_free
cmp r12d, dword [rsi + 0x10]
jl 0x1400155c0
lea rcx, [rsi + 8]
add edi, 1
add rbp, 0x18
call sub.avutil_56.dll_av_freep
cmp edi, dword [rsp + 0x170]
jl 0x1400155a8
lea rcx, [rsp + 0x168]
call sub.avutil_56.dll_av_freep
lea rcx, [rsp + 0x188]
call sub.avutil_56.dll_av_freep
lea rcx, [rsp + 0x130]
call sub.avutil_56.dll_av_freep
lea rcx, [0x14004d178]
call sub.avutil_56.dll_av_dict_free
lea rcx, [0x14004d170]
call sub.avutil_56.dll_av_dict_free
mov rcx, qword [0x140048a10]
call sub.avutil_56.dll_av_dict_free
mov rcx, qword [0x1400488e0]
call sub.avutil_56.dll_av_dict_free
lea rcx, [0x14004d290]
call sub.avutil_56.dll_av_dict_free
test r13d, r13d
js 0x1400156ec
mov eax, r13d
add rsp, 0x1c8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov qword [rsp + 0x48], rsi
jmp 0x1400143f6
lea r8, str.Error_opening_output_files:
mov edx, 8
xor ecx, ecx
call sub.avutil_56.dll_av_log
jmp 0x14001558f
lea rbx, [rsp + 0xa0]
mov ecx, r13d
mov r8d, pe_nt_image_headers64
mov rdx, rbx
call sub.avutil_56.dll_av_strerror
mov r9, rbx
mov edx, 8
xor ecx, ecx
lea r8, [0x14004278d]
call sub.avutil_56.dll_av_log
jmp 0x1400156b3
lea r8, str.Error_parsing_global_options:
mov edx, 8
xor ecx, ecx
call sub.avutil_56.dll_av_log
jmp 0x14001558f
mov r9, r12
mov edx, 0x10
xor ecx, ecx
mov r13d, 0xabafb008
lea r8, str.Unrecognized_option__s._n
call sub.avutil_56.dll_av_log
lea r8, str.Error_splitting_the_argument_list:
mov edx, 8
xor ecx, ecx
call sub.avutil_56.dll_av_log
jmp 0x14001558f
mov rcx, qword [rsp + 0x58]
call fcn.14002adb8
lea rcx, [rsp + 0x80]
call sub.avfilter_7.dll_avfilter_graph_free
lea r8, str.Error_initializing_complex_filters._n
mov edx, 8
xor ecx, ecx
call sub.avutil_56.dll_av_log
jmp 0x14001558f
mov r9, r12
mov edx, 0x10
xor ecx, ecx
mov r13d, 0xffffffea
lea r8, str.Missing_argument_for_option__s._n
call sub.avutil_56.dll_av_log
jmp 0x140015751
mov rdi, r13
mov r13d, eax
mov r9, r12
mov edx, 0x10
mov rax, qword [rdi]
lea r8, str.Error_parsing_option__s_with_argument__s._n
xor ecx, ecx
mov qword [rsp + 0x20], rax
call sub.avutil_56.dll_av_log
jmp 0x140015751
lea r8, [0x14004227b]
mov edx, 0x10
xor ecx, ecx
call sub.avutil_56.dll_av_log
jmp 0x140014b04
mov r13d, 0xfffffff4
jmp 0x140015780
lea r8, str.Could_not_alloc_buffer._n
jmp 0x1400157e6
mov r9, qword [rdx + 0x18]
xor ecx, ecx
lea r8, str.Filter__s_has_an_unconnected_output_n
mov edx, 8
call sub.avutil_56.dll_av_log
mov ecx, 1
call fcn.140012ce0
xor eax, eax
jmp 0x1400154f9
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rsp + 0x48], rsi
jmp 0x1400143f6
xor ecx, ecx
lea r8, str.Only_video_and_audio_filters_supported_currently._n
mov edx, 8
call sub.avutil_56.dll_av_log
mov ecx, 1
call fcn.140012ce0
mov rdx, qword [rbx + 8]
mov r9d, eax
lea r8, str.Invalid_file_index__d_in_filtergraph_description__s._n
mov qword [rsp + 0x20], rdx
mov edx, 8
xor ecx, ecx
call sub.avutil_56.dll_av_log
jmp 0x140014b04
mov rax, qword [rbx + 8]
mov r9, qword [rsp + 0xa0]
lea r8, str.Stream_specifier__s_in_filtergraph_description__s_matches_a_disabled_input_stream._n
mov qword [rsp + 0x20], rax
jmp 0x140014af8
call fcn.140012d00
nop
nop word [rax + rax]