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

Disassembly:
push rbp
push rdi
push r12
push r14
sub rsp, 0x48
mov r14, rcx
mov r12, rdx
mov rcx, qword [rdx + 8]
xor edi, edi
mov edx, dword [rdx + 0x10]
mov rcx, qword [rcx + 0x18]
call sub.avfilter_7.dll_avfilter_pad_get_type
mov ebp, eax
cmp eax, 1
jbe 0x140038693
lea r8, str.Only_video_and_audio_filters_supported_currently._n
xor ecx, ecx
lea edx, [rdi + 8]
call sub.avutil_56.dll_av_log
lea ecx, [rdi + 1]
call fcn.140001974
mov rcx, qword [r12]
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x30], r15
test rcx, rcx
je 0x140038811
mov qword [rsp + 0x38], r13
lea rdx, [rsp + 0x80]
xor r8d, r8d
xor r13d, r13d
call fcn.140003346
movsxd rbx, eax
test eax, eax
js 0x1400386d6
cmp ebx, dword [0x14010744c]
jl 0x1400386ff
mov rcx, qword [r14 + 8]
lea r8, str.Invalid_file_index__d_in_filtergraph_description__s._n
mov qword [rsp + 0x20], rcx
mov r9d, ebx
xor ecx, ecx
mov edx, 8
call sub.avutil_56.dll_av_log
mov ecx, 1
call fcn.140001974
mov rax, qword [0x140107450]
lea rcx, [rbx*8]
mov qword [rsp + 0x78], rcx
xor ebx, ebx
mov rcx, qword [rcx + rax]
mov rdi, qword [rcx]
cmp dword [rdi + 0x2c], ebx
jbe 0x140038789
xor esi, esi
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rdi + 0x30]
mov rdx, qword [rsi + rax]
mov rax, qword [rdx + 0xd0]
mov ecx, dword [rax]
cmp ecx, ebp
je 0x14003874e
cmp ecx, 3
jne 0x14003876c
test ebp, ebp
jne 0x14003876c
mov r8, qword [rsp + 0x80]
cmp byte [r8], 0x3a
jne 0x14003875f
inc r8
mov rcx, rdi
call fcn.14000495d
cmp eax, 1
je 0x140038779
inc ebx
add rsi, 8
cmp ebx, dword [rdi + 0x2c]
jb 0x140038730
jmp 0x140038789
mov rax, qword [rdi + 0x30]
movsxd rcx, ebx
mov r13, qword [rax + rcx*8]
test r13, r13
jne 0x1400387b7
mov rax, qword [r14 + 8]
lea r8, str.Stream_specifier__s_in_filtergraph_description__s_matches_no_streams._n
mov r9, qword [rsp + 0x80]
mov edx, 8
xor ecx, ecx
mov qword [rsp + 0x20], rax
call sub.avutil_56.dll_av_log
mov ecx, 1
call fcn.140001974
mov rax, qword [0x140107450]
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx + rax]
mov eax, dword [rcx + 0x10]
add eax, dword [r13]
mov r13, qword [rsp + 0x38]
movsxd rcx, eax
mov rax, qword [0x140107440]
mov rdi, qword [rax + rcx*8]
cmp dword [rdi + 0x14], 0x30
jne 0x14003887c
mov rax, qword [r14 + 8]
lea r8, str.Stream_specifier__s_in_filtergraph_description__s_matches_a_disabled_input_stream._n
mov r9, qword [rsp + 0x80]
mov edx, 8
xor ecx, ecx
mov qword [rsp + 0x20], rax
call sub.avutil_56.dll_av_log
jmp 0x140038872
mov r8d, dword [0x140107448]
test r8d, r8d
jle 0x140038847
mov rdx, qword [0x140107440]
mov rdi, qword [rdx]
cmp dword [rdi + 0x14], 0x30
je 0x14003883c
mov rax, qword [rdi + 0x20]
cmp dword [rax + 0xc], ebp
jne 0x14003883c
cmp dword [rdi + 0x10], 0
jne 0x140038847
inc ecx
add rdx, 8
cmp ecx, r8d
jl 0x140038824
cmp ecx, r8d
jne 0x14003887c
mov rax, qword [r12 + 8]
lea r8, str.Cannot_find_a_matching_stream_for_unlabeled_input_pad__d_on_filter__s_n
mov r9d, dword [r12 + 0x10]
mov edx, 8
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call sub.avutil_56.dll_av_log
mov ecx, 1
call fcn.140001974
test rdi, rdi
je 0x140038a6a
or dword [rdi + 0x18], 2
lea r8, [r14 + 0x28]
mov rax, qword [rdi + 8]
mov edx, 8
mov dword [rdi + 0x10], 0
mov dword [rax + 0x3c], 0xfffffff0
mov r9d, dword [r14 + 0x28]
mov rcx, qword [r14 + 0x20]
inc r9d
call fcn.14000256d
mov ecx, 0x68
mov qword [r14 + 0x20], rax
call sub.avutil_56.dll_av_mallocz
movsxd rdx, dword [r14 + 0x28]
mov rcx, qword [r14 + 0x20]
mov qword [rcx + rdx*8 - 8], rax
test rax, rax
jne 0x1400388dc
lea ecx, [rax + 1]
call fcn.140001974
mov rax, qword [r14 + 0x20]
movsxd rcx, dword [r14 + 0x28]
mov rcx, qword [rax + rcx*8 - 8]
mov qword [rcx + 8], rdi
mov rax, qword [r14 + 0x20]
movsxd rcx, dword [r14 + 0x28]
mov rcx, qword [rax + rcx*8 - 8]
mov qword [rcx + 0x10], r14
mov rax, qword [r14 + 0x20]
movsxd rcx, dword [r14 + 0x28]
mov rcx, qword [rax + rcx*8 - 8]
mov dword [rcx + 0x30], 0xffffffff
mov rax, qword [rdi + 8]
movsxd rcx, dword [r14 + 0x28]
mov r8, qword [rax + 0xd0]
mov rax, qword [r14 + 0x20]
mov rdx, qword [rax + rcx*8 - 8]
lea rcx, [rsp + 0x78]
mov eax, dword [r8]
mov dword [rdx + 0x20], eax
mov rbx, qword [r12 + 8]
mov r15, qword [rbx + 0x18]
mov ebp, dword [rbx + 0x28]
mov qword [rsp + 0x88], 0
call sub.avformat_58.dll_avio_open_dyn_buf
test eax, eax
jns 0x140038960
mov ecx, 1
call fcn.140001974
mov r8, qword [rbx + 8]
lea rdx, [0x1400db7b4]
mov rcx, qword [rsp + 0x78]
mov r8, qword [r8]
call sub.avformat_58.dll_avio_printf
cmp ebp, 1
jle 0x14003899e
mov edx, dword [r12 + 0x10]
mov rcx, r15
call sub.avfilter_7.dll_avfilter_pad_get_name
mov rcx, qword [rsp + 0x78]
lea rdx, [0x1400e9690]
mov r8, rax
call sub.avformat_58.dll_avio_printf
mov rcx, qword [rsp + 0x78]
xor edx, edx
call sub.avformat_58.dll_avio_w8
mov rcx, qword [rsp + 0x78]
lea rdx, [rsp + 0x88]
call sub.avformat_58.dll_avio_close_dyn_buf
movsxd rcx, dword [r14 + 0x28]
mov rax, qword [r14 + 0x20]
mov rdx, qword [rax + rcx*8 - 8]
mov ecx, 0x40
mov rax, qword [rsp + 0x88]
mov qword [rdx + 0x18], rax
call sub.avutil_56.dll_av_fifo_alloc
movsxd r8, dword [r14 + 0x28]
mov rdx, qword [r14 + 0x20]
mov r8, qword [rdx + r8*8 - 8]
mov qword [r8 + 0x28], rax
movsxd r8, dword [r14 + 0x28]
mov rax, qword [r14 + 0x20]
mov r8, qword [rax + r8*8 - 8]
cmp qword [r8 + 0x28], 0
jne 0x140038a0e
mov ecx, 1
call fcn.140001974
mov r9d, dword [rdi + 0x138]
lea r8, [rdi + 0x138]
mov rcx, qword [rdi + 0x130]
inc r9d
mov edx, 8
call fcn.14000256d
movsxd rdx, dword [rdi + 0x138]
mov r15, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x70]
mov qword [rdi + 0x130], rax
movsxd r8, dword [r14 + 0x28]
mov rcx, qword [r14 + 0x20]
mov rcx, qword [rcx + r8*8 - 8]
mov qword [rax + rdx*8 - 8], rcx
add rsp, 0x48
pop r14
pop r12
pop rdi
pop rbp
ret
lea rax, str.E:_CI_workspace_ve_VE_Thirdparty_FFmpeg_Windows_ci_workspace_ffmpeg_fftools_ffmpeg_filter.c
mov dword [rsp + 0x28], 0x128
lea r9, [0x1400e98c0]
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 fcn.140001e38
int3