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

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, dword [esp + 0x28]
push edi
test esi, esi
je 0x101c6d44
mov ebx, dword [esp + 0x30]
mov dword [esi], 0
mov dword [esi + 8], 0x1044a4e0
test ebx, ebx
jne 0x101c6d4e
mov dword [esi], 2
mov dword [esi + 8], str.null_VP8Io_passed_to_VP8GetHeaders__
mov dword [esi + 4], ebx
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
mov ebp, dword [ebx + 0x3c]
mov edi, dword [ebx + 0x40]
cmp ebp, 4
jae 0x101c6d77
pop edi
mov dword [esi], 7
xor eax, eax
mov dword [esi + 8], str.Truncated_header.
mov dword [esi + 4], 0
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
movzx ecx, byte [edi + 2]
movzx eax, byte [edi + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi]
shl ecx, 8
or ecx, eax
mov al, cl
mov edx, ecx
not al
shr edx, 4
and al, 1
and dl, 1
mov byte [esp + 0x13], al
mov byte [esi + 0x28], al
mov eax, ecx
shr eax, 1
and al, 7
shr ecx, 5
mov byte [esi + 0x29], al
mov byte [esi + 0x2a], dl
mov dword [esi + 0x2c], ecx
cmp al, 3
jbe 0x101c6dda
cmp dword [esi], 0
jne 0x101c6d44
pop edi
mov dword [esi], 3
xor eax, eax
mov dword [esi + 8], str.Incorrect_keyframe_parameters.
mov dword [esi + 4], 0
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
test dl, dl
jne 0x101c6e05
cmp dword [esi], 0
jne 0x101c6d44
pop edi
mov dword [esi], 4
xor eax, eax
mov dword [esi + 8], str.Frame_not_displayable.
mov dword [esi + 4], 0
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
add edi, 3
sub ebp, 3
cmp byte [esp + 0x13], 0
je 0x101c6f42
cmp ebp, 7
jae 0x101c6e42
cmp dword [esi], 0
jne 0x101c6d44
pop edi
mov dword [esi], 7
xor eax, eax
mov dword [esi + 8], str.cannot_parse_picture_header
mov dword [esi + 4], 0
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
push ebp
push edi
call fcn.101c74b0
add esp, 8
test eax, eax
jne 0x101c6e70
cmp dword [esi], eax
jne 0x101c6d44
pop edi
mov dword [esi], 3
mov dword [esi + 8], str.Bad_code_word
mov dword [esi + 4], eax
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
movzx edx, byte [edi + 4]
sub ebp, 7
movzx eax, byte [edi + 3]
shl dx, 8
or dx, ax
mov eax, 0x3fff
and dx, ax
mov word [esi + 0x30], dx
movzx eax, byte [edi + 4]
shr al, 6
mov byte [esi + 0x34], al
movzx ecx, byte [edi + 6]
movzx eax, byte [edi + 5]
shl cx, 8
or cx, ax
mov eax, 0x3fff
and cx, ax
mov word [esi + 0x32], cx
movzx eax, byte [edi + 6]
add edi, 7
shr al, 6
mov byte [esi + 0x35], al
movzx ecx, dx
lea eax, [ecx + 0xf]
shr eax, 4
mov dword [esi + 0x120], eax
movzx eax, word [esi + 0x32]
add eax, 0xf
shr eax, 4
mov dword [esi + 0x124], eax
mov dword [ebx], ecx
movzx eax, word [esi + 0x32]
mov dword [ebx + 4], eax
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x64], eax
mov dword [ebx + 0x10], eax
lea eax, [esi + 0x388]
push eax
mov dword [ebx + 0x48], 0
mov dword [ebx + 0x54], 0
mov dword [ebx + 0x4c], 0
mov dword [ebx + 0x50], ecx
mov dword [ebx + 0x5c], 0
mov dword [ebx + 0x60], ecx
mov dword [ebx + 0xc], ecx
call fcn.101e6200
xorps xmm0, xmm0
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
add esp, 4
mov dword [esi + 0x70], 1
movq qword [esi + 0x74], xmm0
mov eax, dword [esi + 0x2c]
cmp eax, ebp
jbe 0x101c6f70
cmp dword [esi], 0
jne 0x101c6d44
pop edi
mov dword [esi], 7
xor eax, eax
mov dword [esi + 8], str.bad_partition_length
mov dword [esi + 4], 0
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
push eax
lea ebx, [esi + 0xc]
push edi
push ebx
call fcn.101e4930
add edi, dword [esi + 0x2c]
add esp, 0xc
sub ebp, dword [esi + 0x2c]
cmp byte [esi + 0x28], 0
mov dword [esp + 0x14], edi
je 0x101c6fa7
push 1
push ebx
call fcn.101e4a10
push 1
push ebx
mov byte [esi + 0x36], al
call fcn.101e4a10
add esp, 0x10
mov byte [esi + 0x37], al
push 1
push ebx
call fcn.101e4a10
add esp, 8
mov dword [esi + 0x68], eax
test eax, eax
je 0x101c7071
push 1
push ebx
call fcn.101e4a10
push 1
push ebx
mov dword [esi + 0x6c], eax
call fcn.101e4a10
add esp, 0x10
test eax, eax
je 0x101c7039
push 1
push ebx
call fcn.101e4a10
add esp, 8
mov dword [esi + 0x70], eax
xor edi, edi
push 1
push ebx
call fcn.101e4a10
add esp, 8
test eax, eax
je 0x101c7003
push 7
push ebx
call fcn.101e4b10
add esp, 8
jmp 0x101c7005
xor eax, eax
mov byte [esi + edi + 0x74], al
inc edi
cmp edi, 4
jl 0x101c6fe7
xor edi, edi
push 1
push ebx
call fcn.101e4a10
add esp, 8
test eax, eax
je 0x101c702d
push 6
push ebx
call fcn.101e4b10
add esp, 8
jmp 0x101c702f
xor eax, eax
mov byte [esi + edi + 0x78], al
inc edi
cmp edi, 4
jl 0x101c7011
cmp dword [esi + 0x6c], 0
je 0x101c7078
xor edi, edi
push 1
push ebx
call fcn.101e4a10
add esp, 8
test eax, eax
je 0x101c705d
push 8
push ebx
call fcn.101e4a10
add esp, 8
jmp 0x101c7062
mov eax, 0xff
mov byte [esi + edi + 0x388], al
inc edi
cmp edi, 3
jl 0x101c7041
jmp 0x101c7078
mov dword [esi + 0x6c], 0
cmp dword [ebx + 0x18], 0
je 0x101c70a5
cmp dword [esi], 0
jne 0x101c6d44
pop edi
mov dword [esi], 3
xor eax, eax
mov dword [esi + 8], str.cannot_parse_segment_header
mov dword [esi + 4], 0
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
push 1
push ebx
call fcn.101e4a10
push 6
push ebx
mov dword [esi + 0x38], eax
call fcn.101e4a10
push 3
push ebx
mov dword [esi + 0x3c], eax
call fcn.101e4a10
push 1
push ebx
mov dword [esi + 0x40], eax
call fcn.101e4a10
add esp, 0x20
mov dword [esi + 0x44], eax
test eax, eax
je 0x101c7148
push 1
push ebx
call fcn.101e4a10
add esp, 8
test eax, eax
je 0x101c7148
lea edi, [esi + 0x48]
mov esi, 4
nop
push 1
push ebx
call fcn.101e4a10
add esp, 8
test eax, eax
je 0x101c710c
push 6
push ebx
call fcn.101e4b10
add esp, 8
mov dword [edi], eax
add edi, 4
sub esi, 1
jne 0x101c70f0
mov edi, dword [esp + 0x2c]
mov esi, 4
add edi, 0x58
push 1
push ebx
call fcn.101e4a10
add esp, 8
test eax, eax
je 0x101c713c
push 6
push ebx
call fcn.101e4b10
add esp, 8
mov dword [edi], eax
add edi, 4
sub esi, 1
jne 0x101c7120
mov esi, dword [esp + 0x2c]
cmp dword [esi + 0x3c], 0
jne 0x101c7152
xor eax, eax
jmp 0x101c715c
mov eax, dword [esi + 0x38]
neg eax
sbb eax, eax
add eax, 2
mov dword [esi + 0x904], eax
cmp dword [ebx + 0x18], 0
je 0x101c718f
cmp dword [esi], 0
jne 0x101c6d44
pop edi
mov dword [esi], 3
xor eax, eax
mov dword [esi + 8], str.cannot_parse_filter_header
mov dword [esi + 4], 0
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
mov eax, dword [esp + 0x14]
add eax, ebp
push 2
push ebx
mov dword [esp + 0x2c], eax
call fcn.101e4a10
mov ecx, eax
mov edx, 1
shl edx, cl
add esp, 8
lea ecx, [edx - 1]
lea edx, [ecx + ecx*2]
mov dword [esp + 0x20], ecx
mov dword [esi + 0x138], ecx
cmp ebp, edx
jae 0x101c71cb
mov eax, 7
jmp 0x101c726f
mov eax, dword [esp + 0x14]
sub ebp, edx
lea edi, [edx + eax]
mov dword [esp + 0x14], edi
test ecx, ecx
je 0x101c7243
lea edx, [esi + 0x13c]
mov dword [esp + 0x1c], ecx
lea ebx, [eax + 1]
mov dword [esp + 0x18], edx
mov esi, edi
nop
movzx ecx, byte [ebx + 1]
mov edi, ebp
movzx eax, byte [ebx]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx - 1]
shl ecx, 8
or ecx, eax
cmp ecx, ebp
cmovbe edi, ecx
push edi
push esi
push edx
call fcn.101e4930
mov edx, dword [esp + 0x24]
lea ebx, [ebx + 3]
add edx, 0x1c
add esp, 0xc
add esi, edi
mov dword [esp + 0x18], edx
sub ebp, edi
sub dword [esp + 0x1c], 1
jne 0x101c71f0
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x14]
lea ebx, [esi + 0xc]
lea eax, [ecx*8]
sub eax, ecx
add eax, 0x4f
push ebp
push edi
lea eax, [esi + eax*4]
push eax
call fcn.101e4930
add esp, 0xc
cmp edi, dword [esp + 0x24]
sbb eax, eax
and eax, 0xfffffffb
add eax, 5
cmp edi, dword [esp + 0x24]
jb 0x101c7292
cmp dword [esi], 0
jne 0x101c6d44
pop edi
mov dword [esi], eax
xor eax, eax
mov dword [esi + 8], str.cannot_parse_partitions
mov dword [esi + 4], 0
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
push esi
call fcn.101e6c50
add esp, 4
cmp byte [esi + 0x28], 0
jne 0x101c72c8
cmp dword [esi], 0
jne 0x101c6d44
pop edi
mov dword [esi], 4
xor eax, eax
mov dword [esi + 8], str.Not_a_key_frame.
mov dword [esi + 4], 0
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
push 1
push ebx
call fcn.101e4a10
push esi
push ebx
call fcn.101e6210
add esp, 0x10
mov dword [esi + 4], 1
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret