Function at 0x14002b660
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, 0xe8
movups xmmword [rsp + 0xb0], xmm6
movups xmmword [rsp + 0xc0], xmm7
movups xmmword [rsp + 0xd0], xmm8
mov rax, qword [rdx + 0x158]
mov rbx, qword [rdx + 0x58]
mov rbp, qword [rdx + 0x10]
mov r12, qword [rax]
mov rdi, rdx
mov rsi, r8
mov qword [rsp + 0x48], rcx
mov r8d, 1
mov rdx, rsi
mov rcx, rdi
call fcn.140026730
mov rcx, r12
call sub.avfilter_9.dll_av_buffersink_get_frame_rate
mov rdx, rax
sar rdx, 0x20
test edx, edx
jle 0x14002b8d0
test eax, eax
jle 0x14002b8d0
pxor xmm0, xmm0
pxor xmm1, xmm1
pxor xmm2, xmm2
movsd xmm7, qword [0x1400537e0]
cvtsi2sd xmm1, dword [rbx + 0x68]
cvtsi2sd xmm0, dword [rbx + 0x64]
cvtsi2sd xmm2, edx
divsd xmm0, xmm1
pxor xmm1, xmm1
cvtsi2sd xmm1, eax
divsd xmm1, xmm2
mulsd xmm0, xmm1
divsd xmm7, xmm0
test rbp, rbp
jne 0x14002b8dd
nop dword [rax]
cmp qword [rdi + 0x170], 0
je 0x14002b968
test rsi, rsi
je 0x14002bb30
mov rax, qword [rsp + 0x48]
mov r13, qword [rdi + 0x58]
movabs r12, 0x8000000000000000
mov rbp, qword [rax + 0x40]
mov r15d, dword [r13 + 0x68]
xor eax, eax
mov r14, qword [r13 + 0x64]
cmp rbp, r12
mov ecx, r15d
cmove rbp, rax
mov rax, qword [rsi + 0x98]
mov qword [rsp + 0x50], rax
call sub.avutil_58.dll_av_log2
mov r9d, 0x1d
mov r11, qword [rsi + 0x88]
sub r9d, eax
mov eax, 0x10
cmp r9d, eax
cmovg r9d, eax
xor eax, eax
test r9d, r9d
cmovs r9d, eax
mov rax, qword [0x140054830]
mov ecx, dword [rax]
mov dword [rsp + 0x68], ecx
cmp r11, r12
je 0x14002c210
mov ecx, r9d
mov eax, r15d
mov rdx, qword [rsp + 0x50]
mov r8d, r14d
shl eax, cl
mov rcx, r11
mov dword [rsp + 0x6c], r9d
pxor xmm6, xmm6
shl rax, 0x20
mov qword [rsp + 0x58], r11
or r8, rax
mov qword [rsp + 0x60], r8
call sub.avutil_58.dll_av_rescale_q
mov r8, qword [rsp + 0x60]
mov rcx, rbp
movabs rdx, 0xf424000000001
mov r12, rax
call sub.avutil_58.dll_av_rescale_q
mov r9d, dword [rsp + 0x6c]
pxor xmm0, xmm0
pxor xmm1, xmm1
sub r12, rax
mov eax, 1
mov r11, qword [rsp + 0x58]
mov ecx, r9d
cvtsi2sd xmm6, r12
shl eax, cl
cvtsi2sd xmm0, eax
divsd xmm6, xmm0
movsd xmm0, qword [0x1400537f8]
comisd xmm6, xmm1
jbe 0x14002ba68
mov rdx, qword [rsp + 0x50]
mov rcx, r11
mov r8, r14
addsd xmm6, xmm0
call sub.avutil_58.dll_av_rescale_q
mov r8, r14
mov rcx, rbp
movabs rdx, 0xf424000000001
mov r12, rax
call sub.avutil_58.dll_av_rescale_q
mov r9d, dword [rsp + 0x68]
sub r12, rax
mov rax, qword [r13 + 0x64]
mov qword [rsi + 0x88], r12
mov qword [rsi + 0x98], rax
test r9d, r9d
jne 0x14002c000
pxor xmm3, xmm3
movapd xmm0, xmm6
pxor xmm1, xmm1
mov eax, dword [rdi + 0xb0]
cvtsi2sd xmm3, qword [rdi + 0x28]
movapd xmm8, xmm7
subsd xmm0, xmm3
comisd xmm1, xmm0
addsd xmm8, xmm0
ja 0x14002ba00
cmp eax, 4
ja case.default.0x14002b8ce
lea rdx, [0x140052f78]
movsxd rax, dword [rdx + rax*4]
add rax, rdx
jmp rax
pxor xmm7, xmm7
test rbp, rbp
je 0x14002b720
movabs rax, 0x8000000000000000
mov rdx, qword [rbp + 8]
cmp qword [rdx + 0x28], rax
je 0x14002b720
cmp qword [rbp + 0x70], rax
je 0x14002b720
mov eax, dword [rdi + 0xa0]
test eax, eax
je 0x14002b720
pxor xmm0, xmm0
pxor xmm1, xmm1
pxor xmm2, xmm2
cmp qword [rdi + 0x170], 0
cvtsi2sd xmm1, dword [rbx + 0x68]
cvtsi2sd xmm0, dword [rbx + 0x64]
cvtsi2sd xmm2, dword [rdi + 0xa4]
divsd xmm0, xmm1
pxor xmm1, xmm1
cvtsi2sd xmm1, eax
divsd xmm1, xmm2
mulsd xmm0, xmm1
movsd xmm1, qword [0x1400537e0]
divsd xmm1, xmm0
minsd xmm1, xmm7
movapd xmm7, xmm1
jne 0x14002b72e
nop dword [rax]
cmp qword [rdi + 0x168], 0
jne 0x14002b72e
mov r10d, dword [0x14005a124]
test r10d, r10d
jne 0x14002c3f5
test rsi, rsi
je 0x14002bb30
test rbp, rbp
je 0x14002b72e
mov rax, qword [rbp + 8]
pxor xmm0, xmm0
pxor xmm1, xmm1
pxor xmm2, xmm2
cvtsi2sd xmm2, dword [rbx + 0x68]
cvtsi2sd xmm1, dword [rax + 0x24]
cvtsi2sd xmm0, dword [rax + 0x20]
divsd xmm0, xmm1
pxor xmm1, xmm1
cvtsi2sd xmm1, qword [rsi + 0x1d8]
mulsd xmm0, xmm1
pxor xmm1, xmm1
cvtsi2sd xmm1, dword [rbx + 0x64]
divsd xmm1, xmm2
divsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
cvtss2si eax, xmm0
test eax, eax
jle 0x14002b737
pxor xmm7, xmm7
cvtsi2sd xmm7, eax
jmp 0x14002b737
comisd xmm8, xmm1
jbe 0x14002b8b7
test eax, 0xfffffffb
je 0x14002b8b7
movsd xmm1, qword [str.333333]
subsd xmm3, xmm6
comisd xmm1, xmm0
movq r9, xmm3
ja 0x14002c483
lea r8, str.Clipping_frame_in_rate_conversion_by__f_n
mov edx, 0x30
mov rcx, rdi
call sub.avutil_58.dll_av_log
pxor xmm6, xmm6
mov eax, dword [rdi + 0xb0]
movapd xmm7, xmm8
pxor xmm0, xmm0
cvtsi2sd xmm6, qword [rdi + 0x28]
jmp 0x14002b8b7
movsd xmm0, qword [0x140053800]
jmp 0x14002b838
cmp qword [rdi + 0x20], 0
jne case.0x14002b8ce.1
comisd xmm0, xmmword [0x140053818]
jae 0x14002c44f
nop dword [rax]
mov rax, qword [0x140054910]
pxor xmm2, xmm2
movss xmm1, dword [rax]
ucomiss xmm1, xmm2
jp 0x14002c0e8
jne 0x14002c0e8
movsd xmm1, qword [0x140053820]
comisd xmm1, xmm8
jbe 0x14002c110
mov qword [rsi + 0x1d8], 1
mov r15, qword [rdi + 0x80]
xor r14d, r14d
movdqu xmm5, xmmword [rdi + 0x88]
mov qword [rdi + 0x88], 0
movups xmmword [rdi + 0x90], xmm5
test r15, r15
jne 0x14002c3e8
mov qword [rdi + 0x80], 1
mov ecx, dword [rsi + 0x78]
xor edx, edx
test ecx, ecx
setne dl
mov dword [rdi + 0x130], edx
test r14, r14
jg 0x14002bc2f
mov rcx, qword [rdi + 0x68]
call sub.avutil_58.dll_av_frame_unref
jmp 0x14002bdb1
mov rdx, qword [rdi + 0x90]
mov rcx, qword [rdi + 0x98]
mov eax, dword [rdi + 0x88]
mov r15d, edx
cmp eax, edx
cmovg r15d, eax
cmovg eax, edx
cmp eax, ecx
cmovl eax, ecx
cmp r15d, eax
cmovg r15d, eax
movsxd r15, r15d
mov r14, r15
movdqu xmm4, xmmword [rdi + 0x88]
mov rdx, qword [rdi + 0x80]
mov qword [rdi + 0x88], r15
movups xmmword [rdi + 0x90], xmm4
test r15, r15
je 0x14002c4d6
cmp r14, r15
setg r12b
cmp rdx, 1
movzx ebp, r12b
sbb ebp, 0xffffffff
movsxd rbp, ebp
cmp r14, rbp
jle 0x14002c1a3
mov rdx, qword [0x1400548a0]
movss xmm0, dword [0x140053838]
pxor xmm1, xmm1
lea r9, [r14 - 1]
cvtsi2ss xmm1, r14
mulss xmm0, dword [rdx]
comiss xmm1, xmm0
ja 0x14002c28e
mov rdx, r14
test r15, r15
jne 0x14002bfe8
movzx r12d, r12b
lea r8, str.__lld_dup__n
mov rcx, rdi
sub rdx, r12
add qword [0x14005a298], rdx
mov edx, 0x28
call sub.avutil_58.dll_av_log
mov r9, qword [0x140045068]
cmp r9, qword [0x14005a298]
jb 0x14002c260
cmp r14, r15
je 0x14002c230
mov qword [rdi + 0x80], 0
mov dword [rdi + 0x130], 0
movsd xmm7, qword [0x1400537e0]
xor r12d, r12d
movabs r13, 0x7fffffffffffffff
nop dword [rax]
cmp r12, r15
jge 0x14002be50
mov rbp, qword [rdi + 0x68]
cmp qword [rbp + 0xe0], 0
je 0x14002be50
mov rax, qword [rdi + 0x58]
movsxd r8, dword [rdi + 8]
mov rcx, qword [rdi + 0x28]
mov rdx, qword [rax + 0x64]
mov rax, qword [0x14005a138]
mov qword [rbp + 0x88], rcx
mov rax, qword [rax + r8*8]
mov r8, qword [rax + 0x38]
cmp r8, r13
je 0x14002bcac
movabs r9, 0xf424000000001
call sub.avutil_58.dll_av_compare_ts
test eax, eax
jns 0x14002bf00
mov rcx, qword [rbp + 0x88]
movabs r10, 0x8000000000000000
mov eax, dword [rbx + 0x44]
mov edx, dword [rbx + 0x64]
mov r9d, dword [rbx + 0x68]
mov dword [rbp + 0xa8], eax
mov rax, qword [rdi + 0xe8]
cmp rax, r10
je 0x14002bea0
mov r8, rcx
pxor xmm0, xmm0
sub r8, rax
cvtsi2sd xmm0, r8
pxor xmm6, xmm6
pxor xmm1, xmm1
movsxd rax, dword [rdi + 0xfc]
cvtsi2sd xmm6, edx
cvtsi2sd xmm1, r9d
divsd xmm6, xmm1
mulsd xmm6, xmm0
cmp eax, dword [rdi + 0xf8]
jl 0x14002beb0
mov rcx, qword [rdi + 0x100]
test rcx, rcx
je 0x14002be68
xor r8d, r8d
movsd qword [rdi + 0x128], xmm6
lea rdx, [rdi + 0x108]
call sub.avutil_58.dll_av_expr_eval
pxor xmm1, xmm1
movapd xmm2, xmm0
movsd xmm0, qword [rdi + 0x108]
ucomisd xmm2, xmm1
addsd xmm0, xmm7
movsd qword [rdi + 0x108], xmm0
jp 0x14002bdf0
jne 0x14002bdf0
xor eax, eax
mov dword [rbp + 0x7c], eax
mov rcx, qword [rsp + 0x48]
mov r8, rbp
mov rdx, rdi
call fcn.14002b4e0
cmp eax, 0xdfb9b0bb
je 0x14002bd9f
test eax, eax
js 0x14002c49c
add r12, 1
add qword [rdi + 0x28], 1
add qword [rdi + 0x20], 1
cmp r12, r14
jl 0x14002bc48
mov rcx, qword [rdi + 0x68]
call sub.avutil_58.dll_av_frame_unref
test rsi, rsi
je 0x14002bf20
mov rcx, qword [rdi + 0x68]
mov rdx, rsi
movups xmm6, xmmword [rsp + 0xb0]
movups xmm7, xmmword [rsp + 0xc0]
movups xmm8, xmmword [rsp + 0xd0]
add rsp, 0xe8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp sub.avutil_58.dll_av_frame_move_ref
subsd xmm0, xmm7
movsd qword [rdi + 0x118], xmm0
movsd xmm0, qword [rdi + 0x128]
movsd qword [rdi + 0x120], xmm0
movsd xmm0, qword [rdi + 0x110]
addsd xmm0, xmm7
movsd qword [rdi + 0x110], xmm0
movapd xmm3, xmm6
movq r9, xmm6
mov edx, 0x30
mov rcx, rdi
lea r8, str.Forced_keyframe_at_time__f_n
call sub.avutil_58.dll_av_log
mov eax, 1
jmp 0x14002bd66
test rsi, rsi
je 0x14002bf20
mov rbp, rsi
jmp 0x14002bc63
mov eax, dword [rdi + 0xe0]
test r12d, r12d
sete dl
cmp eax, 1
je 0x14002bee8
cmp eax, 2
jne 0x14002bd64
test dl, dl
je 0x14002bd64
mov dword [rdi + 0x130], 0
cmp dword [rbp + 0x78], 1
jne 0x14002bd64
jmp 0x14002be20
mov qword [rdi + 0xe8], rcx
pxor xmm0, xmm0
jmp 0x14002bce5
mov r8, qword [rdi + 0xf0]
shl r9, 0x20
or rdx, r9
movabs r9, 0xf424000000001
mov r8, qword [r8 + rax*8]
call sub.avutil_58.dll_av_compare_ts
test eax, eax
js 0x14002bd11
add dword [rdi + 0xfc], 1
jmp 0x14002be20
cmp dword [rbp + 0x78], 1
jne 0x14002bd64
test dl, dl
je 0x14002bd64
jmp 0x14002be20
movsxd rdx, dword [rdi + 8]
mov rax, qword [0x14005a138]
mov rax, qword [rax + rdx*8]
mov edx, dword [rdi + 0x218]
or dword [rdi + 0x198], 1
test edx, edx
jns 0x14002bf50
movups xmm6, xmmword [rsp + 0xb0]
movups xmm7, xmmword [rsp + 0xc0]
movups xmm8, xmmword [rsp + 0xd0]
add rsp, 0xe8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [rax + 0x30]
xor r8d, r8d
movups xmm6, xmmword [rsp + 0xb0]
movups xmm7, xmmword [rsp + 0xc0]
movups xmm8, xmmword [rsp + 0xd0]
add rsp, 0xe8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp fcn.14001c0e0
cvttsd2si rax, xmm7
cmp qword [rdi + 0x80], 0
mov qword [rsi + 0x1d8], rax
cvtsd2si rax, xmm6
movdqu xmm4, xmmword [rdi + 0x88]
mov qword [rdi + 0x88], 0
movups xmmword [rdi + 0x90], xmm4
mov qword [rdi + 0x28], rax
jne 0x14002c156
mov dword [rdi + 0x130], 0
mov r14d, 1
xor r15d, r15d
jmp 0x14002bc2f
cmp qword [rdi + 0x80], 1
adc rdx, 0xffffffffffffffff
jmp 0x14002bbdb
pxor xmm0, xmm0
mov ebp, dword [r13 + 0x64]
movabs rax, 0x8000000000000000
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0xa0], xmm0
cmp r12, rax
je 0x14002c316
pxor xmm3, xmm3
pxor xmm0, xmm0
mov edx, 0x20
cvtsi2sd xmm0, dword [r13 + 0x68]
lea r8, str._.6g
cvtsi2sd xmm3, ebp
divsd xmm3, xmm0
pxor xmm0, xmm0
cvtsi2sd xmm0, r12
lea r12, [rsp + 0x90]
mov rcx, r12
mulsd xmm3, xmm0
movq r9, xmm3
call fcn.1400377b0
mov r9, qword [rsi + 0x88]
pxor xmm0, xmm0
lea r13, [rsp + 0x70]
movabs rax, 0x8000000000000000
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
cmp r9, rax
je 0x14002c337
lea r8, str._lld
mov edx, 0x20
mov rcx, r13
call fcn.1400377b0
mov dword [rsp + 0x38], r15d
mov r9, r13
mov edx, 0x20
xor ecx, ecx
mov dword [rsp + 0x30], ebp
lea r8, str.filter____pts:_s_pts_time:_s_exact:_f_time_base:_d__d_n
mov qword [rsp + 0x20], r12
movsd qword [rsp + 0x28], xmm6
call sub.avutil_58.dll_av_log
jmp 0x14002b887
cvtss2sd xmm1, xmm1
comisd xmm1, xmm8
jbe 0x14002baae
cmp qword [rdi + 0x20], 0
je 0x14002baae
jmp 0x14002bac1
movsd xmm1, qword [0x140053828]
comisd xmm8, xmm1
ja 0x14002c350
mov qword [rsi + 0x1d8], 1
movdqu xmm5, xmmword [rdi + 0x88]
cmp qword [rdi + 0x80], 0
mov qword [rdi + 0x88], 0
movups xmmword [rdi + 0x90], xmm5
je 0x14002bfcd
mov ebp, 1
mov r12d, 1
mov r14d, 1
mov rdx, qword [rdi + 0x68]
mov rcx, rdi
xor r15d, r15d
lea r8, str._dropping_frame__lld_at_ts__lld_n
add qword [0x14005a290], 1
mov rdx, qword [rdx + 0x88]
mov qword [rsp + 0x20], rdx
mov r9, qword [rdi + 0x20]
mov edx, 0x28
call sub.avutil_58.dll_av_log
cmp r14, rbp
jg 0x14002bba6
cmp r14, r15
je 0x14002c385
mov qword [rdi + 0x80], 0
mov dword [rdi + 0x130], 0
test r14, r14
jg 0x14002bc2f
jmp 0x14002bd9f
movsd xmm0, qword [str.333333]
comisd xmm0, xmm8
jae 0x14002c2af
comisd xmm8, xmmword [0x140053830]
jbe 0x14002c1f7
cvtsd2si rax, xmm6
mov qword [rdi + 0x28], rax
mov r12d, 1
mov r14d, 1
jmp 0x14002c2b5
mov eax, dword [rsp + 0x68]
test eax, eax
jne 0x14002c2f6
movsd xmm6, qword [0x140053808]
jmp 0x14002b887
test rsi, rsi
je 0x14002bc1a
mov r8d, dword [rsi + 0x78]
xor edx, edx
mov qword [rdi + 0x80], 1
test r8d, r8d
setne dl
mov dword [rdi + 0x130], edx
jmp 0x14002bc2f
mov edx, 0x18
lea r8, str.More_than__llu_frames_duplicated_n
mov rcx, rdi
call sub.avutil_58.dll_av_log
mov rdx, qword [0x140045068]
lea rdx, [rdx + rdx*4]
add rdx, rdx
mov qword [0x140045068], rdx
jmp 0x14002bc11
lea r8, str._lld_frame_duplication_too_large__skipping_n
mov edx, 0x10
mov rcx, rdi
call sub.avutil_58.dll_av_log
add qword [0x14005a290], 1
jmp 0x14002bf20
xor r12d, r12d
xor r14d, r14d
cvttsd2si rdx, xmm7
mov rbp, r14
mov qword [rsi + 0x1d8], rdx
movdqu xmm5, xmmword [rdi + 0x88]
mov qword [rdi + 0x88], 0
mov rdx, qword [rdi + 0x80]
movups xmmword [rdi + 0x90], xmm5
mov r15, rdx
test rdx, rdx
je 0x14002bb9d
jmp 0x14002c167
pxor xmm0, xmm0
mov ebp, dword [r13 + 0x64]
movsd xmm6, qword [0x140053808]
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0xa0], xmm0
lea r12, [rsp + 0x90]
lea r8, str.NOPTS
mov edx, 0x20
mov rcx, r12
call fcn.1400377b0
jmp 0x14002c06f
lea r8, str.NOPTS
mov edx, 0x20
mov rcx, r13
call fcn.1400377b0
jmp 0x14002c0b3
comisd xmm0, xmm1
cvtsd2ss xmm8, xmm8
cvtss2si r14, xmm8
jbe 0x14002c40f
subsd xmm0, qword [0x140053830]
mov qword [rsi + 0x1d8], 1
cvtsd2ss xmm0, xmm0
cvtss2si r15, xmm0
jmp 0x14002bb62
test rsi, rsi
jne 0x14002baf9
mov qword [rdi + 0x80], 0
mov dword [rdi + 0x130], 0
test r14, r14
jg 0x14002bc2f
mov rcx, qword [rdi + 0x68]
movups xmm6, xmmword [rsp + 0xb0]
movups xmm7, xmmword [rsp + 0xc0]
movups xmm8, xmmword [rsp + 0xd0]
add rsp, 0xe8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp sub.avutil_58.dll_av_frame_unref
xor ebp, ebp
xor r12d, r12d
xor r14d, r14d
jmp 0x14002c167
mov rax, qword [0x14005a128]
mov rax, qword [rax]
cmp qword [rax + 8], 0
jne 0x14002b72e
jmp 0x14002b986
mov qword [rsi + 0x1d8], 1
test r14, r14
movdqu xmm5, xmmword [rdi + 0x88]
setg bpl
setg r12b
mov qword [rdi + 0x88], 0
mov rdx, qword [rdi + 0x80]
movups xmmword [rdi + 0x90], xmm5
movzx ebp, bpl
jmp 0x14002c2e5
cvtsd2ss xmm0, xmm0
cvtss2si r9d, xmm0
lea r8, str.Not_duplicating__d_initial_frames_n
mov edx, 0x30
mov rcx, rdi
movapd xmm8, xmm7
call sub.avutil_58.dll_av_log
cvtsd2si rax, xmm6
pxor xmm0, xmm0
mov qword [rdi + 0x28], rax
jmp case.0x14002b8ce.1
lea r8, str.Past_duration__f_too_large_n
mov edx, 0x28
mov rcx, rdi
call sub.avutil_58.dll_av_log
jmp 0x14002ba45
mov ecx, 1
call fcn.14001d850
lea rax, str.D:_code_ffmpeg_src_fftools_ffmpeg.c
lea r9, [0x140052bcf]
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], 0x4ad
call sub.avutil_58.dll_av_log
call sub.msvcrt.dll_abort
test r14, r14
setg bpl
setg r12b
movzx ebp, bpl
jmp 0x14002c2e5