Function at 0x407d40
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 0x422cc5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x30
push esi
push edi
mov eax, dword [0x42d008]
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 0x407d93
mov esi, dword [edi]
xor ecx, ecx
mov edx, 0x811c9dc5
mov dword [ebp - 0x28], edx
cmp dword [edi + 0x10], ecx
jbe 0x407dba
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [edi + 0x10]
jb 0x407da2
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 0x407e2e
lea eax, [esi + 8]
push eax
push edi
call fcn.00408830
test al, al
je 0x407e0c
nop dword [eax]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
cmp esi, dword [ecx + eax*8]
je 0x407e2b
mov esi, dword [esi + 4]
lea eax, [esi + 8]
push eax
push edi
call fcn.00408830
test al, al
jne 0x407df0
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], 0x7ffffff
jne 0x407e45
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [esi + 4]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], 0
push 0x20
mov dword [ebp - 0x38], 0
call fcn.00421430
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 [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 + 0x428090]
mov eax, edi
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, edi
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x428090]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x407fc6
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x20], xmm0
fld qword [ebp - 0x20]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
fstp qword [ebp - 0x20]
movsd xmm0, qword [ebp - 0x20]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.004224b0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp edi, ecx
jae 0x407f3e
cmp edi, 0x200
jae 0x407f3c
shl edi, 3
cmp edi, ecx
jae 0x407f3e
mov edi, ecx
push edi
mov ecx, esi
call fcn.00408690
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 0x407f76
mov esi, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x1c], 0
jmp 0x407fc9
lea eax, [esi + 8]
push eax
push dword [ebp - 0x14]
call fcn.00408830
test al, al
je 0x407fa4
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x28]
cmp esi, dword [ecx + eax*8]
je 0x407fb4
mov esi, dword [esi + 4]
lea eax, [esi + 8]
push eax
push dword [ebp - 0x14]
call fcn.00408830
test al, al
jne 0x407f86
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 0x407fc9
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], esi
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
jmp 0x407fc9
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 0x40800f
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 0x407e15
cmp edi, ecx
jne 0x408024
mov dword [esi + eax*8], edx
mov eax, dword [ebp - 0x34]
mov dword [eax], edx
mov byte [eax + 4], 1
jmp 0x407e15
mov ecx, dword [ebp - 0x14]
cmp dword [esi + eax*8 + 4], ecx
jne 0x408031
mov dword [esi + eax*8 + 4], edx
mov eax, dword [ebp - 0x34]
mov dword [eax], edx
mov byte [eax + 4], 1
jmp 0x407e15