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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x160
mov dword [esp + 0x64], ecx
mov eax, dword [0x10305014]
xor eax, ebp
mov dword [esp + 0x158], eax
mov ebx, dword [edx + 8]
mov dword [esp + 0xc], edx
mov eax, dword [edx + 0xb4]
cmp dword [eax + 4], 0xad
lea eax, [ebx + 0x30]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x30]
mov dword [esp + 0x18], eax
lea eax, [ebx + 0x28]
mov dword [esp + 0x30], eax
mov dword [esp + 4], ebx
je 0x1005527c
mov eax, dword [ebx + 0x50]
test eax, eax
je 0x10055384
mov ecx, dword [ebx + 0x4c]
mov edx, dword [ecx + 8]
and edx, dword [ecx + 0xc]
cmp edx, 0xffffffff
je 0x1005539d
mov edx, dword [ecx + 0xc]
mov dword [esp], edx
test edx, edx
js 0x100553b3
mov edi, dword [ecx + 8]
xor ebx, ebx
mov dword [esp + 0x10], 0
xor esi, esi
mov dword [esp + 0x1c], 0
cmp eax, 1
je 0x10054119
mov edx, edi
mov dword [esp + 8], ebx
lea edi, [ebx + ebx*2]
lea ecx, [ecx + edi*8]
add ecx, 8
mov edi, edx
xor ebx, ebx
inc ebx
mov edx, edi
cmp dword [esp + 8], ebx
jne 0x10055270
mov edi, dword [ecx + 4]
test edi, edi
js 0x10055270
mov edx, dword [ecx]
mov dword [esp], edi
inc ebx
cmp eax, ebx
mov edi, edx
jne 0x100540f6
mov edx, esi
mov eax, esi
or eax, edi
mov esi, dword [esp + 0x1c]
mov ecx, esi
or ecx, dword [esp]
mov dword [esp + 0x20], 0
or ecx, eax
mov dword [esp + 0x38], 0
mov ebx, dword [esp + 4]
jne 0x100545e7
cmp dword [esp + 0x10], 0
jne 0x10055394
mov eax, dword [esp + 0x64]
cmp dword [eax + 0x90], 0
mov eax, dword [esp + 0xc]
je 0x100553d4
mov eax, dword [eax + 0xb4]
cmp dword [eax], 1
jne 0x10054179
cmp dword [ebx + 0x18], 1
je 0x1005597b
cmp dword [ebx + 0x4fc], 0
jne 0x10055400
mov dword [esp + 0x5c], 0
cmp dword [ebx + 0x70], 0
jne 0x100541b3
mov dword [esp + 0x34], 0
cmp dword [ebx + 0x44], 0
je 0x100541c2
mov eax, dword [ebx + 0x48]
xor ecx, ecx
cmp dword [eax], 0
setne cl
mov dword [esp + 0x34], ecx
jmp 0x100541c2
mov eax, dword [ebx + 0x74]
cmp dword [eax], 0
jle 0x10054194
xor eax, eax
inc eax
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0xd4]
mov ecx, eax
sar ecx, 0x1f
sub dword [esp + 0x20], eax
sbb dword [esp + 0x38], ecx
mov eax, dword [ebx + 0x64]
test eax, eax
je 0x10054a24
mov ecx, dword [esp + 0xc]
cmp dword [ecx + 0xf0], 0
jne 0x10054a24
cmp eax, 0xaaaaaa9
ja 0x10054a24
mov esi, dword [esp + 0xc]
lea ecx, [esi + 0xec]
push 0x18
push eax
push ecx
call fcn.10060390
add esp, 0xc
test eax, eax
js 0x10055413
mov ecx, dword [esp + 4]
mov eax, dword [ecx + 0x64]
add eax, dword [esi + 0xf0]
shl eax, 3
lea eax, [eax + eax*2]
mov dword [esi + 0xf4], eax
cmp dword [esp + 0x18], 0
mov edx, esi
jne 0x10055422
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x10054665
mov ebx, eax
mov dword [esp + 0x70], 0
mov dword [esp + 0x6c], 0
xor edi, edi
mov dword [esp + 0x18], 0
xor ecx, ecx
mov dword [esp + 0x54], 0
mov dword [esp + 0x28], 0
xor eax, eax
mov dword [esp + 0x4c], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x50], 0
xor esi, esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x10], ecx
mov dword [esp], edi
mov ecx, eax
lea esi, [eax + 1]
xor edi, edi
add edi, 0xffffffff
mov eax, 0x80000000
adc eax, 0xffffffff
mov dword [esp + 0x24], eax
mov eax, dword [esp + 4]
mov edx, dword [eax + 0x14]
mov dword [esp + 0x40], ebx
cmp esi, ebx
jae 0x100542d0
mov edi, dword [edx + esi*8]
mov ebx, dword [edx + esi*8 + 4]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x30], edi
mov dword [esp + 0x58], esi
mov eax, dword [eax + 0x34]
dec eax
mov esi, dword [esp + 0x50]
cmp esi, eax
cmova eax, esi
mov edi, dword [edx + ecx*8]
mov dword [esp + 8], edi
mov dword [esp + 0x44], ecx
mov ecx, dword [edx + ecx*8 + 4]
mov dword [esp + 0x14], ecx
lea edx, [esi + esi*2]
lea ebx, [esi - 1]
lea edx, [edx*4 + 0xc]
mov esi, eax
neg esi
lea edi, [esi + ebx]
cmp edi, 0xffffffff
je 0x10054327
mov edi, dword [esp + 4]
mov edi, dword [edi + 0x38]
inc ebx
mov ecx, dword [esp + 0x58]
cmp ecx, dword [edi + edx]
lea edx, [edx + 0xc]
jne 0x10054329
jmp 0x10054309
mov ebx, eax
mov dword [esp + 0x50], ebx
mov ecx, dword [esp + 0x30]
cmp dword [esp + 8], ecx
mov eax, dword [esp + 0x14]
sbb eax, dword [esp + 0x24]
mov ebx, dword [esp + 4]
jge 0x1005434e
mov esi, dword [ebx + 0x5c]
test esi, esi
jne 0x100545a4
mov edx, dword [ebx + 0x60]
mov edi, dword [esp]
mov esi, edx
test edx, edx
jne 0x10054594
mov edx, dword [ebx + 0x38]
mov ecx, dword [esp + 0x50]
lea eax, [ecx + ecx*2]
mov dword [esp + 0x24], eax
cmp dword [edx + eax*4 + 4], 0
mov eax, edx
mov edx, dword [esp + 0x18]
je 0x10054582
mov dword [esp + 0x30], 0
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], edx
mov edx, ecx
mov dword [esp + 0x10], ecx
cmp ecx, dword [ebx + 0x64]
jae 0x10054a24
mov ebx, dword [esp + 4]
mov ecx, dword [ebx + 0x6c]
mov dword [esp + 0x40], ecx
test ecx, ecx
jne 0x10054558
mov ecx, dword [ebx + 0x70]
test ecx, ecx
jne 0x10054530
mov edx, dword [esp + 0x2c]
lea esi, [edx + 1]
cmp esi, ecx
cmovb edx, esi
mov dword [esp + 0x2c], edx
xor ecx, ecx
inc ecx
cmp byte [esp + 0x5c], 0
jne 0x1005507c
mov edx, dword [esp + 0x40]
test edx, edx
jne 0x100550cf
test ecx, ecx
mov edx, 0
cmovne edi, edx
mov esi, dword [ebx + 0x60]
test esi, esi
jne 0x10054407
mov edx, dword [ebx + 0x68]
mov esi, dword [esp + 0x10]
mov esi, dword [edx + esi*4]
mov edx, dword [ebx + 0xb4]
cmp edx, 0xffffffff
je 0x10054423
mov ebx, dword [esp + 0x24]
mov eax, dword [eax + ebx*4 + 8]
dec eax
cmp eax, edx
jne 0x100544b5
cmp esi, 0x3fffffff
ja 0x10054a24
xor eax, eax
test ecx, ecx
mov ebx, dword [esp + 0xc]
mov ecx, dword [ebx + 0xec]
mov edx, dword [ebx + 0xf0]
mov dword [esp], edi
lea edi, [edx + 1]
mov dword [ebx + 0xf0], edi
setne al
lea edx, [edx + edx*2]
mov edi, dword [esp + 0x14]
mov dword [ecx + edx*8 + 4], edi
mov edi, dword [esp + 8]
mov dword [ecx + edx*8], edi
mov edi, dword [esp + 0x38]
mov dword [ecx + edx*8 + 0xc], edi
mov edi, dword [esp + 0x20]
mov dword [ecx + edx*8 + 8], edi
mov edi, dword [esp]
mov dword [ecx + edx*8 + 0x14], edi
lea eax, [eax + esi*4]
mov dword [ecx + edx*8 + 0x10], eax
mov eax, dword [ebx + 0xb4]
cmp dword [eax], 0
jne 0x100544b5
mov eax, dword [esp + 0xc]
cmp dword [eax + 0xf0], 0x63
jg 0x100544b5
push dword [esp + 0x38]
push dword [esp + 0x24]
push dword [esp + 0x14]
mov eax, dword [esp + 0x70]
push dword [eax + 4]
call fcn.10126fc0
add esp, 0x10
add dword [esp + 8], esi
adc dword [esp + 0x14], 0
add dword [esp + 0x54], esi
adc dword [esp + 0x28], 0
mov ebx, dword [esp + 4]
mov eax, dword [ebx + 0x1c]
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
add ecx, dword [eax + esi*8 + 4]
mov dword [esp + 0x20], ecx
adc dword [esp + 0x38], 0
mov edx, dword [esp + 0x18]
inc edx
lea ecx, [esi + 1]
cmp ecx, dword [ebx + 0x18]
jae 0x100544fe
cmp edx, dword [eax + esi*8]
cmove esi, ecx
mov eax, 0
cmove edx, eax
mov dword [esp + 0x18], edx
mov ecx, dword [esp + 0x10]
inc edi
mov dword [esp], edi
mov edi, dword [esp + 0x30]
inc edi
mov edx, dword [ebx + 0x38]
inc ecx
mov eax, dword [esp + 0x24]
mov dword [esp + 0x30], edi
cmp edi, dword [edx + eax*4 + 4]
mov eax, edx
mov edi, dword [esp]
mov edx, dword [esp + 0x18]
jb 0x1005438d
jmp 0x1005456a
mov esi, dword [esp + 0x34]
mov edx, dword [esp + 0x10]
add edx, esi
mov dword [esp + 0x3c], edx
mov dword [esp], edi
mov edi, dword [ebx + 0x74]
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x3c]
cmp edx, dword [edi + esi*4]
mov edi, dword [esp]
je 0x100543c2
mov esi, dword [ebx + 0x44]
xor ecx, ecx
test esi, esi
je 0x100543d5
jmp 0x10055200
mov ebx, dword [ebx + 0x10]
mov eax, dword [esp + 0x58]
cmp eax, ebx
mov edx, dword [esp + 0xc]
jb 0x10054295
jmp 0x10054675
mov dword [esp + 0x18], edx
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x40]
jmp 0x1005456d
mov eax, dword [ebx + 0x5c]
cmp esi, eax
jae 0x1005435e
jmp 0x10055a61
mov edx, dword [ebx + 0x60]
cmp esi, edx
jae 0x10054351
mov eax, dword [ebx + 0x38]
mov edi, dword [esp + 0x50]
lea edi, [edi + edi*2]
mov eax, dword [eax + edi*4 + 4]
mov edi, eax
sar edi, 0x1f
imul edi, edx
mul edx
add edi, edx
sub ecx, dword [esp + 8]
mov edx, dword [esp + 0x24]
sbb edx, dword [esp + 0x14]
cmp ecx, eax
sbb edx, edi
jge 0x1005434e
mov dword [ebx + 0x60], esi
mov edi, dword [esp]
jmp 0x10054594
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 8]
test ecx, ecx
jle 0x10055a69
mov dword [esp + 0x38], 0
mov eax, edx
or eax, esi
mov eax, 0
mov dword [esp + 8], edx
mov edx, 0
jne 0x10055a7e
mov ecx, edi
sub ecx, eax
mov esi, dword [esp]
mov eax, esi
sbb eax, edx
mov dword [ebx + 0x80], ecx
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x88], edi
mov dword [ebx + 0x8c], esi
mov edx, dword [esp + 0x64]
cmp dword [edx + 0x90], 0
mov dword [esp + 0x20], 0
jne 0x10054144
xor edx, edx
neg ecx
sbb edx, eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x20], ecx
jmp 0x10054144
mov dword [esp + 0x54], 0
mov dword [esp + 0x28], 0
mov eax, dword [edx + 0x20]
mov ecx, dword [edx + 0x24]
mov dword [esp], eax
cmp eax, 1
mov ebx, edx
mov dword [esp + 0x18], ecx
mov eax, ecx
sbb eax, 0
jl 0x100546d0
mov eax, dword [esp + 4]
mov edi, dword [eax + 0x78]
mov esi, dword [esp + 0x54]
mov eax, esi
mul edi
mov ecx, dword [esp + 0x28]
imul ecx, edi
sar edi, 0x1f
imul edi, esi
add edi, edx
add ecx, edi
shld ecx, eax, 3
shl eax, 3
push dword [esp + 0x18]
push dword [esp + 4]
push ecx
push eax
call fcn.1014b940
mov ecx, dword [ebx + 0xb4]
mov dword [ecx + 0x1c], edx
mov dword [ecx + 0x18], eax
mov eax, dword [esp + 0x64]
cmp dword [eax + 0x8c], 0
jne 0x10054909
cmp dword [eax + 0x90], 0
je 0x10054909
mov edx, dword [ebx + 8]
mov ecx, dword [ebx + 0xec]
mov dword [esp + 0x4c], ecx
mov ecx, dword [ebx + 0xf0]
mov dword [esp + 0x94], ecx
mov eax, dword [edx + 0x30]
mov dword [esp + 0x34], eax
xor eax, eax
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd0], eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], eax
mov ecx, dword [edx + 0x28]
mov dword [esp + 0x88], ecx
xor esi, esi
dec esi
mov dword [esp + 0xc4], esi
mov dword [esp + 0xc0], esi
mov dword [esp + 0xbc], eax
cmp dword [edx + 0x4c], eax
je 0x10054905
mov eax, dword [edx + 0x50]
test eax, eax
je 0x10054905
cmp dword [esp + 0x94], 0
jle 0x10054905
shl eax, 4
add eax, 0x10
push eax
mov ebx, edx
call sym.ffmpeg.dll_av_malloc
add esp, 4
mov dword [ebx + 0xa0], eax
test eax, eax
je 0x10054905
mov edi, eax
mov dword [ebx + 0xa4], eax
add edi, 0xfffffff0
xor ecx, ecx
mov eax, dword [esp + 0xc]
mov dword [eax + 0xec], ecx
mov dword [eax + 0xf4], ecx
mov dword [eax + 0xf0], ecx
mov dword [ebx + 0x30], ecx
mov dword [ebx + 0x28], ecx
mov dword [ebx + 0x54], ecx
mov dword [ebx + 0x58], ecx
mov dword [ebx + 0x2c], ecx
mov dword [ebx + 0x8c], esi
mov dword [esp + 0x60], esi
mov dword [ebx + 0x88], esi
mov eax, dword [ebx + 0xd4]
mov edx, eax
neg edx
mov esi, 0
sbb esi, esi
test eax, eax
mov eax, esi
cmovle edx, ecx
mov esi, dword [ebx + 0x50]
mov dword [esp + 0x7c], 0
cmovle eax, ecx
mov dword [esp], esi
test esi, esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0xb8], edx
mov dword [esp + 0xb0], eax
jne 0x10054a3a
mov dword [esp + 0x74], 0
mov dword [esp + 0x68], edx
mov edx, ebx
mov dword [esp + 0x80], eax
mov ecx, dword [edx + 0x88]
mov eax, dword [edx + 0x8c]
sub ecx, dword [esp + 0x7c]
sbb eax, dword [esp + 0x74]
mov dword [edx + 0x88], ecx
mov dword [edx + 0x8c], eax
mov edx, dword [esp + 0xc]
mov edx, dword [edx + 0xb4]
cmp dword [edx], 0
jne 0x10054865
cmp ecx, 1
sbb eax, 0
jge 0x1005591c
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x7c]
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x74]
mov dword [esi + 0x1c], eax
mov edx, dword [esi + 0x20]
mov ecx, dword [esp + 0x68]
sub ecx, dword [esp + 0xb8]
mov eax, dword [esp + 0x80]
sbb eax, dword [esp + 0xb0]
cmp edx, ecx
mov ebx, edx
mov dword [esp], edx
mov edx, ecx
cmovb edx, ebx
mov ebx, dword [esi + 0x24]
cmp ebx, eax
cmovl ecx, dword [esp]
cmove ecx, edx
cmovl eax, ebx
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0x110]
mov ebx, dword [esp + 0x18]
mov dword [ebx + 0x4f8], eax
push dword [esp + 0x4c]
call sym.ffmpeg.dll_av_free
add esp, 4
push dword [esp + 0x34]
call sym.ffmpeg.dll_av_free
add esp, 4
lea eax, [esp + 0xbc]
push eax
call fcn.10127460
add esp, 4
xorps xmm0, xmm0
movups xmmword [edi + 0x10], xmm0
mov eax, dword [ebx + 0xa0]
movsd xmm0, qword [eax]
movsd qword [ebx + 0x98], xmm0
mov ebx, dword [esp + 0xc]
mov eax, dword [ebx + 0x1c]
mov edi, 0x80000000
xor eax, edi
or eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0xb4]
je 0x100554dd
mov eax, dword [ebx + 8]
mov dword [esp + 0xd4], edi
xor edx, edx
mov dword [esp + 0xd0], edx
mov dword [esp + 0xdc], edi
mov dword [esp + 0xd8], edx
mov dword [esp + 0xe4], edi
mov dword [esp + 0xe0], edx
mov dword [esp + 0xec], edi
mov dword [esp + 0xe8], edx
mov dword [esp + 0xf4], edi
mov dword [esp + 0xf0], edx
mov dword [esp + 0xfc], edi
mov dword [esp + 0xf8], edx
mov dword [esp + 0x104], edi
mov dword [esp + 0x100], edx
mov dword [esp + 0x10c], edi
mov dword [esp + 0x108], edx
mov dword [esp + 0x114], edi
mov dword [esp + 0x110], edx
mov dword [esp + 0x11c], edi
mov dword [esp + 0x118], edx
mov dword [esp + 0x124], edi
mov dword [esp + 0x120], edx
mov dword [esp + 0x12c], edi
mov dword [esp + 0x128], edx
mov dword [esp + 0x134], edi
mov dword [esp + 0x130], edx
mov dword [esp + 0x13c], edi
mov dword [esp + 0x138], edx
mov dword [esp + 0x144], edi
mov dword [esp + 0x140], edx
mov dword [esp + 0x14c], edi
mov dword [esp + 0x148], edx
mov dword [esp + 0x154], edi
mov dword [esp + 0x150], edx
cmp dword [ecx + 0x58], edx
jg 0x10054a24
cmp dword [eax + 0x30], 0
jne 0x1005553f
mov ecx, dword [esp + 0x158]
xor ecx, ebp
call fcn.10130483
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, edx
mov eax, dword [esp + 0x94]
lea eax, [eax + eax*2]
mov edx, dword [esp + 0x4c]
lea ecx, [edx + eax*8]
lea eax, [ebx + 0x30]
mov dword [esp + 0xa4], eax
lea eax, [ebx + 0x28]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0xc]
add eax, 0xf4
mov dword [esp + 0x6c], eax
lea eax, [ebx + 0x2c]
mov dword [esp + 0x9c], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x68], esi
mov eax, dword [esp + 0xb0]
mov edx, ebx
mov dword [esp + 0x70], ecx
mov bl, 1
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], edi
mov dword [esp + 8], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x64]
mov eax, dword [eax + 8]
test eax, eax
je 0x100556c1
mov esi, dword [edx + 0x4c]
mov edi, edx
mov ecx, dword [esp + 0x78]
lea edx, [ecx + ecx*2]
mov ebx, eax
sar ebx, 0x1f
mov edi, dword [edi + 0x78]
mov dword [esp + 0x20], edi
sar edi, 0x1f
mov ecx, esi
mov esi, dword [esi + edx*8 + 8]
mov dword [esp + 0x44], esi
mov esi, dword [ecx + edx*8 + 0xc]
mov dword [esp + 0x3c], esi
push ebx
push eax
push edi
push dword [esp + 0x2c]
push dword [ecx + edx*8 + 4]
push dword [ecx + edx*8]
call fcn.1005f540
add esp, 0x18
add dword [esp + 0x78], 1
mov esi, dword [esp + 0xac]
adc esi, 0
mov dword [esp + 0x90], eax
mov ecx, eax
mov eax, dword [esp + 0x1c]
add ecx, eax
mov dword [esp + 0x8c], edx
mov eax, edx
mov edx, dword [esp + 8]
adc eax, edx
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x44]
and eax, dword [esp + 0x3c]
cmp eax, 0xffffffff
sete al
mov edx, dword [esp + 0x14]
and dl, al
cmp dl, 1
mov dword [esp + 0x68], ecx
mov dword [esp + 0xac], esi
je 0x100556d6
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0xb4]
cmp dword [eax], 1
je 0x10054ffb
mov ebx, dword [esp + 0x44]
mov esi, dword [esp + 0x3c]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x4c]
lea eax, [esp + 0xc8]
push eax
lea eax, [esp + 0xd4]
push eax
lea eax, [esp + 0xc8]
push eax
xor eax, eax
push eax
push esi
push ebx
push eax
push dword [esp + 0xa4]
push dword [esp + 0x54]
mov edi, dword [esp + 0xb8]
push edi
call fcn.10055f50
add esp, 0x28
test eax, eax
js 0x1005570d
mov eax, dword [esp + 0xc0]
cmp edi, eax
mov edi, dword [esp + 0x10]
jle 0x10054fd9
lea eax, [eax + eax*2]
mov ecx, dword [esp + 0x4c]
lea esi, [ecx + eax*8]
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x90]
add eax, dword [esp + 0x44]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x8c]
adc eax, dword [esp + 0x3c]
mov dword [esp + 0x38], eax
mov dword [esp + 0xa8], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x20], 0
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 8]
mov dword [esp + 0x10], edi
mov edi, esi
lea eax, [esi + 0x18]
cmp eax, ecx
mov dword [esp + 0x5c], eax
jae 0x10054ec0
mov ecx, dword [edi + 0x24]
mov esi, dword [edi + 0x20]
mov ebx, dword [edi + 8]
mov eax, dword [edi + 0xc]
sub esi, ebx
mov dword [esp + 0x58], esi
sbb ecx, eax
mov dword [esp + 0x50], ecx
mov esi, edi
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + 0xd4]
mov edi, ecx
sar edi, 0x1f
add ebx, ecx
mov dword [esp + 0x2c], esi
mov ecx, dword [esi + 0x10]
mov dword [esp], ecx
adc edi, eax
xor esi, esi
cmp dword [esp + 0x34], 0
mov ecx, ebx
mov dword [esp + 8], edx
jne 0x10055105
xor ebx, ebx
mov eax, dword [esp]
shl eax, 0x1e
sar eax, 0x1e
mov dword [esp], eax
cmp ecx, dword [esp + 0x44]
mov eax, edi
sbb eax, dword [esp + 0x3c]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x40], edi
jl 0x10054f32
cmp ecx, dword [esp + 0x24]
mov eax, edi
sbb eax, dword [esp + 0x38]
jge 0x10054f32
add esi, dword [esp + 0x1c]
adc ebx, edx
mov edi, dword [esp + 0x18]
mov eax, dword [edi + 0xd4]
mov ecx, eax
sar ecx, 0x1f
add esi, eax
adc ecx, ebx
mov eax, dword [edi + 0x88]
cmp eax, esi
mov edx, esi
cmovb edx, eax
mov ebx, dword [edi + 0x8c]
cmp ebx, ecx
cmovge eax, esi
cmove eax, edx
mov edx, ecx
cmovl edx, ebx
test ebx, ebx
cmovs eax, esi
cmovs edx, ecx
mov ecx, dword [esp + 0x20]
or dword [esp + 0x14], ecx
mov dword [edi + 0x8c], edx
mov dword [edi + 0x88], eax
je 0x10054ef3
mov al, 1
mov dword [esp + 0x28], eax
xor eax, eax
inc eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], 0
mov edi, dword [esp + 0x2c]
mov ebx, dword [esp + 0xc]
mov eax, dword [ebx + 0xf0]
lea ecx, [eax - 0xaaaaaa9]
cmp ecx, 0xf5555556
jb 0x10055913
lea eax, [eax + eax*2]
lea eax, [eax*8 + 0x18]
mov ecx, dword [ebx + 0xf4]
lea edx, [ecx + ecx]
cmp eax, edx
cmova edx, eax
cmp eax, ecx
cmovbe edx, eax
mov eax, dword [edi + 0x14]
mov dword [esp + 0x2c], eax
mov esi, dword [edi + 0x10]
mov eax, dword [edi]
mov dword [esp + 0x54], eax
mov edi, dword [edi + 4]
push edx
push dword [esp + 0x70]
push dword [ebx + 0xec]
call fcn.10060540
add esp, 0xc
test eax, eax
je 0x10055913
and esi, 0xfffffffc
mov ecx, dword [esp]
and ecx, 3
or ecx, esi
mov dword [ebx + 0xec], eax
mov edx, dword [ebx + 0xf0]
mov esi, edx
inc esi
mov dword [ebx + 0xf0], esi
lea edx, [edx + edx*2]
mov dword [eax + edx*8 + 4], edi
mov esi, dword [esp + 0x54]
mov dword [eax + edx*8], esi
mov esi, dword [esp + 8]
mov dword [eax + edx*8 + 0xc], esi
mov esi, dword [esp + 0x1c]
mov dword [eax + edx*8 + 8], esi
mov esi, dword [esp + 0x2c]
mov dword [eax + edx*8 + 0x14], esi
mov dword [eax + edx*8 + 0x10], ecx
je 0x10055913
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0xc4]
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
cmp edi, dword [edx + 0xa0]
jb 0x10054eae
mov edx, dword [edi + 8]
xor edx, eax
mov esi, dword [edi + 0xc]
xor esi, ecx
or esi, edx
jne 0x10054eae
add eax, 1
mov edx, 0
adc ecx, edx
cmp byte [esp + 0x28], 0
mov edx, 0
mov ebx, dword [esp + 0x50]
cmovne edx, ebx
mov esi, 0
mov edi, dword [esp + 0x58]
cmovne esi, edi
add esi, dword [esp + 0x1c]
mov dword [esp + 0x1c], esi
adc edx, dword [esp + 8]
mov esi, dword [esp + 0x30]
add esi, edi
mov edi, dword [esp + 0x40]
adc edi, ebx
cmp esi, dword [esp + 0x24]
sbb edi, dword [esp + 0x38]
mov edi, dword [esp + 0x10]
mov dword [edi + 8], eax
mov dword [edi + 0xc], ecx
jge 0x10054edd
mov esi, dword [esp + 0x5c]
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
mov ecx, dword [esp + 0x70]
cmp esi, ecx
jb 0x10054c48
jmp 0x10054fd9
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], ecx
lea edx, [edi + 0x10]
mov dword [esp + 0x10], edx
jmp 0x10054e38
mov ebx, dword [edi + 8]
mov eax, dword [edi + 0xc]
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x8c]
jmp 0x10054c71
test byte [esp], 1
je 0x10054f15
cmp dword [esp + 0x34], 0
je 0x10054fd9
jmp 0x10055780
mov edi, dword [esp + 8]
mov eax, dword [esp + 0xbc]
test eax, eax
jne 0x100557d1
mov al, 1
mov dword [esp + 0x28], eax
mov dword [esp + 8], edi
jmp 0x10054d3e
mov esi, edx
mov edx, dword [esp + 0xc]
mov edx, dword [edx + 0xb4]
cmp dword [edx], 1
mov edx, esi
mov esi, dword [esp + 0x5c]
jne 0x10054e8f
jmp 0x10054ee3
mov esi, edx
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0xb4]
cmp dword [eax], 1
mov edx, dword [esp + 0x60]
jne 0x10055240
cmp dword [eax + 4], 0x15005
je 0x10055240
cmp ecx, dword [esp + 0x44]
mov eax, edi
sbb eax, dword [esp + 0x3c]
jge 0x10055240
mov eax, ecx
add eax, dword [esp + 0x58]
mov ecx, edi
adc ecx, dword [esp + 0x50]
cmp dword [esp + 0x44], eax
mov eax, dword [esp + 0x3c]
sbb eax, ecx
mov ecx, dword [esp + 0x30]
jge 0x10055240
test edx, edx
jle 0x10055240
mov eax, dword [esp + 0x44]
sub eax, ecx
mov ecx, dword [esp + 0xc]
add dword [ecx + 0x110], eax
mov ecx, eax
sar ecx, 0x1f
mov edx, dword [esp + 0x1c]
sub edx, eax
sbb esi, ecx
mov eax, dword [esp + 0x20]
or dword [esp + 0x14], eax
jne 0x10054fc6
mov eax, dword [esp + 0xbc]
test eax, eax
jne 0x10055a9d
mov al, 1
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], edx
mov dword [esp + 8], esi
jmp 0x10054d3e
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x50]
xor ebx, ebx
mov dword [esp], eax
cmp eax, dword [esp + 0x78]
mov eax, dword [esp + 0x80]
jne 0x10054aae
jmp 0x10054823
cmp dword [esp + 0x60], 0
jns 0x10055b17
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov dword [eax + 0x4f8], ecx
mov eax, dword [esp + 0xc]
mov dword [eax + 0x110], ecx
mov eax, dword [eax + 0xb4]
cmp dword [eax], 1
mov eax, 1
mov dword [esp + 0x60], eax
mov ebx, dword [esp + 0x44]
mov esi, dword [esp + 0x3c]
jne 0x10054b8b
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x78]
mov edi, ecx
sar edi, 0x1f
xor eax, eax
inc eax
mov dword [esp + 0x60], eax
mov ebx, dword [esp + 0x44]
sub ebx, ecx
mov esi, dword [esp + 0x3c]
sbb esi, edi
mov edx, dword [esp + 0x4c]
mov eax, dword [edx + 8]
cmp ebx, eax
mov ecx, eax
cmova ecx, ebx
mov edx, dword [edx + 0xc]
cmp esi, edx
cmovle ebx, eax
cmove ebx, ecx
cmovle esi, edx
jmp 0x10054b8b
mov dword [esp], edi
mov esi, dword [esp + 0x6c]
cmp esi, dword [ebx + 0x4fc]
jae 0x100551e1
mov ebx, dword [esp + 4]
mov edx, dword [ebx + 0x500]
xor esi, esi
inc esi
mov edi, dword [esp + 0x6c]
cmp dword [edx + edi*8 + 4], 0
cmovne ecx, esi
mov esi, dword [esp + 0x70]
inc esi
cmp esi, dword [edx + edi*8]
mov edx, 0
cmove esi, edx
mov dword [esp + 0x70], esi
mov edx, 0
sete dl
add edi, edx
mov dword [esp + 0x6c], edi
jmp 0x100551e5
cmp dword [ebx + 0x44], 0
setne dl
or dl, byte [esp + 0x5c]
jne 0x100550fc
xor edx, edx
inc edx
mov esi, dword [esp + 0x44]
or esi, dword [esp + 0x30]
cmove ecx, edx
mov edx, dword [esp + 0xc]
mov edx, dword [edx + 0xb4]
mov edx, dword [edx]
cmp edx, 1
cmove ecx, edx
mov ebx, dword [esp + 4]
jmp 0x100543ec
mov dword [esp + 0x40], edi
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0xd4]
xor esi, esi
cmp eax, dword [esp + 0x88]
sbb ecx, 0
jge 0x100551ed
mov edi, dword [esp + 0x34]
mov esi, dword [edi + eax*8 + 4]
mov ebx, esi
sar ebx, 0x1f
add dword [esp + 0x30], esi
adc dword [esp + 0x40], ebx
mov ecx, dword [esp + 0xc8]
mov edx, dword [esp + 0xcc]
add ecx, 1
adc edx, 0
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], edx
mov edi, dword [edi + eax*8]
mov dword [esp + 0x28], edi
xor ecx, edi
or ecx, edx
jne 0x100551ef
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x84]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0xa0]
mov edi, dword [esp + 0x34]
push dword [edi + eax*8 + 4]
push dword [esp + 0x2c]
push dword [esp + 0xa4]
call fcn.10183690
add esp, 0xc
and edx, eax
cmp edx, 0xffffffff
je 0x10055913
add dword [esp + 0xd0], 1
adc dword [esp + 0xd4], 0
xor eax, eax
mov dword [esp + 0xcc], eax
mov dword [esp + 0x84], 0
mov dword [esp + 0xc8], eax
jmp 0x100551ef
mov ebx, dword [esp + 4]
mov edi, dword [esp]
jmp 0x100543e0
xor ebx, ebx
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x40]
jmp 0x10054ca9
mov dword [esp], edi
mov edi, dword [esp + 0x34]
mov edx, dword [esp + 0x10]
add edx, edi
mov dword [esp + 0x3c], edx
mov edi, dword [ebx + 0x48]
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x3c]
cmp ebx, dword [edi + edx*4]
jne 0x10055234
mov edx, dword [esp + 0x4c]
lea ecx, [edx + 1]
cmp ecx, esi
cmovb edx, ecx
mov dword [esp + 0x4c], edx
xor ecx, ecx
inc ecx
mov ebx, dword [esp + 4]
mov edi, dword [esp]
jmp 0x100543d5
or dword [esp], 2
mov eax, dword [esp + 0x20]
or dword [esp + 0x14], eax
je 0x1005587d
mov dword [esp + 0x20], 0
mov al, 1
mov dword [esp + 0x28], eax
mov dword [esp + 8], esi
xor eax, eax
inc eax
mov dword [esp + 0x14], eax
jmp 0x10054d4d
xor edi, edi
inc edi
mov dword [esp + 0x10], edi
jmp 0x10054112
cmp dword [ebx + 0x504], 0
je 0x1005409b
mov dword [ebx + 0x518], 0
cmp dword [esp + 0x24], 0
je 0x100552c8
xor eax, eax
xor ecx, ecx
mov edx, dword [esp + 0x18]
mov edx, dword [edx + ecx*8]
mov esi, eax
xor esi, 0x7fffffff
cmp edx, esi
ja 0x10054a24
add eax, edx
mov edx, dword [esp + 4]
mov dword [edx + 0x518], eax
inc ecx
cmp dword [esp + 0x24], ecx
jne 0x1005529e
mov edi, dword [esp + 4]
lea esi, [edi + 0x514]
push esi
call fcn.10127460
add esp, 4
push 4
push dword [edi + 0x518]
call fcn.10060400
add esp, 8
mov dword [edi + 0x514], eax
test eax, eax
je 0x10054a24
mov eax, dword [esp + 0x30]
mov edi, dword [eax]
test edi, edi
je 0x10055349
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
xor eax, eax
mov dword [esp], 0
cmp dword [edx + eax*8], 0
je 0x10055344
mov ecx, dword [esp]
lea edi, [ecx*4]
xor ebx, ebx
mov edx, dword [edx + eax*8 + 4]
mov ecx, dword [esi]
add ecx, edi
mov dword [ecx + ebx*4], edx
inc ebx
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
cmp ebx, dword [edx + eax*8]
jb 0x10055324
mov ecx, dword [esp + 0x30]
mov edi, dword [ecx]
add dword [esp], ebx
inc eax
cmp eax, edi
jb 0x10055312
mov ebx, dword [esp + 4]
mov eax, dword [ebx + 0x510]
test eax, eax
je 0x1005409b
mov ecx, dword [ebx + 0x50c]
neg eax
xor esi, esi
inc esi
mov ebx, dword [esp + 4]
cmp byte [ecx + esi - 1], 0x15
je 0x10055b8f
lea edx, [eax + esi]
inc edx
inc esi
cmp edx, 1
jne 0x1005536a
jmp 0x1005409b
mov dword [esp + 0x20], 0
mov dword [esp + 0x38], 0
mov eax, dword [esp + 0xc]
jmp 0x10054164
mov esi, dword [ecx]
mov edx, dword [ecx + 4]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], 0
xor ebx, ebx
inc ebx
jmp 0x100553c6
xor ebx, ebx
xor edx, edx
inc edx
mov dword [esp + 0x10], edx
xor esi, esi
mov dword [esp + 0x1c], 0
xor edi, edi
mov dword [esp], 0
jmp 0x100540dd
mov eax, dword [eax + 0xb4]
cmp dword [eax + 4], 0x15002
jne 0x1005596e
cmp edi, 1
sbb dword [esp], 0
jl 0x1005596e
mov ebx, dword [esp + 4]
mov dword [ebx + 0x4f8], edi
jmp 0x10055394
cmp dword [ebx + 0x500], 0
setne al
mov dword [esp + 0x5c], eax
jmp 0x1005418e
mov dword [esi + 0xf0], 0
jmp 0x10054a24
mov eax, dword [ecx + 0x64]
cmp eax, 0x1ffffffe
ja 0x10054a24
xor ecx, ecx
mov edi, dword [esp + 4]
mov dword [edi + 0x28], ecx
lea edx, [edi + 0x2c]
mov dword [edi + 0x2c], ecx
shl eax, 3
push eax
mov dword [esp + 4], edx
push edx
push ecx
call fcn.10060540
add esp, 0xc
mov dword [edi + 0x30], eax
test eax, eax
je 0x10055b45
mov ecx, dword [esp]
push dword [ecx]
push 0
push eax
call fcn.10132b90
add esp, 0xc
cmp dword [esp + 0x24], 0
je 0x100554c4
xor edi, edi
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 4]
mov eax, dword [ecx + 0x28]
cmp eax, dword [ecx + 0x64]
jae 0x100554c4
mov eax, dword [esp + 0x18]
cmp dword [eax + edi*8], 0
je 0x100554bd
xor ebx, ebx
mov ecx, dword [esp + 4]
mov eax, dword [ecx + 0x28]
cmp eax, dword [ecx + 0x64]
jae 0x100554bd
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x30]
push dword [esi + edi*8 + 4]
push 1
push dword [esp + 8]
call fcn.10183690
add esp, 0xc
inc ebx
cmp ebx, dword [esi + edi*8]
jb 0x10055491
inc edi
cmp edi, dword [esp + 0x24]
jne 0x10055479
push dword [esp + 0x18]
call sym.ffmpeg.dll_av_free
add esp, 4
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 4]
jmp 0x10054240
cmp dword [ecx], 0
jne 0x10054922
cmp dword [ebx + 0xf0], 0
jle 0x10054922
mov esi, dword [ebx + 0xec]
mov eax, dword [esp + 4]
mov edx, dword [eax + 0xd4]
mov eax, edx
sar eax, 0x1f
add edx, dword [esi + 8]
adc eax, dword [esi + 0xc]
mov dword [ebx + 0x18], edx
mov dword [ebx + 0x1c], eax
mov esi, dword [esp + 4]
mov esi, dword [esi + 0x30]
test esi, esi
je 0x10054922
mov esi, dword [esi + 4]
mov dword [esp], esi
mov esi, dword [esp]
sar esi, 0x1f
add edx, dword [esp]
adc eax, esi
mov dword [ebx + 0x18], edx
mov dword [ebx + 0x1c], eax
jmp 0x10054922
cmp dword [ecx + 4], 0x1b
jne 0x10054a24
mov dword [ecx + 0x58], 0
mov ecx, dword [esp + 0xc]
cmp dword [ecx + 0xf0], 0
jle 0x10054a24
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 4]
mov dword [esp], ecx
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [eax + 0x28]
jae 0x10054a24
mov ecx, dword [esp]
lea ebx, [ecx + 1]
xor ecx, ecx
cmp ebx, 0x11
mov dword [esp + 0x10], 0
cmove ebx, ecx
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx + 0xec]
mov edx, dword [eax + 0x30]
mov esi, dword [esp + 0x1c]
mov edx, dword [edx + esi*8 + 4]
mov esi, edx
sar esi, 0x1f
mov edi, dword [esp + 8]
lea edi, [edi + edi*2]
add edx, dword [ecx + edi*8 + 8]
adc esi, dword [ecx + edi*8 + 0xc]
mov ecx, dword [esp]
mov dword [esp + ecx*8 + 0xd0], edx
mov dword [esp + ecx*8 + 0xd4], esi
mov dword [esp + 4], ebx
cmp ecx, ebx
jne 0x10055648
mov esi, dword [esp + 0xc]
mov ecx, dword [esi + 0xb4]
mov edx, dword [ecx + 0x58]
mov edi, dword [esp + 0x10]
cmp edx, edi
cmovg edi, edx
mov dword [ecx + 0x58], edi
mov edi, dword [esp + 0x14]
inc edi
mov ecx, dword [eax + 0x30]
xor edx, edx
mov ebx, dword [esp + 0x1c]
cmp edi, dword [ecx + ebx*8]
sete dl
mov ecx, 0
cmove edi, ecx
mov dword [esp + 0x14], edi
add ebx, edx
mov dword [esp + 0x1c], ebx
mov edx, dword [esp + 8]
inc edx
mov ecx, edx
mov dword [esp + 8], edx
cmp edx, dword [esi + 0xf0]
jl 0x10055581
jmp 0x10054a24
mov dword [esp + 0x10], 0
mov esi, dword [esp]
lea ecx, [esi - 1]
test esi, esi
mov edx, 0x10
cmovle ecx, edx
mov edi, dword [esp + esi*8 + 0xd0]
mov edx, dword [esp + esi*8 + 0xd4]
mov ebx, dword [esp + ecx*8 + 0xd0]
mov esi, dword [esp + ecx*8 + 0xd4]
mov dword [esp + 0x18], ebx
cmp edi, ebx
mov ebx, edx
sbb ebx, esi
jge 0x100555ed
mov dword [esp + ecx*8 + 0xd0], edi
mov dword [esp + ecx*8 + 0xd4], edx
mov edx, dword [esp]
mov edi, dword [esp + 0x18]
mov dword [esp + edx*8 + 0xd0], edi
mov dword [esp + edx*8 + 0xd4], esi
inc dword [esp + 0x10]
mov dword [esp], ecx
cmp ecx, dword [esp + 4]
jne 0x10055650
jmp 0x100555ed
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 8]
mov edi, dword [esp + 0x10]
jmp 0x10054823
mov eax, dword [esp + 0x90]
add dword [esp + 0x7c], eax
mov eax, dword [esp + 0x8c]
adc dword [esp + 0x74], eax
mov eax, dword [esp]
cmp eax, dword [esp + 0x78]
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x80]
jne 0x10054aac
jmp 0x10054823
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x4c]
lea eax, [esp + 0xc8]
push eax
lea eax, [esp + 0xd4]
push eax
lea eax, [esp + 0xc8]
push eax
push 4
push esi
push ebx
push 0
push dword [esp + 0xa4]
push dword [esp + 0x54]
push edi
call fcn.10055f50
add esp, 0x28
test eax, eax
jns 0x10054bd4
xor eax, eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd0], eax
mov dword [esp + 0xcc], eax
mov dword [esp + 0xc8], eax
jmp 0x10054bd4
mov dword [esp + 8], edx
mov esi, edi
mov edx, dword [esp + 0xc]
mov edx, dword [edx + 0xb4]
cmp dword [edx], 1
je 0x100557b4
cmp dword [esp + 0xa8], 0
jne 0x100557b4
xor edx, edx
inc edx
mov dword [esp + 0xa8], edx
mov edi, esi
mov edx, dword [esp + 8]
jmp 0x10054e8b
mov eax, dword [esp + 0xc8]
mov ecx, dword [esp + 0xcc]
or ecx, eax
jne 0x10055b56
mov edi, esi
jmp 0x10054fd9
mov cl, 1
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx + 0xf0]
test ecx, ecx
js 0x10055b12
cmp dword [esp + 0x48], 0
jle 0x10055868
lea ecx, [ecx + ecx*2]
add ecx, 0xfffffffe
mov dword [esp + 0x98], ecx
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x54], edi
mov dword [esp + 0xb4], edx
mov ecx, dword [esp + 0x14]
sub ecx, dword [eax + edx*8 - 8]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x54]
sbb ecx, dword [eax + edx*8 - 4]
mov esi, dword [esp + 0xc]
mov edx, dword [esi + 0xec]
mov dword [esp + 0x20], edx
mov esi, dword [esp + 0x98]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x14]
mov dword [edx + esi*8], ebx
mov dword [esp + 0x54], ecx
mov edx, dword [esp + 0x20]
mov dword [edx + esi*8 + 4], ecx
add esi, 0xfffffffd
mov dword [esp + 0x98], esi
mov edx, dword [esp + 0xb4]
dec edx
jne 0x1005580d
lea eax, [esp + 0xbc]
push eax
call fcn.10127460
add esp, 4
jmp 0x10054f0c
mov eax, dword [esp + 0x48]
lea eax, [eax*8 + 8]
push eax
push dword [esp + 0xc0]
call fcn.100601b0
add esp, 8
mov dword [esp + 0xbc], eax
test eax, eax
je 0x10055913
mov edx, dword [esp + 0x48]
lea ecx, [edx + 1]
mov edi, dword [esp + 0x58]
mov dword [eax + edx*8], edi
mov edi, dword [esp + 0x50]
mov dword [eax + edx*8 + 4], edi
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0xb4]
mov dword [esp + 0x28], 0
cmp dword [eax], 1
jne 0x10055b28
cmp dword [esp + 0x60], 0
jle 0x10055b28
cmp dword [eax + 4], 0x15005
je 0x100558f6
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x58]
add dword [eax + 0x110], edx
mov dword [esp + 0x28], 0
mov dword [esp + 8], esi
mov dword [esp + 0x14], 0
mov dword [esp + 0x48], ecx
jmp 0x10054d45
mov edi, dword [esp + 0x10]
jmp 0x10054fd9
mov eax, dword [esp + 0xc]
cmp dword [eax + 0xf0], 0
jle 0x10054865
xor eax, eax
mov ecx, 8
mov dword [esp + 0x10], edi
mov ebx, dword [esp + 0x18]
mov edx, dword [ebx + 0x88]
mov esi, dword [ebx + 0x8c]
mov ebx, dword [esp + 0xc]
mov edi, dword [ebx + 0xec]
sub dword [edi + ecx], edx
sbb dword [edi + ecx + 4], esi
mov edi, dword [esp + 0x10]
inc eax
add ecx, 0x18
cmp eax, dword [ebx + 0xf0]
jl 0x10055938
jmp 0x10054865
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 4]
jmp 0x10054164
mov eax, dword [ebx + 0x1c]
cmp dword [eax + 4], 1
jne 0x10054179
mov eax, dword [ebx + 0x10]
mov dword [esp + 8], eax
test eax, eax
je 0x10054a24
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x34]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x10055cd4
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x38]
mov dword [esp], eax
mov eax, dword [esp + 0x1c]
dec eax
mov dword [esp + 0x18], eax
inc dword [esp + 8]
mov dword [esp + 0x10], 0
xor ebx, ebx
lea esi, [ebx + ebx*2]
mov eax, dword [esp]
mov ecx, dword [eax + esi*4 + 4]
mov eax, dword [esp + 4]
mov edi, dword [eax + 0xac]
cmp ebx, dword [esp + 0x18]
jne 0x10055a08
cmp edi, 0xa0
jb 0x10055a38
mov eax, ecx
xor edx, edx
div edi
mov ecx, eax
cmp dword [esp + 0x18], ebx
jbe 0x10055a1b
inc ebx
mov edx, dword [esp]
mov eax, dword [edx + esi*4 + 0xc]
sub eax, dword [edx + esi*4]
jmp 0x10055a26
test edi, edi
je 0x10055a56
mov eax, ecx
xor edx, edx
div edi
test edx, edx
je 0x100559e5
jmp 0x10054a24
mov eax, dword [esp + 8]
mov edx, dword [esp]
sub eax, dword [edx + esi*4]
inc ebx
imul eax, ecx
add dword [esp + 0x10], eax
cmp ebx, dword [esp + 0x1c]
jne 0x100559cb
jmp 0x10055cdc
cmp edi, 2
jb 0x10055a56
mov ax, 0x400
xor edx, edx
div di
mov eax, 0x400
sub eax, edx
movzx edi, ax
lea eax, [ecx + edi]
dec eax
jmp 0x100559ef
add ecx, 0x3ff
shr ecx, 0xa
jmp 0x100559f5
mov dword [ebx + 0x60], eax
jmp 0x1005435e
mov dword [esp + 0x20], 0
mov dword [esp + 0x38], 0
jmp 0x10054144
mov eax, dword [ebx + 0x78]
mov edx, eax
sar edx, 0x1f
push 0
push ecx
push edx
push eax
push esi
push dword [esp + 0x1c]
call fcn.1005f540
add esp, 0x18
jmp 0x10054616
mov cl, 1
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 8], esi
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx + 0xf0]
test ecx, ecx
js 0x10055b12
cmp dword [esp + 0x48], 0
jle 0x10055afd
lea ecx, [ecx + ecx*2]
add ecx, 0xfffffffe
mov edx, dword [esp + 0x48]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x14], esi
mov ebx, dword [esp + 8]
mov edi, dword [esp + 0x14]
sub edi, dword [eax + edx*8 - 8]
sbb ebx, dword [eax + edx*8 - 4]
mov esi, dword [esp + 0xc]
mov esi, dword [esi + 0xec]
mov dword [esp + 0x14], edi
mov dword [esi + ecx*8], edi
mov dword [esi + ecx*8 + 4], ebx
add ecx, 0xfffffffd
dec edx
jne 0x10055ad6
lea eax, [esp + 0xbc]
push eax
call fcn.10127460
add esp, 4
jmp 0x10054d3e
call fcn.1014029d
mov dword [esp + 0x60], 0
mov ecx, dword [esp + 0x20]
jmp 0x1005504f
mov dword [esp + 8], esi
mov dword [esp + 0x14], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x48], ecx
jmp 0x10054d4d
push dword [esp + 0x18]
call sym.ffmpeg.dll_av_free
add esp, 4
jmp 0x10054a24
mov ebx, dword [esp + 0xd0]
sub eax, dword [esp + 0x84]
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0xa0]
mov edi, dword [esp + 0x34]
push dword [edi + ebx*8 + 4]
push eax
push dword [esp + 0xa4]
call fcn.10183690
add esp, 0xc
jmp 0x100557ca
mov eax, dword [esp + 4]
mov dword [eax + 0x520], 0
mov eax, dword [eax + 0x504]
mov dword [esp], eax
test eax, eax
je 0x10055be3
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0x508]
xor eax, eax
xor edi, edi
cmp dword [ecx + edi*8 + 4], esi
jne 0x10055bdd
mov ebx, dword [ecx + edi*8]
mov edx, eax
xor edx, 0x7fffffff
cmp ebx, edx
ja 0x10054a24
add eax, ebx
mov edx, dword [esp + 4]
mov dword [edx + 0x520], eax
inc edi
cmp edi, dword [esp]
jb 0x10055bb8
mov edi, dword [esp + 4]
lea eax, [edi + 0x51c]
mov dword [esp + 0x1c], eax
push eax
call fcn.10127460
add esp, 4
push 4
push dword [edi + 0x520]
call fcn.10060400
add esp, 8
mov dword [edi + 0x51c], eax
test eax, eax
je 0x10054a24
mov eax, dword [esp + 4]
mov edi, dword [eax + 0x504]
test edi, edi
je 0x10055ef7
mov dword [esp], 0
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0
mov ecx, dword [esp + 4]
mov ebx, dword [ecx + 0x508]
mov eax, dword [esp]
mov edx, dword [ebx + eax*8]
cmp dword [ebx + eax*8 + 4], esi
jne 0x10055ca4
test edx, edx
je 0x10055cd0
mov eax, dword [esp + 8]
lea ecx, [eax*4]
xor edi, edi
mov edx, dword [esp + 0x1c]
mov edx, dword [edx]
add edx, ecx
mov eax, dword [esp + 0x10]
mov dword [edx + edi*4], eax
inc edi
mov eax, dword [esp]
mov edx, dword [ebx + eax*8]
cmp edi, edx
jb 0x10055c68
mov ecx, dword [esp + 0x10]
xor ecx, 0x7fffffff
cmp edx, ecx
ja 0x10054a24
add dword [esp + 8], edi
mov ecx, dword [esp + 4]
mov edi, dword [ecx + 0x504]
jmp 0x10055cb6
mov ecx, dword [esp + 0x10]
xor ecx, 0x7fffffff
cmp edx, ecx
ja 0x10054a24
add dword [esp + 0x10], edx
mov ecx, dword [esp]
inc ecx
mov eax, ecx
mov dword [esp], ecx
cmp ecx, edi
jb 0x10055c41
jmp 0x10055ef7
xor edx, edx
jmp 0x10055c98
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0xf0]
mov ecx, 0xaaaaaaa
sub ecx, eax
cmp dword [esp + 0x10], ecx
jae 0x10054a24
add eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
add ecx, 0xec
push 0x18
push eax
push ecx
call fcn.10060390
add esp, 0xc
test eax, eax
js 0x10055f31
mov ebx, dword [esp + 0xc]
mov eax, dword [ebx + 0xf0]
add eax, dword [esp + 0x10]
shl eax, 3
lea eax, [eax + eax*2]
mov dword [ebx + 0xf4], eax
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x100546d0
mov dword [esp + 0x24], 0
mov dword [esp + 0x14], 0
mov ecx, dword [esp + 4]
mov ecx, dword [ecx + 0x34]
dec ecx
cmp ecx, dword [esp + 0x14]
jbe 0x10055d84
mov ecx, dword [esp + 0x24]
lea edx, [ecx + 1]
mov ecx, dword [esp + 4]
mov ecx, dword [ecx + 0x38]
mov ebx, dword [esp + 0x14]
lea esi, [ebx + 1]
lea edi, [esi + esi*2]
cmp edx, dword [ecx + edi*4]
cmove ebx, esi
mov dword [esp + 0x14], ebx
jmp 0x10055d8b
mov ecx, dword [esp + 4]
mov ecx, dword [ecx + 0x38]
mov edx, dword [esp + 0x14]
lea edx, [edx + edx*2]
mov ecx, dword [ecx + edx*4 + 4]
mov dword [esp + 8], ecx
test ecx, ecx
je 0x10055edd
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x14]
mov ecx, dword [esp + 0x24]
mov edx, dword [eax + ecx*8]
mov dword [esp + 0x1c], edx
mov esi, dword [eax + ecx*8 + 4]
mov eax, dword [esp + 4]
mov eax, dword [eax + 0xac]
mov dword [esp + 0x18], eax
cmp eax, 2
jb 0x10055e23
mov eax, dword [esp + 4]
mov eax, dword [eax + 0xa8]
mov dword [esp], eax
test eax, eax
je 0x10054a24
cmp dword [esp + 0x18], 0x9f
ja 0x10055e47
mov ax, 0x400
xor edx, edx
mov ecx, dword [esp + 0x18]
div cx
mov eax, 0x400
sub eax, edx
movzx edi, ax
mov eax, dword [esp + 8]
cmp edi, eax
cmovae edi, eax
mov eax, edi
xor edx, edx
div cx
movzx eax, ax
mov ecx, dword [esp]
imul ecx, eax
mov dword [esp], ecx
mov dword [esp + 0x18], edi
jmp 0x10055e47
mov eax, 0x400
mov ecx, dword [esp + 8]
cmp ecx, eax
mov edx, 0x400
cmovb edx, ecx
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x5c]
mov dword [esp + 0x18], edx
imul eax, edx
mov dword [esp], eax
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0xf0]
cmp eax, dword [esp + 0x10]
jae 0x10054a24
cmp dword [esp], 0x3fffffff
ja 0x10054a24
mov edi, dword [esp + 0xc]
mov edx, dword [edi + 0xec]
lea ecx, [eax + 1]
mov dword [edi + 0xf0], ecx
lea eax, [eax + eax*2]
mov edi, esi
mov dword [edx + eax*8 + 4], esi
mov esi, dword [esp + 0x1c]
mov dword [edx + eax*8], esi
mov ecx, dword [esp + 0x38]
mov dword [edx + eax*8 + 0xc], ecx
mov ebx, dword [esp + 0x20]
mov dword [edx + eax*8 + 8], ebx
mov dword [edx + eax*8 + 0x14], 0
mov ecx, dword [esp]
lea ecx, [ecx*4 + 1]
mov dword [edx + eax*8 + 0x10], ecx
add esi, dword [esp]
mov dword [esp + 0x1c], esi
adc edi, 0
mov esi, edi
mov eax, dword [esp + 0x18]
add ebx, eax
mov dword [esp + 0x20], ebx
adc dword [esp + 0x38], 0
sub dword [esp + 8], eax
jne 0x10055db8
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x24]
inc ecx
mov dword [esp + 0x24], ecx
cmp ecx, eax
mov ebx, dword [esp + 0xc]
jb 0x10055d52
jmp 0x100546d0
mov ebx, dword [esp + 4]
mov dword [ebx + 0x524], 0xffffffff
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x1005409b
mov ecx, dword [ebx + 0x1c]
xor edx, edx
xor esi, esi
dec esi
mov edi, dword [ecx + edx*8 + 4]
cmp esi, edi
cmovae esi, edi
mov dword [ebx + 0x524], esi
inc edx
cmp edx, eax
jb 0x10055f18
jmp 0x1005409b
mov eax, dword [esp + 0xc]
mov dword [eax + 0xf0], 0
jmp 0x10054a24