Function at 0x10039180
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f81dd
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x1012c140]
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 [0x10ca83e8]
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 [0x10ca3cd8]
cmp eax, dword [ecx + 4]
jg 0x10039474
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, 0x10ca3cb8
push eax
push esi
lea eax, [ebp - 0x34]
push eax
call fcn.10005470
mov eax, dword [eax + 4]
test eax, eax
je 0x10039241
cmp eax, dword [0x10ca3cbc]
jne 0x10039261
push esi
lea eax, [ebp - 0x34]
mov ecx, 0x10ca3cb8
push eax
call fcn.10038e50
push 0
push 0x10102bc8
mov ecx, dword [eax]
add ecx, 0xc
call fcn.10028560
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 0x10039280
sub esi, ecx
cmp esi, 0x7fffffff
ja 0x10039519
cmp esi, 0xf
ja 0x100392c2
push esi
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], esi
push edi
push eax
mov dword [ebp - 0x14], 0xf
call fcn.100cce50
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 0x10039311
mov eax, esi
or eax, 0xf
cmp eax, 0x7fffffff
jbe 0x100392d5
mov eax, closesocket
jmp 0x100392df
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.10005250
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.100cce50
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, 0x10ca3cb8
call fcn.10038e50
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 0x10039346
mov ecx, dword [ecx]
cmp edx, esi
jne 0x100393ac
test edx, edx
je 0x1003941f
sub edx, 4
jb 0x10039368
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x1003936d
add ecx, 4
add edi, 4
sub edx, 4
jae 0x10039357
cmp edx, 0xfffffffc
je 0x100393a1
mov al, byte [ecx]
cmp al, byte [edi]
jne 0x1003939a
cmp edx, 0xfffffffd
je 0x100393a1
mov al, byte [ecx + 1]
cmp al, byte [edi + 1]
jne 0x1003939a
cmp edx, 0xfffffffe
je 0x100393a1
mov al, byte [ecx + 2]
cmp al, byte [edi + 2]
jne 0x1003939a
cmp edx, 0xffffffff
je 0x100393a1
mov al, byte [ecx + 3]
cmp al, byte [edi + 3]
je 0x100393a1
sbb eax, eax
or eax, 1
jmp 0x100393a3
xor eax, eax
test eax, eax
sete al
test al, al
jne 0x1003941c
mov edi, dword [ebp - 0x3c]
lea eax, [ebp - 0x40]
push edi
push eax
mov ecx, 0x10ca3cb8
call fcn.10038e50
mov edx, dword [eax]
lea eax, [ebp - 0x28]
add edx, 0xc
cmp edx, eax
je 0x100393e1
cmp dword [ebp - 0x14], 0xf
mov ecx, edx
push esi
cmova eax, dword [ebp - 0x2c]
push eax
call fcn.10028560
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
push edi
lea eax, [ebp - 0x40]
mov ecx, 0x10ca3cb8
push eax
call fcn.10038e50
mov ecx, dword [ebp - 0x38]
mov eax, dword [eax]
mov eax, dword [eax + 0x1c]
test ecx, ecx
je 0x1003941c
test eax, eax
je 0x1003941c
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.100cce50
add esp, 0xc
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x10039452
inc ecx
mov edx, eax
cmp ecx, 0x1000
jb 0x10039448
mov eax, dword [edx - 4]
add ecx, 0x23
sub edx, eax
mov dword [ebp - 0x2c], eax
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x1003946f
mov eax, dword [ebp - 0x2c]
push ecx
push eax
call fcn.100cb28b
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.100cb5ce
mov esp, ebp
pop ebp
ret 0x10
call fcn.100d707f
push 0x10ca3cd8
call fcn.100cb718
add esp, 4
cmp dword [0x10ca3cd8], 0xffffffff
jne 0x100391e9
push 0x24
mov dword [ebp - 4], 0
call fcn.100cb25b
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [0x10ca3cbc], eax
mov dword [0x10ca3cc4], 0
mov dword [0x10ca3cc8], 0
mov dword [0x10ca3ccc], 0
push eax
push 0x10
mov ecx, 0x10ca3cc4
mov byte [ebp - 4], 2
mov dword [0x10ca3cd0], 7
mov dword [0x10ca3cd4], 8
mov dword [0x10ca3cb8], 0x3f800000
call fcn.100086d0
push 0x100ff7e0
call fcn.100cb5b9
push 0x10ca3cd8
mov dword [ebp - 4], 0xffffffff
call fcn.100cb6c7
add esp, 8
jmp 0x100391e9
call fcn.10009230
int3