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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4357b5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x30
push esi
push edi
mov eax, dword [0x448050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x2c], eax
mov edi, dword [ebx + 0xc]
mov esi, edi
mov ecx, dword [ebx + 8]
mov dword [ebp - 0x34], ecx
cmp dword [edi + 0x14], 0x10
jb 0x40e7e3
mov esi, dword [edi]
xor ecx, ecx
mov edx, 0x811c9dc5
mov dword [ebp - 0x28], edx
cmp dword [edi + 0x10], ecx
jbe 0x40e80a
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [edi + 0x10]
jb 0x40e7f2
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x28], edx
mov ecx, dword [eax + 0x18]
and ecx, edx
mov edx, dword [eax + 0xc]
add eax, 4
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x1c], edx
mov esi, dword [edx + ecx*8 + 4]
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
cmp esi, eax
je 0x40e87e
lea edx, [esi + 8]
mov ecx, edi
call fcn.0040e470
test al, al
jne 0x40e85c
nop dword [eax]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
cmp esi, dword [ecx + eax*8]
je 0x40e87b
mov esi, dword [esi + 4]
mov ecx, edi
lea edx, [esi + 8]
call fcn.0040e470
test al, al
je 0x40e840
mov eax, dword [ebp - 0x34]
mov dword [eax], esi
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
mov dword [ebp - 0x24], esi
mov esi, dword [ebp - 0x2c]
cmp dword [esi + 8], 0x6666666
je 0x40ea98
lea eax, [esi + 4]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], 0
push 0x28
mov dword [ebp - 0x38], 0
call fcn.0041416c
mov edx, eax
add esp, 4
lea eax, [edx + 8]
mov dword [ebp - 0x38], edx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
movups xmm0, xmmword [edi]
mov dword [ebp - 0x14], eax
movups xmmword [eax], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [eax + 0x10], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [ebp - 4], 1
mov eax, dword [esi + 8]
mov edi, dword [esi + 0x1c]
inc eax
movss xmm3, dword [esi]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x443ac0]
mov eax, edi
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, edi
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x443ac0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x40ea1f
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x20], xmm0
fld qword [ebp - 0x20]
fstp qword [esp]
call fcn.00433370
fstp qword [ebp - 0x20]
movsd xmm0, qword [ebp - 0x20]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.00434420
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp edi, ecx
jae 0x40e995
cmp edi, 0x200
jae 0x40e993
shl edi, 3
cmp edi, ecx
jae 0x40e995
mov edi, ecx
push edi
mov ecx, esi
call fcn.00410140
mov ecx, dword [esi + 0x18]
mov edi, dword [ebp - 0x28]
and ecx, edi
mov edx, dword [esi + 0xc]
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x28], edx
mov esi, dword [edx + ecx*8 + 4]
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
cmp esi, eax
jne 0x40e9cd
mov esi, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x1c], 0
jmp 0x40ea22
mov ecx, dword [ebp - 0x14]
lea edx, [esi + 8]
call fcn.0040e470
test al, al
jne 0x40e9fd
nop dword [eax]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x28]
cmp esi, dword [ecx + eax*8]
je 0x40ea0d
mov esi, dword [esi + 4]
mov ecx, dword [ebp - 0x14]
lea edx, [esi + 8]
call fcn.0040e470
test al, al
je 0x40e9e0
mov eax, dword [esi]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x1c], esi
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 0x24], eax
jmp 0x40ea22
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], esi
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
jmp 0x40ea22
mov edi, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx + 4]
inc dword [esi + 8]
mov dword [edx + 4], eax
mov dword [edx], ecx
mov dword [eax], edx
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x18]
mov esi, dword [ebp - 0x1c]
and eax, edi
mov edi, dword [esi + eax*8]
cmp edi, dword [edx]
mov edx, dword [ebp - 0x38]
jne 0x40ea68
mov dword [esi + eax*8], edx
mov dword [esi + eax*8 + 4], edx
mov eax, dword [ebp - 0x34]
mov dword [eax], edx
mov byte [eax + 4], 1
jmp 0x40e865
cmp edi, ecx
jne 0x40ea7d
mov dword [esi + eax*8], edx
mov eax, dword [ebp - 0x34]
mov dword [eax], edx
mov byte [eax + 4], 1
jmp 0x40e865
mov ecx, dword [ebp - 0x14]
cmp dword [esi + eax*8 + 4], ecx
jne 0x40ea8a
mov dword [esi + eax*8 + 4], edx
mov eax, dword [ebp - 0x34]
mov dword [eax], edx
mov byte [eax + 4], 1
jmp 0x40e865
push str.unordered_map_set_too_long
call fcn.00412d70
int3