Function at 0x51cf50
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0xf0]
mov edx, dword [esi + 0xf4]
cmp eax, edx
je 0x51cf93
nop
lea edi, [eax + 4]
cmp dword [eax], ebx
je 0x51cf7f
mov eax, edi
cmp eax, edx
jne 0x51cf70
jmp 0x51cf93
sub edx, edi
push edx
push edi
push eax
call fcn.005c3580
add esp, 0xc
add dword [esi + 0xf4], 0xfffffffc
mov eax, dword [esi + 0x128]
mov ecx, dword [esi + 0x12c]
cmp eax, ecx
je 0x51cfc6
lea edx, [eax + 4]
cmp dword [eax], ebx
je 0x51cfb2
mov eax, edx
cmp eax, ecx
jne 0x51cfa3
jmp 0x51cfc6
sub ecx, edx
push ecx
push edx
push eax
call fcn.005c3580
add esp, 0xc
add dword [esi + 0x12c], 0xfffffffc
mov eax, dword [esi + 0xfc]
mov ecx, dword [esi + 0x100]
cmp eax, ecx
je 0x51d0b0
nop word [eax + eax]
lea edx, [eax + 4]
cmp dword [eax], ebx
je 0x51cff2
mov eax, edx
cmp eax, ecx
jne 0x51cfe0
jmp 0x51d0b0
sub ecx, edx
push ecx
push edx
push eax
call fcn.005c3580
movzx eax, bl
lea edi, [esi + 0x108]
xor eax, 0x811c9dc5
add dword [esi + 0x100], 0xfffffffc
imul ecx, eax, 0x1000193
add esp, 0xc
mov eax, ebx
mov dword [ebp - 4], 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, edi
push eax
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004301e0
mov edx, dword [eax + 4]
test edx, edx
je 0x51d0b0
mov ecx, dword [edi + 0x18]
and ecx, dword [ebp - 8]
mov eax, dword [edi + 0xc]
lea ecx, [eax + ecx*8]
mov eax, dword [ecx]
cmp dword [ecx + 4], edx
jne 0x51d08d
cmp eax, edx
jne 0x51d085
mov eax, dword [edi + 4]
mov dword [ecx], eax
mov dword [ecx + 4], eax
jmp 0x51d095
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
jmp 0x51d095
cmp eax, edx
jne 0x51d095
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [edx]
dec dword [edi + 8]
mov eax, dword [edx + 4]
push 0xc
push edx
mov dword [eax], ecx
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
call fcn.005ab85c
add esp, 8
mov eax, dword [esi + 0x134]
mov ecx, dword [esi + 0x138]
cmp eax, ecx
je 0x51d0e3
lea edx, [eax + 4]
cmp dword [eax], ebx
je 0x51d0cf
mov eax, edx
cmp eax, ecx
jne 0x51d0c0
jmp 0x51d0e3
sub ecx, edx
push ecx
push edx
push eax
call fcn.005c3580
add esp, 0xc
add dword [esi + 0x138], 0xfffffffc
mov eax, dword [esi + 0x140]
mov ecx, dword [esi + 0x144]
cmp eax, ecx
je 0x51d116
lea edx, [eax + 4]
cmp dword [eax], ebx
je 0x51d102
mov eax, edx
cmp eax, ecx
jne 0x51d0f3
jmp 0x51d116
sub ecx, edx
push ecx
push edx
push eax
call fcn.005c3580
add esp, 0xc
add dword [esi + 0x144], 0xfffffffc
movzx eax, bl
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [ebp + 9]
xor ecx, eax
movzx eax, byte [ebp + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebp + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
lea ecx, [esi + 0x178]
push eax
mov dword [ebp - 4], eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004301e0
mov eax, dword [eax + 4]
test eax, eax
je 0x51d17e
cmp eax, dword [esi + 0x17c]
je 0x51d17e
push eax
lea eax, [ebp - 8]
push eax
lea ecx, [esi + 0x178]
call fcn.00524650
push dword [ebp - 4]
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [esi + 0x198]
call fcn.004301e0
mov eax, dword [eax + 4]
test eax, eax
je 0x51d1b3
cmp eax, dword [esi + 0x19c]
je 0x51d1b3
push eax
lea eax, [ebp - 8]
push eax
lea ecx, [esi + 0x198]
call fcn.00524650
push dword [ebp - 4]
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [esi + 0x14c]
call fcn.004301e0
mov eax, dword [eax + 4]
test eax, eax
je 0x51d1e8
cmp eax, dword [esi + 0x150]
je 0x51d1e8
push eax
lea eax, [ebp + 8]
push eax
lea ecx, [esi + 0x14c]
call fcn.00524650
test ebx, ebx
je 0x51d1f4
mov eax, dword [ebx]
mov ecx, ebx
push 1
call dword [eax]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4