Function at 0x512670
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
mov dword [ebp - 4], ebx
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 3]
mov edi, dword [ebx + 0xc]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x10], ecx
and eax, dword [ebx + 0x18]
lea edx, [eax*8]
add eax, eax
mov esi, dword [edx + ecx]
add edi, 4
mov dword [ebp - 0x14], edx
mov edx, dword [ecx + eax*4]
mov ecx, dword [ebx + 4]
lea eax, [edi + eax*4]
mov edi, dword [ebp + 8]
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], eax
cmp edx, ecx
jne 0x5126eb
mov eax, ecx
jmp 0x5126ef
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x512738
mov edx, dword [edi]
cmp dword [esi + 8], edx
je 0x512704
mov esi, dword [esi]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
jmp 0x5126e3
mov ebx, dword [ebp - 8]
mov edi, esi
mov dword [ebp + 8], edi
mov edi, dword [ebp - 0x10]
nop
cmp ebx, ecx
jne 0x512718
mov eax, ecx
jmp 0x512721
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + edi + 4]
mov eax, dword [eax]
cmp esi, eax
je 0x51272e
cmp edx, dword [esi + 8]
jne 0x51272e
mov esi, dword [esi]
jmp 0x512710
mov edi, dword [ebp + 8]
mov ebx, dword [ebp - 4]
cmp edi, esi
jne 0x51273c
mov edi, ecx
mov esi, ecx
xor edx, edx
mov eax, edi
mov dword [ebp - 8], edx
cmp edi, esi
je 0x512751
mov eax, dword [eax]
inc edx
cmp eax, esi
jne 0x512747
mov dword [ebp - 8], edx
cmp edi, dword [ecx]
jne 0x51276c
cmp esi, ecx
jne 0x51276c
mov ecx, ebx
call fcn.00512550
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp edi, esi
je 0x51283c
movzx ecx, byte [edi + 8]
mov ebx, edi
xor ecx, 0x811c9dc5
mov dword [ebp + 8], edi
imul edx, ecx, 0x1000193
mov eax, edi
mov dword [ebp - 0x14], edi
movzx ecx, byte [ebx + 9]
mov ebx, dword [ebp - 4]
mov edi, dword [edi]
xor edx, ecx
mov dword [ebp - 0x10], eax
imul edx, edx, 0x1000193
mov ecx, eax
movzx ecx, byte [ecx + 0xa]
xor edx, ecx
mov ecx, eax
imul edx, edx, 0x1000193
movzx ecx, byte [ecx + 0xb]
xor edx, ecx
imul ecx, edx, 0x1000193
and ecx, dword [ebx + 0x18]
lea edx, [ecx*8]
mov ecx, dword [ebx + 0xc]
mov dword [ebp + 8], edx
cmp dword [edx + ecx + 4], eax
jne 0x5127fd
cmp dword [edx + ecx], eax
jne 0x5127f1
mov eax, dword [ebp + 8]
mov edx, dword [ebx + 4]
mov dword [eax + ecx], edx
mov edx, dword [ebx + 0xc]
mov ecx, dword [ebx + 4]
mov dword [eax + edx + 4], ecx
mov eax, dword [ebp - 0x10]
jmp 0x51280d
mov ebx, dword [ebp + 8]
mov edx, dword [eax + 4]
mov dword [ebx + ecx + 4], edx
jmp 0x51280a
cmp dword [edx + ecx], eax
jne 0x51280d
mov ebx, dword [ebp + 8]
mov edx, dword [eax]
mov dword [ebx + ecx], edx
mov ebx, dword [ebp - 4]
mov edx, dword [eax + 4]
mov ecx, dword [eax]
push eax
mov dword [edx], ecx
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
dec dword [ebx + 8]
call fcn.004db150
add esp, 4
cmp edi, esi
jne 0x512774
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret 4