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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x3c
mov ebp, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
test ebp, ebp
je 0x4e1600
test edx, edx
mov dword [ebp], 0
mov dword [ebp + 8], 0x735f20
je 0x4e1644
mov edi, dword [edx + 0x3c]
cmp edi, 3
jbe 0x4e1570
mov esi, dword [edx + 0x40]
movzx eax, byte [esi + 1]
movzx ecx, byte [esi + 2]
shl eax, 8
shl ecx, 0x10
or eax, ecx
movzx ecx, byte [esi]
or eax, ecx
mov ecx, eax
mov ebx, eax
not ecx
shr ebx, 4
mov byte [ebp + 0x28], cl
mov ecx, eax
and ebx, 1
shr ecx, 1
mov byte [esp + 0x14], bl
mov byte [ebp + 0x2a], bl
and ecx, 7
mov ebx, eax
and byte [ebp + 0x28], 1
shr ebx, 5
cmp cl, 3
mov byte [ebp + 0x29], cl
mov dword [esp + 0x18], ebx
mov dword [ebp + 0x2c], ebx
ja 0x4e15b2
cmp byte [esp + 0x14], 0
je 0x4e1591
test al, 1
lea ebx, [edi - 3]
jne 0x4e1610
cmp ebx, 6
jbe 0x4e1750
cmp byte [esi + 3], 0x9d
je 0x4e1660
mov dword [ebp], 3
mov dword [ebp + 8], str.Bad_code_word
xor edi, edi
mov dword [ebp + 4], 0
jmp 0x4e1587
mov dword [ebp], 7
mov dword [ebp + 8], str.Truncated_header.
xor edi, edi
mov dword [ebp + 4], 0
add esp, 0x3c
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [ebp], 4
mov dword [ebp + 8], str.Frame_not_displayable.
xor edi, edi
mov dword [ebp + 4], 0
add esp, 0x3c
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [ebp], 3
mov dword [ebp + 8], str.Incorrect_keyframe_parameters.
xor edi, edi
mov dword [ebp + 4], 0
add esp, 0x3c
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], ebp
call fcn.004fdea0
cmp byte [ebp + 0x28], 0
jne 0x4e1b72
cmp dword [ebp], 0
jne 0x4e1600
mov dword [ebp], 4
mov dword [ebp + 8], str.Not_a_key_frame.
mov dword [ebp + 4], 0
add esp, 0x3c
xor edi, edi
pop ebx
mov eax, edi
pop esi
pop edi
pop ebp
ret
lea eax, [esi + 3]
mov dword [esp + 0x14], eax
cmp ebx, dword [esp + 0x18]
jae 0x4e1770
mov eax, dword [ebp]
test eax, eax
jne 0x4e1600
mov dword [ebp], 7
mov dword [ebp + 8], str.bad_partition_length
xor edi, edi
mov dword [ebp + 4], 0
jmp 0x4e1587
mov dword [ebp], 2
mov dword [ebp + 8], str.null_VP8Io_passed_to_VP8GetHeaders__
xor edi, edi
mov dword [ebp + 4], 0
jmp 0x4e1587
cmp byte [esi + 4], 1
jne 0x4e154f
cmp byte [esi + 5], 0x2a
jne 0x4e154f
movzx ecx, byte [esi + 7]
add esi, 0xa
mov eax, ecx
movzx ecx, byte [esi - 4]
shl eax, 8
or ecx, eax
and cx, 0x3fff
mov word [ebp + 0x30], cx
movzx eax, byte [esi - 3]
movzx ecx, cx
shr al, 6
mov byte [ebp + 0x34], al
movzx eax, byte [esi - 1]
shl eax, 8
mov ebx, eax
movzx eax, byte [esi - 2]
or eax, ebx
and ax, 0x3fff
mov word [ebp + 0x32], ax
movzx ebx, byte [esi - 1]
movzx eax, ax
mov dword [esp + 0x14], esi
lea esi, [ecx + 0xf]
sar esi, 4
mov dword [ebp + 0x120], esi
lea esi, [eax + 0xf]
shr bl, 6
mov byte [ebp + 0x35], bl
lea ebx, [edi - 0xa]
sar esi, 4
mov dword [ebp + 0x124], esi
mov dword [edx + 4], eax
mov dword [edx + 0x58], eax
mov dword [edx + 0x10], eax
lea eax, [ebp + 0x388]
mov dword [edx], ecx
mov dword [edx + 0x5c], 0
mov dword [edx + 0x48], 0
mov dword [edx + 0x54], 0
mov dword [edx + 0x4c], 0
mov dword [edx + 0x50], ecx
mov dword [edx + 0xc], ecx
mov dword [esp], eax
call fcn.004fe180
mov eax, dword [ebp + 0x2c]
mov dword [ebp + 0x68], 0
mov dword [ebp + 0x6c], 0
mov dword [ebp + 0x70], 1
mov dword [ebp + 0x74], 0
mov dword [ebp + 0x78], 0
mov dword [esp + 0x18], eax
jmp 0x4e1617
mov dword [ebp], 7
mov dword [ebp + 8], str.cannot_parse_picture_header
xor edi, edi
mov dword [ebp + 4], 0
jmp 0x4e1587
mov eax, dword [esp + 0x18]
lea esi, [ebp + 0xc]
mov dword [esp], esi
mov dword [esp + 8], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 4], eax
call fcn.004fc6d0
cmp byte [ebp + 0x28], 0
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x18], eax
jne 0x4e17e8
mov dword [esp + 4], 1
mov dword [esp], esi
call fcn.004fc740
test eax, eax
mov dword [ebp + 0x68], eax
jne 0x4e18ae
mov dword [ebp + 0x6c], 0
mov edi, dword [ebp + 0x24]
test edi, edi
je 0x4e1810
mov ecx, dword [ebp]
test ecx, ecx
jne 0x4e1600
mov dword [ebp], 3
mov dword [ebp + 8], str.cannot_parse_segment_header
xor edi, edi
mov dword [ebp + 4], 0
jmp 0x4e1587
mov dword [esp + 4], 1
mov dword [esp], esi
call fcn.004fc740
mov byte [ebp + 0x36], al
mov dword [esp + 4], 1
mov dword [esp], esi
call fcn.004fc740
mov byte [ebp + 0x37], al
jmp 0x4e1798
mov dword [esp + 4], 1
mov dword [esp], esi
call fcn.004fc740
mov dword [ebp + 0x38], eax
mov dword [esp + 4], 6
mov dword [esp], esi
call fcn.004fc740
mov dword [ebp + 0x3c], eax
mov dword [esp + 4], 3
mov dword [esp], esi
call fcn.004fc740
mov dword [ebp + 0x40], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call fcn.004fc740
test eax, eax
mov dword [ebp + 0x44], eax
jne 0x4e19ab
mov eax, dword [ebp + 0x3c]
test eax, eax
je 0x4e1878
mov edx, dword [ebp + 0x38]
xor eax, eax
test edx, edx
sete al
add eax, 1
mov ecx, dword [ebp + 0x24]
mov dword [ebp + 0x904], eax
test ecx, ecx
je 0x4e1a14
mov edx, dword [ebp]
test edx, edx
jne 0x4e1600
mov dword [ebp], 3
mov dword [ebp + 8], str.cannot_parse_filter_header
mov dword [ebp + 4], 0
jmp 0x4e1587
mov dword [esp + 4], 1
mov dword [esp], esi
call fcn.004fc740
mov dword [ebp + 0x6c], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call fcn.004fc740
test eax, eax
jne 0x4e1923
mov eax, dword [ebp + 0x6c]
xor edi, edi
test eax, eax
je 0x4e17ba
mov dword [esp + 4], 1
mov dword [esp], esi
call fcn.004fc740
test eax, eax
mov edx, 0xffffffff
jne 0x4e190f
mov byte [ebp + edi + 0x388], dl
add edi, 1
cmp edi, 3
jne 0x4e18e2
jmp 0x4e17ba
mov dword [esp + 4], 8
mov dword [esp], esi
call fcn.004fc740
mov edx, eax
jmp 0x4e18fb
mov dword [esp + 4], 1
mov dword [esp], esi
xor edi, edi
call fcn.004fc740
mov dword [ebp + 0x70], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call fcn.004fc740
xor edx, edx
test eax, eax
jne 0x4e1983
mov byte [ebp + edi + 0x74], dl
add edi, 1
cmp edi, 4
jne 0x4e1938
xor edi, edi
mov dword [esp + 4], 1
mov dword [esp], esi
call fcn.004fc740
xor edx, edx
test eax, eax
jne 0x4e1997
mov byte [ebp + edi + 0x78], dl
add edi, 1
cmp edi, 4
jne 0x4e195c
jmp 0x4e18d5
mov dword [esp + 4], 7
mov dword [esp], esi
call fcn.004fc840
mov edx, eax
jmp 0x4e194e
mov dword [esp + 4], 6
mov dword [esp], esi
call fcn.004fc840
mov edx, eax
jmp 0x4e1972
mov dword [esp + 4], 1
mov dword [esp], esi
call fcn.004fc740
test eax, eax
je 0x4e1864
xor edx, edx
mov dword [esp + 0x1c], ebx
mov ebx, edx
mov dword [esp + 4], 1
mov dword [esp], esi
call fcn.004fc740
test eax, eax
jne 0x4e1a8e
add ebx, 1
cmp ebx, 4
jne 0x4e19cb
xor edx, edx
mov ebx, edx
mov dword [esp + 4], 1
mov dword [esp], esi
call fcn.004fc740
test eax, eax
jne 0x4e1a75
add ebx, 1
cmp ebx, 4
jne 0x4e19ef
mov ebx, dword [esp + 0x1c]
jmp 0x4e1864
mov eax, ebx
sub eax, dword [esp + 0x18]
mov dword [esp + 4], 2
mov dword [esp], esi
mov edi, eax
mov dword [esp + 0x1c], eax
call fcn.004fc740
mov ecx, eax
mov eax, 1
mov edx, 7
shl eax, cl
mov dword [ebp + 0x138], eax
sub eax, 1
mov dword [esp + 0x20], eax
lea eax, [eax + eax*2]
cmp edi, eax
jae 0x4e1aa7
mov eax, dword [ebp]
test eax, eax
jne 0x4e1600
mov dword [ebp], edx
mov dword [ebp + 8], str.cannot_parse_partitions
xor edi, edi
mov dword [ebp + 4], 0
jmp 0x4e1587
mov dword [esp + 4], 6
mov dword [esp], esi
call fcn.004fc840
mov dword [ebp + ebx*4 + 0x58], eax
jmp 0x4e1a03
mov dword [esp + 4], 6
mov dword [esp], esi
call fcn.004fc840
mov dword [ebp + ebx*4 + 0x48], eax
jmp 0x4e19e3
mov edi, dword [esp + 0x18]
add edi, dword [esp + 0x14]
lea edx, [edi + eax]
mov ecx, edx
mov edx, dword [esp + 0x1c]
sub edx, eax
cmp dword [esp + 0x20], 0
lea eax, [ebp + 0x13c]
mov dword [esp + 0x18], edx
mov dword [esp + 0x24], eax
je 0x4e1b3d
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x50], ebp
mov esi, eax
mov dword [esp + 0x1c], ecx
mov ebp, ecx
movzx eax, byte [edi + 1]
shl eax, 8
mov ecx, eax
movzx eax, byte [edi + 2]
shl eax, 0x10
or eax, ecx
movzx ecx, byte [edi]
mov dword [esp + 4], ebp
mov dword [esp], esi
or eax, ecx
cmp eax, ebx
cmova eax, ebx
add edi, 3
add esi, 0x1c
mov dword [esp + 8], eax
mov dword [esp + 0x18], eax
call fcn.004fc6d0
mov eax, dword [esp + 0x18]
add ebp, eax
sub ebx, eax
cmp dword [esp + 0x1c], edi
jne 0x4e1ae7
mov ecx, ebp
mov dword [esp + 0x18], ebx
mov esi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x50]
mov eax, dword [esp + 0x18]
mov dword [esp + 4], ecx
mov edi, ecx
mov dword [esp + 8], eax
imul eax, dword [esp + 0x20], 0x1c
add eax, dword [esp + 0x24]
mov dword [esp], eax
call fcn.004fc6d0
add ebx, dword [esp + 0x14]
cmp edi, ebx
jb 0x4e15d3
mov edx, 5
jmp 0x4e1a52
mov dword [esp + 4], 1
mov dword [esp], esi
mov edi, 1
call fcn.004fc740
mov dword [esp + 4], ebp
mov dword [esp], esi
call fcn.004fed70
mov dword [ebp + 4], 1
jmp 0x4e1587