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

Disassembly:
push ebp
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x8c
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0xa8]
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x5c], edx
mov esi, dword [esp + 0xac]
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x7c], ecx
mov ecx, dword [ebx + 0x1c]
mov edi, dword [esp + 0xb0]
mov ebp, dword [esp + 0xbc]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0xb4]
test ecx, ecx
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0xb8]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x54], edi
mov dword [esp + 0x40], ebp
jne 0x6c4ffd20
mov ecx, dword [ebx + 0x8c]
mov ebp, edx
mov esi, dword [ebx + 0x11d0]
and ebp, 1
mov edi, dword [ebx + 0x11d4]
mov dword [esp + 0x50], ebp
sar ecx, 1
mov dword [esp + 0x38], ecx
mov ecx, eax
mov dword [esp + 0x4c], esi
mov esi, ebp
and ecx, 1
add esi, esi
mov dword [esp + 0x48], ecx
or ecx, esi
mov dword [esp + 0x58], ecx
mov ecx, dword [ebx + 0x2090]
mov dword [esp + 0x68], edi
mov edi, eax
sar edi, 1
mov ebp, ecx
shl ebp, 4
add edi, ebp
mov ebp, edx
mov dword [esp + 0x44], edi
mov edi, dword [esp + 0x40]
sar ebp, 1
lea ebp, [ebp + edi*8]
mov edi, dword [ebx + 0x2754]
test edi, edi
je 0x6c4ffdf0
mov esi, eax
mov edi, edx
shr esi, 0x1f
add eax, esi
mov esi, eax
sar eax, 2
lea eax, [eax + ecx*8]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x40]
shr edi, 0x1f
add edx, edi
mov edi, edx
sar esi, 1
and edi, 2
sar edx, 2
and esi, 1
lea edx, [edx + eax*4]
or edi, esi
mov dword [esp + 0x40], edx
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx + 8]
mov esi, dword [ecx + 4]
mov edx, dword [ecx]
xor ecx, ecx
mov dword [esp + 0x74], eax
mov eax, dword [ebx + 0x88]
sub eax, dword [esp + 0x48]
mov dword [esp + 0x70], esi
cmp eax, 0x11
lea esi, [eax - 0x10]
cmovl esi, ecx
cmp dword [esp + 0x44], esi
ja 0x6c4ffe21
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x50]
sub eax, 8
cmovs eax, ecx
cmp ebp, eax
ja 0x6c4ffe21
mov esi, dword [esp + 0x78]
test esi, esi
je 0x6c4ffc27
mov eax, dword [ebx + 0x98]
mov ecx, dword [ebx + 0x94]
add dword [esp + 0x5c], ecx
add dword [esp + 0x60], eax
add dword [esp + 0x64], eax
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x68]
mov ecx, dword [esp + 0x40]
add eax, eax
imul ebp, eax
add esi, esi
add ebp, dword [esp + 0x44]
imul ecx, esi
add ecx, dword [esp + 0x6c]
add edx, ebp
mov ebp, dword [esp + 0x70]
add ebp, ecx
mov dword [esp + 0x3c], ebp
mov ebp, dword [esp + 0x74]
add ebp, ecx
mov ecx, dword [esp + 0x7c]
test ecx, ecx
je 0x6c4ffc71
mov ecx, dword [ebx + 0x98]
add dword [esp + 0x3c], ecx
add edx, dword [ebx + 0x94]
add ebp, ecx
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], edx
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x5c]
mov dword [esp + 0xc], 8
mov dword [esp], edx
call dword [eax + ecx*4]
mov edx, dword [ebx + 0x2750]
mov eax, 8
movzx ecx, byte [ebx + 0x2754]
mov dword [esp + 8], esi
mov dword [esp + 0x34], eax
shl edx, 4
add edx, dword [esp + 0x54]
mov dword [esp + 0x38], edx
mov edx, eax
sar edx, cl
mov ecx, dword [esp + 0x60]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x3c]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov edx, dword [esp + 0x38]
call dword [edx + edi*4]
mov edx, dword [ebx + 0x2750]
mov ecx, dword [ebx + 0x2754]
mov eax, dword [esp + 0x34]
mov dword [esp + 0xa8], esi
mov esi, dword [esp + 0x64]
shl edx, 4
add edx, dword [esp + 0x54]
sar eax, cl
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xa0], esi
mov dword [esp + 0xac], eax
mov eax, dword [edx + edi*4]
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
jmp eax
mov edi, dword [ebx + 0x8c]
mov ebp, dword [ebx + 0x11d0]
mov esi, dword [ebx + 0x11d4]
mov dword [esp + 0x74], edi
mov edi, edx
add ebp, ebp
and edi, 1
mov dword [esp + 0x68], ebp
mov ebp, eax
add esi, esi
and ebp, 1
mov dword [esp + 0x6c], edi
add edi, edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x58], ebp
or ebp, edi
mov edi, dword [ebx + 0x2090]
mov dword [esp + 0x50], esi
mov esi, eax
sar esi, 1
mov dword [esp + 0x38], esi
mov esi, edi
shl esi, 4
add esi, dword [esp + 0x38]
mov dword [esp + 0x70], ebp
mov ebp, edx
sar ebp, 1
mov dword [esp + 0x44], esi
mov esi, dword [esp + 0x40]
mov dword [esp + 0x4c], ebp
shl esi, 3
add ebp, esi
cmp ecx, 2
mov dword [esp + 0x48], ebp
je 0x6c4ffe62
cmp ecx, 1
je 0x6c5001a0
mov ecx, dword [ebx + 0x2754]
test ecx, ecx
jne 0x6c4ffff0
mov edx, dword [ebx + 0x2750]
test edx, edx
je 0x6c500200
mov edx, eax
mov ecx, dword [esp + 0x30]
shr edx, 0x1f
mov esi, dword [esp + 0x48]
add eax, edx
mov edx, eax
sar edx, 1
and edx, 1
sar eax, 2
or edx, ecx
lea eax, [eax + edi*8]
mov dword [esp + 0x38], edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x40], esi
jmp 0x6c4ffea2
mov edi, dword [ebx + 0x2750]
test edi, edi
je 0x6c500030
mov edx, eax
shr edx, 0x1f
add eax, edx
mov edi, eax
sar edi, 1
sar eax, 2
and edi, 1
lea eax, [eax + ecx*8]
or edi, esi
mov dword [esp + 0x6c], eax
mov dword [esp + 0x40], ebp
jmp 0x6c4ffbbe
mov edx, dword [esp + 0x44]
mov dword [esp + 0xb0], ebp
mov dword [esp + 0xac], edx
mov eax, dword [ebx + 4]
mov dword [esp + 0xa8], str.MPEG_motion_vector_out_of_boundary___d__d__n
mov dword [esp + 0xa4], 0x30
mov dword [esp + 0xa0], eax
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
jmp sub.avutil_52.dll_av_log
test byte [ebx + 0x55], 8
je 0x6c5001d0
mov eax, dword [esp + 0x4c]
sar edx, 2
mov ebp, dword [esp + 0x38]
or ebp, dword [esp + 0x58]
and eax, 1
add eax, eax
mov dword [esp + 0x38], eax
mov eax, ebp
and eax, 1
or dword [esp + 0x38], eax
mov eax, dword [esp + 0x40]
sar ebp, 1
lea ebp, [ebp + edi*8]
mov dword [esp + 0x4c], ebp
lea edx, [edx + eax*4]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x50]
imul eax, dword [esp + 0x40]
add eax, dword [esp + 0x4c]
mov ebp, dword [edx + 4]
mov ecx, dword [ebx + 0x88]
mov edi, dword [esp + 0x68]
imul edi, dword [esp + 0x48]
add ebp, eax
add eax, dword [edx + 8]
add edi, dword [esp + 0x44]
add edi, dword [edx]
xor edx, edx
mov dword [esp + 0x3c], eax
mov eax, ecx
sub eax, dword [esp + 0x58]
cmp eax, 0x11
lea esi, [eax - 0x10]
cmovl esi, edx
cmp dword [esp + 0x44], esi
ja 0x6c500045
mov eax, dword [esp + 0x74]
sar eax, 1
sub eax, dword [esp + 0x6c]
sub eax, 8
cmovs eax, edx
cmp dword [esp + 0x48], eax
ja 0x6c500045
mov eax, dword [esp + 0x78]
test eax, eax
je 0x6c4fff29
mov eax, dword [ebx + 0x98]
mov edx, dword [ebx + 0x94]
add dword [esp + 0x5c], edx
add dword [esp + 0x60], eax
add dword [esp + 0x64], eax
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x6c4fff43
mov eax, dword [ebx + 0x98]
add dword [esp + 0x3c], eax
add edi, dword [ebx + 0x94]
add ebp, eax
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x5c]
mov esi, dword [esp + 0x54]
mov dword [esp + 4], edi
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp], edx
mov dword [esp + 0xc], 8
call dword [esi + ecx*4]
mov eax, dword [ebx + 0x2750]
mov ecx, dword [ebx + 0x2754]
mov edi, dword [esp + 0x50]
mov dword [esp + 4], ebp
shl eax, 4
add eax, esi
mov esi, 8
mov edx, esi
sar edx, cl
mov ecx, dword [esp + 0x60]
mov dword [esp + 8], edi
mov edi, dword [esp + 0x38]
mov dword [esp + 0xc], edx
mov dword [esp], ecx
call dword [eax + edi*4]
mov ecx, dword [ebx + 0x2754]
mov eax, dword [ebx + 0x2750]
mov ebp, dword [esp + 0x50]
mov edx, dword [esp + 0x3c]
sar esi, cl
mov dword [esp + 0xac], esi
mov esi, dword [esp + 0x64]
shl eax, 4
add eax, dword [esp + 0x54]
mov dword [esp + 0xa8], ebp
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa0], esi
mov eax, dword [eax + edi*4]
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
jmp eax
mov ecx, eax
mov esi, edx
shr ecx, 0x1f
add eax, ecx
mov ecx, eax
sar eax, 2
lea eax, [eax + edi*8]
shr esi, 0x1f
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x40]
add edx, esi
mov ebp, edx
sar ecx, 1
and ebp, 2
and ecx, 1
sar edx, 2
or ebp, ecx
lea edx, [edx + eax*4]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x40], edx
jmp 0x6c4ffea2
mov edx, dword [esp + 0x44]
mov dword [esp + 0x40], ebp
mov edi, dword [esp + 0x58]
mov dword [esp + 0x6c], edx
jmp 0x6c4ffbbe
mov eax, dword [ebx + 0x30]
cmp eax, 2
je 0x6c500180
cmp eax, 1
je 0x6c500180
mov edx, dword [esp + 0x74]
mov eax, dword [ebx + 0x94]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 4], edi
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x16b8]
mov dword [esp + 0x18], ecx
add edx, edx
mov dword [esp + 0x1c], edx
mov dword [esp], eax
mov dword [esp + 0x14], 0x12
mov dword [esp + 0x10], 0x11
call dword [ebx + 0x1cf4]
mov eax, dword [ebx + 0x94]
mov edi, dword [ebx + 0x16b8]
mov edx, dword [esp + 0x40]
mov ecx, dword [ebx + 0x98]
lea eax, [eax + eax*8]
lea esi, [edi + eax*2]
mov eax, dword [ebx + 0x8c]
add edx, edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0xc], ecx
sar eax, 1
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x88]
mov dword [esp + 8], ecx
mov dword [esp + 4], ebp
lea ebp, [esi + 0x10]
mov dword [esp + 0x34], edx
sar eax, 1
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x14], 0xa
mov dword [esp + 0x10], 9
mov dword [esp], esi
mov dword [esp + 0x18], eax
call dword [ebx + 0x1cf4]
mov eax, dword [ebx + 0x8c]
mov edx, dword [esp + 0x34]
mov ecx, dword [ebx + 0x98]
mov dword [esp], ebp
sar eax, 1
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x88]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x14], 0xa
mov dword [esp + 0x10], 9
sar eax, 1
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x18], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
call dword [ebx + 0x1cf4]
mov dword [esp + 0x3c], ebp
mov ebp, esi
jmp 0x6c4fff09
mov ecx, dword [esp + 0x48]
mov esi, dword [esp + 0x44]
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xac], esi
jmp 0x6c4ffe33
test eax, eax
lea ecx, [eax + 3]
cmovs eax, ecx
sar eax, 2
test edx, edx
lea eax, [eax + edi*8]
mov dword [esp + 0x4c], eax
lea eax, [edx + 3]
cmovs edx, eax
sar edx, 2
add edx, esi
mov dword [esp + 0x40], edx
mov dword [esp + 0x38], 0
jmp 0x6c4ffea2
and eax, 2
and edx, 2
mov ecx, dword [esp + 0x44]
sar eax, 1
mov esi, dword [esp + 0x48]
or eax, edx
mov edx, dword [esp + 0x70]
sar ecx, 1
sar esi, 1
or eax, edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x40], esi
jmp 0x6c4ffea2
mov edi, dword [esp + 0x48]
mov ebp, dword [esp + 0x44]
mov eax, dword [esp + 0x70]
mov dword [esp + 0x40], edi
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x38], eax
jmp 0x6c4ffea2