Function at 0x512100
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x549ad5
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x588e74]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x28], ebx
movzx eax, byte [edx]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 1]
xor ecx, eax
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
push eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x14]
push edx
push eax
call fcn.004f8700
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x51218a
mov dword [ebx], eax
mov byte [ebx + 4], 0
jmp 0x5122fe
cmp dword [edi + 8], 0xaaaaaaa
je 0x512314
lea eax, [edi + 4]
mov dword [ebp - 0x24], eax
push 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 0
call fcn.00516384
mov ebx, dword [ebp - 0x18]
mov esi, eax
mov eax, dword [ebp - 0x18]
add esp, 4
mov dword [ebp - 0x20], esi
mov ecx, dword [eax]
mov dword [esi + 8], ecx
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 8]
mov dword [eax + 0xc], 0
mov dword [eax + 8], 0
mov eax, dword [eax + 4]
mov dword [ebx + 4], 0
lea ebx, [esi + 8]
mov dword [ebx + 4], eax
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], edx
mov ecx, dword [edi + 8]
movss xmm3, dword [edi]
mov dword [ebp - 4], 1
lea eax, [ecx + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4452a0]
mov eax, dword [edi + 0x1c]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x4452a0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
seta al
test al, al
je 0x5122b1
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x14], xmm0
fld qword [ebp - 0x14]
fstp qword [esp]
call fcn.004e7290
fstp qword [ebp - 0x14]
movsd xmm0, qword [ebp - 0x14]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.00516cb0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [edi + 0x1c]
cmp eax, ecx
jae 0x512293
cmp eax, 0x200
jae 0x512291
shl eax, 3
cmp eax, ecx
jae 0x512293
mov eax, ecx
push eax
mov ecx, edi
call fcn.005007b0
push dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
mov ecx, edi
push ebx
push eax
call fcn.004f8700
mov ecx, dword [edi + 8]
mov edx, dword [eax]
jmp 0x5122b4
mov edx, dword [ebp - 0x14]
mov ebx, dword [edx + 4]
lea eax, [ecx + 1]
mov dword [edi + 8], eax
mov dword [esi], edx
mov dword [esi + 4], ebx
mov dword [ebx], esi
mov dword [edx + 4], esi
mov eax, dword [edi + 0x18]
and eax, dword [ebp - 0x1c]
mov ecx, dword [edi + 0xc]
mov esi, dword [ebp - 0x24]
mov edi, dword [ecx + eax*8]
cmp edi, dword [esi]
mov esi, dword [ebp - 0x20]
jne 0x5122e2
mov dword [ecx + eax*8], esi
jmp 0x5122f1
cmp edi, edx
jne 0x5122eb
mov dword [ecx + eax*8], esi
jmp 0x5122f5
cmp dword [ecx + eax*8 + 4], ebx
jne 0x5122f5
mov dword [ecx + eax*8 + 4], esi
mov ebx, dword [ebp - 0x28]
mov dword [ebx], esi
mov byte [ebx + 4], 1
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x44fa10
call fcn.0051791a
int3