Function at 0x507be0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 0xc]
mov ecx, edi
mov dword [esi + 0x50], eax
mov dword [esi + 0xc8], 0
mov dword [esi + 0xcc], 0
mov dword [esi + 0xe0], 1
mov dword [esi + 0xd4], 1
mov dword [esi + 0x78], 0
mov eax, dword [eax + 4]
mov dword [esi + 0x54], eax
mov eax, dword [esi + 0x50]
mov dword [esi + 0x58], edi
mov word [esi + 0xac], 0
mov dword [esi + 8], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0xb0], 0
mov dword [esi + 0xc0], 0
mov dword [esi + 0x5c], 0
mov word [esi + 0x60], 0
mov byte [esi + 0x62], 1
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
mov eax, dword [edi]
call dword [eax + 0x10]
mov dword [esi + 0x88], eax
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 4]
mov ebx, eax
xor edx, edx
movzx ecx, bl
xor ecx, 0x811c9dc5
movzx eax, bh
imul ecx, ecx, 0x1000193
mov dword [ebp + 8], ebx
mov dword [esi + 0x8c], ebx
xor ecx, eax
movzx eax, byte [ebp + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebp + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebp + 0xc]
div dword [ecx + 0x168]
mov eax, dword [ecx + 0x170]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x507d04
cmp dword [eax + 4], ebx
je 0x507da3
mov eax, dword [eax]
test eax, eax
jne 0x507cf5
mov eax, dword [ebp - 4]
mov dword [esi + 0x90], eax
call fcn.004f9c50
mov edx, dword [esi + 0xa4]
mov dword [ebp + 8], eax
cmp eax, edx
je 0x507dab
lea ebx, [eax + 0x1f]
xor ecx, ecx
shr ebx, 5
mov edx, 4
mov eax, ebx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.msvcrt.dll_void____cdecl_operator_new___unsigned_int_
mov edx, dword [esi + 0xa4]
add esp, 4
add edx, 0x1f
xor ecx, ecx
shr edx, 5
mov edi, eax
test edx, edx
je 0x507d71
jmp 0x507d60
mov eax, dword [esi + 0xa8]
mov eax, dword [eax + ecx*4]
mov dword [edi + ecx*4], eax
inc ecx
cmp ecx, edx
jb 0x507d60
sub ebx, edx
lea eax, [edi + edx*4]
shl ebx, 2
push ebx
push 0
push eax
call sub.msvcrt.dll_memset
push dword [esi + 0xa8]
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
mov eax, dword [ebp + 8]
add esp, 0x10
mov dword [esi + 0xa8], edi
mov edx, eax
mov dword [esi + 0xa4], eax
jmp 0x507db1
mov eax, dword [eax + 8]
jmp 0x507d07
mov edi, dword [esi + 0xa8]
add edx, 0x1f
xor ecx, ecx
shr edx, 5
test edx, edx
je 0x507dd8
lea ecx, [ecx]
mov eax, dword [esi + 0xa8]
mov dword [eax + ecx*4], 0
inc ecx
cmp ecx, edx
jb 0x507dc0
mov edi, dword [esi + 0xa8]
mov edx, dword [esi + 0x90]
mov eax, edx
mov ebx, dword [ebp + 0xc]
and edx, 0x1f
shr eax, 5
lea ecx, [edi + eax*4]
mov eax, dword [ecx]
bts eax, edx
mov dword [ecx], eax
xor eax, eax
cmp dword [ebx + 0xc], eax
lea ecx, [esi + 0x28]
setne al
inc eax
push eax
push esi
call fcn.005107e0
mov eax, dword [esi + 0x50]
push esi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 4]
push eax
push dword [esi + 0x8c]
lea ecx, [ebp - 0x14]
push 3
call fcn.00510370
mov edi, eax
mov ecx, dword [edi]
xor ecx, dword [esi + 0x94]
and ecx, 0xfffffff
xor dword [esi + 0x94], ecx
mov ecx, ebx
mov edx, dword [edi]
xor edx, dword [esi + 0x94]
and edx, 0xfffffff
xor edx, dword [edi]
mov dword [esi + 0x94], edx
mov eax, dword [edi + 8]
mov dword [esi + 0x9c], eax
mov eax, dword [edi + 4]
mov dword [esi + 0x98], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xa0], eax
push dword [esi + 0x90]
call fcn.00507fe0
mov eax, dword [esi + 0x50]
push dword [esi + 0x88]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 4]
push eax
push 4
push 1
mov ecx, esi
call fcn.00508700
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8