Function at 0x1005a580
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d9abd
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x10105ec0]
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 + 0x10]
mov ecx, dword [0x10c81234]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x34], eax
mov dword [eax], 0
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10c80048]
cmp eax, dword [ecx + 4]
jg 0x1005a8ae
mov edx, dword [esi + 0x28]
movzx eax, dl
xor eax, 0x811c9dc5
mov dword [ebp - 0x30], edx
imul ecx, eax, 0x1000193
mov eax, edx
shr eax, 8
movzx eax, al
xor ecx, eax
mov eax, edx
shr eax, 0x10
imul ecx, ecx, 0x1000193
movzx eax, al
shr edx, 0x18
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, 0x10c80028
xor eax, edx
imul eax, eax, 0x1000193
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10003110
mov eax, dword [eax + 4]
test eax, eax
je 0x1005a640
cmp eax, dword [0x10c8002c]
jne 0x1005a663
lea eax, [ebp - 0x30]
mov ecx, 0x10c80028
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.1002eda0
push 0
push 0x100e0b38
mov ecx, dword [eax]
add ecx, 0xc
call fcn.1001e790
mov edx, dword [esi + 0x5c]
xorps xmm0, xmm0
mov ecx, edx
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005a680
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.10003080
lea eax, [ebp - 0x30]
mov dword [ebp - 4], 3
push eax
lea eax, [ebp - 0x40]
mov ecx, 0x10c80028
push eax
call fcn.1002eda0
mov edi, dword [ebp - 0x28]
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 esi, dword [ecx + 0x10]
jbe 0x1005a6c9
mov ecx, dword [ecx]
cmp esi, dword [ebp - 0x18]
jne 0x1005a727
sub esi, 4
jb 0x1005a6e4
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1005a6e9
add ecx, 4
add edx, 4
sub esi, 4
jae 0x1005a6d3
cmp esi, 0xfffffffc
je 0x1005a71d
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x1005a716
cmp esi, 0xfffffffd
je 0x1005a71d
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x1005a716
cmp esi, 0xfffffffe
je 0x1005a71d
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x1005a716
cmp esi, 0xffffffff
je 0x1005a71d
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x1005a71d
sbb eax, eax
or eax, 1
jmp 0x1005a71f
xor eax, eax
test eax, eax
je 0x1005a85e
lea eax, [ebp - 0x30]
mov ecx, 0x10c80028
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.1002eda0
mov ecx, dword [eax]
lea eax, [ebp - 0x28]
add ecx, 0xc
cmp ecx, eax
je 0x1005a758
cmp dword [ebp - 0x14], 0xf
push dword [ebp - 0x18]
cmova eax, edi
push eax
call fcn.1001e790
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
inc eax
push eax
call fcn.100ab613
add esp, 4
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0xf
mov esi, eax
mov edx, esi
cmova ecx, edi
sub edx, ecx
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x1005a775
mov eax, dword [ebp - 0x18]
push 1
push 0x100e5e84
push 2
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push str.k_n
push eax
push esi
call fcn.1008eea0
push 0
push 0x100e0b38
push 2
push 0x100e1084
lea eax, [ebp - 0x2c]
push eax
push esi
call fcn.1008eea0
push 0
push 0x100e0b38
push 2
push 0x100e5dfc
lea eax, [ebp - 0x2c]
push eax
push esi
call fcn.1008eea0
add esp, 0x48
lea eax, [ebp - 0x2c]
push 0
push 0x100e0b38
push 2
push 0x100e5e90
push eax
push esi
call fcn.1008eea0
push 1
push 0x100e50d8
push 1
push 0x100e5e58
lea eax, [ebp - 0x2c]
push eax
push esi
call fcn.1008eba0
push 0
push 0x100e0b38
push 4
push str._F60
lea eax, [ebp - 0x2c]
push eax
push esi
call fcn.1008eea0
add esp, 0x48
lea eax, [ebp - 0x2c]
push 0
push 0x100e0b38
push 2
push 0x100e5e54
push eax
push esi
call fcn.1008eea0
push 0
push 0x100e0b38
push 1
push 0x100e50d8
lea eax, [ebp - 0x2c]
push eax
push esi
call fcn.1008eea0
mov ecx, dword [ebp - 0x34]
add esp, 0x30
mov eax, dword [ebp - 0x2c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x38]
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
cmp eax, 0xf
jbe 0x1005a891
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x1005a887
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005a953
push ecx
push edi
call fcn.100ab2dd
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.100ab605
mov esp, ebp
pop ebp
ret 0x14
push 0x10c80048
call fcn.100ab745
add esp, 4
cmp dword [0x10c80048], 0xffffffff
jne 0x1005a5df
push 0x24
mov dword [ebp - 4], 0
call fcn.100ab2ad
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [0x10c8002c], eax
mov dword [0x10c80034], 0
mov dword [0x10c80038], 0
mov dword [0x10c8003c], 0
push eax
push 0x10
mov ecx, 0x10c80034
mov byte [ebp - 4], 2
mov dword [0x10c80040], 7
mov dword [0x10c80044], 8
mov dword [0x10c80028], 0x3f800000
call fcn.10007ca0
push 0x100df410
call fcn.100ab5f0
push 0x10c80048
mov dword [ebp - 4], 0xffffffff
call fcn.100ab6f4
add esp, 8
jmp 0x1005a5df
call fcn.100b73df
int3