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

Disassembly:
push rbp
push rbx
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xc0
mov rax, qword [0x140106088]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r12, qword [rcx + 0x40]
xor r14d, r14d
mov dword [rbp - 0x49], r8d
mov r13, rdx
mov rbx, rcx
mov edi, r14d
mov r15d, r14d
test r12, r12
jne 0x14001552c
call sub.avcodec_58.dll_av_packet_alloc
mov qword [rbx + 0x40], rax
mov r12, rax
test rax, rax
jne 0x14001552c
lea eax, [r14 - 0xc]
jmp 0x140015ce3
mov qword [rsp + 0x110], rsi
movabs rsi, 0x8000000000000000
cmp dword [rbx + 0xa8], r14d
jne 0x1400155e2
mov r9, qword [rbx + 8]
cmp dword [r9 + 0x50], r14d
je 0x14001558d
mov rdx, qword [r9 + 0x50]
mov rax, qword [rbx + 0x20]
movd xmm1, edx
imul ecx, dword [rax + 0xb0], 0xfff0bdc0
shr rdx, 0x20
cvtdq2pd xmm1, xmm1
movd xmm0, edx
cvtdq2pd xmm0, xmm0
movd xmm2, ecx
divsd xmm1, xmm0
cvtdq2pd xmm2, xmm2
divsd xmm2, xmm1
jmp 0x140015590
xorps xmm2, xmm2
mov qword [rbx + 0x68], r14
cvttsd2si rax, xmm2
mov qword [rbx + 0x58], rax
test r13, r13
je 0x1400155d8
mov rcx, qword [r13 + 8]
cmp rcx, rsi
je 0x1400155d8
cmp dword [rbx + 0x18], r14d
jne 0x1400155d8
mov rdx, qword [r9 + 0x18]
mov dword [rbp - 0x51], 1
mov dword [rbp - 0x4d], 0xf4240
mov r8, qword [rbp - 0x51]
call sub.avutil_56.dll_av_rescale_q
add qword [rbx + 0x58], rax
mov rax, qword [rbx + 0x58]
mov qword [rbx + 0x68], rax
mov dword [rbx + 0xa8], 1
cmp qword [rbx + 0x50], rsi
jne 0x1400155f0
mov rax, qword [rbx + 0x58]
mov qword [rbx + 0x50], rax
cmp qword [rbx + 0x60], rsi
jne 0x1400155fe
mov rax, qword [rbx + 0x68]
mov qword [rbx + 0x60], rax
test r13, r13
je 0x140015668
mov rcx, r12
call sub.avcodec_58.dll_av_packet_unref
mov rdx, r13
mov rcx, r12
call sub.avcodec_58.dll_av_packet_ref
mov edi, eax
test eax, eax
js 0x140015cdb
mov rcx, qword [r13 + 0x10]
cmp rcx, rsi
je 0x140015668
mov rdx, qword [rbx + 8]
mov dword [rbp - 0x51], 1
mov dword [rbp - 0x4d], 0xf4240
mov r8, qword [rbp - 0x51]
mov rdx, qword [rdx + 0x18]
call sub.avutil_56.dll_av_rescale_q
mov rcx, qword [rbx + 0x20]
mov qword [rbx + 0x58], rax
mov qword [rbx + 0x50], rax
cmp dword [rcx + 0xc], r14d
jne 0x140015660
cmp dword [rbx + 0x18], r14d
jne 0x140015668
mov qword [rbx + 0x68], rax
mov qword [rbx + 0x60], rax
mov dword [rbp - 0x69], 1
cmp dword [rbx + 0x18], r14d
je 0x140015949
mov dword [rbp - 0x69], 1
mov rax, qword [rbx + 0x60]
mov rsi, r14
mov rcx, qword [rbx + 0x20]
mov qword [rbx + 0x68], rax
mov rax, qword [rbx + 0x50]
mov qword [rbx + 0x58], rax
mov dword [rbp - 0x59], r14d
mov edx, dword [rcx + 0xc]
mov qword [rbp - 0x39], r14
mov dword [rbp - 0x51], r14d
test edx, edx
je 0x14001570f
sub edx, 1
je 0x1400156ee
cmp edx, 2
jne 0x140015893
test r15d, r15d
jne 0x140015850
lea r9, [rbp - 0x51]
mov rdx, r12
lea r8, [rbp - 0x59]
mov rcx, rbx
call fcn.1400199f0
mov edi, eax
test r13, r13
jne 0x140015848
test eax, eax
mov eax, 0xdfb9b0bb
cmovns edi, eax
jmp 0x140015848
test r15d, r15d
lea r9, [rbp - 0x51]
mov rdx, r12
lea r8, [rbp - 0x59]
cmovne rdx, r14
mov rcx, rbx
call fcn.14000a860
mov edi, eax
jmp 0x140015848
mov eax, r14d
lea rcx, [rbp - 0x51]
mov qword [rsp + 0x28], rcx
lea r9, [rbp - 0x39]
test r13, r13
lea r8, [rbp - 0x59]
mov rdx, r12
mov rcx, rbx
sete al
test r15d, r15d
mov dword [rsp + 0x20], eax
cmovne rdx, r14
call fcn.14000ab80
mov edi, eax
test r15d, r15d
je 0x140015755
test r13, r13
je 0x140015784
cmp dword [rbp - 0x59], r14d
je 0x140015848
test r13, r13
je 0x140015784
mov rcx, qword [r13 + 0x40]
test rcx, rcx
je 0x140015784
mov rdx, qword [rbx + 8]
mov dword [rbp - 0x41], 1
mov dword [rbp - 0x3d], 0xf4240
mov r8, qword [rbp - 0x41]
mov rdx, qword [rdx + 0x18]
call sub.avutil_56.dll_av_rescale_q
jmp 0x1400157ee
mov rax, qword [rbx + 0x20]
cmp dword [rax + 0x368], r14d
je 0x1400157f1
cmp dword [rax + 0x36c], r14d
je 0x1400157f1
mov rcx, qword [rbx + 8]
call sub.avformat_58.dll_av_stream_get_parser
test rax, rax
je 0x1400157bc
mov rcx, qword [rbx + 8]
call sub.avformat_58.dll_av_stream_get_parser
mov r8, qword [rbx + 0x20]
mov edx, dword [rax + 0x2c]
inc edx
jmp 0x1400157c4
mov r8, qword [rbx + 0x20]
mov edx, dword [r8 + 0x6c]
movsxd rcx, dword [r8 + 0x36c]
movsxd rax, edx
imul rcx, rax
imul rax, rcx, 0xf4240
movsxd rcx, dword [r8 + 0x368]
cqo
idiv rcx
movsxd rcx, dword [r8 + 0x6c]
cqo
idiv rcx
mov rsi, rax
movabs rax, 0x8000000000000000
cmp qword [rbx + 0x58], rax
je 0x14001580c
test rsi, rsi
je 0x14001580c
add qword [rbx + 0x50], rsi
jmp 0x140015810
mov qword [rbx + 0x50], rax
cmp dword [rbp - 0x59], r14d
je 0x140015848
mov rcx, qword [rbp - 0x39]
test rcx, rcx
jle 0x140015844
mov rdx, qword [rbx + 8]
mov dword [rbp - 0x61], 1
mov dword [rbp - 0x5d], 0xf4240
mov r8, qword [rbp - 0x61]
mov rdx, qword [rdx + 0x18]
call sub.avutil_56.dll_av_rescale_q
add qword [rbx + 0x60], rax
jmp 0x140015848
add qword [rbx + 0x60], rsi
mov rcx, r12
call sub.avcodec_58.dll_av_packet_unref
mov eax, 0xdfb9b0bb
cmp edi, eax
je 0x14001593b
test edi, edi
js 0x14001589d
cmp dword [rbp - 0x59], r14d
je 0x140015949
mov dword [rbx + 0x1b4], 1
test r13, r13
je 0x14001595b
mov r15d, 1
cmp dword [rbx + 0x18], r14d
jne 0x140015680
jmp 0x140015aa1
mov eax, 0xffffffff
jmp 0x140015cdb
cmp dword [rbp - 0x51], r14d
je 0x140015905
xorps xmm0, xmm0
lea rdx, [rbp - 0x29]
mov r8d, 0x40
mov ecx, edi
movups xmmword [rbp - 0x29], xmm0
movups xmmword [rbp - 0x19], xmm0
movups xmmword [rbp - 9], xmm0
movups xmmword [rbp + 7], xmm0
call sub.avutil_56.dll_av_strerror
mov rax, qword [rbx + 8]
lea rcx, [rbp - 0x29]
mov r9d, dword [rbx]
lea r8, str.Error_while_decoding_stream__d:_d:__s_n
mov qword [rsp + 0x28], rcx
mov edx, 0x10
xor ecx, ecx
mov eax, dword [rax]
mov dword [rsp + 0x20], eax
call sub.avutil_56.dll_av_log
cmp dword [0x1401076a8], r14d
mov r15d, 1
mov dword [rbp - 0x69], r15d
je 0x14001594d
jmp 0x140015925
mov rax, qword [rbx + 8]
lea r8, str.Error_while_processing_the_decoded_data_for_stream__d:_d_n
mov r9d, dword [rbx]
mov edx, 8
mov ecx, dword [rax]
mov dword [rsp + 0x20], ecx
xor ecx, ecx
call sub.avutil_56.dll_av_log
mov ecx, 1
call fcn.140001974
mov r15d, 1
mov dword [rbp - 0x69], r15d
jmp 0x14001594d
mov eax, 1
mov dword [rbp - 0x69], r14d
mov r15d, r14d
jmp 0x140015950
mov r15d, dword [rbp - 0x69]
mov eax, r14d
test r13, r13
jne 0x140015aa1
jmp 0x14001595e
mov eax, r14d
cmp dword [rbx + 0x18], r14d
je 0x140015a9d
test eax, eax
je 0x140015a9d
cmp dword [rbp - 0x49], r14d
jne 0x140015a9d
mov r8, qword [rbx + 8]
mov r9d, 0x2005
mov rcx, qword [rbx + 0x68]
mov dword [rbp - 0x61], 1
mov dword [rbp - 0x5d], 0xf4240
mov r8, qword [r8 + 0x18]
mov rdx, qword [rbp - 0x61]
call sub.avutil_56.dll_av_rescale_q_rnd
mov r15, rax
mov esi, r14d
cmp dword [rbx + 0x138], r14d
jle 0x140015a9d
mov rdi, r14
nop dword [rax]
mov rcx, qword [rbx + 0x130]
mov r8, qword [rdi + rcx]
mov rcx, qword [r8]
mov dword [r8 + 0x60], 1
test rcx, rcx
je 0x1400159f3
mov r8d, 4
mov rdx, r15
call sub.avfilter_7.dll_av_buffersrc_close
test eax, eax
js 0x140015a80
jmp 0x140015a48
mov ecx, dword [r8 + 0x30]
test ecx, ecx
jns 0x140015a48
mov rax, qword [r8 + 8]
mov rcx, qword [rax + 8]
mov rdx, qword [rcx + 0xd0]
mov ecx, dword [rdx + 0x1c]
mov dword [r8 + 0x30], ecx
mov eax, dword [rdx + 0x74]
mov dword [r8 + 0x44], eax
mov eax, dword [rdx + 0x70]
mov dword [r8 + 0x48], eax
mov rax, qword [rdx + 0x68]
mov qword [r8 + 0x50], rax
mov eax, dword [rdx + 0x38]
mov dword [r8 + 0x34], eax
mov eax, dword [rdx + 0x3c]
mov dword [r8 + 0x38], eax
mov rax, qword [rdx + 0x40]
mov qword [r8 + 0x3c], rax
test ecx, ecx
jns 0x140015a48
cmp dword [r8 + 0x20], 1
jbe 0x140015a5c
inc esi
add rdi, 8
cmp esi, dword [rbx + 0x138]
jl 0x1400159c0
jmp 0x140015a9d
mov r8, qword [r8 + 8]
mov edx, 0x10
mov rax, qword [r8 + 8]
mov r9d, dword [r8]
lea r8, str.Cannot_determine_format_of_input_stream__d:_d_after_EOF_n
mov ecx, dword [rax]
mov dword [rsp + 0x20], ecx
xor ecx, ecx
call sub.avutil_56.dll_av_log
lea r8, str.Error_marking_filters_as_finished_n
mov edx, 8
xor ecx, ecx
call sub.avutil_56.dll_av_log
mov ecx, 1
call fcn.140001974
mov r15d, dword [rbp - 0x69]
cmp dword [rbx + 0x18], r14d
jne 0x140015c23
test r13, r13
je 0x140015c23
mov rdx, qword [rbx + 0x20]
mov r9, qword [rbx + 0x50]
mov qword [rbx + 0x58], r9
mov ecx, dword [rdx + 0xc]
test ecx, ecx
je 0x140015b22
cmp ecx, 1
jne 0x140015c17
movsxd rcx, dword [rdx + 0x194]
test ecx, ecx
je 0x140015afa
movsxd rax, dword [rdx + 0x1a0]
imul rax, rax, 0xf4240
cqo
idiv rcx
add r9, rax
mov qword [rbx + 0x50], r9
jmp 0x140015c17
mov rdx, qword [rbx + 8]
mov rcx, qword [r13 + 0x40]
mov dword [rbp - 0x61], 1
mov dword [rbp - 0x5d], 0xf4240
mov rdx, qword [rdx + 0x18]
mov r8, qword [rbp - 0x61]
call sub.avutil_56.dll_av_rescale_q
jmp 0x140015c0f
cmp dword [rbx + 0xb8], r14d
je 0x140015b88
mov rax, qword [rbx + 0xb8]
movabs rdi, 0xf424000000001
mov rdx, rax
mov dword [rbp - 0x5d], eax
shr rdx, 0x20
mov rcx, r9
mov dword [rbp - 0x61], edx
mov rdx, rdi
mov r8, qword [rbp - 0x61]
call sub.avutil_56.dll_av_rescale_q
mov rcx, qword [rbx + 0xb8]
mov r8, rdi
mov rdx, rcx
mov dword [rbp - 0x5d], ecx
shr rdx, 0x20
mov dword [rbp - 0x61], edx
lea rcx, [rax + 1]
mov rdx, qword [rbp - 0x61]
call sub.avutil_56.dll_av_rescale_q
mov qword [rbx + 0x50], rax
mov r9, rax
jmp 0x140015c17
mov rcx, qword [r13 + 0x40]
test rcx, rcx
je 0x140015bb2
mov rdx, qword [rbx + 8]
mov dword [rbp - 0x61], 1
mov dword [rbp - 0x5d], 0xf4240
mov r8, qword [rbp - 0x61]
mov rdx, qword [rdx + 0x18]
call sub.avutil_56.dll_av_rescale_q
jmp 0x140015c0f
cmp dword [rdx + 0x368], r14d
je 0x140015c17
mov rcx, qword [rbx + 8]
call sub.avformat_58.dll_av_stream_get_parser
test rax, rax
je 0x140015bdd
mov rcx, qword [rbx + 8]
call sub.avformat_58.dll_av_stream_get_parser
mov r8, qword [rbx + 0x20]
mov edx, dword [rax + 0x2c]
inc edx
jmp 0x140015be5
mov r8, qword [rbx + 0x20]
mov edx, dword [r8 + 0x6c]
movsxd rcx, dword [r8 + 0x36c]
movsxd rax, edx
imul rcx, rax
imul rax, rcx, 0xf4240
movsxd rcx, dword [r8 + 0x368]
cqo
idiv rcx
movsxd rcx, dword [r8 + 0x6c]
cqo
idiv rcx
add qword [rbx + 0x50], rax
mov r9, qword [rbx + 0x50]
mov rax, qword [rbx + 0x58]
mov qword [rbx + 0x68], rax
mov qword [rbx + 0x60], r9
cmp dword [0x140107460], r14d
jle 0x140015cd8
mov rsi, r14
movabs r12, 0x8000000000000000
nop dword [rax]
mov rax, qword [0x140107458]
mov rdi, qword [rsi + rax]
cmp qword [rdi + 0x88], 0
jne 0x140015c6e
call sub.avcodec_58.dll_av_packet_alloc
mov qword [rdi + 0x88], rax
test rax, rax
jne 0x140015c6e
lea ecx, [rax + 1]
call fcn.140001974
movsxd rcx, dword [rbx]
mov rax, qword [0x140107450]
mov rdx, qword [rax + rcx*8]
mov rax, qword [rbx + 8]
mov ecx, dword [rdx + 0x10]
add ecx, dword [rax]
cmp dword [rdi + 8], ecx
jne 0x140015cc4
cmp dword [rdi + 0x198], 0
jne 0x140015cc4
mov rax, qword [0x140107468]
movsxd rcx, dword [rdi]
mov rcx, qword [rax + rcx*8]
mov rax, qword [rcx + 0x20]
cmp rax, r12
je 0x140015cb0
cmp qword [rbx + 0x68], rax
jl 0x140015cc4
cmp dword [rdi + 0x18], 0
jne 0x140015cc4
mov r8, r13
mov rdx, rdi
mov rcx, rbx
call fcn.14000b740
inc r14d
add rsi, 8
cmp r14d, dword [0x140107460]
jl 0x140015c40
mov eax, r15d
mov rsi, qword [rsp + 0x110]
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140002bee
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rbx
pop rbp
ret