Function at 0x10190c70
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov esi, ecx
mov ebx, dword [ebp + 0x14]
mov eax, ebx
or eax, dword [ebp + 0x10]
or eax, dword [ebp + 0x18]
js 0x10190ccf
mov edi, edx
mov eax, dword [ebp + 0x1c]
mov edx, dword [ebp + 8]
cmp edx, 0x8d41
jne 0x10190ce1
cmp dword [ebp + 0xc], 0
jne 0x10190d03
mov ecx, dword [esi + 0x1280]
push edi
mov edi, eax
call fcn.10075630
mov ecx, dword [eax + 0x60]
sub ecx, dword [ebp + 0x10]
cmp ecx, edi
jl 0x10190e83
mov ecx, dword [eax + 0x64]
sub ecx, ebx
mov al, 1
cmp ecx, dword [ebp + 0x20]
jl 0x10190e83
jmp 0x10190e9c
add esi, 0x1be4
mov ecx, esi
push str.Negative_offset.
jmp 0x10190e90
push edx
call fcn.102b07d0
add esp, 4
cmp al, 0xa
ja case.default.0x10190cf1
movzx eax, al
jmp dword [eax*4 + 0x102f0b10]
mov eax, dword [esi + 0x3c]
jmp 0x10190d21
cmp dword [ebp + 0xc], 0
je 0x10190d33
add esi, 0x1be4
mov ecx, esi
push str.Level_of_detail_outside_of_range.
jmp 0x10190e90
mov eax, dword [esi + 0x4c]
jmp 0x10190d21
xor eax, eax
jmp 0x10190d21
mov eax, dword [esi + 0x38]
xor ecx, ecx
dec ecx
inc ecx
mov edx, eax
sar edx, cl
cmp edx, 1
jg 0x10190d24
cmp ecx, dword [ebp + 0xc]
jb 0x10190d03
mov ecx, dword [esi + 0x127c]
cmp dword [ecx + 0x38], edi
jbe 0x10190d51
mov eax, dword [ecx + 0x3c]
mov eax, dword [eax + edi*4]
xor ebx, ebx
cmp eax, 0xffffffff
cmovne ebx, eax
jmp 0x10190def
mov dword [ebp - 0x18], esi
mov ebx, edi
shr ebx, 0x10
mov edx, edi
shr edx, 8
mov eax, 0xff
mov esi, edi
and esi, eax
and edx, eax
and ebx, eax
mov eax, edi
shr eax, 0x18
xor esi, 0x811c9dc5
imul esi, esi, 0x1000193
xor esi, edx
imul esi, esi, 0x1000193
xor esi, ebx
imul esi, esi, 0x1000193
xor esi, eax
imul esi, esi, 0x1000193
and esi, dword [ecx + 0x58]
mov eax, dword [ecx + 0x44]
mov ecx, dword [ecx + 0x4c]
shl ebx, 0x10
and edi, 0xff0000ff
or edi, ebx
mov dword [ebp - 0x14], ecx
mov ebx, esi
mov esi, dword [ecx + esi*8]
lea ecx, [ebx + ebx]
inc ecx
mov dword [ebp - 0x10], ecx
shl edx, 8
or edi, edx
mov edx, esi
cmp eax, esi
je 0x10190dcf
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ecx + ebx*4]
mov ecx, dword [ecx]
jmp 0x10190dd1
mov ecx, esi
xor ebx, ebx
cmp edx, ecx
je 0x10190de0
cmp dword [edx + 8], edi
je 0x10190de5
mov edx, dword [edx]
jmp 0x10190dbe
mov esi, dword [ebp - 0x18]
jmp 0x10190def
cmp edx, eax
mov esi, dword [ebp - 0x18]
je 0x10190def
mov ebx, dword [edx + 0xc]
mov ecx, ebx
push 0
push esi
call fcn.1008a180
test al, al
je 0x10190ea4
mov eax, dword [ebp + 8]
cmp eax, 0x8513
mov edi, 0x8515
cmovne edi, eax
push edi
call fcn.102b06e0
add esp, 4
movzx eax, al
mov ecx, ebx
mov edx, dword [ebp + 0xc]
push edx
push eax
call fcn.10086fb0
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edi
push edi
call fcn.102b06e0
add esp, 4
movzx eax, al
mov ecx, ebx
push dword [ebp + 0xc]
push eax
call fcn.10086ff0
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp + 0x10]
cmp ecx, dword [ebp + 0x1c]
jl 0x10190e83
sub eax, dword [ebp + 0x14]
cmp eax, dword [ebp + 0x20]
jl 0x10190e83
mov esi, dword [ebp + 0x24]
push dword [ebp - 0x10]
call fcn.102b06e0
add esp, 4
movzx eax, al
mov ecx, ebx
push dword [ebp + 0xc]
push eax
call fcn.100870b0
xor ecx, ecx
inc ecx
test eax, eax
cmovne ecx, eax
mov dword [esi], ecx
mov al, 1
jmp 0x10190e9c
add esi, 0x1be4
mov ecx, esi
push str.The_specified_dimensions_are_outside_of_the_bounds_of_the_texture.
push 0x501
call fcn.10021560
xor eax, eax
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
add esi, 0x1be4
mov ecx, esi
push str.The_texture_is_not_complete.
push 0x502
jmp 0x10190e95