Function at 0x10031c30
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ec17d
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x1011dfc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x44], ecx
mov eax, dword [eax + 8]
mov ecx, dword [0x10c99f60]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov edi, dword [esi + eax*4 + 0x28]
mov eax, dword fs:[0x2c]
mov dword [ebp - 0x38], edi
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10c95830]
cmp eax, dword [ecx + 4]
jg 0x10031f24
movzx eax, byte [esi + 0x28]
add esi, 0x28
xor eax, 0x811c9dc5
mov dword [ebp - 0x3c], esi
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 1]
xor ecx, eax
movzx eax, byte [esi + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, 0x10c95810
push eax
push esi
lea eax, [ebp - 0x34]
push eax
call fcn.100036c0
mov eax, dword [eax + 4]
test eax, eax
je 0x10031cf1
cmp eax, dword [0x10c95814]
jne 0x10031d11
push esi
lea eax, [ebp - 0x34]
mov ecx, 0x10c95810
push eax
call fcn.100318e0
push 0
push 0x100f5980
mov ecx, dword [eax]
add ecx, 0xc
call fcn.10021060
mov esi, edi
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
lea ecx, [esi + 1]
nop dword [eax + eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x10031d30
sub esi, ecx
cmp esi, 0x7fffffff
ja 0x10031fc9
cmp esi, 0xf
ja 0x10031d72
push esi
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], esi
push edi
push eax
mov dword [ebp - 0x14], 0xf
call fcn.100c12a0
mov byte [ebp + esi - 0x28], 0
add esp, 0xc
mov ecx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x2c], ecx
jmp 0x10031dc1
mov eax, esi
or eax, 0xf
cmp eax, 0x7fffffff
jbe 0x10031d85
mov eax, closesocket
jmp 0x10031d8f
mov ecx, 0x16
cmp eax, ecx
cmovb eax, ecx
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.100076c0
mov edi, eax
mov dword [ebp - 0x18], esi
mov eax, dword [ebp - 0x30]
push esi
push dword [ebp - 0x38]
mov dword [ebp - 0x2c], edi
push edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x14], eax
call fcn.100c12a0
add esp, 0x14
mov byte [edi + esi], 0
push dword [ebp - 0x3c]
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 3
push eax
mov ecx, 0x10c95810
call fcn.100318e0
lea edi, [ebp - 0x28]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x2c]
add ecx, 0xc
cmp dword [ebp - 0x14], 0xf
cmova edi, eax
cmp dword [ecx + 0x14], 0xf
mov edx, dword [ecx + 0x10]
jbe 0x10031df6
mov ecx, dword [ecx]
cmp edx, esi
jne 0x10031e5c
test edx, edx
je 0x10031ecf
sub edx, 4
jb 0x10031e18
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x10031e1d
add ecx, 4
add edi, 4
sub edx, 4
jae 0x10031e07
cmp edx, 0xfffffffc
je 0x10031e51
mov al, byte [ecx]
cmp al, byte [edi]
jne 0x10031e4a
cmp edx, 0xfffffffd
je 0x10031e51
mov al, byte [ecx + 1]
cmp al, byte [edi + 1]
jne 0x10031e4a
cmp edx, 0xfffffffe
je 0x10031e51
mov al, byte [ecx + 2]
cmp al, byte [edi + 2]
jne 0x10031e4a
cmp edx, 0xffffffff
je 0x10031e51
mov al, byte [ecx + 3]
cmp al, byte [edi + 3]
je 0x10031e51
sbb eax, eax
or eax, 1
jmp 0x10031e53
xor eax, eax
test eax, eax
sete al
test al, al
jne 0x10031ecc
mov edi, dword [ebp - 0x3c]
lea eax, [ebp - 0x40]
push edi
push eax
mov ecx, 0x10c95810
call fcn.100318e0
mov edx, dword [eax]
lea eax, [ebp - 0x28]
add edx, 0xc
cmp edx, eax
je 0x10031e91
cmp dword [ebp - 0x14], 0xf
mov ecx, edx
push esi
cmova eax, dword [ebp - 0x2c]
push eax
call fcn.10021060
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
push edi
lea eax, [ebp - 0x40]
mov ecx, 0x10c95810
push eax
call fcn.100318e0
mov ecx, dword [ebp - 0x38]
mov eax, dword [eax]
mov eax, dword [eax + 0x1c]
test ecx, ecx
je 0x10031ecc
test eax, eax
je 0x10031ecc
mov edx, 0xb928
cmp eax, edx
cmova eax, edx
mov edx, dword [ebp - 0x44]
push eax
push ecx
push dword [edx]
mov dword [edx + 4], eax
call fcn.100c12a0
add esp, 0xc
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x10031f02
inc ecx
mov edx, eax
cmp ecx, 0x1000
jb 0x10031ef8
mov eax, dword [edx - 4]
add ecx, 0x23
sub edx, eax
mov dword [ebp - 0x2c], eax
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x10031f1f
mov eax, dword [ebp - 0x2c]
push ecx
push eax
call fcn.100bf788
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100bfabd
mov esp, ebp
pop ebp
ret 0x10
call fcn.100cb58f
push 0x10c95830
call fcn.100bfbd8
add esp, 4
cmp dword [0x10c95830], 0xffffffff
jne 0x10031c99
push 0x24
mov dword [ebp - 4], 0
call fcn.100bf758
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [0x10c95814], eax
mov dword [0x10c9581c], 0
mov dword [0x10c95820], 0
mov dword [0x10c95824], 0
push eax
push 0x10
mov ecx, 0x10c9581c
mov byte [ebp - 4], 2
mov dword [0x10c95828], 7
mov dword [0x10c9582c], 8
mov dword [0x10c95810], 0x3f800000
call fcn.10004a50
push 0x100f2e90
call fcn.100bfaa8
push 0x10c95830
mov dword [ebp - 4], 0xffffffff
call fcn.100bfb87
add esp, 8
jmp 0x10031c99
call fcn.10004d60
int3