Function at 0x10038f60
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
push edi
mov ecx, dword [esi + 4]
push dword [ebp + 0xc]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x100]
mov dword [ebp + 0x10], eax
test eax, eax
js 0x10039376
test edi, edi
je 0x10039376
mov ecx, dword [edi]
test ecx, ecx
je 0x10039376
mov eax, dword [ecx]
push ecx
call dword [eax + 0x28]
sub eax, 3
je 0x10039244
sub eax, 1
je 0x1003910b
sub eax, 1
je 0x10038fc7
pop edi
pop esi
mov eax, 0x8876086c
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ebx, dword [edi]
mov eax, dword [esi + 0x10]
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], ebx
test ebx, ebx
je 0x10039253
lea edx, [eax + 0x68]
movzx eax, bl
xor eax, 0x811c9dc5
mov dword [ebp - 4], edx
imul ecx, eax, 0x1000193
mov eax, ebx
shr eax, 8
movzx eax, al
xor ecx, eax
mov eax, ebx
imul ecx, ecx, 0x1000193
shr eax, 0x10
movzx eax, al
xor ecx, eax
mov eax, ebx
imul ecx, ecx, 0x1000193
shr eax, 0x18
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edx
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.100367e0
mov esi, dword [eax + 4]
test esi, esi
jne 0x10039038
mov esi, dword [ebp - 4]
mov esi, dword [esi + 4]
mov eax, dword [ebp + 8]
cmp esi, dword [eax + 0x6c]
je 0x1003905a
mov esi, dword [esi + 0xc]
lea eax, [esi - 4]
neg esi
sbb esi, esi
and esi, eax
mov eax, dword [ebp + 0x10]
mov dword [edi], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, 0x10124898
mov esi, 0xc
mov edx, ecx
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1003907b
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10039066
xor eax, eax
jmp 0x100390a2
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x1003909d
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x1003909d
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x1003909d
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x1003909d
xor eax, eax
jmp 0x100390a2
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10039361
push 0x10
call fcn.100beb62
mov esi, eax
add esp, 4
test esi, esi
je 0x10039253
mov eax, dword [ebp + 8]
mov dword [ebp + 8], ebx
mov eax, dword [eax + 4]
mov dword [esi], vtable.m_IDirect3DCubeTexture9.0
mov dword [esi + 4], vtable.m_IDirect3DCubeTexture9.1.0
mov dword [esi + 8], ebx
mov dword [esi + 0xc], eax
mov ecx, dword [eax + 0x10]
test ebx, ebx
je 0x10039371
lea eax, [ebp + 8]
add ecx, 0x68
push eax
lea eax, [ebp - 8]
push eax
call fcn.10036850
lea ecx, [esi + 4]
mov eax, dword [eax]
mov dword [eax + 0xc], ecx
mov eax, dword [ebp + 0x10]
mov dword [edi], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ebx, dword [edi]
mov eax, dword [esi + 0x10]
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], ebx
test ebx, ebx
je 0x10039253
lea edx, [eax + 0x1e8]
movzx eax, bl
xor eax, 0x811c9dc5
mov dword [ebp - 4], edx
imul ecx, eax, 0x1000193
mov eax, ebx
shr eax, 8
movzx eax, al
xor ecx, eax
mov eax, ebx
imul ecx, ecx, 0x1000193
shr eax, 0x10
movzx eax, al
xor ecx, eax
mov eax, ebx
imul ecx, ecx, 0x1000193
shr eax, 0x18
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edx
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.100367e0
mov esi, dword [eax + 4]
test esi, esi
jne 0x1003917f
mov esi, dword [ebp - 4]
mov esi, dword [esi + 4]
mov eax, dword [ebp + 8]
cmp esi, dword [eax + 0x1ec]
jne 0x10039040
mov ecx, 0x10124898
mov esi, 0xc
mov edx, ecx
nop word [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x100391b5
add ecx, 4
add edx, 4
sub esi, 4
jae 0x100391a0
xor eax, eax
jmp 0x100391dc
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x100391d7
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x100391d7
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x100391d7
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x100391d7
xor eax, eax
jmp 0x100391dc
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10039361
push 0x10
call fcn.100beb62
mov esi, eax
add esp, 4
test esi, esi
je 0x10039253
mov eax, dword [ebp + 8]
mov dword [ebp + 8], ebx
mov eax, dword [eax + 4]
mov dword [esi], vtable.m_IDirect3DVolumeTexture9.0
mov dword [esi + 4], vtable.m_IDirect3DVolumeTexture9.1.0
mov dword [esi + 8], ebx
mov dword [esi + 0xc], eax
mov ecx, dword [eax + 0x10]
test ebx, ebx
je 0x10039371
lea eax, [ebp + 8]
add ecx, 0x1e8
push eax
lea eax, [ebp - 8]
push eax
call fcn.10036850
lea ecx, [esi + 4]
mov eax, dword [eax]
mov dword [eax + 0xc], ecx
mov eax, dword [ebp + 0x10]
mov dword [edi], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ebx, dword [edi]
mov esi, dword [esi + 0x10]
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], ebx
test ebx, ebx
jne 0x10039263
mov eax, dword [ebp + 0x10]
xor esi, esi
mov dword [edi], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
movzx eax, bl
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
mov eax, ebx
shr eax, 8
movzx eax, al
xor ecx, eax
mov eax, ebx
imul ecx, ecx, 0x1000193
shr eax, 0x10
movzx eax, al
xor ecx, eax
mov eax, ebx
imul ecx, ecx, 0x1000193
shr eax, 0x18
xor ecx, eax
imul eax, ecx, 0x1000193
lea ecx, [esi + 0x148]
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.100367e0
mov eax, dword [eax + 4]
test eax, eax
jne 0x100392bf
mov eax, dword [esi + 0x14c]
cmp eax, dword [esi + 0x14c]
je 0x100392e1
mov esi, dword [eax + 0xc]
lea eax, [esi - 4]
neg esi
sbb esi, esi
and esi, eax
mov eax, dword [ebp + 0x10]
mov dword [edi], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, 0x10124898
mov esi, 0xc
mov edx, ecx
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10039361
add ecx, 4
add edx, 4
sub esi, 4
jae 0x100392f0
push 0x10
call fcn.100beb62
mov esi, eax
add esp, 4
test esi, esi
je 0x10039253
mov ecx, dword [ebp + 8]
mov dword [ebp + 8], ebx
mov eax, dword [ecx + 4]
mov dword [esi], vtable.m_IDirect3DTexture9.0
mov dword [esi + 4], vtable.m_IDirect3DTexture9.1.0
mov dword [esi + 8], ebx
mov dword [esi + 0xc], eax
mov ecx, dword [eax + 0x10]
test ebx, ebx
je 0x10039371
lea eax, [ebp + 8]
add ecx, 0x148
push eax
lea eax, [ebp - 8]
push eax
call fcn.10036850
lea ecx, [esi + 4]
mov eax, dword [eax]
mov dword [eax + 0xc], ecx
mov eax, dword [ebp + 0x10]
mov dword [edi], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp + 8]
push 0x10124898
push ebx
call fcn.10037a10
mov esi, eax
mov eax, dword [ebp + 0x10]
mov dword [edi], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc