Function at 0x497b20
Capabilities:
Hash data using fnv

Disassembly:
mov ecx, dword [0x8cbf38]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x18]
cmp eax, dword [ecx + 8]
jbe 0x497eb0
sub esp, 0x98
mov eax, dword [esp + 0x9c]
mov eax, dword [eax + 0x84]
mov ecx, dword [esp + 0xa0]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0x44], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x78], 0x17
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0x17
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
lea ecx, [0x8a6aa0]
mov dword [esp], ecx
lea edx, [0x64c5c0]
mov dword [esp + 4], edx
lea ebx, [esp + 0x88]
mov dword [esp + 8], ebx
call fcn.00474b20
movzx eax, byte [esp + 0x14]
test al, al
jne 0x497c61
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.00491f70
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
lea edx, [esp + 0x24]
mov dword [esp], edx
lea edx, [0x67ce39]
mov dword [esp + 4], edx
mov dword [esp + 8], 2
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.00455480
mov eax, dword [esp + 0x14]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x20], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00495f10
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x44]
xor ebx, ebx
jmp 0x497c9d
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x54], ecx
lea edx, [0x65d540]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.0040d7d0
mov eax, dword [esp + 8]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0xa8], eax
add esp, 0x98
ret
inc ebx
cmp ebx, ecx
jge 0x497d2c
mov ebp, dword [eax + ebx*4]
cmp dword [ebp + 0x20], edx
jne 0x497c9c
mov dword [esp + 0x48], ebp
lea eax, [0x64c5c0]
mov dword [esp], eax
lea ecx, [esp + 0x78]
mov dword [esp + 4], ecx
call fcn.0040d300
lea eax, [0x8a6aa0]
mov dword [esp], eax
lea eax, [0x64c5c0]
mov dword [esp + 4], eax
lea eax, [0x663f40]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x10], eax
call fcn.00474d30
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x50], ecx
lea edx, [0x65d540]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.0040d7d0
mov eax, dword [esp + 8]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0xa8], eax
add esp, 0x98
ret
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
lea eax, [0x622260]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x6c]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x5c], eax
lea ecx, [0x63d0c0]
mov dword [esp], ecx
call fcn.0040fcf0
mov esi, dword [esp + 0x5c]
test byte [esi], al
mov eax, dword [0x8cc0e0]
mov edi, dword [esp + 4]
mov dword [esp + 0x60], edi
test eax, eax
je 0x497da2
lea eax, [0x63d0c0]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], esi
call fcn.004152e0
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x60]
call fcn.0046c576
mov eax, dword [esp + 0x60]
mov byte [eax + 0xc], 0
mov ecx, dword [esp + 0x58]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov byte [esp + 0x10], 0
mov byte [esp + 0x11], 0
call fcn.00402250
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call fcn.00468ec0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x60]
mov dword [ecx + 0x18], eax
mov eax, dword [esp + 0x44]
mov edx, dword [eax + 8]
xor ebx, ebx
jmp 0x497e0d
imul edx, edx, 0x1000193
xor edx, 0x5b
mov ebx, 1
test ebx, ebx
jle 0x497dff
mov dword [ecx + 8], edx
mov edx, dword [0x8cc0e0]
test edx, edx
je 0x497e2b
call fcn.0046bec0
mov dword [edi], eax
mov edx, dword [ecx + 0x20]
mov dword [edi + 4], edx
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x1c], 0
lea eax, [0x64c5c0]
mov dword [esp], eax
lea edx, [esp + 0x78]
mov dword [esp + 4], edx
call fcn.0040d300
lea eax, [0x8a6aa0]
mov dword [esp], eax
lea eax, [0x64c5c0]
mov dword [esp + 4], eax
lea eax, [0x663f40]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x10], eax
call fcn.00474d30
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x4c], ecx
lea edx, [0x65d540]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.0040d7d0
mov eax, dword [esp + 8]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0xa8], eax
add esp, 0x98
ret
call fcn.0046aab0
jmp fcn.00497b20