Function at 0x10059530
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bf83c
mov eax, dword fs:[0]
push eax
sub esp, 0xad8
mov eax, dword [0x100e9f80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x10
mov dword [ebp - 0x18], 0xf0fe81
mov word [ebp - 0x14], 0
mov dword [ebp - 0x20], 0xf8fe81
mov word [ebp - 0x1c], 0
mov dword [ebp - 0x28], 0xfcfe81
mov word [ebp - 0x24], 0
mov dword [ebp - 0x30], 0xfefe81
mov word [ebp - 0x2c], 0
mov dword [ebp - 0x38], 0x80fe81
mov word [ebp - 0x34], 0
mov dword [ebp - 0x40], 0xe0fe81
mov word [ebp - 0x3c], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0
call fcn.100abdf2
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [ebp - 0xbc], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0
push eax
push 0x10
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 1
mov dword [ebp - 0xa8], 7
mov dword [ebp - 0xa4], 8
mov dword [ebp - 0xc0], 0x3f800000
call fcn.10009690
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 2
mov dword [ebp - 0x70], eax
lea edx, [ebp - 0x70]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x6c], 6
mov dword [ebp - 0x68], eax
lea ecx, [ebp - 0x40]
lea eax, [ebp - 0x28]
mov dword [ebp - 0x64], 6
mov dword [ebp - 0x60], eax
sub ecx, edx
lea eax, [ebp - 0x30]
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x58], eax
xor edx, edx
lea eax, [ebp - 0x38]
sar ecx, 3
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x48], eax
xor eax, eax
mov dword [ebp - 0x5c], 6
mov dword [ebp - 0x54], 6
mov dword [ebp - 0x4c], 6
mov dword [ebp - 0x44], 6
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x88], edx
test ecx, ecx
je 0x10059757
cmp ecx, 0x1fffffff
ja 0x10059a1b
lea edi, [ecx*8]
cmp edi, 0x1000
jb 0x10059708
lea eax, [edi + 0x23]
cmp eax, edi
jbe 0x10059a20
push eax
call fcn.100abdf2
add esp, 4
test eax, eax
je 0x10059a25
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x1005971b
test edi, edi
je 0x10059719
push edi
call fcn.100abdf2
add esp, 4
mov esi, eax
jmp 0x1005971b
xor esi, esi
push dword [ebp - 0x78]
lea eax, [esi + edi]
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0x70]
push eax
push esi
mov dword [ebp - 0xa0], esi
call sub.msvcrt.dll_memmove
mov eax, dword [ebp - 0x84]
add esp, 0xc
mov dword [ebp - 0x80], esi
lea edx, [esi + eax*8]
mov eax, esi
mov dword [ebp - 0x88], edx
mov dword [ebp - 0x9c], edx
mov byte [ebp - 4], 3
cmp eax, edx
je 0x10059909
nop dword [eax]
nop word [eax + eax]
push dword [0x10c63978]
push dword [0x10c63564]
push 0x10
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x94]
push eax
call fcn.1008d8c0
add esp, 0x18
mov edi, dword [ebp - 0x90]
mov esi, dword [ebp - 0x94]
mov byte [ebp - 4], 4
cmp esi, edi
je 0x10059894
nop word [eax + eax]
mov eax, dword [esi]
push 0x800
push eax
mov dword [ebp - 0x78], eax
call fcn.1008e5f0
mov ecx, eax
mov dword [ebp - 0x78], eax
shr ecx, 0x10
mov edx, eax
mov dword [ebp - 0xc4], ecx
add esp, 8
mov ecx, eax
shr edx, 0x18
shr ecx, 8
mov dword [ebp - 0x84], ecx
test eax, eax
je 0x10059883
movzx eax, al
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
mov eax, dword [ebp - 0x84]
movzx eax, al
xor ecx, eax
mov eax, dword [ebp - 0xc4]
imul ecx, ecx, 0x1000193
movzx eax, al
xor ecx, eax
imul eax, ecx, 0x1000193
lea ecx, [ebp - 0xc0]
xor eax, edx
imul eax, eax, 0x1000193
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0xcc]
push eax
call fcn.10004c20
mov eax, dword [eax + 4]
test eax, eax
je 0x10059864
cmp eax, dword [ebp - 0xbc]
je 0x10059864
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0xd4]
push eax
lea ecx, [ebp - 0xc0]
call fcn.10014e70
mov eax, dword [eax]
inc dword [eax + 0xc]
jmp 0x10059883
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0xdc]
push eax
lea ecx, [ebp - 0xc0]
call fcn.10014e70
mov eax, dword [eax]
mov dword [eax + 0xc], 1
add esi, 4
cmp esi, edi
jne 0x100597b0
mov esi, dword [ebp - 0x94]
mov byte [ebp - 4], 3
test esi, esi
je 0x100598f4
mov eax, dword [ebp - 0x8c]
sub eax, esi
sar eax, 2
lea ecx, [eax*4]
mov eax, esi
cmp ecx, 0x1000
jb 0x100598cc
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10059a25
push ecx
push esi
call fcn.100abe22
add esp, 8
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x80]
add eax, 8
mov dword [ebp - 0x80], eax
cmp eax, dword [ebp - 0x88]
jne 0x10059770
mov ecx, dword [ebp - 0x7c]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x10059947
mov edx, dword [ebp - 0x98]
mov eax, ecx
sub edx, ecx
and edx, 0xfffffff8
cmp edx, 0x1000
jb 0x1005993d
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10059a25
push edx
push ecx
call fcn.100abe22
add esp, 8
mov ecx, dword [ebp - 0xbc]
xor edi, edi
xor esi, esi
mov eax, dword [ecx]
cmp eax, ecx
je 0x100599ee
nop dword [eax + eax]
mov edx, dword [eax + 0xc]
cmp edx, esi
mov ecx, dword [eax + 8]
mov eax, dword [eax]
cmovle ecx, edi
cmovle edx, esi
mov edi, ecx
mov esi, edx
cmp eax, dword [ebp - 0xbc]
jne 0x10059960
test edi, edi
je 0x100599ee
push 0xa08
lea eax, [ebp - 0xae4]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0xae4], edi
mov ecx, 0x282
mov dword [ebp - 0xadc], 4
lea esi, [ebp - 0xae4]
mov dword [ebp - 0x964], 0x101
mov dword [ebp - 0x960], 0
push 0x100cf5f8
sub esp, 0xa08
mov dword [ebp - 0x93c], 0x10058b20
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.10005a10
add esp, 0xa0c
mov byte [ebp - 0x71], al
jmp 0x100599f2
mov byte [ebp - 0x71], 0
lea ecx, [ebp - 0xc0]
call fcn.100088d0
mov al, byte [ebp - 0x71]
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.100abe30
mov esp, ebp
pop ebp
ret
call fcn.1000bdb0
call fcn.10004a30
call fcn.100ad2f0
int3