Function at 0x10031530
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 0x100c6135
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x18
push esi
push edi
mov eax, dword [0x100f0364]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1c], esi
mov edx, dword [ebx + 0xc]
mov dword [ebp - 0x14], edx
cmp dword [edx + 0x14], 0x10
jb 0x10031581
mov eax, dword [edx]
mov dword [ebp - 0x14], eax
xor ecx, ecx
mov edi, 0x811c9dc5
cmp dword [edx + 0x10], ecx
jbe 0x100315a5
mov esi, dword [ebp - 0x14]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, dword [edx + 0x10]
jb 0x10031590
mov esi, dword [ebp - 0x1c]
push edi
push edx
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.10010de0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x100315c5
mov eax, dword [ebx + 8]
mov byte [eax + 4], 0
jmp 0x10031706
cmp dword [esi + 8], 0x5555555
jne 0x100315d9
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 - 0x24], eax
mov dword [ebp - 4], 0
push 0x30
mov dword [ebp - 0x20], 0
call fcn.100bfe16
add esp, 4
mov dword [ebp - 0x20], eax
lea esi, [eax + 8]
push dword [ebx + 0xc]
mov ecx, esi
call fcn.1000e0a0
xorps xmm0, xmm0
movups xmmword [esi + 0x18], xmm0
mov dword [ebp - 4], 1
mov esi, dword [ebp - 0x1c]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x1c]
inc eax
movss xmm3, dword [esi]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movd xmm1, ecx
addsd xmm0, qword [eax*8 + 0x100e5bd0]
cvtdq2pd xmm1, xmm1
mov eax, ecx
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
addsd xmm1, qword [eax*8 + 0x100e5bd0]
movaps xmm2, xmm0
cvtpd2ps xmm1, xmm1
divss xmm2, xmm1
comiss xmm2, xmm3
jbe 0x100316b5
divss xmm0, xmm3
call fcn.10003bd0
call fcn.100c1c60
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [esi + 0x1c]
cmp eax, ecx
jae 0x10031690
cmp eax, 0x200
jae 0x1003168e
shl eax, 3
cmp eax, ecx
jae 0x10031690
mov eax, ecx
push eax
mov ecx, esi
call fcn.10010110
mov eax, dword [ebp - 0x20]
mov ecx, esi
push edi
add eax, 8
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.10010de0
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
jmp 0x100316b8
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 4]
mov ecx, dword [ebp - 0x20]
inc dword [esi + 8]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], edx
mov dword [ecx + 4], eax
mov dword [ecx], edx
mov dword [eax], ecx
mov dword [edx + 4], ecx
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0xc]
and eax, edi
mov edi, dword [ebp - 0x24]
mov esi, dword [edx + eax*8]
cmp esi, dword [edi]
jne 0x100316e8
mov dword [edx + eax*8], ecx
jmp 0x100316fb
cmp esi, dword [ebp - 0x1c]
jne 0x100316f2
mov dword [edx + eax*8], ecx
jmp 0x100316ff
mov esi, dword [ebp - 0x14]
cmp dword [edx + eax*8 + 4], esi
jne 0x100316ff
mov dword [edx + eax*8 + 4], ecx
mov eax, dword [ebx + 8]
mov byte [eax + 4], 1
mov dword [eax], ecx
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