Function at 0x100782c0
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [ebp + 0x18]
cdq
idiv dword [ebp + 0x1c]
mov dword [ebp - 0x10], 0
mov ecx, eax
mov dword [ebp - 0x3c], 0
or ecx, 1
bsr eax, ecx
cmp eax, 8
jle 0x100782f2
mov ecx, 8
jmp 0x100782f5
bsr ecx, ecx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x7c], 0xffffffff
mov eax, 0x36
xor esi, esi
sub eax, ecx
bts edi, eax
cmp eax, 0x20
cmovae esi, edi
xor edi, esi
cmp eax, 0x40
mov dword [ebp - 0x20], edi
cmovae esi, edi
mov dword [ebp - 0x40], esi
emms
mov eax, dword [ebp + 0x1c]
add eax, 3
push 4
push eax
mov dword [ebp - 0x84], eax
call sub.libavutil_56.dll_av_malloc_array
mov ecx, dword [ebp + 0xc]
add esp, 8
mov dword [ecx], eax
test eax, eax
jne 0x10078394
push str.Cannot_allocate_memory._n
push 0x10
push 0
call sub.libavutil_56.dll_av_log
add esp, 0xc
mov esi, dword [ebp - 0x7c]
mov ecx, 0x30
cmp esi, 0xffffcfc7
mov eax, 0x10
push str.sws:_initFilter_failed_n
cmove eax, ecx
push eax
push 0
call sub.libavutil_56.dll_av_log
add esp, 0xc
push dword [ebp - 0x10]
call sub.libavutil_56.dll_av_free
push dword [ebp - 0x3c]
call sub.libavutil_56.dll_av_free
add esp, 8
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x14]
add eax, 0xffff0000
cdq
xor eax, edx
sub eax, edx
cmp eax, 0xa
jge 0x100783fd
mov eax, dword [ebp + 0x3c]
cmp eax, dword [ebp + 0x40]
jne 0x100783fd
push 8
push dword [ebp + 0x1c]
mov dword [ebp - 0x24], 1
call sub.libavutil_56.dll_av_mallocz_array
add esp, 8
mov dword [ebp - 0x10], eax
test eax, eax
je 0x10078342
mov edx, dword [ebp + 0x1c]
xor ecx, ecx
test edx, edx
jle 0x100784ab
nop word [eax + eax]
mov dword [eax + ecx*8], edi
mov dword [eax + ecx*8 + 4], esi
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [eax + ecx*4], ecx
inc ecx
cmp ecx, edx
jge 0x100784ab
mov eax, dword [ebp - 0x10]
jmp 0x100783e0
mov ecx, dword [ebp + 0x28]
test cl, 0x10
je 0x100784f1
push 8
push dword [ebp + 0x1c]
mov dword [ebp - 0x24], 1
call sub.libavutil_56.dll_av_malloc_array
add esp, 8
mov dword [ebp - 0x10], eax
test eax, eax
je 0x10078342
mov eax, dword [ebp + 0x14]
imul dword [ebp + 0x40]
mov ecx, edx
mov edi, eax
mov eax, dword [ebp + 0x3c]
mov edx, 0x8000
imul edx
shrd edi, ecx, 8
shrd eax, edx, 7
sar ecx, 8
sar edx, 7
sub edi, eax
mov dword [ebp - 4], edi
sbb ecx, edx
mov edx, dword [ebp + 0x1c]
xor edi, edi
test edx, edx
jle 0x100784ab
mov eax, dword [ebp + 0x14]
cdq
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x30], edx
mov edx, ecx
nop dword [eax]
mov ecx, eax
mov eax, edx
add ecx, 0x8000
adc eax, 0
shrd ecx, eax, 0x10
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [eax + edi*4], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
mov dword [eax + edi*8], ecx
mov dword [eax + edi*8 + 4], esi
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x38]
mov dword [ebp - 4], eax
adc edx, dword [ebp - 0x30]
inc edi
cmp edi, dword [ebp + 0x1c]
jl 0x10078470
mov edx, dword [ebp + 0x1c]
mov edi, 1
mov eax, dword [ebp + 0x30]
mov esi, edi
mov dword [ebp - 0x28], edi
test eax, eax
je 0x100784c5
mov esi, dword [eax + 4]
dec esi
add esi, edi
mov dword [ebp - 0x28], esi
mov eax, dword [ebp + 0x34]
test eax, eax
je 0x100784d5
mov eax, dword [eax + 4]
dec eax
add esi, eax
mov dword [ebp - 0x28], esi
test esi, esi
jg 0x10078e5d
push 0x20f
push str.libswscale_utils.c
push str.filter2Size___0
jmp 0x100798e8
mov edi, dword [ebp + 0x14]
cmp edi, 0x10000
jg 0x10078501
test cl, 0x20
jne 0x1007850a
test cl, 1
je 0x10078637
push 0x10
push dword [ebp + 0x1c]
mov dword [ebp - 0x24], 2
call sub.libavutil_56.dll_av_malloc_array
add esp, 8
mov dword [ebp - 0x10], eax
test eax, eax
je 0x10078342
mov eax, edi
mov dword [ebp - 0x2c], 0
imul dword [ebp + 0x40]
mov ecx, edx
mov edi, eax
mov eax, dword [ebp + 0x3c]
mov edx, 0x8000
imul edx
shrd edi, ecx, 8
shrd eax, edx, 7
sar ecx, 8
sar edx, 7
sub edi, eax
mov dword [ebp - 4], edi
sbb ecx, edx
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 8], ecx
test edx, edx
jle 0x1007862d
mov edx, dword [ebp - 0x20]
mov eax, esi
shrd edx, eax, 0x10
sar eax, 0x10
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x38], edx
cdq
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x6c], edx
mov edx, edi
mov eax, ecx
mov ecx, dword [ebp - 0x2c]
mov edi, ecx
shrd edx, eax, 0x10
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], edx
mov eax, dword [eax]
mov dword [eax + ecx*4], edx
xor eax, eax
mov dword [ebp - 0xc], eax
shl edi, 4
push dword [ebp - 0x18]
add eax, edx
mov ecx, 0x10000
push dword [ebp - 0x38]
imul ecx
mov ecx, eax
sub ecx, dword [ebp - 4]
sbb edx, dword [ebp - 8]
mov eax, edx
cdq
xor eax, edx
xor ecx, edx
sub ecx, edx
sbb eax, edx
push eax
push ecx
call fcn.10002964
mov ecx, dword [ebp - 0x20]
sub ecx, eax
sbb esi, edx
test esi, esi
jg 0x100785ea
jl 0x100785dc
test ecx, ecx
jae 0x100785ea
xorps xmm0, xmm0
movlpd qword [ebp - 0x4c], xmm0
mov esi, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x30]
mov dword [edi + eax], ecx
mov dword [edi + eax + 4], esi
add edi, 8
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0xc], eax
cmp eax, 2
jl 0x100785a2
mov edi, dword [ebp - 4]
add edi, dword [ebp - 0x50]
mov ecx, dword [ebp - 8]
adc ecx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp + 0x1c]
inc eax
mov dword [ebp - 4], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 0x2c], eax
cmp eax, edx
jl 0x10078582
mov edi, 2
jmp 0x100784b0
or edx, 0xffffffff
xor eax, eax
nop dword [eax]
test dword [eax + 0x100e3b40], ecx
je 0x10078655
mov ecx, dword [eax + 0x100e3b48]
test ecx, ecx
jg 0x10078661
mov ecx, dword [ebp + 0x28]
add eax, 0xc
cmp eax, 0x84
jb 0x10078640
jmp 0x10078663
mov edx, ecx
mov esi, dword [ebp + 0x28]
mov eax, esi
and eax, 0x200
mov dword [ebp - 0x58], eax
je 0x100786b7
mov eax, dword [ebp + 0x38]
movsd xmm0, qword [eax]
ucomisd xmm0, qword [0x100e4960]
lahf
test ah, 0x44
jnp 0x100786ab
addsd xmm0, xmm0
sub esp, 8
movsd qword [ebp - 0x4c], xmm0
fld qword [ebp - 0x4c]
fstp qword [esp]
call fcn.1000254a
fstp qword [ebp - 0x4c]
movsd xmm0, qword [ebp - 0x4c]
add esp, 8
jmp 0x100786b3
movsd xmm0, qword [0x100e4920]
cvttsd2si edx, xmm0
test edx, edx
jle 0x100798d9
cmp edi, 0x10000
jle 0x100786d8
imul edx, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x1c]
lea eax, [ecx - 1]
add eax, edx
cdq
idiv ecx
mov edx, eax
mov ecx, dword [ebp + 0x18]
lea eax, [edx + 1]
add ecx, 0xfffffffe
mov edi, 1
cmp eax, ecx
cmovle ecx, eax
cmp ecx, edi
cmovg edi, ecx
mov dword [ebp - 0x24], edi
lea eax, [edi*8]
push eax
push dword [ebp + 0x1c]
call sub.libavutil_56.dll_av_malloc_array
add esp, 8
mov dword [ebp - 0x10], eax
test eax, eax
je 0x10078342
mov eax, dword [ebp + 0x14]
imul dword [ebp + 0x40]
mov dword [ebp - 4], 0
mov ecx, eax
mov eax, edx
shrd ecx, eax, 7
sar eax, 7
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0x2c], ecx
mov ecx, 0x10000
imul ecx
shrd eax, edx, 7
sar edx, 7
sub dword [ebp - 0x2c], eax
sbb dword [ebp - 8], edx
mov edx, dword [ebp + 0x1c]
test edx, edx
jle 0x10078e41
lea eax, [edi - 2]
mov dword [ebp - 0xc], 0
imul ecx
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x48], edx
nop dword [eax]
sub ecx, dword [ebp - 0x74]
push 0
push 0x20000
sbb eax, edx
push eax
push ecx
call fcn.10001497
mov ecx, dword [ebp - 4]
mov edx, eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x60], edx
mov eax, dword [eax]
mov dword [eax + ecx*4], edx
xor eax, eax
mov dword [ebp - 0x38], eax
test edi, edi
jle 0x10078dfa
mov ecx, esi
and ecx, 4
mov dword [ebp - 0x68], ecx
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x18], ecx
nop
add eax, edx
mov ecx, 0x20000
imul ecx
mov edi, eax
sub edi, dword [ebp - 0x2c]
sbb edx, dword [ebp - 8]
mov eax, edx
cdq
xor eax, edx
xor edi, edx
sub edi, edx
sbb eax, edx
mov esi, eax
shld esi, edi, 0xd
shl edi, 0xd
cmp dword [ebp + 0x14], 0x10000
mov dword [ebp - 0x14], esi
jle 0x10078806
mov eax, dword [ebp + 0x1c]
push esi
cdq
push edi
push edx
push eax
call fcn.10002964
mov esi, eax
mov ecx, edx
mov eax, dword [ebp + 0x18]
cdq
push edx
push eax
push ecx
push esi
call fcn.10001497
mov edi, eax
mov dword [ebp - 0x14], edx
mov esi, edx
mov edx, esi
mov ecx, edi
call fcn.10002c98
cmp dword [ebp - 0x68], 0
mulsd xmm0, qword [0x100e4860]
movsd qword [ebp - 0x54], xmm0
je 0x10078a89
mov eax, dword [ebp + 0x38]
movsd xmm0, qword [eax]
ucomisd xmm0, qword [0x100e4960]
lahf
test ah, 0x44
jp 0x1007883e
xorps xmm0, xmm0
mulsd xmm0, qword [0x100e4970]
call fcn.10002ddd
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x28], edx
movsd xmm0, qword [eax + 8]
ucomisd xmm0, qword [0x100e4960]
lahf
test ah, 0x44
jp 0x1007886f
movsd xmm0, qword [str.333333]
mulsd xmm0, qword [0x100e4970]
call fcn.10002ddd
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x1c], edx
test esi, esi
jl 0x100788a1
jg 0x10078890
cmp edi, 0x80000000
jb 0x100788a1
xorps xmm0, xmm0
call fcn.10002ddd
mov edi, eax
mov esi, edx
jmp 0x10078a69
push esi
push edi
push esi
push edi
call fcn.10002964
mov ecx, eax
mov eax, edx
shrd ecx, eax, 0x1e
push esi
sar eax, 0x1e
push edi
push eax
push ecx
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x8c], eax
call fcn.10002964
mov ecx, eax
mov eax, edx
shrd ecx, eax, 0x1e
sar eax, 0x1e
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x50], eax
test esi, esi
jg 0x100789a9
jl 0x100788ee
cmp edi, 0x40000000
jae 0x100789a9
push dword [ebp - 0x50]
mov edx, 0x2000000
mov edi, 0
sub edx, dword [ebp - 0x44]
mov eax, edx
sbb edi, dword [ebp - 0x1c]
push dword [ebp - 0x30]
mov ecx, edi
shld ecx, eax, 1
add eax, eax
add edx, eax
mov eax, dword [ebp - 0x3c]
adc edi, ecx
mov ecx, dword [ebp - 0x28]
shld edi, edx, 1
mov esi, ecx
add edx, edx
mov dword [ebp - 0x14], edx
mov edx, eax
shld ecx, eax, 3
shl eax, 3
add edx, eax
mov eax, dword [ebp - 0x14]
adc esi, ecx
sub eax, edx
sbb edi, esi
push edi
push eax
call fcn.10002964
mov ecx, dword [ebp - 0x3c]
mov edi, eax
mov eax, dword [ebp - 0x28]
sub ecx, 0x1800000
push dword [ebp - 0x8c]
sbb eax, 0
mov dword [ebp - 0x14], edx
push dword [ebp - 0x6c]
shld eax, ecx, 1
add ecx, ecx
add ecx, dword [ebp - 0x44]
adc eax, dword [ebp - 0x1c]
push eax
push ecx
call fcn.10002964
mov esi, eax
mov ecx, edx
shld ecx, eax, 1
add eax, eax
add esi, eax
mov eax, 0
adc edx, ecx
mov ecx, 0x3000000
shld edx, esi, 1
add esi, esi
add edi, esi
mov esi, dword [ebp - 0x14]
adc esi, edx
sub ecx, dword [ebp - 0x3c]
sbb eax, dword [ebp - 0x28]
shld eax, ecx, 0x1f
shl ecx, 0x1f
add edi, ecx
adc esi, eax
jmp 0x10078a69
mov eax, dword [ebp - 0x44]
mov esi, eax
mov ecx, dword [ebp - 0x1c]
mov edx, ecx
push dword [ebp - 0x8c]
shld ecx, eax, 2
push dword [ebp - 0x6c]
shl eax, 2
add esi, eax
adc edx, ecx
add esi, dword [ebp - 0x3c]
adc edx, dword [ebp - 0x28]
push edx
push esi
call fcn.10002964
mov ecx, dword [ebp - 0x44]
mov esi, edx
push dword [ebp - 0x14]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x1c]
shld eax, ecx, 2
push edi
shl ecx, 2
add ecx, dword [ebp - 0x3c]
adc eax, dword [ebp - 0x28]
push eax
push ecx
call fcn.10002964
mov edi, dword [ebp - 0x6c]
shld edx, eax, 1
push dword [ebp - 0x50]
add eax, eax
sub edi, eax
mov eax, edi
sbb esi, edx
mov ecx, esi
shld ecx, eax, 1
push dword [ebp - 0x30]
add eax, eax
add edi, eax
mov eax, dword [ebp - 0x44]
adc esi, ecx
mov ecx, dword [ebp - 0x1c]
shld esi, edi, 1
mov edx, ecx
mov dword [ebp - 0x14], esi
add edi, edi
mov esi, eax
shld ecx, eax, 1
add eax, eax
add esi, eax
adc edx, ecx
shld edx, esi, 1
add esi, esi
add esi, dword [ebp - 0x3c]
adc edx, dword [ebp - 0x28]
push edx
push esi
call fcn.10002964
mov esi, dword [ebp - 0x14]
sub edi, eax
mov ecx, dword [ebp - 0x44]
mov eax, ecx
sbb esi, edx
mov edx, dword [ebp - 0x1c]
shld edx, eax, 1
add eax, eax
add ecx, eax
add ecx, dword [ebp - 0x3c]
add ecx, ecx
add edi, 0
adc esi, ecx
push dword [ebp - 0x40]
push dword [ebp - 0x20]
push 0x400000
push 0
call fcn.10001497
push edx
push eax
push esi
push edi
call fcn.10001497
jmp 0x10078dcd
mov eax, dword [ebp + 0x28]
test al, 8
je 0x10078b2d
mov eax, dword [ebp + 0x38]
movsd xmm1, qword [eax]
ucomisd xmm1, qword [0x100e4960]
movsd qword [ebp - 0x34], xmm1
movsd xmm1, qword [0x100e48c0]
lahf
test ah, 0x44
jp 0x10078abb
movsd qword [ebp - 0x34], xmm1
comisd xmm1, xmm0
jbe 0x10078ae3
mulsd xmm0, qword [0x100e4910]
call fcn.10002d3d
xorps xmm1, xmm1
comisd xmm1, xmm0
ja 0x10078aeb
movsd xmm1, qword [ebp - 0x34]
call fcn.10003e90
jmp 0x10078b03
movsd xmm0, qword [0x100e4990]
xorps xmm0, xmmword [0x100e4a10]
movsd xmm1, qword [ebp - 0x34]
call fcn.10003e90
xorps xmm0, xmmword [0x100e4a10]
mulsd xmm0, qword [0x100e48a0]
mov edx, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x20]
addsd xmm0, qword [0x100e48a0]
movsd qword [ebp - 0x34], xmm0
call fcn.10002c98
mulsd xmm0, qword [ebp - 0x34]
jmp 0x10078dc8
test al, 0x20
je 0x10078b9f
mov eax, dword [ebp + 0x14]
sub edi, 0x20000000
cdq
push edx
push eax
sbb esi, 0
push esi
push edi
call fcn.10002964
mov ecx, edx
cmp ecx, 0xffffe000
jg 0x10078b61
jl 0x10078b57
test eax, eax
jae 0x10078b61
movsd xmm0, qword [0x100e4980]
jmp 0x10078b7f
cmp ecx, 0x2000
jg 0x10078b7c
jl 0x10078b6f
test eax, eax
jae 0x10078b7c
xor esi, esi
mov edx, 0x2000
sub esi, eax
sbb edx, ecx
jmp 0x10078b86
xorps xmm0, xmm0
call fcn.10002ddd
mov esi, eax
mov eax, dword [ebp - 0x40]
mov ecx, eax
push edx
push esi
sar eax, 0x1f
sar ecx, 0xe
push eax
push ecx
call fcn.10002964
jmp 0x10078dcd
test al, al
jns 0x10078bff
mov eax, dword [ebp + 0x38]
movsd xmm1, qword [eax]
ucomisd xmm1, qword [0x100e4960]
lahf
test ah, 0x44
jp 0x10078bc0
movsd xmm1, qword [0x100e4900]
mulsd xmm1, xmm0
sub esp, 8
mulsd xmm1, xmm0
xorps xmm1, xmmword [0x100e4a10]
movsd qword [esp], xmm1
call fcn.10002b35
mov edx, dword [ebp - 0x40]
add esp, 8
mov ecx, dword [ebp - 0x20]
call fcn.10002c98
movsd qword [ebp - 0x34], xmm0
fmul qword [ebp - 0x34]
fstp qword [ebp - 0x34]
movsd xmm0, qword [ebp - 0x34]
jmp 0x10078dc8
test eax, 0x100
je 0x10078c51
or edi, esi
je 0x10078c2f
mulsd xmm0, qword [0x100e4910]
movsd qword [ebp - 0x54], xmm0
call fcn.10003b2a
movaps xmm1, xmm0
movsd xmm0, qword [ebp - 0x54]
divsd xmm1, xmm0
movsd qword [ebp - 0x34], xmm1
jmp 0x10078c3c
movsd xmm0, qword [0x100e48c0]
movsd qword [ebp - 0x34], xmm0
mov edx, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x20]
call fcn.10002c98
mulsd xmm0, qword [ebp - 0x34]
jmp 0x10078dc8
cmp dword [ebp - 0x58], 0
je 0x10078d2d
mov eax, dword [ebp + 0x38]
movsd xmm1, qword [eax]
ucomisd xmm1, qword [0x100e4960]
movsd qword [ebp - 0x70], xmm1
lahf
test ah, 0x44
jp 0x10078c82
movsd xmm1, qword [0x100e4900]
movsd qword [ebp - 0x70], xmm1
or edi, esi
je 0x10078ce6
mulsd xmm0, qword [0x100e4910]
movsd qword [ebp - 0x90], xmm0
divsd xmm0, xmm1
call fcn.10003b2a
movaps xmm1, xmm0
movsd xmm0, qword [ebp - 0x90]
movsd qword [ebp - 0x34], xmm1
call fcn.10003b2a
movsd xmm2, qword [ebp - 0x34]
mulsd xmm2, xmm0
movsd xmm0, qword [ebp - 0x54]
mulsd xmm0, xmm0
mulsd xmm0, qword [0x100e4910]
mulsd xmm0, qword [0x100e4910]
divsd xmm0, qword [ebp - 0x70]
divsd xmm2, xmm0
movsd qword [ebp - 0x34], xmm2
jmp 0x10078cf3
movsd xmm0, qword [0x100e48c0]
movsd qword [ebp - 0x34], xmm0
mov edx, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x20]
call fcn.10002c98
mulsd xmm0, qword [ebp - 0x34]
call fcn.10002ddd
movsd xmm0, qword [ebp - 0x54]
mov ecx, eax
comisd xmm0, xmmword [ebp - 0x70]
jbe 0x10078dcf
xorps xmm0, xmm0
movlpd qword [ebp - 0x34], xmm0
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
jmp 0x10078dcf
test al, 2
je 0x10078d6f
mov edx, 0x40000000
sub edx, edi
mov edi, 0
sbb edi, esi
test edi, edi
jg 0x10078d57
jl 0x10078d49
test edx, edx
jae 0x10078d57
xorps xmm0, xmm0
movlpd qword [ebp - 0x34], xmm0
mov edi, dword [ebp - 0x30]
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x40]
shrd ecx, eax, 0x1e
push edi
push edx
sar eax, 0x1e
push eax
push ecx
call fcn.10002964
jmp 0x10078dcd
test eax, 0x400
je 0x10078e2d
sub esp, 0x28
movsd qword [esp + 0x20], xmm0
movaps xmm0, xmmword [0x100e49d0]
movups xmmword [esp + 0x10], xmm0
xorps xmm0, xmm0
movsd qword [esp + 8], xmm0
movsd xmm0, qword [0x100e48c0]
movsd qword [esp], xmm0
call fcn.10077d00
mov edx, dword [ebp - 0x40]
add esp, 0x28
mov ecx, dword [ebp - 0x20]
call fcn.10002c98
movsd qword [ebp - 0x34], xmm0
fmul qword [ebp - 0x34]
fstp qword [ebp - 0x34]
movsd xmm0, qword [ebp - 0x34]
call fcn.10002ddd
mov ecx, eax
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp - 0x24]
mov dword [esi + eax], ecx
mov dword [esi + eax + 4], edx
add esi, 8
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x18], esi
cmp eax, edi
jl 0x100787b0
mov esi, dword [ebp + 0x28]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x2c]
add eax, eax
cdq
add ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x2c], ecx
adc eax, edx
inc dword [ebp - 4]
lea edx, [edi*8]
mov dword [ebp - 8], eax
add dword [ebp - 0xc], edx
mov edx, dword [ebp + 0x1c]
cmp dword [ebp - 4], edx
jge 0x10078e41
mov edx, dword [ebp - 0x48]
jmp 0x10078770
push 0x1fc
push str.libswscale_utils.c
push 0x100e2fb4
jmp 0x100798e8
test edi, edi
jg 0x100784b0
push 0x209
push str.libswscale_utils.c
push str.filterSize___0
jmp 0x100798e8
lea eax, [esi*8]
push eax
push edx
call sub.libavutil_56.dll_av_mallocz_array
mov edi, eax
add esp, 8
mov dword [ebp - 0x3c], edi
test edi, edi
je 0x10078342
cmp dword [ebp + 0x1c], 0
mov dword [ebp - 0x50], 0
jle 0x10078fc4
lea eax, [esi - 1]
mov dword [ebp - 0x14], 0
cdq
sub eax, edx
mov dword [ebp - 8], edi
sar eax, 1
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x24]
lea eax, [eax - 1]
cdq
sub eax, edx
sar eax, 1
xor edx, edx
mov dword [ebp - 0x48], eax
mov dword [ebp - 4], edx
mov ecx, dword [ebp + 0x30]
xor eax, eax
test ecx, ecx
je 0x10078f4e
mov dword [ebp - 0xc], eax
cmp dword [ecx + 4], eax
jle 0x10078f89
mov edx, dword [ebp - 8]
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x30], edx
test esi, esi
jle 0x10078f3a
mov eax, dword [ebp - 4]
mov edi, edx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x38], esi
mov esi, dword [ecx]
mov ecx, dword [ebp - 0x10]
mov edx, dword [eax + ecx + 4]
mov ecx, dword [eax + ecx]
call fcn.10002c98
mov eax, dword [ebp - 0xc]
mov edx, dword [edi + 4]
mov ecx, dword [edi]
mulsd xmm0, qword [esi + eax*8]
movsd qword [ebp - 0x5c], xmm0
call fcn.10002c98
addsd xmm0, qword [ebp - 0x5c]
call fcn.10002ddd
mov ecx, dword [ebp + 0x30]
mov dword [edi], eax
mov eax, dword [ebp - 0x18]
mov dword [edi + 4], edx
add eax, 8
add edi, 8
mov dword [ebp - 0x18], eax
sub dword [ebp - 0x38], 1
jne 0x10078ee5
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x24]
inc eax
add edx, 8
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x30], edx
cmp eax, dword [ecx + 4]
jl 0x10078ed6
mov edi, dword [ebp - 0x3c]
jmp 0x10078f86
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x24], eax
jle 0x10078f89
mov esi, edx
nop dword [eax + eax]
mov ecx, dword [ebp - 0x10]
lea esi, [esi + 8]
mov edx, dword [ebp - 0x14]
add edx, eax
mov eax, dword [esi + ecx - 8]
mov dword [edi + edx*8], eax
mov eax, dword [esi + ecx - 4]
mov dword [edi + edx*8 + 4], eax
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp eax, dword [ebp - 0x24]
jl 0x10078f60
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x50]
add dword [ebp - 0x14], esi
mov ecx, dword [eax]
mov eax, dword [ebp - 0x48]
sub eax, dword [ebp - 0x60]
add dword [ecx + edx*4], eax
lea eax, [esi*8]
mov ecx, dword [ebp - 0x24]
inc edx
add dword [ebp - 8], eax
mov dword [ebp - 0x50], edx
lea eax, [ecx*8]
add dword [ebp - 4], eax
cmp edx, dword [ebp + 0x1c]
mov edx, dword [ebp - 4]
jl 0x10078eb4
lea eax, [ebp - 0x10]
push eax
call sub.libavutil_56.dll_av_freep
mov edx, dword [ebp + 0x1c]
xor ecx, ecx
add esp, 4
mov dword [ebp - 4], ecx
lea eax, [edx - 1]
mov edi, eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edi
test edi, edi
js 0x100791a1
xorps xmm0, xmm0
call fcn.10002ddd
mov esi, dword [ebp - 0x3c]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x60], edx
mov edx, dword [ebp - 0x28]
mov eax, edx
imul eax, edi
mov ecx, edx
neg ecx
shl ecx, 3
mov dword [ebp - 0x68], ecx
mov dword [ebp - 8], eax
lea eax, [esi + eax*8]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x38], 0
test edx, edx
jle 0x100790f1
mov edx, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x20]
call fcn.10002c98
mulsd xmm0, qword [0x100e4870]
movsd qword [ebp - 0x5c], xmm0
nop dword [eax]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
test eax, eax
jl 0x10079062
jg 0x10079069
test ecx, ecx
jae 0x10079069
neg ecx
adc eax, 0
neg eax
add dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0x18]
adc ecx, eax
mov dword [ebp - 0x18], ecx
mov edx, ecx
mov ecx, dword [ebp - 0xc]
call fcn.10002c98
comisd xmm0, xmmword [ebp - 0x5c]
ja 0x100790ee
cmp edi, dword [ebp - 0x30]
jge 0x10079098
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov eax, dword [ecx + edi*4]
cmp eax, dword [ecx + edi*4 + 4]
jge 0x100790ee
mov edx, dword [ebp - 0x28]
mov eax, 1
cmp edx, eax
jle 0x100790c2
mov eax, dword [ebp - 8]
lea ecx, [edx - 1]
and ecx, 0x1fffffff
add ecx, ecx
lea edi, [esi + eax*8]
mov eax, edx
lea esi, [edi + 8]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x3c]
add eax, dword [ebp - 8]
mov dword [esi + eax*8 - 8], 0
mov dword [esi + eax*8 - 4], 0
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
inc dword [eax + edi*4]
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp eax, edx
jl 0x10079050
jmp 0x100790f1
mov edx, dword [ebp - 0x28]
lea eax, [edx - 1]
xorps xmm0, xmm0
movlpd qword [ebp - 0x5c], xmm0
mov dword [ebp - 0x18], eax
test eax, eax
jle 0x10079174
mov edx, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x20]
call fcn.10002c98
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 8]
mulsd xmm0, qword [0x100e4870]
mov edx, dword [ebp - 0x58]
lea edi, [esi + eax*8]
mov eax, dword [ebp - 0x5c]
mov esi, dword [ebp - 0x18]
movsd qword [ebp - 0x78], xmm0
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 4]
mov ecx, dword [edi]
test eax, eax
jl 0x1007913f
jg 0x10079146
test ecx, ecx
jae 0x10079146
neg ecx
adc eax, 0
neg eax
add dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0xc]
adc edx, eax
mov dword [ebp - 0x58], edx
call fcn.10002c98
comisd xmm0, xmmword [ebp - 0x78]
ja 0x1007916b
dec dword [ebp - 0x14]
dec esi
mov edx, dword [ebp - 0x58]
sub edi, 8
test esi, esi
jg 0x10079130
mov edx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 4]
cmovle eax, dword [ebp - 4]
dec edi
sub dword [ebp - 8], edx
mov ecx, eax
mov eax, dword [ebp - 0x68]
add dword [ebp - 0x1c], eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0x2c], edi
test edi, edi
jns 0x10079017
mov esi, dword [ebp - 0x28]
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 4], ecx
test byte [ebp + 0x2c], 1
je 0x100791b8
cmp ecx, 1
jne 0x100791b8
mov eax, dword [ebp + 0x20]
cmp eax, 2
jne 0x100791d3
mov eax, ecx
jmp 0x100791d3
test ecx, ecx
jg 0x100791d0
push 0x261
push str.libswscale_utils.c
push str.minFilterSize___0
jmp 0x100798e8
mov eax, dword [ebp + 0x20]
lea edi, [eax - 1]
neg eax
add edi, ecx
and edi, eax
mov dword [ebp - 0x2c], edi
jg 0x100791f5
push 0x263
push str.libswscale_utils.c
push str.filterSize___0
jmp 0x100798e8
lea eax, [edi*8]
push eax
push edx
call sub.libavutil_56.dll_av_malloc_array
mov edx, eax
add esp, 8
mov dword [ebp - 0x10], edx
test edx, edx
je 0x10078353
cmp edi, 0x100
jl 0x10079227
mov dword [ebp - 0x7c], 0xffffcfc7
jmp 0x10078353
test dword [ebp + 0x28], 0x1000
mov eax, dword [ebp + 0x10]
mov dword [eax], edi
je 0x1007924b
push edi
push esi
push str.SwScaler:_reducing___aligning_filtersize__d_____d_n
push 0x28
push 0
call sub.libavutil_56.dll_av_log
mov edx, dword [ebp - 0x10]
add esp, 0x14
mov eax, dword [ebp + 0x1c]
test eax, eax
jle 0x10079325
xor ecx, ecx
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], ecx
nop word [eax + eax]
xor esi, esi
test edi, edi
jle 0x10079306
mov eax, dword [ebp + 0x28]
mov ecx, dword [ebp - 0x28]
and eax, 0x80000
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
nop
mov eax, dword [ebp - 8]
add eax, esi
shl eax, 3
mov dword [ebp - 0x18], eax
cmp esi, ecx
jl 0x100792b0
mov dword [eax + edx], 0
mov dword [eax + edx + 4], 0
jmp 0x100792d4
mov ecx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
add ecx, esi
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + ecx*8]
mov dword [edi + edx], eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + ecx*8 + 4]
mov ecx, edi
mov edi, dword [ebp - 0x2c]
mov dword [ecx + edx + 4], eax
mov ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x48], 0
je 0x100792f4
cmp esi, dword [ebp - 4]
jl 0x100792f4
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov dword [edx + eax], 0
mov dword [edx + eax + 4], 0
add dword [ebp - 0xc], 8
inc esi
mov edx, dword [ebp - 0x10]
cmp esi, edi
jl 0x10079290
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 8]
add dword [ebp - 0x14], eax
lea esi, [edi*8]
add dword [ebp - 0x1c], esi
add ecx, edi
sub dword [ebp - 0x38], 1
mov dword [ebp - 8], ecx
jne 0x10079270
mov eax, dword [ebp + 0x1c]
xor esi, esi
mov dword [ebp - 0x20], esi
test eax, eax
jle 0x10079548
xor ecx, ecx
mov dword [ebp - 0x14], 8
mov dword [ebp - 0x24], ecx
nop
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
cmp dword [eax + esi*4], 0
jge 0x100793cc
mov dword [ebp - 0xc], 1
cmp edi, 1
jle 0x100793bd
mov esi, dword [ebp - 0x14]
nop
mov eax, dword [ebp + 0xc]
lea esi, [esi + 8]
mov ecx, dword [ebp - 0x20]
mov eax, dword [eax]
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebp - 0xc]
add ecx, eax
xor eax, eax
test ecx, ecx
cmovle ecx, eax
mov eax, dword [esi + edx - 8]
add ecx, dword [ebp - 0x24]
add dword [edx + ecx*8], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [esi + eax - 4]
adc dword [edx + ecx*8 + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + eax - 8], 0
mov dword [esi + eax - 4], 0
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp eax, edi
jge 0x100793b2
mov edx, dword [ebp - 0x10]
jmp 0x10079360
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov eax, dword [eax]
mov dword [eax + esi*4], 0
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
mov eax, dword [eax]
mov eax, dword [eax + esi*4]
mov dword [ebp - 0x48], eax
add eax, edi
cmp eax, dword [ebp + 0x18]
jle 0x100794da
xor esi, esi
mov eax, edi
sub eax, dword [ebp + 0x18]
xorps xmm0, xmm0
test eax, eax
movlpd qword [ebp - 0x64], xmm0
cmovle esi, eax
add esi, dword [ebp - 0x48]
mov dword [ebp - 4], esi
lea esi, [edi - 1]
mov eax, esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x48], eax
test eax, eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 8], eax
js 0x10079462
mov edi, esi
mov esi, dword [ebp - 0x20]
add ecx, edi
shl ecx, 3
nop dword [eax]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov eax, dword [eax + esi*4]
add eax, edi
cmp eax, dword [ebp + 0x18]
jl 0x10079454
mov eax, dword [ebp - 8]
add eax, dword [ecx + edx]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x1c]
adc eax, dword [ecx + edx + 4]
mov dword [ecx + edx], 0
mov dword [ecx + edx + 4], 0
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
sub ecx, 8
sub edi, 1
jns 0x10079420
mov edi, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
test esi, esi
js 0x100794b0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x24]
nop
lea esi, [eax + edi]
cmp edi, ecx
jge 0x10079488
mov dword [edx + esi*8], 0
mov dword [edx + esi*8 + 4], 0
jmp 0x100794a3
mov ecx, eax
sub ecx, dword [ebp - 4]
add ecx, edi
mov eax, dword [edx + ecx*8]
mov dword [edx + esi*8], eax
mov eax, dword [edx + ecx*8 + 4]
mov ecx, dword [ebp - 4]
mov dword [edx + esi*8 + 4], eax
mov eax, dword [ebp - 0x24]
sub edi, 1
js 0x100794ad
mov edx, dword [ebp - 0x10]
jmp 0x10079470
mov edi, dword [ebp - 0x2c]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp - 0x20]
mov eax, dword [edx]
sub dword [eax + esi*4], ecx
mov eax, dword [edx]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 8]
sub ecx, dword [eax + esi*4]
add ecx, dword [ebp + 0x18]
mov eax, dword [ebp - 0x10]
add dword [eax + ecx*8 - 8], edx
mov edx, dword [ebp - 0x1c]
adc dword [eax + ecx*8 - 4], edx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov ecx, dword [eax + esi*4]
mov dword [ebp - 0x48], ecx
test ecx, ecx
js 0x1007964a
cmp ecx, dword [ebp + 0x18]
jge 0x10079636
lea eax, [ecx + edi]
cmp eax, dword [ebp + 0x18]
jle 0x10079529
xor esi, esi
test edi, edi
jle 0x10079526
lea eax, [ecx + esi]
cmp eax, dword [ebp + 0x18]
jl 0x10079521
mov ecx, dword [ebp - 0x24]
add ecx, esi
mov eax, dword [edx + ecx*8]
or eax, dword [edx + ecx*8 + 4]
jne 0x10079622
mov ecx, dword [ebp - 0x48]
inc esi
cmp esi, edi
jl 0x10079504
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
lea eax, [edi*8]
add dword [ebp - 0x14], eax
inc esi
add ecx, edi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ecx
cmp esi, dword [ebp + 0x1c]
jl 0x10079340
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
add eax, eax
push eax
push dword [ebp - 0x84]
call sub.libavutil_56.dll_av_mallocz_array
mov edx, dword [ebp + 8]
add esp, 8
mov dword [edx], eax
test eax, eax
je 0x10078342
cmp dword [ebp + 0x1c], 0
mov dword [ebp - 0x14], 0
jle 0x1007984a
mov eax, dword [ebp + 0x24]
mov esi, dword [ebp - 0x10]
cdq
sub eax, edx
mov dword [ebp - 0x20], 0x10
sar eax, 1
cdq
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x60], edx
cdq
mov dword [ebp - 0x58], edx
xor edx, edx
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x1c], edx
xorps xmm0, xmm0
xor ecx, ecx
movlpd qword [ebp - 0x54], xmm0
movlpd qword [ebp - 0x88], xmm0
test edi, edi
jle 0x1007965e
cmp edi, 4
jb 0x1007965e
mov eax, edi
and eax, 0x80000003
jns 0x100795d5
dec eax
or eax, 0xfffffffc
inc eax
mov edx, edi
xorps xmm2, xmm2
sub edx, eax
xorps xmm1, xmm1
mov eax, dword [ebp - 0x20]
add eax, esi
movups xmm0, xmmword [eax - 0x10]
add ecx, 4
lea eax, [eax + 0x20]
paddq xmm2, xmm0
movups xmm0, xmmword [eax - 0x20]
paddq xmm1, xmm0
cmp ecx, edx
jl 0x100795e4
mov edx, dword [ebp - 0x1c]
paddq xmm1, xmm2
movaps xmm0, xmm1
psrldq xmm0, 8
paddq xmm1, xmm0
movd dword [ebp + 0x18], xmm1
psrldq xmm1, 4
movd dword [ebp - 8], xmm1
jmp 0x10079670
push 0x2a8
push str.libswscale_utils.c
push str._filterPos__i___j___srcW___filter_i__filterSize__j_
jmp 0x100798e8
push 0x2a5
push str.libswscale_utils.c
push str._filterPos__i____srcW
jmp 0x100798e8
push 0x2a4
push str.libswscale_utils.c
push str._filterPos__i____0
jmp 0x100798e8
mov eax, dword [ebp - 0x84]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp + 0x18], eax
xorps xmm0, xmm0
movlpd qword [ebp - 0x78], xmm0
movlpd qword [ebp - 0x80], xmm0
cmp ecx, edi
jge 0x10079737
mov eax, edi
sub eax, ecx
cmp eax, 2
jl 0x100796f7
lea eax, [edx + ecx]
mov edx, edi
sub edx, ecx
lea eax, [esi + eax*8]
mov esi, dword [ebp - 0x7c]
sub edx, 2
shr edx, 1
inc edx
mov dword [ebp - 0xc], esi
mov esi, dword [ebp - 0x80]
mov edi, dword [ebp - 0xc]
lea ecx, [ecx + edx*2]
mov dword [ebp - 0x84], ecx
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x44], ecx
mov ecx, esi
mov esi, dword [ebp - 0x44]
add esi, dword [eax]
mov dword [ebp - 0x44], esi
mov esi, dword [ebp - 0x24]
adc esi, dword [eax + 4]
add ecx, dword [eax + 8]
mov dword [ebp - 0x24], esi
adc edi, dword [eax + 0xc]
lea eax, [eax + 0x10]
mov esi, dword [ebp - 0x10]
sub edx, 1
jne 0x100796c1
mov dword [ebp - 0xc], edi
mov edi, dword [ebp - 0x2c]
mov edx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 0x84]
jmp 0x1007970c
mov eax, dword [ebp - 0x74]
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 4], eax
cmp ecx, edi
jge 0x10079728
mov eax, dword [ebp - 0x1c]
add eax, ecx
mov ecx, dword [ebp + 0x18]
add ecx, dword [esi + eax*8]
mov dword [ebp + 0x18], ecx
mov ecx, dword [ebp - 8]
adc ecx, dword [esi + eax*8 + 4]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x44]
adc edx, dword [ebp - 0x24]
add dword [ebp + 0x18], eax
adc dword [ebp - 8], edx
push dword [ebp - 0x58]
mov ecx, dword [ebp - 0x48]
add ecx, dword [ebp + 0x18]
push dword [ebp - 0x68]
mov eax, dword [ebp - 0x60]
adc eax, dword [ebp - 8]
push eax
push ecx
call fcn.10001497
mov ecx, eax
mov dword [ebp - 4], eax
or ecx, edx
mov dword [ebp + 0x18], edx
jne 0x10079780
push str.SwScaler:_zero_vector_in_scaling_n
push 0x18
push ecx
call sub.libavutil_56.dll_av_log
mov esi, dword [ebp - 0x10]
mov ecx, 1
add esp, 0xc
mov dword [ebp - 4], ecx
mov dword [ebp + 0x18], 0
jmp 0x10079783
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x10]
xor eax, eax
mov dword [ebp - 0xc], eax
cmp dword [edx], eax
jle 0x10079825
mov edi, dword [ebp - 0x50]
mov edx, ecx
mov ecx, dword [ebp + 0x18]
mov esi, dword [ebp - 0x54]
shrd edx, ecx, 1
sar ecx, 1
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x38], ecx
nop word [eax + eax]
add eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x10]
add esi, dword [edx + eax*8]
mov eax, dword [edx + eax*8 + 4]
adc edi, eax
js 0x100797d3
jg 0x100797c7
test esi, esi
jb 0x100797d3
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x38]
add ecx, esi
adc eax, edi
jmp 0x100797dd
mov ecx, esi
mov eax, edi
sub ecx, dword [ebp - 0x18]
sbb eax, dword [ebp - 0x38]
push dword [ebp + 0x18]
push dword [ebp - 4]
push eax
push ecx
call fcn.10001497
mov ecx, dword [ebp + 0x10]
push dword [ebp + 0x18]
push dword [ebp - 4]
mov edx, dword [ecx]
imul edx, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
add edx, dword [ebp - 0xc]
mov ecx, dword [ecx]
mov word [ecx + edx*2], ax
cdq
push edx
push eax
call fcn.10002964
mov ecx, dword [ebp + 0x10]
sub esi, eax
mov eax, dword [ebp - 0xc]
sbb edi, edx
inc eax
mov dword [ebp - 0xc], eax
cmp eax, dword [ecx]
jl 0x100797b0
mov edi, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
lea ecx, [edi*8]
mov edx, dword [ebp - 0x1c]
inc eax
add dword [ebp - 0x20], ecx
add edx, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], edx
cmp eax, dword [ebp + 0x1c]
jl 0x100795a4
mov edx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x1c]
mov ecx, dword [esi]
mov eax, dword [ecx + edi*4 - 4]
mov dword [ecx + edi*4 + 8], eax
mov ecx, dword [esi]
mov eax, dword [ecx + edi*4 + 8]
mov dword [ecx + edi*4 + 4], eax
mov ecx, dword [esi]
mov eax, dword [ecx + edi*4 + 4]
mov dword [ecx + edi*4], eax
xor ecx, ecx
mov edi, dword [ebp + 0x10]
mov dword [ebp + 0x1c], ecx
cmp dword [edi], ecx
jle 0x100798d2
nop dword [eax]
mov eax, dword [edi]
mov esi, eax
imul esi, dword [ebp - 0x30]
mov edx, dword [edx]
add esi, ecx
lea ecx, [esi + eax*2]
add ecx, eax
movzx eax, word [edx + esi*2]
mov word [edx + ecx*2], ax
mov ecx, dword [edi]
mov eax, dword [ebp + 8]
mov edx, dword [eax]
lea eax, [esi + ecx*2]
add eax, ecx
lea ecx, [esi + ecx*2]
movzx eax, word [edx + eax*2]
mov word [edx + ecx*2], ax
mov ecx, dword [edi]
mov eax, dword [ebp + 8]
mov edx, dword [eax]
lea eax, [esi + ecx*2]
add ecx, esi
movzx eax, word [edx + eax*2]
mov word [edx + ecx*2], ax
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 8]
inc ecx
mov dword [ebp + 0x1c], ecx
cmp ecx, dword [edi]
jl 0x10079880
xor esi, esi
jmp 0x10078379
push 0x1a2
push str.libswscale_utils.c
push str.sizeFactor___0
push str.Assertion__s_failed_at__s:_d_n
push 0
push 0
call sub.libavutil_56.dll_av_log
add esp, 0x18
call fcn.100011cc
int3