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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x14c
mov eax, dword [esp + 0x168]
lea edi, [esp + 0xc0]
mov dword [esp], eax
call sym.avutil_56.dll_av_pix_fmt_desc_get
mov dword [esp + 0x28], eax
mov ebx, eax
mov eax, dword [esp + 0x168]
mov dword [esp], eax
call sym.avutil_56.dll_av_pix_fmt_count_planes
mov ecx, 0x20
mov esi, eax
mov dword [esp + 0x3c], eax
xor eax, eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
rep stosd dword es:[edi], eax
lea eax, [esi - 1]
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
cmp eax, 3
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
ja 0x10030559
test ebx, ebx
je 0x10030559
mov eax, dword [esp + 0x28]
mov edx, dword [eax + 8]
mov esi, edx
and esi, 8
jne 0x10030559
mov edi, edx
and edi, 0x20
and edx, 4
mov dword [esp + 0x30], edi
jne 0x100306c4
mov edi, eax
movzx eax, byte [eax + 4]
test eax, eax
je 0x100307bd
mov ebx, dword [edi + 0x14]
mov esi, dword [edi + 0x10]
test ebx, ebx
cmovns edx, ebx
cmp edx, 0x20
mov dword [esp + esi*4 + 0x40], edx
jg 0x10030559
cmp eax, 1
je 0x10030569
mov edi, dword [esp + 0x28]
mov ecx, dword [edi + 0x30]
mov edx, dword [edi + 0x34]
cmp dword [esp + ecx*4 + 0x40], edx
cmovge edx, dword [esp + ecx*4 + 0x40]
cmp edx, 0x20
mov dword [esp + ecx*4 + 0x40], edx
jg 0x10030559
cmp eax, 2
je 0x10030569
mov ecx, dword [edi + 0x50]
mov edx, dword [edi + 0x54]
cmp dword [esp + ecx*4 + 0x40], edx
cmovge edx, dword [esp + ecx*4 + 0x40]
cmp edx, 0x20
mov dword [esp + ecx*4 + 0x40], edx
jg 0x10030559
cmp eax, 3
je 0x10030569
mov ecx, dword [edi + 0x70]
mov edx, dword [edi + 0x74]
cmp dword [esp + ecx*4 + 0x40], edx
cmovge edx, dword [esp + ecx*4 + 0x40]
cmp edx, 0x20
mov dword [esp + ecx*4 + 0x40], edx
jg 0x10030559
cmp eax, 4
je 0x10030569
mov ecx, dword [edi + 0x90]
mov edx, dword [edi + 0x94]
cmp dword [esp + ecx*4 + 0x40], edx
cmovge edx, dword [esp + ecx*4 + 0x40]
cmp edx, 0x20
mov dword [esp + ecx*4 + 0x40], edx
jg 0x10030559
cmp eax, 5
je 0x10030569
add esp, 0x14c
mov eax, 0xffffffea
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x28]
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov ecx, dword [eax + 0x20]
mov eax, dword [esp + esi*4 + 0x40]
cmp ecx, 0x10
jg 0x10030559
mov edx, dword [esp + 0x30]
test edx, edx
sete byte [esp + 0x2c]
cmp ecx, 7
movzx edx, byte [esp + 0x2c]
jg 0x100305b2
test dl, dl
jne 0x10030559
mov esi, dword [esp + 0x28]
cdq
lea edi, [esp + 0x80]
idiv ebx
xor ebx, ebx
add esi, 0x30
test eax, eax
jle 0x10030559
cmp dword [esp + 0x16c], 2
setne dl
test byte [esp + 0x2c], dl
je 0x10030780
and ecx, dword [ebx - 0x367af7b8]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x100306cf
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x100306e0
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x100306ea
inc edi
add eax, 0x28
cmp edi, esi
jb 0x100306c5
xor eax, eax
pop edi
pop esi
ret
mov eax, dword [esi + 0x20]
add eax, edi
mov edi, dword [esi + 0x1c]
add edi, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
shr eax, 0x10
test ax, ax
je 0x1003080f
and dword [ebp - 4], 0
mov eax, dword [edi]
mov dword [ebp - 0x10], eax
call fcn.1003066d
sbb bl, byte [esi + 0x7d8361e5]
lock add byte [ebx + eax*2 - 0x75], dh
inc ebp
in al, dx
and dword [ebp - 0x10], 0
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ebx
clc
mov eax, dword [ebp - 8]
movzx eax, word [eax]
cmp eax, dword [ebp - 4]
jne 0x100307e0
mov eax, dword [ebp - 0xc]
push dword [ebp + 0xc]
mov eax, dword [eax]
add eax, dword [ebp + 8]
push eax
call fcn.10030603
pop ecx
test eax, eax
pop ecx
je 0x10030807
mov eax, dword [esi + 0x18]
inc dword [ebp - 0x10]
add dword [ebp - 8], 2
add dword [ebp - 0xc], 4
dec eax
cmp dword [ebp - 0x10], eax
jbe 0x100307be
mov eax, dword [esi + 0x14]
inc dword [ebp - 4]
dec eax
cmp dword [ebp - 4], eax
jbe 0x1003079d
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [ebp - 4]
mov eax, dword [edi + eax*4]
jmp 0x10030844
xor ebx, ebx
mov dword [ebp - 0x10], edi
mov eax, dword [esi + 0x10]
add eax, ebx
cmp dword [ebp + 0xc], eax
jne 0x1003082f
call fcn.1003066d
into
mov byte [0x458bebe3], al
invalid
mov eax, dword [esi + 0x14]
add dword [ebp - 0x10], 4
inc ebx
dec eax
cmp ebx, eax
jbe 0x10030814
jmp 0x10030800
add eax, dword [ebp + 8]
jmp 0x10030802