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

Disassembly:
sub esp, 0x50
xor eax, eax
mov dword [esp], eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x70]
test eax, eax
je 0x101b9c69
mov ecx, dword [eax + 8]
jmp 0x101b9c6b
xor ecx, ecx
push esi
mov esi, dword [esp + 0x58]
mov dword [esp + 0x24], ecx
push edi
test esi, esi
je 0x101ba1da
mov edi, dword [esp + 0x60]
cmp edi, 0xc
jb 0x101ba1da
mov eax, dword [esi]
xorps xmm0, xmm0
push ebx
xor ebx, ebx
movlpd qword [esp + 0x50], xmm0
movlpd qword [esp + 0x40], xmm0
movlpd qword [esp + 0x48], xmm0
mov dword [esp + 0x58], 0
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x54], ebx
cmp eax, dword [str.RIFF]
jne 0x101b9d21
mov eax, dword [esi + 8]
cmp eax, dword [str.WEBP]
je 0x101b9cd7
pop ebx
pop edi
mov eax, 3
pop esi
add esp, 0x50
ret
movzx ebx, byte [esi + 7]
movzx eax, byte [esi + 6]
shl ebx, 8
or ebx, eax
movzx eax, byte [esi + 5]
shl ebx, 8
or ebx, eax
movzx eax, byte [esi + 4]
shl ebx, 8
or ebx, eax
cmp ebx, 0xc
jb 0x101b9ccb
cmp ebx, 0xfffffff6
ja 0x101b9ccb
test ecx, ecx
je 0x101b9d17
lea eax, [edi - 8]
cmp ebx, eax
jbe 0x101b9d17
pop ebx
pop edi
mov eax, 7
pop esi
add esp, 0x50
ret
add esi, 0xc
mov dword [esp + 0x54], ebx
sub edi, 0xc
xor ecx, ecx
mov dword [esp + 0x60], ecx
push ebp
cmp edi, 8
jae 0x101b9d3a
mov eax, 7
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x50
ret
mov edx, esi
mov ebp, str.VP8X
mov eax, dword [edx]
cmp eax, dword [ebp]
je 0x101b9d65
cmp al, byte [ebp]
jne 0x101b9d69
mov al, byte [edx + 1]
cmp al, byte [ebp + 1]
jne 0x101b9d69
mov al, byte [edx + 2]
cmp al, byte [ebp + 2]
jne 0x101b9d69
mov al, byte [edx + 3]
cmp al, byte [ebp + 3]
jne 0x101b9d69
xor eax, eax
jmp 0x101b9d6e
sbb eax, eax
or eax, 1
test eax, eax
jne 0x101b9e20
movzx ecx, byte [esi + 7]
movzx eax, byte [esi + 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 4]
shl ecx, 8
or ecx, eax
cmp ecx, 0xa
jne 0x101ba1cd
cmp edi, 0x12
jb 0x101b9d2d
movzx edx, byte [esi + 0xe]
movzx eax, byte [esi + 0xd]
movzx ebp, byte [esi + 0x11]
shl edx, 8
or edx, eax
shl ebp, 8
movzx eax, byte [esi + 0xc]
shl edx, 8
or edx, eax
movzx eax, byte [esi + 0x10]
or ebp, eax
inc edx
movzx eax, byte [esi + 0xf]
shl ebp, 8
or ebp, eax
mov dword [esp + 0x10], edx
inc ebp
mov eax, ebp
mov dword [esp + 0x20], ebp
mul edx
cmp edx, 1
jb 0x101b9df0
ja 0x101ba1cd
test eax, eax
jae 0x101ba1cd
movzx ecx, byte [esi + 0xb]
movzx eax, byte [esi + 0xa]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 9]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 8]
shl ecx, 8
add esi, 0x12
or ecx, eax
mov eax, 1
add edi, 0xffffffee
mov dword [esp + 0x64], eax
jmp 0x101b9e24
xor eax, eax
xor ebp, ebp
mov edx, ecx
shr edx, 1
and edx, 1
mov dword [esp + 0x34], edx
test ebx, ebx
jne 0x101b9e3b
test eax, eax
jne 0x101ba1cd
mov eax, dword [esp + 0x74]
test eax, eax
je 0x101b9e4b
shr ecx, 4
and ecx, 1
mov dword [eax], ecx
mov eax, dword [esp + 0x78]
test eax, eax
je 0x101b9e55
mov dword [eax], edx
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x101b9e63
mov dword [eax], 0
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], ebp
test ecx, ecx
je 0x101b9e8c
cmp dword [esp + 0x34], 0
je 0x101b9e8c
cmp dword [esp + 0x80], 0
je 0x101ba13f
cmp edi, 4
jae 0x101b9e98
mov ebp, ecx
jmp 0x101ba120
test ebx, ebx
je 0x101b9eb9
test ecx, ecx
jne 0x101b9f3e
mov dword [esp + 0x18], edx
mov edx, edi
mov dword [esp + 0x1c], ebp
mov ebp, ecx
mov dword [esp + 0x14], edx
jmp 0x101ba018
mov dword [esp + 0x18], edx
mov edx, edi
mov dword [esp + 0x1c], ebp
mov ebp, ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x64], esi
test ecx, ecx
jne 0x101ba014
mov edx, esi
mov ebp, str.ALPH
mov eax, dword [edx]
cmp eax, dword [ebp]
je 0x101b9f00
cmp al, byte [ebp]
jne 0x101b9f0a
mov al, byte [edx + 1]
cmp al, byte [ebp + 1]
jne 0x101b9f0a
mov al, byte [edx + 2]
cmp al, byte [ebp + 2]
jne 0x101b9f0a
mov al, byte [edx + 3]
cmp al, byte [ebp + 3]
jne 0x101b9f0a
mov dword [esp + 0x2c], 0
jmp 0x101b9f13
sbb eax, eax
or eax, 1
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x2c], 0
mov edx, edi
mov eax, dword [esp + 0x10]
mov ebp, ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x64], esi
jne 0x101ba014
mov edx, dword [esp + 0x10]
mov dword [esp + 0x2c], 0x16
mov ebp, ecx
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
cmp edi, 8
jb 0x101ba11c
mov eax, dword [esp + 0x20]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x64], esi
movzx edx, byte [esi + 7]
movzx eax, byte [esi + 6]
shl edx, 8
or edx, eax
movzx eax, byte [esi + 5]
shl edx, 8
or edx, eax
movzx eax, byte [esi + 4]
shl edx, 8
or edx, eax
cmp edx, 0xfffffff6
ja 0x101ba1cd
mov eax, dword [esp + 0x2c]
lea ecx, [edx + 9]
and ecx, 0xfffffffe
add eax, ecx
mov dword [esp + 0x2c], eax
test ebx, ebx
je 0x101b9fb9
cmp eax, ebx
ja 0x101ba1cd
mov eax, dword [esi]
cmp eax, dword [0x1044a498]
je 0x101ba010
cmp eax, dword [0x1044a4a0]
je 0x101ba010
cmp edi, ecx
jb 0x101ba11c
cmp eax, dword [0x1044a4a8]
jne 0x101b9fe6
lea eax, [esi + 8]
mov dword [esp + 0x50], edx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x18]
sub edi, ecx
add esi, ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x64], esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], eax
cmp edi, 8
jae 0x101b9f75
jmp 0x101ba11c
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x64]
mov ecx, esi
mov edi, str.VP8
mov eax, dword [ecx]
cmp eax, dword [edi]
je 0x101ba041
cmp al, byte [edi]
jne 0x101ba045
mov al, byte [ecx + 1]
cmp al, byte [edi + 1]
jne 0x101ba045
mov al, byte [ecx + 2]
cmp al, byte [edi + 2]
jne 0x101ba045
mov al, byte [ecx + 3]
cmp al, byte [edi + 3]
jne 0x101ba045
xor edi, edi
jmp 0x101ba04a
sbb edi, edi
or edi, 1
mov eax, dword [esi]
xor ecx, ecx
cmp eax, dword [str.VP8L]
sete cl
mov dword [esp + 0x64], ecx
cmp edx, 8
jb 0x101ba11c
test edi, edi
je 0x101ba090
test ecx, ecx
jne 0x101ba090
push edx
push esi
call fcn.101c31c0
mov edx, dword [esp + 0x1c]
mov edi, eax
mov eax, dword [esp + 0x2c]
add esp, 8
mov dword [esp + 0x10], eax
mov ecx, edx
mov eax, dword [esp + 0x28]
mov dword [esp + 0x20], eax
jmp 0x101ba0d4
movzx ecx, byte [esi + 7]
movzx eax, byte [esi + 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 4]
shl ecx, 8
or ecx, eax
cmp ebx, 0xc
jb 0x101ba0bf
lea eax, [ebx - 0xc]
cmp ecx, eax
ja 0x101ba1cd
add edx, 0xfffffff8
cmp dword [esp + 0x30], 0
je 0x101ba0cd
cmp ecx, edx
ja 0x101ba11c
mov edi, dword [esp + 0x64]
add esi, 8
mov dword [esp + 0x54], ecx
cmp ecx, 0xfffffff6
ja 0x101ba1cd
mov ebx, dword [esp + 0x7c]
test ebx, ebx
je 0x101ba0fa
cmp dword [esp + 0x34], 0
jne 0x101ba0fa
xor eax, eax
test edi, edi
setne al
inc eax
mov dword [ebx], eax
test edi, edi
jne 0x101ba117
cmp edx, 0xa
jb 0x101ba11c
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x28]
push eax
push ecx
push edx
push esi
call fcn.101c74e0
jmp 0x101ba185
cmp edx, 5
jae 0x101ba170
mov edx, dword [esp + 0x10]
mov eax, 7
test ebp, ebp
je 0x101b9d32
cmp dword [esp + 0x80], 0
jne 0x101b9d32
mov ebp, dword [esp + 0x20]
mov ecx, dword [esp + 0x74]
test ecx, ecx
je 0x101ba152
xor eax, eax
cmp dword [esp + 0x4c], eax
setne al
or dword [ecx], eax
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x101ba15c
mov dword [eax], edx
mov eax, dword [esp + 0x70]
test eax, eax
je 0x101ba166
mov dword [eax], ebp
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0x50
ret
push dword [esp + 0x74]
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x2c]
push eax
push edx
push esi
call fcn.101c31e0
add esp, 0x14
test eax, eax
je 0x101ba1cd
mov edx, dword [esp + 0x24]
test ebp, ebp
mov ebp, dword [esp + 0x28]
je 0x101ba1a4
cmp dword [esp + 0x18], edx
jne 0x101ba1cd
cmp dword [esp + 0x1c], ebp
jne 0x101ba1cd
mov eax, dword [esp + 0x80]
test eax, eax
je 0x101ba13f
movups xmm0, xmmword [esp + 0x3c]
movups xmmword [eax], xmm0
movups xmm0, xmmword [esp + 0x4c]
movups xmmword [eax + 0x10], xmm0
mov dword [eax + 0x20], edi
sub esi, dword [eax]
mov dword [eax + 0xc], esi
jmp 0x101ba13f
pop ebp
pop ebx
pop edi
mov eax, 3
pop esi
add esp, 0x50
ret
pop edi
mov eax, 7
pop esi
add esp, 0x50
ret