Function at 0x1002a180
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 0x1013f5d5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x20
push esi
push edi
mov eax, dword [0x101a0040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebx + 0xc]
mov edi, dword [ebx + 8]
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x1c], edi
cmp dword [edx + 0x14], 0xf
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
jbe 0x1002a1db
mov eax, dword [edx]
mov dword [ebp - 0x14], eax
xor ecx, ecx
mov esi, 0x811c9dc5
cmp dword [edx + 0x10], ecx
jbe 0x1002a205
mov edi, dword [ebp - 0x14]
nop word [eax + eax]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, dword [edx + 0x10]
jb 0x1002a1f0
mov edi, dword [ebp - 0x1c]
push esi
push edx
lea eax, [ebp - 0x24]
mov ecx, 0x101a06ec
push eax
call fcn.10019900
mov edx, dword [ebp - 0x20]
test edx, edx
je 0x1002a26d
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x1002a22a
lock inc dword [ecx + 4]
mov ecx, dword [eax + 4]
mov esi, dword [edx + 0x24]
mov eax, dword [eax]
mov dword [edx + 0x20], eax
mov dword [edx + 0x24], ecx
test esi, esi
je 0x1002a260
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x1002a260
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x1002a25d
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov edx, dword [ebp - 0x20]
mov dword [edi], edx
mov eax, edi
mov byte [edi + 4], 0
jmp 0x1002a406
cmp dword [0x101a06f4], 0x6666666
jne 0x1002a284
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
mov dword [ebp - 0x30], 0x101a06f0
mov dword [ebp - 4], 0
push 0x28
mov dword [ebp - 0x2c], 0
call fcn.1013c263
mov ecx, dword [ebp - 0x18]
mov edi, eax
mov eax, dword [ebp - 0x28]
xorps xmm0, xmm0
mov dword [ebp - 0x2c], edi
add esp, 4
mov dword [ebp - 0x14], edi
movups xmmword [edi + 8], xmm0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
movups xmm0, xmmword [eax]
movups xmmword [edi + 8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [edi + 0x18], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov eax, dword [ecx + 4]
test eax, eax
je 0x1002a301
lock inc dword [eax + 4]
mov eax, dword [ecx]
mov dword [edi + 0x20], eax
mov eax, dword [ecx + 4]
mov dword [edi + 0x24], eax
mov dword [ebp - 4], 1
mov eax, dword [0x101a06f4]
inc eax
movss xmm3, dword [0x101a06ec]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1018afc0]
mov eax, dword [0x101a0708]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
addsd xmm1, qword [eax*8 + 0x1018afc0]
movaps xmm2, xmm0
cvtpd2ps xmm1, xmm1
divss xmm2, xmm1
comiss xmm2, xmm3
jbe 0x1002a3b5
divss xmm0, xmm3
call fcn.1000c140
call fcn.1013d7e0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [0x101a0708]
cmp eax, ecx
jae 0x1002a393
cmp eax, 0x200
jae 0x1002a391
shl eax, 3
cmp eax, ecx
jae 0x1002a393
mov eax, ecx
push eax
mov ecx, 0x101a06ec
call fcn.100196b0
push esi
lea eax, [edi + 8]
mov ecx, 0x101a06ec
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.10019900
mov ecx, dword [eax]
jmp 0x1002a3b8
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 4]
inc dword [0x101a06f4]
mov dword [edi], ecx
mov dword [edi + 4], edx
mov dword [edx], edi
mov dword [ecx + 4], edi
and esi, dword [0x101a0704]
mov eax, dword [0x101a06f8]
mov edi, dword [eax + esi*8]
cmp edi, dword [0x101a06f0]
mov edi, dword [ebp - 0x14]
jne 0x1002a3e9
mov dword [eax + esi*8], edi
jmp 0x1002a3f9
cmp dword [eax + esi*8], ecx
jne 0x1002a3f3
mov dword [eax + esi*8], edi
jmp 0x1002a3fd
cmp dword [eax + esi*8 + 4], edx
jne 0x1002a3fd
mov dword [eax + esi*8 + 4], edi
mov eax, dword [ebp - 0x1c]
mov dword [eax], edi
mov byte [eax + 4], 1
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 0xc