Function at 0x4020a0
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 0x40dcb5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x30
push esi
push edi
mov eax, dword [0x414008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov eax, dword [ebx + 8]
mov dword [ebp - 0x38], eax
mov eax, dword [ebx + 0xc]
mov esi, eax
mov dword [ebp - 0x2c], eax
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x1c], ecx
jb 0x4020fc
mov esi, dword [eax]
xor ecx, ecx
mov edx, 0x811c9dc5
mov dword [ebp - 0x34], edx
cmp dword [eax + 0x10], ecx
jbe 0x40212a
mov edi, dword [ebp - 0x1c]
nop
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x402110
mov eax, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x14]
mov dword [ebp - 0x34], edx
mov ecx, dword [edi + 0x18]
and ecx, edx
mov edx, dword [edi + 0xc]
add edi, 4
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], edx
mov esi, dword [edx + ecx*8 + 4]
mov edi, dword [edi]
cmp esi, edi
je 0x402190
lea edx, [esi + 8]
mov ecx, eax
call fcn.00402c00
test al, al
jne 0x40217c
mov edi, dword [ebp - 0x2c]
nop dword [eax]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
cmp esi, dword [ecx + eax*8]
je 0x40218e
mov esi, dword [esi + 4]
mov ecx, edi
lea edx, [esi + 8]
call fcn.00402c00
test al, al
je 0x402160
mov edi, dword [esi]
test esi, esi
je 0x402190
mov eax, dword [ebp - 0x38]
mov byte [eax + 4], 0
jmp 0x40234c
mov edi, esi
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 8], 0x4924924
jne 0x4021a7
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x40], eax
mov dword [ebp - 4], 0
push 0x38
mov dword [ebp - 0x3c], 0
call fcn.0040cb95
mov esi, eax
add esp, 4
mov dword [ebp - 0x3c], esi
push dword [ebp - 0x2c]
lea eax, [esi + 8]
mov ecx, eax
mov dword [ebp - 0x18], eax
call fcn.00401a50
xorps xmm0, xmm0
movups xmmword [esi + 0x20], xmm0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0xf
mov byte [esi + 0x20], 0
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], 1
mov eax, dword [ecx + 8]
inc eax
movss xmm3, dword [ecx]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x410690]
mov eax, dword [ecx + 0x1c]
mov dword [ebp - 0x20], eax
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x410690]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x4022f6
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x30], xmm0
fld qword [ebp - 0x30]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
fstp qword [ebp - 0x30]
movsd xmm0, qword [ebp - 0x30]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.0040dad0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebp - 0x20]
cmp eax, ecx
jae 0x40229a
cmp eax, 0x200
jae 0x402298
shl eax, 3
cmp eax, ecx
jae 0x40229a
mov eax, ecx
mov ecx, dword [ebp - 0x14]
push eax
call fcn.00402890
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0x18]
and eax, dword [ebp - 0x34]
mov edx, dword [ecx + 0xc]
mov edi, dword [ecx + 4]
mov esi, dword [edx + eax*8 + 4]
cmp esi, edi
jne 0x4022c3
mov dword [ebp - 0x20], 0
jmp 0x4022f3
mov edi, dword [edx + eax*8]
lea edx, [esi + 8]
mov ecx, dword [ebp - 0x18]
call fcn.00402c00
test al, al
jne 0x4022eb
cmp esi, edi
je 0x402324
mov esi, dword [esi + 4]
mov ecx, dword [ebp - 0x18]
lea edx, [esi + 8]
call fcn.00402c00
test al, al
je 0x4022d5
mov edi, dword [esi]
mov dword [ebp - 0x20], esi
mov ecx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x3c]
mov eax, dword [edi + 4]
inc dword [ecx + 8]
mov dword [esi + 4], eax
mov dword [esi], edi
mov dword [eax], esi
mov dword [edi + 4], esi
mov edx, dword [ecx + 0xc]
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ecx + 0x18]
and eax, dword [ebp - 0x34]
mov ecx, dword [edx + eax*8]
cmp ecx, dword [esi]
mov esi, dword [ebp - 0x3c]
jne 0x40232f
mov dword [edx + eax*8], esi
jmp 0x402341
mov edi, esi
mov dword [ebp - 0x20], 0
jmp 0x4022f0
cmp ecx, edi
jne 0x402338
mov dword [edx + eax*8], esi
jmp 0x402345
mov ecx, dword [ebp - 0x20]
cmp dword [edx + eax*8 + 4], ecx
jne 0x402345
mov dword [edx + eax*8 + 4], esi
mov eax, dword [ebp - 0x38]
mov byte [eax + 4], 1
mov dword [eax], esi
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