Function at 0x10037970
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f6d7d
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x1012a100]
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 [0x10ca6218]
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 [0x10ca1b04]
cmp eax, dword [ecx + 4]
jg 0x10037c64
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, 0x10ca1ae4
push eax
push esi
lea eax, [ebp - 0x34]
push eax
call fcn.10005220
mov eax, dword [eax + 4]
test eax, eax
je 0x10037a31
cmp eax, dword [0x10ca1ae8]
jne 0x10037a51
push esi
lea eax, [ebp - 0x34]
mov ecx, 0x10ca1ae4
push eax
call fcn.10037640
push 0
push 0x10100b7c
mov ecx, dword [eax]
add ecx, 0xc
call fcn.10027260
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 0x10037a70
sub esi, ecx
cmp esi, 0x7fffffff
ja 0x10037d09
cmp esi, 0xf
ja 0x10037ab2
push esi
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], esi
push edi
push eax
mov dword [ebp - 0x14], 0xf
call fcn.100cbb30
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 0x10037b01
mov eax, esi
or eax, 0xf
cmp eax, 0x7fffffff
jbe 0x10037ac5
mov eax, closesocket
jmp 0x10037acf
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.10005000
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.100cbb30
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, 0x10ca1ae4
call fcn.10037640
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 0x10037b36
mov ecx, dword [ecx]
cmp edx, esi
jne 0x10037b9c
test edx, edx
je 0x10037c0f
sub edx, 4
jb 0x10037b58
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x10037b5d
add ecx, 4
add edi, 4
sub edx, 4
jae 0x10037b47
cmp edx, 0xfffffffc
je 0x10037b91
mov al, byte [ecx]
cmp al, byte [edi]
jne 0x10037b8a
cmp edx, 0xfffffffd
je 0x10037b91
mov al, byte [ecx + 1]
cmp al, byte [edi + 1]
jne 0x10037b8a
cmp edx, 0xfffffffe
je 0x10037b91
mov al, byte [ecx + 2]
cmp al, byte [edi + 2]
jne 0x10037b8a
cmp edx, 0xffffffff
je 0x10037b91
mov al, byte [ecx + 3]
cmp al, byte [edi + 3]
je 0x10037b91
sbb eax, eax
or eax, 1
jmp 0x10037b93
xor eax, eax
test eax, eax
sete al
test al, al
jne 0x10037c0c
mov edi, dword [ebp - 0x3c]
lea eax, [ebp - 0x40]
push edi
push eax
mov ecx, 0x10ca1ae4
call fcn.10037640
mov edx, dword [eax]
lea eax, [ebp - 0x28]
add edx, 0xc
cmp edx, eax
je 0x10037bd1
cmp dword [ebp - 0x14], 0xf
mov ecx, edx
push esi
cmova eax, dword [ebp - 0x2c]
push eax
call fcn.10027260
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
push edi
lea eax, [ebp - 0x40]
mov ecx, 0x10ca1ae4
push eax
call fcn.10037640
mov ecx, dword [ebp - 0x38]
mov eax, dword [eax]
mov eax, dword [eax + 0x1c]
test ecx, ecx
je 0x10037c0c
test eax, eax
je 0x10037c0c
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.100cbb30
add esp, 0xc
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x10037c42
inc ecx
mov edx, eax
cmp ecx, 0x1000
jb 0x10037c38
mov eax, dword [edx - 4]
add ecx, 0x23
sub edx, eax
mov dword [ebp - 0x2c], eax
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x10037c5f
mov eax, dword [ebp - 0x2c]
push ecx
push eax
call fcn.100c9f69
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.100ca2ac
mov esp, ebp
pop ebp
ret 0x10
call fcn.100d5d5f
push 0x10ca1b04
call fcn.100ca3f8
add esp, 4
cmp dword [0x10ca1b04], 0xffffffff
jne 0x100379d9
push 0x24
mov dword [ebp - 4], 0
call fcn.100c9f39
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [0x10ca1ae8], eax
mov dword [0x10ca1af0], 0
mov dword [0x10ca1af4], 0
mov dword [0x10ca1af8], 0
push eax
push 0x10
mov ecx, 0x10ca1af0
mov byte [ebp - 4], 2
mov dword [0x10ca1afc], 7
mov dword [0x10ca1b00], 8
mov dword [0x10ca1ae4], 0x3f800000
call fcn.10008480
push 0x100fe360
call fcn.100ca297
push 0x10ca1b04
mov dword [ebp - 4], 0xffffffff
call fcn.100ca3a7
add esp, 8
jmp 0x100379d9
call fcn.10008fe0
int3