Function at 0x140026fc0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov rbp, rdx
mov rsi, rcx
mov rbx, qword [rcx + 0x2038]
cmp qword [rcx + 0x2018], 0
jne 0x140026ff1
cmp qword [rcx + 0x2030], 0
je 0x140026ffb
cmp qword [rcx + 0xf0], 0
jne 0x140027011
mov eax, 0xffffffea
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov r15d, 0xdfb9b0bb
cmp qword [rbx + 0x120], 0
jne 0x14002703e
mov rdx, rbx
call fcn.140021a80
mov edx, 0x80000000
lea ecx, [rax + rdx]
test edx, ecx
jne 0x14002703e
cmp eax, r15d
jne 0x140027287
mov rdx, rbx
mov rcx, rsi
call fcn.140026ba0
test eax, eax
jns 0x140027063
cmp eax, 0xfffffff5
je 0x14002706b
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov rcx, rbx
call sub.avutil_56.dll_av_frame_unref
cmp byte [rsi + 0x1ac18], 0
je 0x140027254
lea rdi, [rsi + 0x1acb8]
cmp qword [rdi], 0
jne 0x140027128
mov ecx, 0x10
call fcn.140035c18
mov rbx, rax
mov qword [rsp + 0x60], rax
test rax, rax
je 0x1400270ea
mov ecx, 8
call fcn.140035c18
test rax, rax
je 0x1400270b2
mov qword [rax], rsi
mov qword [rsp + 0x70], rax
lea r14, [rbx + 8]
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140024c30]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbx], rax
test rax, rax
je 0x14002738e
jmp 0x1400270ec
xor ebx, ebx
lea rax, [rsp + 0x60]
cmp rdi, rax
je 0x140027109
mov rcx, qword [rdi]
mov qword [rdi], rbx
test rcx, rcx
je 0x140027128
cmp dword [rcx + 8], 0
jne 0x140027114
jmp 0x14002711e
test rbx, rbx
je 0x140027128
cmp dword [rbx + 8], 0
je 0x14002711b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
mov rcx, rbx
mov edx, 0x10
call fcn.140035c54
lea rbx, [rsi + 0x1acc0]
mov rcx, rbx
call sub.MSVCP140.dll__Mtx_lock
test eax, eax
jne 0x1400273a0
mov rdi, qword [rbx + 0x70]
mov rcx, rbx
call sub.MSVCP140.dll__Mtx_unlock
test rdi, rdi
je 0x140027217
mov rcx, rbx
call sub.MSVCP140.dll__Mtx_lock
test eax, eax
jne 0x140027386
lea rcx, [rbx + 0x50]
cmp qword [rcx + 0x20], 0
jne 0x140027194
mov rcx, rbx
call sub.MSVCP140.dll__Mtx_unlock
xor edx, edx
mov rcx, rbp
call sub.avcodec_58.dll_av_packet_move_ref
xor eax, eax
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov rdx, qword [rbx + 0x60]
dec rdx
and rdx, qword [rbx + 0x68]
mov rax, qword [rbx + 0x58]
mov rdi, qword [rax + rdx*8]
mov rsi, qword [rdi + 8]
test rsi, rsi
je 0x1400271b8
lock inc dword [rsi + 8]
mov rsi, qword [rdi + 8]
mov rdi, qword [rdi]
call fcn.140029920
mov rcx, rbx
call sub.MSVCP140.dll__Mtx_unlock
mov rdx, rdi
mov rcx, rbp
call sub.avcodec_58.dll_av_packet_move_ref
test rsi, rsi
je 0x140027204
mov ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x140027204
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
lock xadd dword [rsi + 0xc], ebx
cmp ebx, 1
jne 0x140027204
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
movzx ecx, byte [rsi + 0x20]
nop
test cl, cl
je 0x14002723e
cmp qword [rsi + 0x2150], 0
jne 0x14002723e
mov eax, r15d
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov eax, 0xfffffff5
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
movzx eax, byte [rsi + 0x20]
nop
mov ecx, dword [rsi + 0x2150]
test al, al
jne 0x140027298
test ecx, ecx
jle 0x140027275
add ecx, dword [rsi + 0x20e8]
cmp ecx, dword [rsi + 0x1ac04]
jge 0x14002729c
movzx ecx, byte [rsi + 0x20]
nop
mov edx, 0xfffffff5
test cl, cl
cmovne edx, r15d
mov eax, edx
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
test ecx, ecx
jle 0x140027275
mov r9, qword [rsi + 0x2150]
test r9, r9
jne 0x1400272ac
xor edi, edi
jmp 0x1400272f6
mov r10, qword [rsi + 0x2148]
mov rdx, r10
shr rdx, 1
mov rax, qword [rsi + 0x2140]
dec rax
and rdx, rax
mov rax, qword [rsi + 0x2138]
mov rcx, r10
and ecx, 1
mov rax, qword [rax + rdx*8]
mov rdi, qword [rax + rcx*8]
lea rax, [r9 - 1]
mov qword [rsi + 0x2150], rax
test rax, rax
je 0x1400272ef
lea rax, [r10 + 1]
mov qword [rsi + 0x2148], rax
cmp qword [rsi + 0x2030], 0
jne 0x140027322
mov rax, qword [rsi + 0xf8]
mov rdx, qword [rax + 0x50]
mov rcx, qword [rsi + 0x2018]
call rdx
mov ecx, eax
neg ecx
sbb edx, edx
test eax, eax
jne 0x140027285
mov r8, rdi
mov rdx, rbp
mov rcx, rsi
call fcn.1400276b0
mov ebx, eax
cmp qword [rsi + 0x2030], 0
jne 0x140027365
mov qword [rsp + 0x60], 0
mov rcx, qword [rsi + 0xf8]
mov rdx, qword [rcx + 0x58]
lea rcx, [rsp + 0x60]
call rdx
mov ecx, eax
neg ecx
sbb edx, edx
test eax, eax
jne 0x140027285
test ebx, ebx
je 0x140027370
mov edx, ebx
jmp 0x140027285
lea rcx, [rsi + 0x2060]
mov rdx, rdi
call fcn.140024810
xor edx, edx
jmp 0x140027285
mov ecx, eax
call sub.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_
nop
mov dword [r14], 0
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov ecx, eax
call sub.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_
int3