Function at 0x10037ef0
Capabilities:
Encrypt data using speck

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x190
mov edi, edx
mov eax, dword [0x1018fc64]
xor eax, ebp
mov dword [esp + 0x188], eax
mov dword [esp + 0x5c], 0xffffffff
mov dword [esp + 0x58], 0xffffffff
mov eax, dword [edx + 0xb0]
mov edx, dword [eax + 4]
cmp edx, 0x1b
setne bl
cmp edx, 0xad
setne bh
test byte [ecx + 0x448], 0x10
jne 0x10038e42
mov byte [esp + 0x17], bl
mov dword [esp + 0x40], edx
mov dword [esp + 0x18], ecx
mov esi, dword [ebp + 0xc]
cmp dword [eax], 0
mov dword [esp + 0x10], edi
mov byte [esp + 0x27], bh
jne 0x10038079
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov edx, ecx
mov ebx, 0x80000000
xor edx, ebx
or edx, eax
je 0x10038079
mov edx, dword [esi + 8]
xor edx, eax
mov esi, dword [esi + 0xc]
xor esi, ecx
or esi, edx
jne 0x10038035
mov ebx, dword [edi + 0x2a0]
mov esi, dword [edi + 0x2a4]
mov dword [esp + 0x20], esi
mov edx, 0x80000000
xor esi, edx
or esi, ebx
je 0x10038035
mov edx, ebx
cmp eax, ebx
mov esi, ecx
mov ebx, dword [esp + 0x20]
sbb esi, ebx
jge 0x10038000
cmp byte [edi + 0x2a9], 0
mov esi, 0x18
mov edi, edx
mov edx, 0x30
cmove edx, esi
push ebx
push edi
push ecx
push eax
push str.DTS__lli____lli_out_of_order_n
push edx
mov edi, dword [esp + 0x28]
push dword [esp + 0x30]
call fcn.1006fc50
add esp, 0x1c
mov cl, byte [edi + 0x2a8]
mov al, byte [edi + 0x2a9]
add al, 1
mov byte [edi + 0x2a9], al
jmp 0x10038015
mov cl, byte [edi + 0x2a8]
mov al, byte [edi + 0x2a9]
add cl, 1
mov byte [edi + 0x2a8], cl
movzx edx, cl
movzx esi, al
add esi, edx
cmp esi, 0xfb
jb 0x10038035
shr cl, 1
mov byte [edi + 0x2a8], cl
shr al, 1
mov byte [edi + 0x2a9], al
mov esi, dword [ebp + 0xc]
movsd xmm0, qword [esi + 0x10]
movsd qword [edi + 0x2a0], xmm0
movzx eax, byte [edi + 0x2a8]
movzx ecx, byte [edi + 0x2a9]
shl ecx, 3
cmp ecx, eax
jbe 0x10038079
mov eax, dword [esi + 0x14]
xor eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
xor ecx, dword [esi + 8]
or ecx, eax
jne 0x10038079
mov eax, 0x80000000
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], 0
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x18]
test byte [eax + 0x448], 8
je 0x100380a7
mov eax, dword [esi + 0xc]
mov edx, 0x80000000
xor eax, edx
or eax, dword [esi + 8]
je 0x100380a7
mov eax, 0x80000000
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], 0
test ecx, ecx
je 0x100380cd
cmp dword [ecx + 0x20], 3
jne 0x100380cd
mov eax, dword [edi + 0x2b8]
mov eax, dword [eax + 0xc]
cmp dword [eax + 0x8c], 0
jne 0x100380cd
mov dword [eax + 0x8c], 1
xor edx, edx
mov eax, dword [edi + 0x2b8]
mov eax, dword [eax + 0xc]
mov ebx, dword [eax + 0x8c]
test ecx, ecx
je 0x100380fd
mov dword [esp + 0x2c], 0
test ebx, ebx
je 0x10038105
xor edx, edx
cmp dword [ecx + 0x20], 3
setne dl
mov dword [esp + 0x2c], edx
jmp 0x10038105
mov dword [esp + 0x2c], 0
mov dword [esp + 0x1c], edx
mov dword [esp + 0xc], 0
mov eax, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov ecx, edx
mov edi, 0x80000000
xor ecx, edi
or ecx, eax
mov edi, 0x80000000
mov dword [esp + 0x20], ebx
je 0x1003821e
mov ebx, dword [esi + 0x10]
mov edi, dword [esi + 0x14]
mov ecx, edi
mov esi, 0x80000000
xor ecx, esi
or ecx, ebx
je 0x10038214
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 0xb8]
cmp ecx, 0x3e
jg 0x10038214
mov dword [esp + 0x30], ecx
add cl, 0xff
mov esi, 0xffffffff
shl esi, cl
mov dword [esp + 0xc], edi
xor edi, edi
test cl, 0x20
mov ecx, 0xffffffff
cmovne ecx, esi
cmove edi, esi
add edi, ebx
adc ecx, dword [esp + 0xc]
cmp eax, edi
mov esi, edx
sbb esi, ecx
jge 0x10038214
mov esi, dword [esp + 0x10]
mov esi, dword [esi + 0xcc]
cmp esi, 0x7ffdffff
jg 0x100381e3
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x10]
cmp dword [esi + 0xc8], edi
sbb dword [esp + 0x28], ecx
jl 0x100381e3
mov esi, 1
xor edi, edi
mov ecx, dword [esp + 0x30]
shld edi, esi, cl
shl esi, cl
xor ebx, ebx
test cl, 0x20
cmovne edi, esi
cmovne esi, ebx
add esi, eax
adc edi, edx
mov eax, dword [ebp + 0xc]
mov dword [esp + 0xc], esi
mov dword [eax + 8], esi
mov dword [eax + 0xc], edi
jmp 0x1003821a
mov esi, 0xffffffff
mov edi, dword [esp + 0x30]
mov ecx, edi
shl esi, cl
mov ecx, edi
test cl, 0x20
mov edi, 0xffffffff
cmovne edi, esi
mov ecx, 0
cmove ecx, esi
add ecx, ebx
adc edi, dword [esp + 0xc]
mov esi, dword [ebp + 0xc]
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edi
mov dword [esp + 0xc], eax
mov edi, edx
mov ebx, dword [esp + 0x20]
cmp ebx, 1
jne 0x100382a2
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x14]
mov edx, ecx
xor edx, edi
mov esi, eax
xor esi, dword [esp + 0xc]
mov ebx, 0x80000000
xor ecx, ebx
or ecx, eax
setne al
or esi, edx
jne 0x100382a2
mov ecx, dword [esp + 0x1c]
and cl, al
je 0x100382a2
push edi
push dword [esp + 0x10]
push str.invalid_dts_pts_combination__lli_n
push 0x30
mov esi, dword [esp + 0x28]
push esi
call fcn.1006fc50
add esp, 0x14
mov eax, dword [esi + 4]
mov esi, dword [eax]
push str.mov_mp4_m4a_3gp_3g2_mj2
push esi
call fcn.101151c0
add esp, 8
test eax, eax
je 0x100382a2
push 0x1014c826
push esi
call fcn.101151c0
add esp, 8
test eax, eax
je 0x100382a2
mov eax, dword [ebp + 0xc]
mov ecx, 0x80000000
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], 0
mov esi, dword [ebp + 0xc]
mov edi, dword [esi + 0x30]
mov esi, dword [esi + 0x34]
mov ebx, dword [esp + 0x10]
push dword [ebx + 0x14]
push dword [ebx + 0x10]
push 1
push edi
call fcn.10074e90
add esp, 0x10
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], edx
xor eax, eax
mov dword [esp + 0x30], edi
mov ecx, edi
neg ecx
sbb eax, esi
jge 0x100382e2
mov edx, esi
mov edi, 0x80000000
jmp 0x1003836f
lea eax, [esp + 0x58]
lea ecx, [esp + 0x5c]
mov esi, dword [ebp + 0xc]
push esi
push dword [ebp + 8]
push ebx
push eax
push ecx
push dword [esp + 0x2c]
call fcn.1002ed10
add esp, 0x18
mov edi, dword [esp + 0x58]
test edi, edi
je 0x1003834e
mov ebx, dword [esp + 0x5c]
test ebx, ebx
je 0x1003834e
mov eax, edi
mov esi, dword [esp + 0x10]
imul dword [esi + 0x10]
mov ecx, edx
mov dword [esp + 0xc], eax
mov eax, ebx
imul dword [esi + 0x14]
push 2
push ecx
push dword [esp + 0x14]
push edx
push eax
push 0
push 1
call fcn.100701b0
add esp, 0x1c
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x34], edx
mov dword [ecx + 0x30], eax
mov dword [esp + 0x3c], ebx
mov ebx, esi
mov dword [esp + 0x44], edi
jmp 0x10038358
mov eax, dword [esi + 0x30]
mov edx, dword [esi + 0x34]
mov ebx, dword [esp + 0x10]
mov edi, 0x80000000
mov dword [esp + 0x30], eax
cmp eax, 1
mov eax, edx
sbb eax, 0
jl 0x100386e2
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x50c]
mov eax, dword [ecx + 4]
test eax, eax
jne 0x1003838a
cmp dword [ecx + 0x20], 0
je 0x100386e2
mov dword [esp + 0x48], edx
test eax, eax
jne 0x10038395
mov eax, dword [ecx + 0x20]
mov edx, dword [ebx + 0xc0]
mov edi, dword [ebx + 0xc4]
mov esi, edi
mov ecx, 0x80000000
xor esi, ecx
mov ecx, edx
or ecx, esi
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x20]
mov dword [esp + 0xc], ecx
jne 0x1003850b
mov dword [esp + 0x1c], 0xffffffff
mov ecx, dword [ebx + 0xc8]
mov edx, dword [ebx + 0xcc]
mov ebx, 0x7ffeffff
xor edx, ebx
not ecx
or ecx, edx
jne 0x100386d9
test eax, eax
je 0x100386c5
mov esi, dword [esp + 0x1c]
jmp 0x10038427
mov ecx, dword [esp + 0x30]
mov dword [eax + 0x30], ecx
mov edx, dword [esp + 0x48]
mov dword [eax + 0x34], edx
add esi, ecx
adc ebx, edx
mov ecx, dword [eax + 0x48]
test ecx, ecx
je 0x100384f0
mov eax, ecx
test ecx, ecx
je 0x100386c9
mov ecx, dword [esp + 0xc]
cmp dword [eax + 0x20], ecx
jne 0x10038412
mov dword [esp + 0x1c], esi
mov edx, dword [eax + 8]
mov esi, dword [eax + 0xc]
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x28], ecx
mov edi, esi
mov ecx, ebx
mov ebx, 0x80000000
xor edi, ebx
mov ebx, ecx
or edi, edx
mov edi, dword [eax + 0x10]
je 0x10038463
xor edx, edi
xor esi, dword [esp + 0x28]
or esi, edx
jne 0x100386d9
mov edx, dword [esp + 0x28]
mov esi, 0x80000000
xor edx, esi
or edx, edi
je 0x100384a6
mov edx, edi
mov ecx, 0xffffffff
xor edx, ecx
mov esi, dword [esp + 0x28]
mov ecx, 0x7ffeffff
xor esi, ecx
or esi, edx
je 0x100384a6
mov edx, dword [esp + 0x10]
xor edi, dword [edx + 0xc0]
mov ecx, dword [esp + 0x28]
xor ecx, dword [edx + 0xc4]
or ecx, edi
jne 0x100386d9
mov ecx, dword [eax + 0x30]
or ecx, dword [eax + 0x34]
jne 0x100386d9
mov esi, dword [esp + 0x1c]
mov dword [eax + 0x10], esi
mov dword [eax + 0x14], ebx
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 0x2b8]
mov ecx, dword [ecx + 0xc]
cmp dword [ecx + 0x8c], 0
jne 0x10038400
mov dword [eax + 8], esi
mov dword [eax + 0xc], ebx
jmp 0x10038400
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + 0x50c]
cmp dword [ecx + 8], eax
jne 0x100386c9
mov ecx, dword [ecx + 0x20]
jmp 0x1003841d
mov dword [esp + 0x4c], esi
mov dword [esp + 0x38], edi
cmp dword [ebx + 0x1fc], 0
jne 0x100386d9
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x1fc], 1
test eax, eax
mov ebx, dword [esp + 0x38]
mov edi, edx
je 0x100385d4
mov esi, edi
mov edx, ebx
mov dword [esp + 0x34], edi
jmp 0x10038575
mov esi, dword [esp + 0x1c]
sub esi, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
sbb edx, dword [esp + 0x48]
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov ecx, dword [eax + 0x48]
test ecx, ecx
je 0x100385c0
mov eax, ecx
test ecx, ecx
je 0x100385d4
mov ecx, dword [esp + 0xc]
cmp dword [eax + 0x20], ecx
jne 0x10038568
mov dword [esp + 0x1c], esi
mov dword [esp + 0x28], edx
mov esi, dword [eax + 8]
mov edi, dword [eax + 0xc]
mov ebx, dword [eax + 0x14]
mov dword [esp + 0x50], edi
mov edx, 0x80000000
xor edi, edx
mov dword [esp + 0x54], esi
or esi, edi
mov esi, dword [eax + 0x10]
jne 0x10038619
mov ecx, ebx
xor ecx, edx
or ecx, esi
jne 0x10038619
mov ecx, dword [eax + 0x30]
or ecx, dword [eax + 0x34]
je 0x10038550
jmp 0x10038683
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + 0x50c]
cmp dword [ecx + 8], eax
jne 0x100385d4
mov ecx, dword [ecx + 0x20]
jmp 0x1003856f
xorps xmm0, xmm0
movaps xmmword [esp + 0x170], xmm0
movaps xmmword [esp + 0x160], xmm0
lea esi, [esp + 0x160]
push ebx
push edi
push str._lld
push 0x20
push esi
call fcn.10008170
add esp, 0x14
push esi
push str.first_dts__s_but_no_packet_with_dts_in_the_queue_n
push 0x30
push dword [esp + 0x24]
call fcn.1006fc50
add esp, 0x10
jmp 0x100386d9
xor esi, dword [esp + 0x34]
xor ebx, dword [esp + 0x38]
or ebx, esi
mov esi, dword [esp + 0x10]
je 0x10038695
lea ecx, [eax + 0x10]
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x54]
or edi, edx
mov ecx, dword [eax + 0x30]
mov ebx, dword [eax + 0x34]
xorps xmm0, xmm0
movaps xmmword [esp + 0x170], xmm0
movaps xmmword [esp + 0x160], xmm0
mov dword [esp + 0xc], ecx
je 0x10038ea3
lea eax, [esp + 0x160]
push dword [esp + 0x50]
push edx
push str._lld
push 0x20
push eax
call fcn.10008170
mov ecx, dword [esp + 0x30]
add esp, 0x14
mov edi, 0x80000000
jmp 0x10038ec3
mov ecx, dword [esp + 0x4c]
or dword [esp + 0x34], ecx
mov esi, dword [esp + 0x10]
jne 0x10038e7f
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x50c]
mov eax, dword [ecx + 4]
test eax, eax
jne 0x100386a9
mov eax, dword [ecx + 0x20]
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0xc0], ecx
mov ebx, dword [esp + 0x28]
mov dword [esi + 0xc4], ebx
test eax, eax
jne 0x100383eb
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
mov dword [eax + 0xc8], esi
mov dword [eax + 0xcc], ebx
mov ebx, dword [esp + 0x10]
mov edi, 0x80000000
cmp dword [ebp + 8], 0
je 0x10038774
cmp dword [ebx + 0xe4], 3
jne 0x10038774
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x10038774
mov ecx, eax
sar ecx, 0x1f
push ecx
push eax
mov ebx, dword [ebp + 0xc]
push dword [ebx + 0x34]
push dword [ebx + 0x30]
mov eax, dword [ebp + 8]
push dword [eax + 0xbc]
push dword [eax + 0xb8]
call fcn.10070510
add esp, 0x18
mov dword [esp + 0xc], edx
mov ecx, dword [ebx + 8]
mov esi, dword [ebx + 0xc]
mov edx, 0x80000000
mov edi, esi
xor edi, edx
or edi, ecx
je 0x10038749
add ecx, eax
adc esi, dword [esp + 0xc]
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], esi
mov ecx, dword [ebx + 0x10]
mov esi, dword [ebx + 0x14]
mov edi, esi
mov edx, 0x80000000
xor edi, edx
or edi, ecx
mov edi, 0x80000000
mov ebx, dword [esp + 0x10]
je 0x10038774
add ecx, eax
adc esi, dword [esp + 0xc]
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], esi
mov esi, dword [ebp + 0xc]
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0x14]
mov edx, eax
xor edx, edi
or edx, ecx
je 0x1003879b
cmp ecx, dword [esi + 8]
sbb eax, dword [esi + 0xc]
mov eax, 1
mov ecx, dword [esp + 0x2c]
cmovl ecx, eax
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 8]
test byte [eax + 0x4a8], 1
je 0x10038928
mov eax, dword [esi + 0x34]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x20]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0xc8]
mov ecx, dword [ebx + 0xcc]
mov edx, ecx
mov edi, 0x80000000
xor edx, edi
or edx, eax
mov edi, dword [esi + 0x30]
xorps xmm0, xmm0
movaps xmmword [esp + 0x110], xmm0
movaps xmmword [esp + 0x100], xmm0
jne 0x10038805
lea eax, [esp + 0x100]
push str.NOPTS
push 0x20
push eax
call fcn.10008170
add esp, 0xc
jmp 0x1003881e
lea edx, [esp + 0x100]
push ecx
push eax
push str._lld
push 0x20
push edx
call fcn.10008170
add esp, 0x14
mov al, byte [esp + 0x17]
mov cl, byte [esp + 0x27]
and al, cl
mov byte [esp + 0x17], al
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov edx, ecx
mov ebx, 0x80000000
xor edx, ebx
or edx, eax
xorps xmm0, xmm0
movaps xmmword [esp + 0xf0], xmm0
movaps xmmword [esp + 0xe0], xmm0
jne 0x1003886b
lea eax, [esp + 0xe0]
push str.NOPTS
push 0x20
push eax
call fcn.10008170
add esp, 0xc
jmp 0x10038884
lea edx, [esp + 0xe0]
push ecx
push eax
push str._lld
push 0x20
push edx
call fcn.10008170
add esp, 0x14
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov edx, ecx
mov ebx, 0x80000000
xor edx, ebx
or edx, eax
movzx ebx, byte [esp + 0x17]
xorps xmm0, xmm0
movaps xmmword [esp + 0xd0], xmm0
movaps xmmword [esp + 0xc0], xmm0
jne 0x100388c8
lea eax, [esp + 0xc0]
push str.NOPTS
push 0x20
push eax
call fcn.10008170
add esp, 0xc
jmp 0x100388e1
lea edx, [esp + 0xc0]
push ecx
push eax
push str._lld
push 0x20
push edx
call fcn.10008170
add esp, 0x14
lea eax, [esp + 0x100]
lea ecx, [esp + 0xe0]
lea edx, [esp + 0xc0]
push ebx
push dword [esp + 0x24]
push dword [esp + 0x24]
push edi
mov edi, dword [ebp + 8]
push edi
push dword [esp + 0x20]
push eax
push ecx
push edx
push dword [esp + 0x50]
push str.IN_delayed:_d_pts:_s__dts:_s_cur_dts:_s_st:_d_pc:_p_duration:_lld_delay:_d_onein_oneout:_d_n
push 0x30
push dword [esp + 0x48]
call fcn.1006fc50
mov ecx, edi
add esp, 0x34
mov ebx, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
cmp edx, 1
sete al
test ecx, ecx
setne cl
test edx, edx
je 0x10038943
and cl, al
je 0x10038b96
cmp dword [esp + 0x40], 0x1b
je 0x10038b96
cmp dword [esp + 0x40], 0xad
je 0x10038b96
cmp dword [esp + 0x2c], 0
je 0x10038ae4
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x14]
mov ecx, edi
mov edx, 0x80000000
xor ecx, edx
or ecx, eax
jne 0x1003898c
mov eax, dword [ebx + 0xd0]
mov edi, dword [ebx + 0xd4]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edi
mov edx, dword [esi + 0x20]
mov ecx, dword [esp + 0x18]
push esi
push dword [esi + 0xc]
push dword [esi + 8]
push edi
push eax
call fcn.10038fb0
add esp, 0x14
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov eax, ecx
mov edi, 0x80000000
xor eax, edi
or eax, edx
jne 0x100389c9
mov edx, dword [ebx + 0xc8]
mov ecx, dword [ebx + 0xcc]
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], ecx
mov eax, 0x80000000
mov edi, dword [ebx + 0xd8]
test edi, edi
jne 0x100389fc
mov ebx, dword [esi + 0x30]
mov esi, dword [esi + 0x34]
xor edi, edi
cmp ebx, eax
sbb esi, 0
jae 0x100389fc
mov eax, dword [esp + 0x10]
mov dword [eax + 0xd8], ebx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x10]
mov edi, ebx
mov esi, ecx
mov eax, 0x80000000
xor esi, eax
or esi, edx
je 0x10038ab3
mov esi, edi
sar esi, 0x1f
xor ebx, ebx
add ebx, 0xffffffff
mov ebx, 0x80000000
adc ebx, 0xffffffff
add edx, edi
adc ecx, esi
seto al
test ecx, ecx
mov esi, 0x80000000
cmovns ebx, esi
test al, al
cmove ebx, ecx
sar ecx, 0x1f
test al, al
cmove ecx, edx
mov eax, dword [esp + 0x10]
mov dword [eax + 0xcc], ebx
mov dword [eax + 0xc8], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x14]
xor eax, esi
or eax, dword [edx + 0x10]
je 0x10038ab3
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
mov esi, 0x80000000
xor eax, esi
or eax, dword [edx + 8]
jne 0x10038ab3
test edi, edi
jle 0x10038ab3
mov edx, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
sub ecx, edi
sbb ebx, edx
add ecx, 1
adc ebx, 0
xor eax, eax
mov esi, 2
cmp esi, ecx
sbb eax, ebx
jb 0x10038ab3
mov ecx, dword [ebp + 0x1c]
mov esi, dword [ebp + 0x18]
mov eax, edi
xor eax, esi
mov ebx, edx
xor ebx, ecx
or ebx, eax
je 0x10038ab3
mov eax, 0x80000000
xor ecx, eax
or esi, ecx
je 0x10038ab3
mov eax, dword [ebp + 0xc]
mov dword [eax + 8], edi
mov dword [eax + 0xc], edx
mov esi, dword [ebp + 0xc]
mov ecx, dword [esi + 0x30]
mov eax, dword [esi + 0x34]
mov edx, 0x80000000
cmp ecx, edx
sbb eax, 0
mov ebx, dword [esp + 0x10]
jae 0x10038ad2
mov dword [ebx + 0xd8], ecx
movsd xmm0, qword [esi + 8]
movsd qword [ebx + 0xd0], xmm0
jmp 0x10038b96
mov eax, dword [esi + 8]
mov edi, dword [esi + 0xc]
mov ecx, edi
mov edx, 0x80000000
xor ecx, edx
or ecx, eax
jne 0x10038b1b
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x14]
mov ecx, edi
xor ecx, edx
or ecx, eax
jne 0x10038b15
mov ecx, dword [esi + 0x34]
cmp dword [esi + 0x30], 1
sbb ecx, 0
jl 0x10038b96
mov dword [esi + 8], eax
mov dword [esi + 0xc], edi
mov edx, dword [esi + 0x20]
mov ecx, dword [esp + 0x18]
push esi
push edi
push eax
push edi
push eax
call fcn.10038fb0
add esp, 0x14
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov edx, ecx
mov edi, 0x80000000
xor edx, edi
or edx, eax
jne 0x10038b54
mov eax, dword [ebx + 0xc8]
mov ecx, dword [ebx + 0xcc]
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
cmp dword [esp + 0x3c], 0
js 0x10038b96
mov edx, ecx
mov edi, 0x80000000
xor edx, edi
or edx, eax
je 0x10038b96
push 0
push 1
push dword [esp + 0x4c]
push dword [esp + 0x48]
push ecx
push eax
push dword [ebx + 0x14]
push dword [ebx + 0x10]
call fcn.10070710
add esp, 0x20
mov dword [ebx + 0xcc], edx
mov dword [ebx + 0xc8], eax
cmp dword [esp + 0x20], 0x10
jg 0x10038c64
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov edx, ecx
mov edi, 0x80000000
xor edx, edi
or edx, eax
je 0x10038c64
mov dword [ebx + 0x100], eax
mov dword [ebx + 0x104], ecx
cmp dword [esp + 0x20], 0
jle 0x10038c0f
xor edx, edx
nop dword [eax]
mov esi, dword [ebx + edx*8 + 0x108]
mov edi, dword [ebx + edx*8 + 0x10c]
cmp esi, eax
mov ebx, edi
sbb ebx, ecx
mov ebx, dword [esp + 0x10]
jge 0x10038c0f
mov dword [ebx + edx*8 + 0x108], eax
mov dword [ebx + edx*8 + 0x10c], ecx
mov dword [ebx + edx*8 + 0x100], esi
mov dword [ebx + edx*8 + 0x104], edi
add edx, 1
cmp dword [esp + 0x20], edx
jne 0x10038bd0
mov eax, dword [ebx + 0xb0]
cmp dword [eax + 4], 0x1b
mov esi, dword [ebp + 0xc]
jne 0x10038c48
cmp dword [ebx + 0xb4], 0
je 0x10038c48
mov eax, dword [ebx + 0x2b8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x8c]
cmp eax, 2
jg 0x10038e58
cmp dword [ebx + 0x1e0], 6
jle 0x10038c64
lea edx, [ebx + 0x100]
mov ecx, ebx
push dword [esi + 0x14]
push dword [esi + 0x10]
call fcn.100392e0
add esp, 8
mov dword [esi + 0x14], edx
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x40]
cmp eax, 0xad
je 0x10038c74
cmp eax, 0x1b
jne 0x10038c90
mov edx, dword [esi + 0x20]
mov ecx, dword [esp + 0x18]
push esi
push dword [esi + 0xc]
push dword [esi + 8]
push dword [esi + 0x14]
push dword [esi + 0x10]
call fcn.10038fb0
add esp, 0x14
mov edx, dword [esi + 0x10]
mov esi, dword [esi + 0x14]
mov eax, dword [ebx + 0xc8]
mov ecx, dword [ebx + 0xcc]
cmp eax, edx
mov edi, ecx
sbb edi, esi
jge 0x10038cba
mov dword [ebx + 0xc8], edx
mov dword [ebx + 0xcc], esi
mov eax, edx
mov ecx, esi
mov edx, dword [esp + 0x18]
test byte [edx + 0x4a8], 1
mov esi, dword [ebp + 0xc]
je 0x10038e04
mov edx, dword [ebx]
mov dword [esp + 0xc], edx
mov edx, ecx
mov edi, 0x80000000
xor edx, edi
or edx, eax
mov ebx, dword [ebx + 4]
xorps xmm0, xmm0
movaps xmmword [esp + 0xb0], xmm0
movaps xmmword [esp + 0xa0], xmm0
jne 0x10038d10
lea eax, [esp + 0xa0]
push str.NOPTS
push 0x20
push eax
call fcn.10008170
add esp, 0xc
jmp 0x10038d29
lea edx, [esp + 0xa0]
push ecx
push eax
push str._lld
push 0x20
push edx
call fcn.10008170
add esp, 0x14
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
xorps xmm0, xmm0
movaps xmmword [esp + 0x90], xmm0
movaps xmmword [esp + 0x80], xmm0
mov edx, ecx
mov edi, 0x80000000
xor edx, edi
or edx, eax
jne 0x10038d68
lea eax, [esp + 0x80]
push str.NOPTS
push 0x20
push eax
call fcn.10008170
add esp, 0xc
jmp 0x10038d81
lea edx, [esp + 0x80]
push ecx
push eax
push str._lld
push 0x20
push edx
call fcn.10008170
add esp, 0x14
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
xorps xmm0, xmm0
movaps xmmword [esp + 0x70], xmm0
movaps xmmword [esp + 0x60], xmm0
mov edx, 0x80000000
xor edx, ecx
or edx, eax
jne 0x10038db5
lea eax, [esp + 0x60]
push str.NOPTS
push 0x20
push eax
call fcn.10008170
add esp, 0xc
jmp 0x10038dcb
lea edx, [esp + 0x60]
push ecx
push eax
push str._lld
push 0x20
push edx
call fcn.10008170
add esp, 0x14
lea eax, [esp + 0xa0]
lea ecx, [esp + 0x80]
lea edx, [esp + 0x60]
push ebx
push dword [esp + 0x10]
push eax
push ecx
push edx
push dword [esp + 0x34]
push dword [esp + 0x44]
push str.OUTdelayed:_d__d_pts:_s__dts:_s_cur_dts:_s_st:_d___d__n
push 0x30
push dword [esp + 0x3c]
call fcn.1006fc50
add esp, 0x28
mov ebx, dword [esp + 0x10]
mov eax, dword [ebx + 0xb0]
cmp dword [eax], 2
je 0x10038e2a
push dword [eax + 4]
call sym.ffmpeg.dll_avcodec_descriptor_get
add esp, 4
test eax, eax
je 0x10038e2e
cmp dword [eax + 4], 1
ja 0x10038e2a
test byte [eax + 0x10], 1
je 0x10038e2e
or byte [esi + 0x24], 1
mov eax, dword [ebp + 8]
test eax, eax
je 0x10038e42
movsd xmm0, qword [eax + 0xe8]
movsd qword [esi + 0x40], xmm0
mov ecx, dword [esp + 0x188]
xor ecx, ebp
call fcn.10102288
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [ebx + 0x1e0]
cmp eax, 3
jne 0x10038e71
cmp ecx, 0x11
jg 0x10038c48
jmp 0x10038c64
cmp ecx, 0x14
jge 0x10038c48
jmp 0x10038c64
lea ecx, [eax + 0x10]
mov dword [esp + 0x1c], ecx
mov ecx, dword [eax + 0x30]
mov dword [esp + 0xc], ecx
mov ebx, dword [eax + 0x34]
xorps xmm0, xmm0
movaps xmmword [esp + 0x170], xmm0
movaps xmmword [esp + 0x160], xmm0
lea eax, [esp + 0x160]
push str.NOPTS
push 0x20
push eax
call fcn.10008170
add esp, 0xc
mov edi, 0x80000000
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
xorps xmm0, xmm0
movaps xmmword [esp + 0x150], xmm0
movaps xmmword [esp + 0x140], xmm0
mov edx, ecx
xor edx, edi
or edx, eax
jne 0x10038efc
lea eax, [esp + 0x140]
push str.NOPTS
push 0x20
push eax
call fcn.10008170
add esp, 0xc
jmp 0x10038f15
lea edx, [esp + 0x140]
push ecx
push eax
push str._lld
push 0x20
push edx
call fcn.10008170
add esp, 0x14
mov eax, dword [esi + 0xc0]
mov ecx, dword [esi + 0xc4]
xorps xmm0, xmm0
movaps xmmword [esp + 0x130], xmm0
movaps xmmword [esp + 0x120], xmm0
mov edx, ecx
xor edx, edi
or edx, eax
jne 0x10038f55
lea eax, [esp + 0x120]
push str.NOPTS
push 0x20
push eax
call fcn.10008170
add esp, 0xc
jmp 0x10038f6e
lea edx, [esp + 0x120]
push ecx
push eax
push str._lld
push 0x20
push edx
call fcn.10008170
add esp, 0x14
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x160]
lea ecx, [esp + 0x140]
lea edx, [esp + 0x120]
push ebx
push esi
push eax
push ecx
push edx
push str.first_dts__s_not_matching_first_dts__s__pts__s__duration__lld__in_the_queue_n
push 0x30
push dword [esp + 0x34]
call fcn.1006fc50
add esp, 0x20
jmp 0x100386d9