Function at 0x416950
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x100
mov eax, dword [0x4d1028]
mov esi, dword [ebp + 0x14]
mov ebx, ecx
xor eax, ebp
mov dword [esp + 0xf8], eax
mov eax, dword [0x4d64fc]
test eax, eax
je 0x416988
mov eax, dword [0x4d64fc]
test eax, eax
jne 0x4170a5
lea ecx, [ebx + 0xc]
mov dword [esp + 0x10], ecx
call fcn.00431790
test esi, esi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
je 0x4169ad
mov eax, dword [esi + 0x5c]
jmp 0x4169b2
call fcn.004132a0
cmp byte [ebp + 0xc], 0x45
mov dword [esp + 0x14], eax
mov dword [esp + 8], ebx
jne 0x416a33
lea esi, [ebx + 0xc8]
mov edi, esp
lea eax, [esp + 0x14]
lea edx, [esp + 0x30]
mov ecx, esi
push eax
push edx
call fcn.004191c0
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + 0x18]
test eax, eax
jne 0x4169e7
mov eax, dword [ecx + 0x10]
mov ebx, dword [ebp + 0x10]
mov ecx, dword [ecx + 0xc]
mov edx, dword [ebx]
mov ebx, dword [ebx + 4]
sub edx, dword [ecx + eax*8 - 8]
sbb ebx, dword [ecx + eax*8 - 4]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ebx
mov esp, edi
mov ecx, esi
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x34]
push eax
call fcn.004191c0
mov eax, dword [esp + 0x30]
mov edx, dword [eax + 0x18]
lea ecx, [eax + 0xc]
test edx, edx
jne 0x416a26
mov edx, dword [eax + 0x10]
dec edx
mov dword [eax + 0x18], edx
call fcn.00406bd4
mov ebx, dword [esp + 8]
lea edx, [esp + 0x14]
lea ecx, [ebx + 0xa0]
lea eax, [esp + 0x30]
push edx
push eax
call fcn.00418e30
mov edi, dword [esp + 0x30]
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0
mov esi, dword [edi + 0x1c]
cmp dword [edi + 0x20], 0xf
jbe 0x416aa6
mov edi, dword [edi + 0xc]
cmp esi, 0xf
jbe 0x416aae
mov eax, esi
mov ebx, 0x7fffffff
or eax, 0xf
cmp eax, 0x7fffffff
cmovb ebx, eax
cmp ebx, 0xfff
jb 0x416ad0
lea eax, [ebx + 0x24]
push eax
call fcn.0046d61c
add esp, 4
mov ecx, eax
add eax, 0x23
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x416adc
add edi, 0xc
cmp esi, 0xf
ja 0x416a73
movsd xmm0, qword [edi]
movsd xmm1, qword [edi + 8]
mov ebx, 0xf
movsd qword [esp + 0xe8], xmm1
movsd qword [esp + 0xe0], xmm0
jmp 0x416af1
lea eax, [ebx + 1]
push eax
call fcn.0046d61c
add esp, 4
lea ecx, [esi + 1]
mov dword [esp + 0xe0], eax
push ecx
push edi
push eax
call fcn.00471f40
add esp, 0xc
mov dword [esp + 0xf0], esi
mov dword [esp + 0xf4], ebx
mov ebx, dword [esp + 8]
lea esi, [esp + 0xe0]
lea ecx, [ebx + 0xe8]
mov dword [esp + 4], ecx
push esi
lea eax, [esp + 0x34]
push eax
call fcn.00419520
mov eax, dword [esp + 0x30]
cmp eax, dword [ebx + 0xec]
jne 0x416bcb
mov ecx, dword [ebx + 0xf0]
mov edx, 0xaaaaaaab
mov edi, ebx
lea ebx, [esp + 0xe0]
mov eax, ecx
mul edx
shr edx, 1
and edx, 0xfffffffe
lea eax, [edx + edx*2]
neg eax
lea eax, [ecx + eax + 1]
mov ecx, dword [esp + 4]
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc8]
push ebx
push eax
call fcn.00419520
mov eax, dword [esp + 0xc8]
cmp eax, dword [edi + 0xec]
je 0x416b85
mov dword [esp + 0x30], eax
mov byte [esp + 0x34], 0
jmp 0x416bc0
add edi, 0xec
lea eax, [esp + 0x24]
mov dword [esp + 0x2c], ebx
lea edx, [esp + 0x2c]
mov ecx, edi
push eax
push edx
push 0x490f20
call fcn.00419610
mov eax, dword [edi]
mov ecx, dword [esp + 4]
mov eax, dword [eax]
push eax
add eax, 8
push eax
lea eax, [esp + 0x38]
push eax
call fcn.00419720
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0xc]
mov ebx, dword [esp + 8]
mov dword [eax + 0x20], ecx
lea eax, [esp + 0x34]
mov dword [esp + 0x30], 0x490a04
mov dword [esp + 0x80], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
lea ecx, [esp + 0x80]
mov dword [esp + 0x7c], 0x48
push 0
push eax
call fcn.00405ce8
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x30], 0x490a00
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 4]
lea ecx, [eax - 0x50]
mov dword [esp + eax + 0x2c], ecx
mov dword [esp + 0x34], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
push 8
call fcn.0046d61c
add esp, 4
mov edi, eax
push 1
call fcn.0046e062
add esp, 4
mov dword [edi + 4], eax
lea eax, [esp + 0x38]
mov dword [esp + 0x68], edi
mov ecx, dword [esp + 4]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x48]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x58]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x5c]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x34], 0x490a10
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 4
push esi
push eax
call fcn.00419520
mov eax, dword [esp + 0x2c]
mov edi, esi
cmp eax, dword [ebx + 0xec]
je 0x416ce1
mov dword [esp + 0xc8], eax
mov byte [esp + 0xcc], 0
jmp 0x416d2d
lea eax, [esp + 0xe0]
mov esi, edi
lea edi, [ebx + 0xec]
lea edx, [esp + 0x24]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x28]
mov ecx, edi
push eax
push edx
push 0x490f20
call fcn.00419610
mov eax, dword [edi]
mov ecx, dword [esp + 4]
mov edi, esi
lea edx, [esp + 0xc8]
mov eax, dword [eax]
push eax
add eax, 8
push eax
push edx
call fcn.00419720
mov eax, dword [esp + 0xc8]
mov eax, dword [eax + 0x20]
cmp dword [esp + 0xf4], 0xf
jbe 0x416d41
mov edi, dword [esp + 0xe0]
lea esi, [esp + 0xc8]
push eax
push edi
push str._s:_e_0_3_dm
push esi
call fcn.00411900
add esp, 0x10
mov eax, dword [esp + 0xd8]
cmp dword [esp + 0xdc], 0xf
jbe 0x416d70
mov esi, dword [esp + 0xc8]
push eax
push esi
lea eax, [esp + 0x38]
push eax
call fcn.0040be50
add esp, 0xc
mov eax, dword [esp + 0xdc]
cmp eax, 0x10
jb 0x416dbf
mov ecx, dword [esp + 0xc8]
lea esi, [eax + 1]
cmp esi, 0x1000
jb 0x416db5
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x4170c4
add eax, 0x24
mov ecx, edx
mov esi, eax
push esi
push ecx
call fcn.0046d651
add esp, 8
movzx eax, byte [esp + 0x14]
movzx ecx, byte [esp + 0x15]
mov edx, dword [ebx + 0xd4]
lea esi, [ebx + 0xc8]
mov dword [esp + 8], esi
mov esi, dword [esp + 0x14]
xor eax, 0x811c9dc5
imul eax, eax, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
movzx ecx, byte [esp + 0x16]
xor ecx, eax
imul eax, ecx, 0x1000193
movzx ecx, byte [esp + 0x17]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 0xcc]
and eax, dword [ebx + 0xe0]
mov ebx, dword [edx + eax*8]
lea eax, [eax + eax + 1]
mov dword [esp + 4], eax
mov eax, ebx
nop word cs:[eax + eax]
nop dword [eax]
cmp ebx, ecx
mov edi, ebx
je 0x416e3f
mov edi, dword [esp + 4]
mov edi, dword [edx + edi*4]
mov edi, dword [edi]
cmp edi, eax
je 0x416e85
cmp dword [eax + 8], esi
je 0x416e4c
mov eax, dword [eax]
jmp 0x416e30
cmp ecx, eax
je 0x416e85
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x14]
mov edi, ecx
sub edi, edx
jae 0x416e63
sub ecx, edx
add ecx, dword [eax + 0x10]
mov edi, ecx
test edi, edi
je 0x416e85
nop word [eax + eax]
push 0x490e51
lea eax, [esp + 0x34]
push eax
call fcn.00406d44
add esp, 8
dec edi
jne 0x416e70
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x416e96
lea eax, [esp + 0x30]
push eax
call fcn.0042eae0
mov bl, byte [ebp + 0xc]
lea edi, [esp + 0x80]
cmp bl, 0x45
jne 0x416f51
lea ecx, [esp + 0x18]
call fcn.004138c0
sub esp, 0x10
lea esi, [esp + 0xd8]
fstp qword [esp + 8]
mov dword [esp + 4], str.___.3f_ms_
mov dword [esp], esi
call fcn.00411900
add esp, 0x10
mov eax, dword [esp + 0xd8]
cmp dword [esp + 0xdc], 0xf
jbe 0x416eeb
mov esi, dword [esp + 0xc8]
push eax
push esi
lea eax, [esp + 0x38]
push eax
call fcn.0040be50
add esp, 0xc
mov eax, dword [esp + 0xdc]
mov ebx, dword [ebp + 8]
cmp eax, 0x10
jb 0x416f3d
mov ecx, dword [esp + 0xc8]
lea esi, [eax + 1]
cmp esi, 0x1000
jb 0x416f33
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x4170c4
add eax, 0x24
mov ecx, edx
mov esi, eax
push esi
push ecx
call fcn.0046d651
add esp, 8
push str.e_0_m
lea eax, [esp + 0x34]
push eax
call fcn.00406d44
add esp, 8
jmp 0x416fb8
push str.e_0_m
lea eax, [esp + 0x34]
push eax
call fcn.00406d44
add esp, 8
cmp bl, 0x42
mov ebx, dword [ebp + 8]
jne 0x416fb8
mov ecx, dword [esp + 8]
lea edx, [esp + 0x14]
lea eax, [esp + 0xc8]
push edx
push eax
call fcn.004191c0
mov esi, dword [esp + 0xc8]
lea ecx, [esi + 0xc]
push 1
call fcn.00406cee
mov edx, dword [ebp + 0x10]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x18]
movsd xmm0, qword [edx]
xor edx, edx
movsd qword [eax + ecx*8], xmm0
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x18]
dec eax
cmp ecx, eax
lea ecx, [ecx + 1]
cmove ecx, edx
mov dword [esi + 0x18], ecx
lea ecx, [esp + 0x34]
push ebx
call fcn.0040eb80
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x30], 0x490a00
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 4]
lea ecx, [eax - 0x50]
mov dword [esp + eax + 0x2c], ecx
lea ecx, [edi - 0x4c]
mov dword [esp + 0x34], 0x490a10
call fcn.0040e540
mov dword [esp + 0x34], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov esi, dword [esp + 0x68]
test esi, esi
je 0x417020
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x417017
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x417017
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
push esi
call fcn.0046d64c
add esp, 4
mov dword [esp + 0x80], vtable.std::ios_base.0
push edi
call fcn.0046dc65
add esp, 4
mov eax, dword [esp + 0xf4]
cmp eax, 0x10
jb 0x417070
mov ecx, dword [esp + 0xe0]
lea esi, [eax + 1]
cmp esi, 0x1000
jb 0x417066
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x4170c4
add eax, 0x24
mov ecx, edx
mov esi, eax
push esi
push ecx
call fcn.0046d651
add esp, 8
mov ecx, dword [esp + 0x10]
call fcn.00431860
mov eax, dword [0x4d64fc]
test eax, eax
je 0x41708b
mov eax, dword [0x4d64fc]
test eax, eax
jne 0x4170b2
mov ecx, dword [esp + 0xf8]
xor ecx, ebp
call fcn.0046d691
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
call fcn.00433d10
inc dword [eax + 0x1c]
jmp 0x416988
call fcn.00433d10
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x41708b
dec ecx
mov dword [eax + 0x1c], ecx
jmp 0x41708b
call fcn.004798ba
int3