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

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
mov rax, qword [rcx + 8]
mov rsi, rcx
mov dword [rcx + 0x9c], 0
mov rax, qword [rax + 0x78]
test rax, rax
je 0x14002a9b0
call rax
cmp eax, 0xa6bbadb2
je 0x14002a9a0
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov edx, dword [rbx + 0x14c]
mov r8, qword [rbx + 0x150]
mov rcx, rbx
call fcn.140027e60
nop dword [rax]
xor eax, eax
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, dword [rcx + 0x28]
test eax, eax
je 0x14002ac14
mov rcx, qword [rcx + 0x20]
sub eax, 1
lea r9, [rcx + rax*8 + 8]
mov rax, rcx
jmp 0x14002a9e9
mov r8d, dword [rbx + 0x14c]
test r8d, r8d
jne 0x14002aa13
add rax, 8
cmp rax, r9
je 0x14002abf4
mov rbx, qword [rax]
cmp qword [rbx + 0x110], 0
je 0x14002a9dc
mov r10d, dword [rbx + 0xbc]
mov r8, qword [rbx + 0x130]
sub r8, qword [rbx + 0x138]
mov rdx, r10
cmp r8, r10
jb 0x14002a9d0
test edx, edx
mov qword [rsp + 0x40], 0
mov rsi, qword [rbx + 0x10]
je 0x14002ac70
mov r8d, dword [rbx + 0xc0]
lea r9, [rsp + 0x40]
mov rcx, rbx
call fcn.14002a390
test eax, eax
js 0x14002a976
mov edx, dword [rsi + 0x40]
mov rax, qword [rsi + 0x38]
test edx, edx
je 0x14002aa76
sub edx, 1
lea rcx, [rax + rdx*8 + 8]
nop word [rax + rax]
mov rdx, qword [rax]
add rax, 8
cmp rax, rcx
mov dword [rdx + 0x148], 0
jne 0x14002aa60
mov rax, qword [rbx + 0x18]
mov rdx, qword [rsp + 0x40]
lea rcx, [0x140027730]
sub qword [rbx + 0xd8], 1
mov rdi, qword [rbx + 0x10]
mov rbp, qword [rax + 0x20]
mov eax, dword [rax + 0x44]
mov qword [rsp + 0x48], rdx
test rbp, rbp
cmove rbp, rcx
test eax, eax
je 0x14002aac6
lea r12, [rsp + 0x48]
mov rcx, rbx
mov rdx, r12
call fcn.14002a0f0
test eax, eax
js 0x14002acfa
mov rdx, qword [rsp + 0x48]
mov rcx, rbx
call fcn.14002a2a0
mov r8, qword [rbx + 0x10]
mov rdx, qword [rsp + 0x48]
cmp qword [r8 + 0x70], 0
mov rax, qword [rdx + 0x88]
mov rcx, qword [rdx + 0x1a0]
je 0x14002ac5f
mov rdx, qword [r8 + 0x80]
pxor xmm0, xmm0
movabs r9, 0x8000000000000000
cmp rax, r9
cvtsi2sd xmm0, qword [rbx + 0xd8]
movsd qword [rdx + 8], xmm0
je 0x14002ada1
pxor xmm0, xmm0
pxor xmm1, xmm1
cvtsi2sd xmm0, dword [rbx + 0x48]
cvtsi2sd xmm1, dword [rbx + 0x4c]
divsd xmm0, xmm1
pxor xmm1, xmm1
cvtsi2sd xmm1, rax
mulsd xmm0, xmm1
movsd qword [rdx], xmm0
pxor xmm0, xmm0
cmp rcx, 0xffffffffffffffff
cvtsi2sd xmm0, dword [rbx + 0x24]
movsd qword [rdx + 0x18], xmm0
pxor xmm0, xmm0
cvtsi2sd xmm0, dword [rbx + 0x28]
movsd qword [rdx + 0x20], xmm0
je 0x14002ad94
pxor xmm0, xmm0
cvtsi2sd xmm0, rcx
mov rcx, qword [r8 + 0x78]
movsd qword [rdx + 0x10], xmm0
xor r8d, r8d
call fcn.140361e60
movsd xmm1, qword [0x1403c5cf0]
xor eax, eax
andpd xmm0, xmm1
ucomisd xmm0, qword [0x1403c5d00]
setb al
mov dword [rdi + 0x88], eax
jae 0x14002ad8a
mov rax, qword [rdi + 8]
mov rdx, qword [rsp + 0x48]
test byte [rax + 0x2a], 1
je 0x14002abbe
lea rbp, [0x140027730]
mov rcx, rbx
call rbp
add qword [rbx + 0xd8], 1
test eax, eax
js 0x14002ad0a
cmp dword [rsi + 0x9c], 0x12c
mov edx, 0x12c
cmovae edx, dword [rsi + 0x9c]
mov dword [rsi + 0x9c], edx
jmp 0x14002a976
mov rbx, qword [rcx]
mov ebp, dword [rbx + 0x14c]
test ebp, ebp
je 0x14002ac0b
mov edi, dword [rbx + 0x158]
test edi, edi
je 0x14002ac82
add rcx, 8
cmp rcx, r9
jne 0x14002abf4
mov edx, dword [rsi + 0x40]
test edx, edx
je 0x14002a9a0
mov rax, qword [rsi + 0x38]
sub edx, 1
lea rdx, [rax + rdx*8 + 8]
nop dword [rax + rax]
mov rcx, qword [rax]
mov r9d, dword [rcx + 0xe8]
test r9d, r9d
je 0x14002ac4f
mov r8d, dword [rcx + 0x148]
test r8d, r8d
je 0x14002acf0
add rax, 8
cmp rax, rdx
jne 0x14002ac30
xor eax, eax
jmp 0x14002a9a2
mov dword [rdi + 0x88], 0
jmp 0x14002abbe
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.14002a770
jmp 0x14002aa3c
mov r8d, dword [rsi + 0x40]
test r8d, r8d
je 0x14002a9a0
xor ebp, ebp
xor edi, edi
jmp 0x14002acad
add edi, 1
cmp edi, r8d
je 0x14002ace0
mov r10d, dword [rbx + 0x158]
test r10d, r10d
jne 0x14002adae
mov rdx, qword [rsi + 0x38]
mov eax, edi
mov rcx, qword [rdx + rax*8]
mov r11d, dword [rcx + 0x14c]
test r11d, r11d
jne 0x14002ac95
add ebp, 1
call fcn.140027f80
test eax, eax
js 0x14002a976
mov r8d, dword [rsi + 0x40]
jmp 0x14002ac95
test ebp, ebp
je 0x14002a988
xor ebp, ebp
xor edi, edi
jmp 0x14002ac9d
call fcn.140027f80
jmp 0x14002a976
mov rcx, r12
mov dword [rsp + 0x3c], eax
call fcn.140365250
mov eax, dword [rsp + 0x3c]
mov edx, dword [rbx + 0x158]
cmp edx, eax
je 0x14002abd3
mov r12d, dword [rbx + 0xe8]
test r12d, r12d
jne 0x14002ae01
test edx, edx
jne 0x14002add1
mov rcx, qword [rbx + 0x10]
mov dword [rbx + 0x158], eax
mov rdx, qword [rcx + 0x38]
mov ecx, dword [rcx + 0x40]
test ecx, ecx
je 0x14002ad66
sub ecx, 1
lea r8, [rdx + rcx*8 + 8]
nop dword [rax]
mov rcx, qword [rdx]
add rdx, 8
cmp r8, rdx
mov dword [rcx + 0x148], 0
jne 0x14002ad50
mov rdx, qword [rbx]
mov ecx, 0xc8
cmp dword [rdx + 0x9c], 0xc8
cmovae ecx, dword [rdx + 0x9c]
mov dword [rdx + 0x9c], ecx
jmp 0x14002a976
mov rdx, qword [rsp + 0x48]
jmp 0x14002abbe
movsd xmm0, qword [0x1403c5ce0]
jmp 0x14002ab72
movsd xmm0, qword [0x1403c5ce0]
jmp 0x14002ab3f
cmp dword [rsi + 0x9c], 0xc8
mov eax, 0xc8
cmovae eax, dword [rsi + 0x9c]
mov dword [rsi + 0x9c], eax
xor eax, eax
jmp 0x14002a9a2
lea rax, str.libavfilter_avfilter.c
lea r9, str._link__status_out
lea r8, [0x1403c5139]
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], 0xe3
mov qword [rsp + 0x20], rax
call fcn.14036cf30
call sub.msvcrt.dll_abort
call fcn.140390550
nop
nop word [rax + rax]
sub rsp, 0x28
mov r9, qword [rcx + 0x10]
mov rax, qword [rdx + 0x88]
mov r8, qword [rdx + 0x1a0]
cmp qword [r9 + 0x70], 0
je 0x14002af00
mov rdx, qword [r9 + 0x80]
pxor xmm0, xmm0
movabs r10, 0x8000000000000000
cmp rax, r10
cvtsi2sd xmm0, qword [rcx + 0xd8]
movsd qword [rdx + 8], xmm0
je 0x14002aee0
pxor xmm0, xmm0
pxor xmm1, xmm1
cvtsi2sd xmm0, dword [rcx + 0x48]
cvtsi2sd xmm1, dword [rcx + 0x4c]
divsd xmm0, xmm1
pxor xmm1, xmm1
cvtsi2sd xmm1, rax
mulsd xmm0, xmm1
movsd qword [rdx], xmm0
pxor xmm0, xmm0
cmp r8, 0xffffffffffffffff
cvtsi2sd xmm0, dword [rcx + 0x24]
movsd qword [rdx + 0x18], xmm0
pxor xmm0, xmm0
cvtsi2sd xmm0, dword [rcx + 0x28]
movsd qword [rdx + 0x20], xmm0
je 0x14002aef0
pxor xmm0, xmm0
cvtsi2sd xmm0, r8
mov rcx, qword [r9 + 0x78]
movsd qword [rdx + 0x10], xmm0
xor r8d, r8d
call fcn.140361e60
movsd xmm1, qword [0x1403c5cf0]
xor eax, eax
andpd xmm0, xmm1
ucomisd xmm0, qword [0x1403c5d00]
setae al
add rsp, 0x28
ret
movsd xmm0, qword [0x1403c5ce0]
jmp 0x14002ae80
movsd xmm0, qword [0x1403c5ce0]
jmp 0x14002aeaf
mov eax, 1
add rsp, 0x28
ret
sub rsp, 0x28
mov edx, dword [rcx + 0x10]
test edx, edx
je 0x14002e536
mov r8, qword [rcx + 8]
cmp edx, 1
mov rcx, qword [r8]
mov r9d, dword [rcx + 0x9c]
jbe 0x14002e51e
sub edx, 2
lea rax, [r8 + 8]
lea r10, [r8 + rdx*8 + 0x10]
nop word [rax + rax]
mov rdx, qword [rax]
mov r8d, dword [rdx + 0x9c]
cmp r8d, r9d
jbe 0x14002e515
mov r9d, r8d
mov rcx, rdx
add rax, 8
cmp rax, r10
jne 0x14002e500
test r9d, r9d
je 0x14002e52c
add rsp, 0x28
jmp 0x14002a950
mov eax, 0xfffffff5
add rsp, 0x28
ret
call fcn.1403905c5
nop
nop
nop
nop
nop
push rbx
sub rsp, 0x30
mov rbx, qword [rcx + 0x48]
mov r9d, dword [rbx + 8]
test r9d, r9d
je 0x14002e595
mov rdx, qword [rcx + 0x20]
mov eax, r9d
mov rdx, qword [rdx]
cmp rax, qword [rdx + 0x110]
ja 0x14002e595
mov rdx, qword [rcx + 8]
mov rax, qword [rcx + 0x10]
lea r8, str._d_buffers_queued_in__s__something_may_be_wrong._n
test rax, rax
cmove rax, qword [rdx]
mov edx, 0x18
mov qword [rsp + 0x20], rax
call fcn.14036cf30
mov eax, dword [rbx + 8]
lea eax, [rax + rax*4]
add eax, eax
mov dword [rbx + 8], eax
xor eax, eax
add rsp, 0x30
pop rbx
ret