Function at 0x10031a50
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100baf9d
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x100e4f80]
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 + 0x18]
mov ecx, dword [0x10c5f494]
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x44], eax
mov eax, dword fs:[0x2c]
mov dword [ebp - 0x3c], edi
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10c5b11c]
cmp eax, dword [ecx + 4]
jg 0x10031d0c
movzx eax, byte [edi + 0x28]
add edi, 0x28
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor ecx, eax
movzx eax, byte [edi + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, 0x10c5b0fc
push eax
push edi
lea eax, [ebp - 0x38]
push eax
call fcn.10004a40
mov eax, dword [eax + 4]
test eax, eax
je 0x10031afe
cmp eax, dword [0x10c5b100]
jne 0x10031b1e
push edi
lea eax, [ebp - 0x38]
mov ecx, 0x10c5b0fc
push eax
call fcn.10031720
push 0
push 0x100c7388
mov ecx, dword [eax]
add ecx, 0xc
call fcn.100212b0
mov ecx, dword [esi]
xorps xmm0, xmm0
mov esi, ecx
mov dword [ebp - 0x34], ecx
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea edx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x10031b40
sub esi, edx
cmp esi, 0x7fffffff
ja 0x10031db1
cmp esi, 0xf
ja 0x10031b82
push esi
push ecx
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], esi
push eax
mov dword [ebp - 0x14], 0xf
call sub.msvcrt.dll_memcpy
mov byte [ebp + esi - 0x28], 0
add esp, 0xc
mov edi, dword [ebp - 0x28]
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x2c], edi
jmp 0x10031bd1
mov eax, esi
or eax, 0xf
cmp eax, 0x7fffffff
jbe 0x10031b95
mov eax, 0x7fffffff
jmp 0x10031b9f
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.10004810
mov edi, eax
mov dword [ebp - 0x18], esi
mov eax, dword [ebp - 0x30]
push esi
push dword [ebp - 0x34]
mov dword [ebp - 0x2c], edi
push edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x14], eax
call sub.msvcrt.dll_memcpy
add esp, 0x14
mov byte [edi + esi], 0
mov eax, dword [ebp - 0x3c]
mov ecx, 0x10c5b0fc
add eax, 0x28
mov dword [ebp - 4], 3
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.10031720
lea edx, [ebp - 0x28]
mov ecx, dword [eax]
add ecx, 0xc
cmp dword [ebp - 0x14], 0xf
cmova edx, edi
cmp dword [ecx + 0x14], 0xf
mov edi, dword [ecx + 0x10]
jbe 0x10031c07
mov ecx, dword [ecx]
cmp edi, esi
jne 0x10031c60
sub edi, 4
jb 0x10031c21
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10031c26
add ecx, 4
add edx, 4
sub edi, 4
jae 0x10031c10
cmp edi, 0xfffffffc
je 0x10031c5a
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x10031c53
cmp edi, 0xfffffffd
je 0x10031c5a
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10031c53
cmp edi, 0xfffffffe
je 0x10031c5a
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x10031c53
cmp edi, 0xffffffff
je 0x10031c5a
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x10031c5a
sbb eax, eax
or eax, 1
jmp 0x10031c5c
xor eax, eax
test eax, eax
je 0x10031cb9
mov eax, dword [ebp - 0x3c]
mov ecx, 0x10c5b0fc
add eax, 0x28
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.10031720
mov ecx, dword [eax]
lea eax, [ebp - 0x28]
add ecx, 0xc
cmp ecx, eax
je 0x10031c95
cmp dword [ebp - 0x14], 0xf
push esi
cmova eax, dword [ebp - 0x2c]
push eax
call fcn.100212b0
mov edi, dword [ebp - 0x28]
jmp 0x10031c98
mov edi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x3c]
mov ecx, 0x10c5b0fc
add eax, 0x28
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10031720
mov ecx, dword [ebp - 0x44]
mov eax, dword [eax]
mov eax, dword [eax + 0x1c]
mov dword [ecx], eax
jmp 0x10031cbc
mov edi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x14]
cmp eax, 0xf
jbe 0x10031cef
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x10031ce5
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10031db6
push ecx
push edi
call fcn.100a8e3f
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.100a8e4d
mov esp, ebp
pop ebp
ret 0x14
push 0x10c5b11c
call fcn.100a8f76
add esp, 4
cmp dword [0x10c5b11c], 0xffffffff
jne 0x10031aa9
push 0x24
mov dword [ebp - 4], 0
call fcn.100a8e0f
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [0x10c5b100], eax
mov dword [0x10c5b108], 0
mov dword [0x10c5b10c], 0
mov dword [0x10c5b110], 0
push eax
push 0x10
mov ecx, 0x10c5b108
mov byte [ebp - 4], 2
mov dword [0x10c5b114], 7
mov dword [0x10c5b118], 8
mov dword [0x10c5b0fc], 0x3f800000
call fcn.100070d0
push 0x100c0f50
call fcn.100a8cb2
push 0x10c5b11c
mov dword [ebp - 4], 0xffffffff
call fcn.100a8f25
add esp, 8
jmp 0x10031aa9
call fcn.10007900
call fcn.100aa330
int3