Function at 0x40c950
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4655ed
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
mov dword [ebp - 0x14], esi
mov edx, edi
cmp dword [edi + 0x14], 8
mov eax, dword [edi + 0x10]
jb 0x40c983
mov edx, dword [edi]
mov ebx, 0x811c9dc5
xor ecx, ecx
mov dword [ebp - 0x10], ebx
add eax, eax
je 0x40c9aa
mov esi, eax
movzx eax, byte [ecx + edx]
inc ecx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp ecx, esi
jb 0x40c993
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x10], ebx
push ebx
push edi
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call fcn.0040cde0
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x40c9da
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [esi + 8], 0x5d1745d
je 0x40cbcd
lea eax, [esi + 4]
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0
push 0x2c
mov dword [ebp - 0x20], 0
call fcn.00441881
mov esi, eax
add esp, 4
mov dword [ebp - 0x20], esi
lea eax, [esi + 8]
push edi
mov ecx, eax
mov dword [ebp + 0xc], eax
call fcn.00404d00
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], 0
mov eax, dword [edi + 0x1c]
sub eax, dword [edi + 0x18]
sar eax, 5
mov dword [ebp - 0x18], eax
test eax, eax
je 0x40cad2
cmp eax, 0x7ffffff
ja 0x40cbd7
push eax
call fcn.0040d060
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x18]
add edx, 0x18
shl ecx, 5
add ecx, eax
mov dword [ebp - 0x1c], edx
mov dword [edx], eax
mov dword [edx + 4], eax
mov dword [edx + 8], ecx
mov esi, dword [edx]
mov eax, dword [edi + 0x1c]
mov edi, dword [edi + 0x18]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], edx
mov byte [ebp - 4], 3
cmp edi, eax
je 0x40cabc
mov ebx, eax
push edi
mov ecx, esi
call fcn.00404f50
mov eax, dword [edi + 0x18]
mov dword [esi + 0x18], eax
mov ax, word [edi + 0x1c]
mov word [esi + 0x1c], ax
mov al, byte [edi + 0x1e]
add edi, 0x20
mov byte [esi + 0x1e], al
add esi, 0x20
mov dword [ebp - 0x34], esi
cmp edi, ebx
jne 0x40ca90
mov ebx, dword [ebp - 0x10]
push ecx
mov edx, esi
mov ecx, esi
call fcn.0040cff0
mov ecx, dword [ebp + 0xc]
add esp, 4
mov dword [ecx + 0x1c], esi
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 0x14]
mov dword [ebp - 4], 4
mov eax, dword [edi + 8]
inc eax
movss xmm3, dword [edi]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x49b8a0]
mov eax, dword [edi + 0x1c]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
addsd xmm1, qword [eax*8 + 0x49b8a0]
movaps xmm2, xmm0
cvtpd2ps xmm1, xmm1
divss xmm2, xmm1
comiss xmm2, xmm3
jbe 0x40cb6e
divss xmm0, xmm3
call fcn.00401550
call fcn.00441f10
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [edi + 0x1c]
cmp eax, ecx
jae 0x40cb52
cmp eax, 0x200
jae 0x40cb50
shl eax, 3
cmp eax, ecx
jae 0x40cb52
mov eax, ecx
push eax
mov ecx, edi
call fcn.0040cc10
push ebx
lea eax, [esi + 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0040cde0
mov edx, dword [eax]
jmp 0x40cb71
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
inc dword [edi + 8]
mov dword [esi + 4], eax
mov dword [esi], edx
mov dword [eax], esi
mov dword [edx + 4], esi
mov ecx, dword [edi + 0xc]
mov dword [ebp + 0xc], eax
mov eax, dword [edi + 0x18]
and eax, ebx
mov ebx, dword [ebp - 0x24]
mov edi, dword [ecx + eax*8]
cmp edi, dword [ebx]
jne 0x40cb9b
mov dword [ecx + eax*8], esi
jmp 0x40cbad
cmp edi, edx
jne 0x40cba4
mov dword [ecx + eax*8], esi
jmp 0x40cbb1
mov edx, dword [ebp + 0xc]
cmp dword [ecx + eax*8 + 4], edx
jne 0x40cbb1
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [eax], esi
pop esi
mov byte [eax + 4], 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.00442bd2
call fcn.00406440
int3