Function at 0x6f91a380
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov ebx, dword [esp + 0x80]
mov ebp, dword [esp + 0x94]
mov dword [esp], ebx
call sub.avutil_54.dll_av_pix_fmt_desc_get
cmp ebx, 0x14c
mov dword [esp + 0x2c], eax
ja 0x6f91a3d8
movzx eax, byte [eax + 7]
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov byte [esp + 0x14], al
and eax, 0x30
cmp al, 0x10
je 0x6f91a3e5
add esp, 0x5c
mov eax, 0xffffffff
pop ebx
pop esi
pop edi
pop ebp
ret
mov esi, dword [esp + 0x2c]
movzx eax, byte [esi + 4]
test eax, eax
je 0x6f91a477
movzx edx, byte [esi + 8]
and edx, 3
cmp eax, 1
mov dword [esp + edx*4 + 0x40], 1
je 0x6f91a440
movzx edx, byte [esi + 0xa]
and edx, 3
cmp eax, 2
mov dword [esp + edx*4 + 0x40], 1
je 0x6f91a440
movzx edx, byte [esi + 0xc]
and edx, 3
cmp eax, 3
mov dword [esp + edx*4 + 0x40], 1
je 0x6f91a440
movzx edx, byte [esi + 0xe]
and edx, 3
mov dword [esp + edx*4 + 0x40], 1
mov edx, dword [esp + 0x40]
test edx, edx
je 0x6f91a3d8
cmp eax, 1
je 0x6f91a477
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x6f91a3d8
cmp eax, 2
je 0x6f91a477
mov edx, dword [esp + 0x48]
test edx, edx
je 0x6f91a3d8
cmp eax, 3
je 0x6f91a477
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x6f91a3d8
mov eax, dword [esp + 0x84]
or eax, dword [esp + 0x8c]
xor esi, esi
mov dword [esp + 0x94], ebp
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x8c]
or eax, dword [esp + 0x90]
mov ebp, dword [esp + 0x34]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x90]
or eax, dword [esp + 0x88]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x70]
add eax, 0x20
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x7c]
sub eax, dword [esp + 0x8c]
sub eax, dword [esp + 0x90]
test ebp, ebp
mov dword [esp + 0x3c], eax
jne 0x6f91a6f9
mov edi, dword [esp + 0x38]
test edi, edi
je 0x6f91a59b
mov edx, dword [esp + 0x14]
movzx ecx, byte [esp + 0x24]
mov edi, dword [esp + 0x90]
mov ebp, dword [esp + 0x28]
mov eax, dword [edx]
sar edi, cl
mov ecx, ebp
mov ebx, eax
sub ebx, edi
mov edi, dword [esp + 0x84]
sar edi, cl
imul edi, eax
mov eax, dword [esp + 0x78]
add edi, ebx
lea ebx, [eax - 1]
mov eax, dword [esp + 0x84]
add eax, dword [esp + 0x88]
add edi, dword [edx - 0x20]
sub ebx, eax
sar ebx, cl
test ebx, ebx
mov dword [esp + 0x18], ebx
jle 0x6f91a59b
mov eax, dword [esp + 0x8c]
movzx ecx, byte [esp + 0x24]
mov ebx, esi
add eax, dword [esp + 0x90]
mov esi, dword [esp + 0x94]
xor ebp, ebp
sar eax, cl
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
add ebp, 1
mov dword [esp + 8], eax
mov eax, dword [esi + ebx*4]
mov dword [esp], edi
mov dword [esp + 4], eax
call fcn.6fef7ef0
mov eax, dword [esp + 0x14]
add edi, dword [eax]
cmp ebp, dword [esp + 0x18]
jne 0x6f91a573
mov esi, ebx
mov ebx, dword [esp + 0x74]
test ebx, ebx
je 0x6f91a6c0
mov eax, dword [esp + 0x74]
movzx ecx, byte [esp + 0x28]
mov ebp, dword [esp + 0x24]
mov ebx, dword [esp + 0x84]
mov edx, dword [esp + 0x14]
mov edi, dword [eax + esi*4]
mov eax, dword [esp + 0x3c]
sar ebx, cl
mov ecx, ebp
mov ebp, edx
sar eax, cl
mov dword [esp + 0x1c], eax
mov eax, dword [edx]
imul eax, ebx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x8c]
sar eax, cl
mov ecx, eax
mov eax, dword [esp + 0x18]
add eax, ecx
add eax, dword [edx - 0x20]
mov edx, dword [esp + 0x1c]
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov eax, dword [esp + 0x74]
movzx ecx, byte [esp + 0x24]
mov edx, ebp
add edi, dword [eax + esi*4 + 0x20]
mov eax, dword [ebp]
mov ebp, dword [esp + 0x90]
imul ebx, eax
sar ebp, cl
mov ecx, ebp
mov ebp, eax
mov eax, dword [esp + 0x78]
sub ebp, ecx
movzx ecx, byte [esp + 0x28]
add ebx, ebp
add ebx, dword [edx - 0x20]
lea edx, [eax - 1]
mov eax, dword [esp + 0x84]
add eax, dword [esp + 0x88]
sub edx, eax
mov eax, edx
sar eax, cl
test eax, eax
mov dword [esp + 0x20], eax
jle 0x6f91a6c0
movzx ecx, byte [esp + 0x24]
mov ebp, dword [esp + 0x8c]
add ebp, dword [esp + 0x90]
sar ebp, cl
xor ecx, ecx
nop
lea esi, [esi]
mov eax, dword [esp + 0x94]
mov dword [esp + 8], ebp
mov dword [esp + 0x18], ecx
mov eax, dword [eax + esi*4]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.6fef7ef0
mov edx, dword [esp + 0x1c]
lea eax, [ebx + ebp]
mov dword [esp + 4], edi
mov dword [esp], eax
mov dword [esp + 8], edx
call sub.msvcrt.dll_memcpy
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x18]
add edi, dword [eax + esi*4 + 0x20]
mov eax, dword [esp + 0x14]
add ecx, 1
add ebx, dword [eax]
cmp ecx, dword [esp + 0x20]
jne 0x6f91a670
mov ecx, dword [esp + 0x30]
test ecx, ecx
jne 0x6f91a750
add esi, 1
add dword [esp + 0x14], 4
cmp esi, 3
je 0x6f91a740
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x34]
movzx edx, byte [eax + 5]
movzx eax, byte [eax + 6]
test ebp, ebp
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
je 0x6f91a4f3
movzx ecx, byte [esp + 0x28]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x84]
mov edi, dword [esp + 0x8c]
sar eax, cl
movzx ecx, byte [esp + 0x24]
imul eax, dword [edx]
sar edi, cl
add eax, edi
mov dword [esp + 8], eax
mov eax, dword [esp + 0x94]
mov eax, dword [eax + esi*4]
mov dword [esp + 4], eax
mov eax, dword [edx - 0x20]
mov dword [esp], eax
call fcn.6fef7ef0
jmp 0x6f91a4f3
add esp, 0x5c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov edi, dword [esp + 0x14]
movzx ecx, byte [esp + 0x24]
mov ebx, dword [esp + 0x90]
mov ebp, dword [esp + 0x28]
mov eax, dword [esp + 0x88]
mov edx, dword [edi]
sar ebx, cl
mov ecx, ebp
sar eax, cl
imul eax, edx
add eax, ebx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x94]
mov eax, dword [eax + esi*4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x78]
sub eax, dword [esp + 0x88]
sar eax, cl
imul eax, edx
sub eax, ebx
add eax, dword [edi - 0x20]
mov dword [esp], eax
call fcn.6fef7ef0
jmp 0x6f91a6cc