Function at 0x14007f570
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, 0x198
movabs rbp, 0x8000000000000000
mov rsi, rcx
mov rcx, rdx
mov rbx, rdx
mov qword [rsp + 0x88], 0
lea r12, [rsp + 0x130]
lea r15, [rsp + 0xd0]
call fcn.1400947b0
lea rax, [rsp + 0xb0]
mov r14, rbx
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x58], rax
mov rdx, qword [rsi + 0x548]
mov rax, qword [rdx + 0x30]
test rax, rax
jne 0x14007fa20
mov rdx, r12
mov rcx, rsi
call fcn.14007c170
test eax, eax
mov edi, eax
js 0x1400801e2
movsxd rdx, dword [rsp + 0x154]
mov rax, qword [rsi + 0x30]
xor edi, edi
mov r13, qword [rax + rdx*8]
mov rax, qword [r13 + 0x2f8]
mov ebx, dword [rax + 0x40]
test ebx, ebx
jne 0x14007fab2
mov rax, qword [rsp + 0x138]
cmp rax, rbp
je 0x14007f651
mov r9, qword [rsp + 0x140]
cmp r9, rbp
je 0x14007f651
cmp rax, r9
jl 0x14007fc61
test byte [rsi + 0x4d8], 1
jne 0x14007fb50
mov r11d, dword [r13 + 0x10c]
test r11d, r11d
je 0x14007f7e4
cmp qword [r13 + 0x110], 0
je 0x14007fec0
cmp dword [r13 + 0x3c], 0x2f
jg 0x14007faa3
mov r8d, dword [rsp + 0x154]
mov rdx, r12
mov rcx, rsi
call fcn.14007e5b0
test eax, eax
mov edi, eax
js 0x14007fea8
mov rdx, qword [r13 + 0x2f8]
mov rax, qword [r13 + 0xd0]
xor ebx, ebx
mov rdx, qword [rdx + 0x18]
mov ecx, dword [rdx + 0x190]
mov dword [rax + 0x74], ecx
mov rcx, qword [rdx + 0x38]
mov qword [rax + 0x20], rcx
mov ecx, dword [rdx + 0x194]
mov dword [rax + 0x70], ecx
mov rcx, qword [rdx + 0x1b0]
mov edx, dword [rdx + 0x18]
mov qword [rax + 0x68], rcx
mov dword [rax + 4], edx
test byte [r14 + 0x28], 1
je 0x14007f960
mov dword [r13 + 0x1fc], 0
test ebx, ebx
je 0x14007f5e1
mov rbx, r14
movsxd rdx, dword [rbx + 0x24]
mov rax, qword [rsi + 0x30]
mov rbp, qword [rax + rdx*8]
mov r14, qword [rbp + 0x210]
test r14, r14
jne 0x14007ff70
xor r13d, r13d
mov rax, qword [rbp + 0x208]
test rax, rax
je 0x140080040
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x14007f74f
movabs rcx, 0x7ffeffffffffffff
cmp rdx, rcx
jne 0x140080040
mov edx, eax
mov dword [rbp + 0x200], eax
or edx, r13d
je 0x14008004f
mov r8d, 0xa
mov edx, 0xb
mov rcx, rbx
call fcn.140095370
test rax, rax
je 0x14007f7a4
mov edx, dword [rbp + 0x200]
mov dword [rax + 4], r13d
lea r8, str.demuxer_injecting_skip__d___discard__d_n
mov rcx, rsi
mov dword [rax], edx
mov r9d, dword [rbp + 0x200]
mov edx, 0x30
mov dword [rsp + 0x20], r13d
call fcn.14036cf30
mov dword [rbp + 0x200], 0
jmp 0x14008004f
mov rax, qword [r13 + 0xd0]
mov ecx, dword [rax + 4]
call fcn.1401204c0
lea r8, str.parser_not_found_for_codec__s__packets_or_times_may_be_invalid._n
mov r9, rax
mov edx, 0x28
mov rcx, rsi
call fcn.14036cf30
mov dword [r13 + 0x10c], 0
mov rax, qword [rsp + 0x130]
xor r8d, r8d
mov r9, r14
mov rdx, r13
mov rcx, rsi
mov ebx, 1
mov qword [r14], rax
mov rax, qword [rsp + 0x138]
mov qword [r14 + 8], rax
mov rax, qword [rsp + 0x140]
mov qword [r14 + 0x10], rax
mov rax, qword [rsp + 0x148]
mov qword [r14 + 0x18], rax
mov rax, qword [rsp + 0x150]
mov qword [r14 + 0x20], rax
mov rax, qword [rsp + 0x158]
mov qword [r14 + 0x28], rax
mov rax, qword [rsp + 0x160]
mov qword [r14 + 0x30], rax
mov rax, qword [rsp + 0x168]
mov qword [r14 + 0x38], rax
mov rax, qword [rsp + 0x170]
mov qword [r14 + 0x40], rax
mov rax, qword [rsp + 0x178]
mov qword [r14 + 0x48], rax
mov rax, qword [rsp + 0x180]
mov qword [r14 + 0x50], rax
movabs rax, 0x8000000000000000
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rax
call fcn.14007d270
mov rax, qword [rsi + 8]
test byte [rax + 0x11], 1
je 0x14007f6e3
test byte [r14 + 0x28], 1
je 0x14007fd40
mov r8, qword [r14 + 0x10]
cmp r8, rbp
je 0x14007ff60
movsxd rdx, dword [r13]
mov rax, qword [rsi + 0x30]
mov r9, qword [rax + rdx*8]
mov eax, 0xaaaaaaab
mul dword [rsi + 0x49c]
mov ecx, dword [r9 + 0x1d0]
shr edx, 4
cmp edx, ecx
ja 0x14007f92f
test ecx, ecx
jle 0x140080303
lea eax, [rcx - 1]
mov rdx, qword [r9 + 0x1c8]
shr eax, 1
mov eax, eax
lea rbx, [rax + rax*2 + 3]
mov rcx, rax
xor eax, eax
shl rbx, 3
mov r10, qword [rdx + rax*2]
mov qword [rdx + rax], r10
mov r10, qword [rdx + rax*2 + 8]
mov qword [rdx + rax + 8], r10
mov r10, qword [rdx + rax*2 + 0x10]
mov qword [rdx + rax + 0x10], r10
add rax, 0x18
cmp rax, rbx
jne 0x14007f900
lea eax, [rcx + 1]
mov dword [r9 + 0x1d0], eax
mov rdx, qword [r14 + 0x48]
xor r9d, r9d
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0
mov rcx, r13
mov ebx, 1
call fcn.14007f2a0
test byte [r14 + 0x28], 1
jne 0x14007f6ee
nop
mov r10d, dword [r13 + 0x1fc]
test r10d, r10d
je 0x14007f6f9
mov rcx, r12
call fcn.140095ee0
test ebx, ebx
je 0x14007f5e1
mov rax, qword [rsp + 0x130]
mov rdx, qword [rsi + 0x548]
mov qword [r14], rax
mov rax, qword [rsp + 0x138]
mov qword [r14 + 8], rax
mov rax, qword [rsp + 0x140]
mov qword [r14 + 0x10], rax
mov rax, qword [rsp + 0x148]
mov qword [r14 + 0x18], rax
mov rax, qword [rsp + 0x150]
mov qword [r14 + 0x20], rax
mov rax, qword [rsp + 0x158]
mov qword [r14 + 0x28], rax
mov rax, qword [rsp + 0x160]
mov qword [r14 + 0x30], rax
mov rax, qword [rsp + 0x168]
mov qword [r14 + 0x38], rax
mov rax, qword [rsp + 0x170]
mov qword [r14 + 0x40], rax
mov rax, qword [rsp + 0x178]
mov qword [r14 + 0x48], rax
mov rax, qword [rsp + 0x180]
mov qword [r14 + 0x50], rax
mov rax, qword [rdx + 0x30]
test rax, rax
je 0x14007f5f5
nop word [rax + rax]
mov rbx, r14
mov qword [rsp + 0x130], rax
mov rcx, qword [rax]
mov qword [rbx], rcx
mov rcx, qword [rax + 8]
mov qword [rbx + 8], rcx
mov rcx, qword [rax + 0x10]
mov qword [rbx + 0x10], rcx
mov rcx, qword [rax + 0x18]
mov qword [rbx + 0x18], rcx
mov rcx, qword [rax + 0x20]
mov qword [rbx + 0x20], rcx
mov rcx, qword [rax + 0x28]
mov qword [rbx + 0x28], rcx
mov rcx, qword [rax + 0x30]
mov qword [rbx + 0x30], rcx
mov rcx, qword [rax + 0x38]
mov qword [rbx + 0x38], rcx
mov rcx, qword [rax + 0x40]
mov qword [rbx + 0x40], rcx
mov rcx, qword [rax + 0x48]
mov qword [rbx + 0x48], rcx
mov rcx, qword [rax + 0x50]
mov qword [rbx + 0x50], rcx
mov rcx, qword [rax + 0x58]
mov qword [rdx + 0x30], rcx
cmp qword [rax + 0x58], 0
je 0x1400802db
mov rcx, r12
xor edi, edi
call fcn.14036dc30
jmp 0x14007f704
mov rcx, r12
xor ebx, ebx
call fcn.140095ee0
jmp 0x14007f6e3
mov rcx, qword [rax + 0x18]
call fcn.140122c50
test eax, eax
jne 0x14007fd60
mov rax, qword [r13 + 0x110]
test rax, rax
je 0x14007fafc
mov rdx, qword [r13 + 0x2f8]
mov rcx, qword [rdx + 0x18]
mov rdx, qword [r13 + 0xd0]
mov ebx, dword [rdx + 4]
cmp dword [rcx + 0x18], ebx
je 0x14007fb0e
mov rcx, rax
call fcn.1400fff70
mov qword [r13 + 0x110], 0
mov rax, qword [r13 + 0x2f8]
mov rdx, qword [r13 + 0xd0]
mov rcx, qword [rax + 0x18]
call fcn.140123380
test eax, eax
js 0x14007feaa
mov rdx, qword [r13 + 0xd0]
mov rcx, qword [r13 + 8]
call fcn.140123380
test eax, eax
mov edi, eax
js 0x14007fea8
mov rax, qword [r13 + 0x2f8]
mov dword [rax + 0x40], 0
jmp 0x14007f62e
mov rax, qword [rsp + 0x170]
mov r9, qword [rsp + 0x140]
mov ebx, dword [rsp + 0x158]
mov qword [rsp + 0xf0], 0
mov qword [rsp + 0xf8], 0
mov qword [rsp + 0x100], 0
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x150]
cmp r9, rbp
mov qword [rsp + 0x108], 0
mov dword [rsp + 0x6c], eax
je 0x14007ff40
mov rcx, qword [rsp + 0x58]
lea r8, [0x1403d9a8c]
mov edx, 0x20
call fcn.14007a040
mov r9, qword [rsp + 0x138]
mov qword [rsp + 0xd0], 0
mov qword [rsp + 0xd8], 0
mov qword [rsp + 0xe0], 0
mov qword [rsp + 0xe8], 0
cmp r9, rbp
je 0x14007ff20
lea r8, [0x1403d9a8c]
mov edx, 0x20
mov rcx, r15
call fcn.14007a040
mov rax, qword [rsp + 0x60]
mov r9d, dword [rsp + 0x154]
lea r8, str.ff_read_packet_stream_d__pts_s__dts_s__size_d__duration_lld__flags_d_n
mov dword [rsp + 0x40], ebx
mov qword [rsp + 0x20], r15
mov edx, 0x30
mov rcx, rsi
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x6c]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x28], rax
call fcn.14036cf30
jmp 0x14007f65e
mov rcx, qword [rsp + 0x70]
lea r8, [0x1403d9a8c]
mov edx, 0x20
mov ebx, dword [rsp + 0x150]
mov qword [rsp + 0xb0], 0
mov qword [rsp + 0xb8], 0
mov qword [rsp + 0xc0], 0
mov qword [rsp + 0xc8], 0
call fcn.14007a040
mov r9, qword [rsp + 0x138]
mov qword [rsp + 0x90], 0
mov qword [rsp + 0x98], 0
mov qword [rsp + 0xa0], 0
mov qword [rsp + 0xa8], 0
cmp r9, rbp
je 0x140080020
mov rcx, qword [rsp + 0x78]
lea r8, [0x1403d9a8c]
mov edx, 0x20
call fcn.14007a040
mov rax, qword [rsp + 0x70]
mov r9d, dword [rsp + 0x154]
lea r8, str.Invalid_timestamps_stream_d__pts_s__dts_s__size_d_n
mov dword [rsp + 0x30], ebx
mov edx, 0x18
mov rcx, rsi
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x20], rax
call fcn.14036cf30
jmp 0x14007f651
mov eax, dword [r13 + 0x1fc]
test eax, eax
je 0x14007f701
mov rcx, r12
call fcn.140095ee0
jmp 0x14007f980
lea r8, str.Demuxer_context_update_while_decoder_is_open__closing_and_trying_to_re_open_n
mov edx, 0x30
mov rcx, rsi
call fcn.14036cf30
mov rax, qword [r13 + 0x2f8]
mov rcx, qword [rax + 0x18]
call fcn.1403988b5
mov rax, qword [r13 + 0xd8]
mov dword [rax + 0x3c], 0
jmp 0x14007fac3
test byte [rsi + 0x4d8], 1
je 0x14007fea8
mov r9, qword [rbx + 0x10]
movabs rax, 0x8000000000000000
mov r15d, dword [rbx + 0x28]
mov r14, qword [rbx + 0x40]
mov r13d, dword [rbx + 0x20]
mov qword [rsp + 0x130], 0
mov qword [rsp + 0x138], 0
cmp r9, rax
mov qword [rsp + 0x140], 0
mov qword [rsp + 0x148], 0
je 0x1400802a9
lea r8, [0x1403d9a8c]
mov edx, 0x20
mov rcx, r12
call fcn.14007a040
mov r9, qword [rbx + 8]
movabs rax, 0x8000000000000000
mov qword [rsp + 0x110], 0
mov qword [rsp + 0x118], 0
mov qword [rsp + 0x120], 0
lea rbp, [rsp + 0x110]
mov qword [rsp + 0x128], 0
cmp r9, rax
je 0x1400802c2
lea r8, [0x1403d9a8c]
mov edx, 0x20
mov rcx, rbp
call fcn.14007a040
mov r9d, dword [rbx + 0x24]
lea r8, str.read_frame_internal_stream_d__pts_s__dts_s__size_d__duration_lld__flags_d_n
mov dword [rsp + 0x40], r15d
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x30], r13d
mov edx, 0x30
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rbp
mov rcx, rsi
call fcn.14036cf30
mov eax, edi
add rsp, 0x198
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
test byte [rsi + 0x460], 0x20
jne 0x14007f7e4
mov rax, qword [r13 + 0xd0]
mov ecx, dword [rax + 4]
call fcn.1400ff230
test rax, rax
mov qword [r13 + 0x110], rax
je 0x14007f7b3
mov edx, dword [r13 + 0x10c]
cmp edx, 2
je 0x14008026b
cmp edx, 4
je 0x1400802e8
cmp edx, 5
je 0x1400802f4
test edx, edx
jne 0x14007f67c
jmp 0x14007f7e4
lea r8, str.NOPTS
mov edx, 0x20
mov rcx, r15
call fcn.14007a040
jmp 0x14007fc1b
mov rcx, qword [rsp + 0x58]
lea r8, str.NOPTS
mov edx, 0x20
call fcn.14007a040
jmp 0x14007fbc6
mov ebx, 1
jmp 0x14007f6ee
mov rcx, qword [rbx + 8]
movabs rax, 0x8000000000000000
cmp rcx, rax
je 0x14008025d
movabs rax, 0x7ffdffffffffffff
movabs rdx, 0x7ffeffffffffffff
movsxd r15, dword [rbp + 0x1c]
cmp rcx, rax
mov eax, 0
cmovg rax, rdx
mov rdx, qword [rbp + 0xd0]
sub rcx, rax
mov r8, r15
mov r13d, dword [rdx + 0x74]
imul r13d, dword [rbp + 0x18]
movsxd r13, r13d
mov rdx, r13
call fcn.14036d440
mov rcx, qword [rbx + 0x40]
mov rdx, r13
mov r8, r15
mov qword [rsp + 0x58], rax
xor r13d, r13d
call fcn.14036d440
mov r9, qword [rsp + 0x58]
movsxd rdx, eax
test eax, eax
lea rcx, [rdx + r9]
jle 0x14007f723
cmp r14, rcx
jg 0x14007f723
cmp qword [rbp + 0x218], r9
jle 0x14007f723
sub rcx, r14
cmp rcx, rdx
cmovle rdx, rcx
mov r13, rdx
jmp 0x14007f723
mov rcx, qword [rsp + 0x78]
lea r8, str.NOPTS
mov edx, 0x20
call fcn.14007a040
jmp 0x14007fd05
mov edx, dword [rbp + 0x200]
or edx, r13d
jne 0x14007f760
mov r9d, dword [rbp + 0x2ec]
test r9d, r9d
je 0x1400800ad
mov r8d, dword [rbp + 0xb8]
xor r14d, r14d
xor r13d, r13d
test r8d, r8d
jle 0x1400800a3
nop dword [rax]
mov r15, r14
add r15, qword [rbp + 0xb0]
xor r8d, r8d
mov rcx, rbx
mov edx, dword [r15 + 0xc]
call fcn.140095460
test rax, rax
je 0x140080280
add r13d, 1
add r14, 0x10
cmp dword [rbp + 0xb8], r13d
jg 0x140080070
mov dword [rbp + 0x2ec], 0
lea rbp, [rsp + 0x88]
lea rdx, str.metadata
mov r8d, 1
mov rcx, rsi
mov r9, rbp
call fcn.1403719a0
mov rdx, qword [rsp + 0x88]
test rdx, rdx
je 0x140080110
or dword [rsi + 0x4ec], 1
lea rcx, [rsi + 0x4b0]
xor r8d, r8d
call fcn.140354a20
mov rcx, rbp
call fcn.1403549c0
lea rdx, str.metadata
mov r9d, 1
xor r8d, r8d
mov rcx, rsi
call fcn.140370dc0
mov edx, dword [rsi + 0x2c]
xor r13d, r13d
xor r14d, r14d
test edx, edx
jne 0x1400801af
jmp 0x14007fda0
mov rcx, qword [rax + 0x18]
mov rdx, qword [rbp + 0xd0]
mov eax, dword [rdx + 4]
cmp dword [rcx + 0x18], eax
je 0x140080168
mov rcx, r8
call fcn.1400fff70
mov rax, qword [rbp + 0x2f8]
mov qword [rbp + 0x110], 0
mov rdx, qword [rbp + 0xd0]
mov rcx, qword [rax + 0x18]
call fcn.140123380
test eax, eax
js 0x14007fda0
mov rdx, qword [rbp + 0xd0]
mov rcx, qword [rbp + 8]
call fcn.140123380
test eax, eax
js 0x14007fda0
mov rax, qword [rbp + 0x2f8]
mov dword [rax + 0x40], 0
mov edx, dword [rsi + 0x2c]
add r14d, 1
add r13, 8
cmp r14d, edx
jae 0x14007fda0
mov rax, qword [rsi + 0x30]
mov rbp, qword [rax + r13]
mov rax, qword [rbp + 0x2f8]
mov ecx, dword [rax + 0x40]
test ecx, ecx
je 0x14008019e
mov r8, qword [rbp + 0x110]
test r8, r8
jne 0x140080130
mov rdx, qword [rbp + 0xd0]
mov rcx, qword [rax + 0x18]
jmp 0x140080168
mov eax, 0xfffffff5
mov rbx, r14
cmp edi, eax
je 0x14007feaa
mov edx, dword [rsi + 0x2c]
test edx, edx
je 0x140080244
xor r13d, r13d
xor ebp, ebp
jmp 0x14008020b
add ebp, 1
add r13, 8
cmp ebp, edx
jae 0x140080244
mov rax, qword [rsi + 0x30]
mov rax, qword [rax + r13]
cmp qword [rax + 0x110], 0
je 0x140080200
mov r14d, dword [rax + 0x10c]
test r14d, r14d
je 0x140080200
mov r8d, dword [rax]
xor edx, edx
mov rcx, rsi
add ebp, 1
add r13, 8
call fcn.14007e5b0
mov edx, dword [rsi + 0x2c]
cmp ebp, edx
jb 0x14008020b
mov rdx, qword [rsi + 0x548]
mov rax, qword [rdx + 0x30]
test rax, rax
je 0x1400800ad
jmp 0x14007fa23
mov edx, dword [rbp + 0x200]
xor r13d, r13d
jmp 0x140080046
or dword [rax + 0xb8], 1
jmp 0x14007f67c
mov edx, dword [r15 + 0xc]
mov r8d, dword [r15 + 8]
mov rcx, rbx
call fcn.140095370
test rax, rax
je 0x14008030a
movsxd r8, dword [r15 + 8]
mov rdx, qword [r15]
mov rcx, rax
call sub.msvcrt.dll_memcpy
jmp 0x140080092
lea r8, str.NOPTS
mov edx, 0x20
mov rcx, r12
call fcn.14007a040
jmp 0x14007fe14
lea r8, str.NOPTS
mov edx, 0x20
mov rcx, rbp
call fcn.14007a040
jmp 0x14007fe77
mov qword [rdx + 0x38], 0
jmp 0x14007fa94
or dword [rax + 0xb8], 2
jmp 0x14007f67c
or dword [rax + 0xb8], 0x1000
jmp 0x14007f67c
xor eax, eax
jmp 0x14007f928
lea r8, str.Could_not_inject_global_side_data_n
mov edx, 0x18
mov rcx, rsi
call fcn.14036cf30
jmp 0x140080092