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

Disassembly:
push ebp
push edi
push esi
push ebx
mov esi, eax
sub esp, 0x8c
mov ecx, dword [edx + 0xf8]
mov eax, dword [eax + 0x1c]
test ecx, ecx
mov dword [esp + 0x30], eax
jne 0x4a02fb
mov eax, dword [esi + 0xc]
mov edi, edx
mov eax, dword [eax + 0x6c]
test eax, eax
je 0x49f692
mov dword [esp + 4], edx
mov dword [esp], esi
call eax
cmp eax, 0xdfb9b0bb
mov ebp, eax
je 0x49f670
test eax, eax
jne 0x49f474
mov eax, dword [edi + 0x190]
test eax, eax
je 0x49f490
cmp dword [eax + 8], 0x14
je 0x49f454
mov edx, dword [esi + 0xc]
test byte [edx + 0x10], 2
jne 0x49f49d
mov eax, dword [eax + 4]
mov eax, dword [eax]
test eax, eax
je 0x49fed1
mov dword [esp + 4], edi
mov dword [esp], esi
call eax
test eax, eax
mov ebp, eax
js 0x49f685
lea eax, [edi + 0x190]
mov dword [esp], eax
call fcn.0055af00
add esp, 0x8c
mov eax, ebp
pop ebx
pop esi
pop edi
pop ebp
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0x10]
and eax, 2
mov ebp, eax
je 0x49f474
mov dword [esp + 0x14], 0x290
mov dword [esp + 0x10], str.libavcodec_decode.c
mov dword [esp + 0xc], str._frame__private_ref__frame__private_ref__size__sizeof_FrameDecodeData______avctx__codec__capabilities___1____1__
jmp 0x4a0313
mov ebp, dword [eax + 0x40]
test ebp, ebp
je 0x49fe70
mov eax, dword [eax + 0x50]
test eax, eax
jne 0x49f670
mov eax, dword [esi + 0x2b8]
and eax, 1
mov edx, dword [esi + 0xc]
test byte [edx + 0x10], 0x20
jne 0x49f6be
test eax, eax
je 0x49f670
mov dword [esp + 0x78], 0
lea eax, [esp + 0x78]
mov dword [esp + 0xc], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
mov dword [esp + 8], eax
call fcn.004d54f0
mov ebp, eax
lea esi, [esi]
lea edi, [edi]
call fcn.0055c170
test al, 1
je 0x49f52b
emms
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x78]
mov eax, dword [eax + 8]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], ecx
test eax, eax
jne 0x49f7f0
test byte [edi + 0x128], 4
je 0x49fbd0
mov dword [esp + 0x78], 0
mov dword [esp + 0x34], 0
mov eax, dword [esp + 0x34]
test eax, eax
je 0x49fbc0
test ebp, ebp
js 0x49f585
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 8]
test eax, eax
jne 0x49f585
test byte [esi + 0x3e], 1
jne 0x49f585
mov ebp, dword [ebx + 0x1c]
mov eax, dword [esi + 0x2f8]
test eax, eax
jle 0x49f5c6
mov eax, dword [esi + 0x2fc]
test eax, eax
jle 0x49f5c6
mov eax, dword [esi + 0x54]
mov edx, dword [esi + 0x2fc]
mov dword [esp + 0xc], 1
mov dword [esp + 8], eax
mov eax, dword [esi + 0x2f8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0057b690
mov dword [esi + 0x4c], edx
mov dword [esi + 0x50], eax
mov eax, dword [esi + 0x1c]
mov eax, dword [eax + 0x40]
test eax, eax
je 0x49f5dc
mov eax, dword [esp + 0x38]
test eax, eax
je 0x49fd40
mov eax, dword [esp + 0x2c]
add dword [eax + 0x5c], ebp
test ebp, ebp
mov eax, dword [ebx + 0x1c]
js 0x49f7b0
cmp ebp, eax
jge 0x49f7b0
sub eax, ebp
mov ecx, dword [esp + 0x78]
mov dword [ebx + 0x1c], eax
mov eax, dword [esp + 0x2c]
add dword [ebx + 0x18], ebp
mov eax, dword [eax + 0x28]
sub dword [eax + 0x1c], ebp
test ecx, ecx
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0x80000000
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0x80000000
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0x80000000
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0x80000000
je 0x49f7c4
mov edx, dword [edi + 0xf8]
test edx, edx
je 0x4a0334
test ebp, ebp
jns 0x49f43b
cmp ebp, 0xdfb9b0bb
jne 0x49f474
nop
mov eax, dword [esp + 0x30]
mov ebp, 0xdfb9b0bb
mov dword [eax + 0x50], 1
jmp 0x49f474
mov dword [esp], edi
call fcn.00562860
jmp 0x49f482
mov eax, dword [esp + 0x30]
mov dword [esp + 0x2c], eax
lea esi, [esi]
mov ebx, dword [eax + 0x18]
mov edx, dword [ebx + 0x18]
test edx, edx
je 0x49f4c0
mov eax, dword [eax + 0x50]
test eax, eax
jne 0x49f670
mov eax, dword [esi + 0x2b8]
and eax, 1
test eax, eax
mov dword [esp + 0x78], 0
jne 0x49f4fc
mov eax, dword [esi + 0xc]
lea edx, [esp + 0x78]
mov dword [esp + 0xc], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
mov dword [esp + 8], edx
call dword [eax + 0x5c]
mov ecx, dword [esi + 0xc]
mov ebp, eax
test byte [ecx + 0x74], 4
jne 0x49f6fe
mov eax, dword [ebx + 0x10]
mov edx, dword [ebx + 0x14]
mov dword [edi + 0x78], eax
mov dword [edi + 0x7c], edx
mov eax, dword [ecx + 8]
test eax, eax
jne 0x49f520
mov eax, dword [esi + 0x8c]
test eax, eax
jne 0x49f725
mov eax, dword [ebx + 0x38]
mov edx, dword [ebx + 0x3c]
mov dword [edi + 0x148], eax
mov dword [edi + 0x14c], edx
test byte [ecx + 0x10], 2
jne 0x49f520
mov eax, dword [edi + 0x5c]
test eax, eax
jne 0x49f748
mov eax, dword [esi + 0xbc]
mov edx, dword [esi + 0xc0]
mov dword [edi + 0x5c], eax
mov dword [edi + 0x60], edx
mov eax, dword [edi + 0x44]
test eax, eax
jne 0x49f755
mov eax, dword [esi + 0x5c]
mov dword [edi + 0x44], eax
mov eax, dword [edi + 0x48]
test eax, eax
je 0x49fd70
cmp dword [edi + 0x50], 0xffffffff
jne 0x49f520
mov eax, dword [esi + 0x70]
mov dword [edi + 0x50], eax
jmp 0x49f520
test byte [esi + 0x2b8], 1
mov dword [esp + 0x34], 0x15
je 0x49f793
mov eax, dword [esi + 0x2b0]
add eax, 0x14
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x2c]
mov edx, dword [eax + 0x70]
cmp edx, dword [esp + 0x34]
lea ecx, [edx + 1]
mov dword [eax + 0x70], ecx
jge 0x49ff80
add dword [eax + 0x5c], ebp
lea esi, [esi]
mov dword [esp], ebx
call fcn.00498ad0
mov ecx, dword [esp + 0x78]
test ecx, ecx
jne 0x49f64c
test ebp, ebp
js 0x49f662
mov eax, dword [edi + 0xf8]
test eax, eax
jne 0x49f43b
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x2c], eax
jmp 0x49f6a0
cmp eax, 1
jne 0x49f562
test ebp, ebp
js 0x49f9b0
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x49f9b0
mov eax, dword [edi + 0x7c]
mov edx, dword [edi + 0x68]
mov ecx, dword [edi + 0x78]
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0x6c]
mov dword [esp + 0x3c], edx
mov edx, dword [esi + 0x31c]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x318]
mov dword [esp + 0x5c], edx
mov edx, dword [esi + 0x314]
mov dword [esp + 0x58], eax
mov eax, dword [esi + 0x310]
mov dword [esp + 0x54], edx
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x40]
add eax, 0x80000000
or eax, ecx
je 0x4a01dd
xor edx, edx
mov ecx, dword [esp + 0x40]
cmp ecx, dword [esi + 0x32c]
mov eax, 1
jl 0x49f887
jg 0x49f883
mov ecx, dword [esp + 0x48]
cmp ecx, dword [esi + 0x328]
jbe 0x49f887
xor eax, eax
xor edx, edx
add eax, dword [esp + 0x58]
adc edx, dword [esp + 0x5c]
mov dword [esp + 0x58], eax
mov dword [esi + 0x318], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x5c], edx
mov dword [esi + 0x31c], edx
mov dword [esi + 0x328], eax
mov eax, dword [esp + 0x40]
mov dword [esi + 0x32c], eax
mov eax, dword [esp + 0x34]
add eax, 0x80000000
or eax, dword [esp + 0x3c]
je 0x4a028a
xor edx, edx
mov ecx, dword [esp + 0x34]
cmp ecx, dword [esi + 0x324]
mov eax, 1
jl 0x49f8ef
jg 0x49f8eb
mov ecx, dword [esp + 0x3c]
cmp ecx, dword [esi + 0x320]
jbe 0x49f8ef
xor eax, eax
xor edx, edx
add eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x3c]
adc edx, dword [esp + 0x54]
cmp dword [esp + 0x5c], edx
mov dword [esi + 0x320], ecx
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x310], eax
mov dword [esi + 0x314], edx
mov dword [esi + 0x324], ecx
jg 0x49f935
jl 0x49f925
cmp dword [esp + 0x58], eax
jae 0x49f935
mov eax, dword [esp + 0x48]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x3c]
cmp dword [edi + 0x50], 0xffffffff
mov dword [edi + 0x140], eax
mov eax, dword [esp + 0x34]
mov dword [edi + 0x144], eax
jne 0x49f958
mov eax, dword [esi + 0x160]
mov dword [edi + 0x50], eax
mov eax, dword [edi + 0xf4]
or eax, dword [edi + 0xf0]
jne 0x49f97e
mov eax, dword [esi + 0x178]
mov edx, dword [esi + 0x17c]
mov dword [edi + 0xf0], eax
mov dword [edi + 0xf4], edx
mov edx, dword [edi + 0x160]
test edx, edx
jne 0x49f994
mov eax, dword [esi + 0x15c]
mov dword [edi + 0x160], eax
mov eax, dword [edi + 0xe8]
test eax, eax
jne 0x49f9b0
mov eax, dword [esi + 0x158]
mov dword [edi + 0xe8], eax
lea esi, [esi]
lea eax, [esp + 0x7c]
mov dword [esp + 4], 0xb
mov dword [esp + 8], eax
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x28]
mov dword [esp], eax
call fcn.004981c0
test eax, eax
mov ecx, dword [esi + 0x1c]
je 0x49fa30
cmp dword [esp + 0x7c], 9
jle 0x49fa30
mov edx, dword [eax]
mov dword [esp + 0x3c], eax
imul edx, dword [ecx + 0x6c]
mov dword [ecx + 0x38], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0xc], edx
mov dword [esp + 8], str.skip__d___discard__d_samples_due_to_side_data_n
mov dword [esp + 4], 0x30
mov dword [esp], esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x34], ecx
call fcn.0056b9c0
mov eax, dword [esp + 0x3c]
movzx ecx, byte [eax + 8]
movzx eax, byte [eax + 9]
mov byte [esp + 0x3c], cl
mov byte [esp + 0x40], al
mov ecx, dword [esi + 0x1c]
jmp 0x49fa42
mov byte [esp + 0x40], 0
mov byte [esp + 0x3c], 0
mov dword [esp + 0x34], 0
mov edx, dword [esi + 0x40]
mov eax, dword [ecx + 0x38]
and edx, 0x20000000
test byte [edi + 0x128], 4
je 0x49fd80
cmp dword [esp + 0x78], 0
je 0x49fa80
test edx, edx
jne 0x49fed8
sub eax, dword [edi + 0x4c]
mov dword [esp + 0x78], 0
cmovs eax, edx
mov dword [ecx + 0x38], eax
nop
lea esi, [esi]
mov eax, dword [esp + 0x34]
test eax, eax
je 0x49fb60
mov ecx, dword [edi + 0x4c]
cmp dword [esp + 0x34], ecx
ja 0x49fb60
mov eax, dword [esp + 0x78]
test eax, eax
je 0x49fb68
test edx, edx
jne 0x49ff00
cmp dword [esp + 0x34], ecx
je 0x4a02ee
mov eax, dword [esi + 0x304]
test eax, eax
je 0x4a02a3
mov eax, dword [esi + 0x158]
test eax, eax
mov dword [esp + 0x48], eax
je 0x4a02a3
mov eax, dword [esi + 0x304]
mov edx, dword [esi + 0x308]
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x14], edx
mov dword [esp + 0x48], ecx
mov dword [esp + 0xc], eax
mov eax, ecx
sub eax, dword [esp + 0x34]
mov dword [esp], eax
call fcn.0056cac0
mov ecx, dword [esp + 0x48]
mov dword [edi + 0x150], eax
mov dword [edi + 0x154], edx
mov eax, dword [esp + 0x34]
mov dword [esp + 0x10], ecx
mov dword [esp + 8], str.discard__d__d_samples_n
mov dword [esp + 4], 0x30
mov dword [esp], esi
mov dword [esp + 0xc], eax
call fcn.0056b9c0
mov eax, dword [esp + 0x34]
mov edx, dword [esi + 0x40]
sub dword [edi + 0x4c], eax
and edx, 0x20000000
lea esi, [esi]
test edx, edx
jne 0x49fef0
mov eax, dword [esi + 0xc]
cmp dword [eax + 8], 1
jne 0x49fb7c
mov edx, dword [esp + 0x2c]
mov edx, dword [edx + 0x68]
test edx, edx
je 0x49fb90
mov eax, dword [esp + 0x78]
mov dword [esp + 0x34], eax
jmp 0x49f562
test ebp, ebp
js 0x49fec0
cmp ebp, dword [ebx + 0x1c]
je 0x49fec0
test byte [eax + 0x11], 1
je 0x49fff0
mov eax, dword [esp + 0x78]
test eax, eax
jne 0x49f572
mov esi, esi
lea edi, [edi]
mov dword [esp], edi
call fcn.00562860
jmp 0x49f56e
mov eax, dword [esp + 0x38]
test eax, eax
je 0x49fbc0
mov eax, dword [edi + 0x7c]
mov edx, dword [edi + 0x78]
mov ecx, eax
mov dword [esp + 0x50], eax
mov eax, dword [edi + 0x68]
mov dword [esp + 0x48], edx
mov edx, dword [esi + 0x31c]
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0x6c]
mov dword [esp + 0x64], edx
mov edx, dword [esi + 0x314]
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x318]
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x60], eax
mov eax, dword [esi + 0x310]
mov dword [esp + 0x58], eax
mov eax, ecx
add eax, 0x80000000
or eax, edx
je 0x49fde0
cmp ecx, dword [esi + 0x32c]
mov dword [esp + 0x68], 1
mov dword [esp + 0x6c], 0
jl 0x49fc63
jg 0x49fc53
cmp edx, dword [esi + 0x328]
jbe 0x49fc63
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov eax, dword [esp + 0x68]
add eax, dword [esp + 0x60]
mov edx, dword [esp + 0x6c]
adc edx, dword [esp + 0x64]
mov dword [esp + 0x60], eax
mov dword [esi + 0x318], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x64], edx
mov dword [esi + 0x31c], edx
mov dword [esi + 0x328], eax
mov eax, dword [esp + 0x50]
mov dword [esi + 0x32c], eax
mov eax, dword [esp + 0x3c]
add eax, 0x80000000
or eax, dword [esp + 0x40]
je 0x49ff60
xor ecx, ecx
mov eax, dword [esp + 0x3c]
cmp eax, dword [esi + 0x324]
mov edx, 1
jl 0x49fcd3
jg 0x49fccf
mov eax, dword [esp + 0x40]
cmp eax, dword [esi + 0x320]
jbe 0x49fcd3
xor edx, edx
xor ecx, ecx
add edx, dword [esp + 0x58]
mov eax, dword [esp + 0x40]
adc ecx, dword [esp + 0x5c]
cmp dword [esp + 0x64], ecx
mov dword [esi + 0x320], eax
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x310], edx
mov dword [esi + 0x314], ecx
mov dword [esi + 0x324], eax
jg 0x49fd20
jl 0x49fd10
cmp dword [esp + 0x60], edx
jae 0x49fd20
lea esi, [esi]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x40]
mov dword [edi + 0x140], eax
mov eax, dword [esp + 0x3c]
mov dword [edi + 0x144], eax
jmp 0x49f562
test ebp, ebp
js 0x49f775
mov eax, dword [esp + 0x2c]
add dword [eax + 0x5c], ebp
mov dword [eax + 0x50], 1
mov eax, dword [ebx + 0x1c]
cmp ebp, eax
jl 0x49f5f6
jmp 0x49f7b0
mov eax, dword [esi + 0x60]
mov dword [edi + 0x48], eax
jmp 0x49f760
test eax, eax
jle 0x49fa80
cmp dword [esp + 0x78], 0
je 0x49fa80
test edx, edx
jne 0x49ffd2
mov edx, dword [edi + 0x4c]
cmp edx, eax
jg 0x4a0043
sub eax, edx
mov dword [esp + 0x78], 0
mov dword [ecx + 0x38], eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], str.skip_whole_frame__skip_left:__d_n
mov dword [esp + 4], 0x30
mov dword [esp], esi
call fcn.0056b9c0
mov edx, dword [esi + 0x40]
and edx, 0x20000000
jmp 0x49fa80
mov ecx, dword [esp + 0x3c]
lea eax, [ecx - 0x80000000]
mov edx, eax
mov eax, dword [esp + 0x40]
or edx, eax
je 0x4a0018
cmp ecx, dword [esi + 0x324]
mov dword [esi + 0x328], eax
mov dword [esi + 0x32c], ecx
mov dword [esp + 0x48], 1
mov dword [esp + 0x4c], 0
jl 0x49fe36
jg 0x49fe26
cmp eax, dword [esi + 0x320]
jbe 0x49fe36
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov eax, dword [esp + 0x48]
add eax, dword [esp + 0x58]
mov edx, dword [esp + 0x4c]
adc edx, dword [esp + 0x5c]
mov dword [esi + 0x310], eax
mov eax, dword [esp + 0x40]
mov dword [esi + 0x314], edx
mov dword [esi + 0x320], eax
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x324], eax
jmp 0x49fd20
mov dword [esp], ebx
call fcn.00498ad0
mov dword [esp + 4], ebx
mov dword [esp], esi
call fcn.0049f020
test eax, eax
mov ebp, eax
jns 0x49fe95
cmp eax, 0xdfb9b0bb
jne 0x49f662
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x50]
test ecx, ecx
jne 0x49f670
mov eax, dword [esi + 0x2b8]
mov edx, dword [ebx + 0x18]
and eax, 1
test edx, edx
je 0x49f4df
jmp 0x49f6be
mov eax, dword [esp + 0x78]
test eax, eax
jne 0x49f585
jmp 0x49fbc0
xor ebp, ebp
jmp 0x49f474
test eax, eax
jg 0x49ffd2
mov ecx, dword [esp + 0x34]
test ecx, ecx
jne 0x49fa8c
lea esi, [esi]
mov ecx, dword [esp + 0x78]
test ecx, ecx
je 0x49fb68
lea esi, [esi]
mov dword [esp + 8], 0xa
mov dword [esp + 4], 9
mov dword [esp], edi
call fcn.00563190
test eax, eax
je 0x49fb68
mov edx, dword [esi + 0x1c]
mov ecx, dword [eax + 4]
mov edx, dword [edx + 0x38]
mov dword [ecx], edx
mov ecx, dword [esp + 0x34]
mov edx, dword [eax + 4]
mov dword [edx + 4], ecx
movzx ecx, byte [esp + 0x3c]
mov edx, dword [eax + 4]
mov byte [edx + 8], cl
movzx ecx, byte [esp + 0x40]
mov eax, dword [eax + 4]
mov byte [eax + 9], cl
mov eax, dword [esi + 0x1c]
mov dword [eax + 0x38], 0
jmp 0x49fb68
mov eax, dword [esp + 0x48]
mov dword [esi + 0x320], eax
mov eax, dword [esp + 0x50]
mov dword [esi + 0x324], eax
jmp 0x49fd10
mov dword [esp + 8], str.Too_many_errors_when_draining__this_is_a_bug._Stop_draining_and_force_EOF._n
mov dword [esp + 4], 0x10
mov dword [esp], esi
call fcn.0056b9c0
mov eax, dword [esp + 0x2c]
sub dword [eax + 0x5c], 0x21475542
mov dword [eax + 0x50], 1
mov dword [esp], ebx
call fcn.00498ad0
mov ebx, dword [esp + 0x78]
test ebx, ebx
je 0x49ffc8
mov eax, dword [edi + 0xf8]
test eax, eax
je 0x4a0334
mov ebp, 0xdeb8aabe
jmp 0x49f474
mov eax, dword [esp + 0x34]
test eax, eax
je 0x49ff00
mov ecx, dword [edi + 0x4c]
cmp dword [esp + 0x34], ecx
jbe 0x49fa99
jmp 0x49fef0
mov dword [esp + 8], str.Multiple_frames_in_a_packet._n
mov dword [esp + 4], 0x18
mov dword [esp], esi
call fcn.0056b9c0
mov eax, dword [esp + 0x2c]
mov dword [eax + 0x68], 1
jmp 0x49fbab
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
cmp edx, ecx
jl 0x49fd20
jg 0x49fd10
mov ecx, dword [esp + 0x60]
cmp eax, ecx
jbe 0x49fd20
jmp 0x49fd10
mov ecx, dword [edi + 0x40]
sub edx, eax
mov dword [esp + 0x48], ecx
mov ecx, dword [edi + 0x50]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x10], edx
mov dword [esp + 8], 0
mov dword [esp + 0x18], ecx
mov ecx, dword [esi + 0x15c]
mov dword [esp + 4], eax
mov dword [esp], eax
mov dword [esp + 0x14], ecx
call fcn.0057e150
mov eax, dword [esi + 0x304]
test eax, eax
je 0x4a0266
mov ecx, dword [esi + 0x158]
test ecx, ecx
je 0x4a0266
mov eax, dword [esi + 0x304]
mov edx, dword [esi + 0x308]
mov dword [esp + 8], 1
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x14], edx
mov dword [esp + 0x48], eax
mov eax, dword [eax + 0x38]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call fcn.0056cac0
mov dword [esp + 0x54], edx
mov edx, dword [edi + 0x6c]
mov dword [esp + 0x50], eax
mov eax, dword [edi + 0x68]
mov dword [esp + 0x5c], edx
add edx, 0x80000000
or edx, eax
mov dword [esp + 0x58], eax
je 0x4a0108
mov eax, dword [esp + 0x58]
add eax, dword [esp + 0x50]
mov edx, dword [esp + 0x5c]
adc edx, dword [esp + 0x54]
mov dword [edi + 0x68], eax
mov dword [edi + 0x6c], edx
mov edx, dword [edi + 0x74]
mov eax, dword [edi + 0x70]
mov dword [esp + 0x5c], edx
add edx, 0x80000000
mov dword [esp + 0x58], eax
or edx, eax
je 0x4a0136
mov eax, dword [esp + 0x58]
add eax, dword [esp + 0x50]
mov edx, dword [esp + 0x5c]
adc edx, dword [esp + 0x54]
mov dword [edi + 0x70], eax
mov dword [edi + 0x74], edx
mov eax, dword [edi + 0x78]
mov edx, dword [edi + 0x7c]
mov ecx, eax
mov dword [esp + 0x58], eax
mov eax, edx
add eax, 0x80000000
mov dword [esp + 0x5c], edx
or eax, ecx
je 0x4a0167
mov eax, dword [esp + 0x58]
add eax, dword [esp + 0x50]
mov edx, dword [esp + 0x5c]
adc edx, dword [esp + 0x54]
mov dword [edi + 0x78], eax
mov dword [edi + 0x7c], edx
mov edx, dword [edi + 0x154]
cmp dword [esp + 0x54], edx
mov eax, dword [edi + 0x150]
jg 0x4a0195
jl 0x4a0181
cmp dword [esp + 0x50], eax
ja 0x4a0195
sub eax, dword [esp + 0x50]
sbb edx, dword [esp + 0x54]
mov dword [edi + 0x150], eax
mov dword [edi + 0x154], edx
mov eax, dword [edi + 0x4c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 0x38]
mov dword [esp + 8], str.skip__d__d_samples_n
mov dword [esp + 4], 0x30
mov dword [esp], esi
mov dword [esp + 0xc], eax
call fcn.0056b9c0
mov eax, dword [esi + 0x1c]
mov edx, dword [eax + 0x38]
sub dword [edi + 0x4c], edx
mov edx, dword [esi + 0x40]
mov dword [eax + 0x38], 0
and edx, 0x20000000
jmp 0x49fa80
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x3c]
lea eax, [edx - 0x80000000]
or eax, ecx
je 0x4a02c3
cmp edx, dword [esi + 0x324]
mov dword [esi + 0x328], ecx
mov dword [esi + 0x32c], edx
mov dword [esp + 0x40], 1
mov dword [esp + 0x44], 0
jl 0x4a0231
jg 0x4a0221
cmp ecx, dword [esi + 0x320]
jbe 0x4a0231
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov eax, dword [esp + 0x40]
add eax, dword [esp + 0x50]
mov edx, dword [esp + 0x44]
adc edx, dword [esp + 0x54]
mov dword [esi + 0x310], eax
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x314], edx
mov dword [esi + 0x320], eax
mov eax, dword [esp + 0x34]
mov dword [esi + 0x324], eax
jmp 0x49f935
mov dword [esp + 8], str.Could_not_update_timestamps_for_skipped_samples._n
mov dword [esp + 4], 0x18
mov dword [esp], esi
call fcn.0056b9c0
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x48], eax
jmp 0x4a0195
mov eax, dword [esp + 0x48]
mov dword [esi + 0x320], eax
mov eax, dword [esp + 0x40]
mov dword [esi + 0x324], eax
jmp 0x49f925
mov dword [esp + 8], str.Could_not_update_timestamps_for_discarded_samples._n
mov dword [esp + 4], 0x18
mov dword [esp], esi
call fcn.0056b9c0
mov ecx, dword [edi + 0x4c]
jmp 0x49fb25
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
cmp edx, ecx
jg 0x49f935
jl 0x49f925
mov ecx, dword [esp + 0x50]
cmp eax, ecx
jae 0x49f935
jmp 0x49f925
mov dword [esp + 0x78], 0
jmp 0x49fb68
mov dword [esp + 0x14], 0x282
mov dword [esp + 0x10], str.libavcodec_decode.c
mov dword [esp + 0xc], str._frame__buf_0_
mov dword [esp + 8], 0x6958ce
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0056b9c0
call sub.msvcrt.dll_abort
mov dword [esp + 0x14], 0x26b
mov dword [esp + 0x10], str.libavcodec_decode.c
mov dword [esp + 0xc], str.frame__buf_0_
jmp 0x4a0313