Function at 0x1012a950
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 0x102aebd5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x28
push esi
push edi
mov eax, dword [0x10373f78]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebx + 8]
mov dword [ebp - 0x14], edx
cmp edx, dword [ebx + 0xc]
je 0x1012ab79
nop word [eax + eax]
cmp dword [edx + 0x14], 8
mov esi, edx
mov eax, dword [edx + 0x10]
jb 0x1012a9ad
mov esi, dword [edx]
xor ecx, ecx
mov edi, 0x811c9dc5
add eax, eax
mov dword [ebp - 0x18], eax
je 0x1012a9d4
mov edx, eax
nop dword [eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, edx
jb 0x1012a9c0
mov edx, dword [ebp - 0x14]
push edi
push edx
lea eax, [ebp - 0x20]
push eax
call fcn.1012b490
cmp dword [ebp - 0x1c], 0
jne 0x1012ab67
cmp dword [0x1038a7c8], 0x71c71c7
je 0x1012ab8f
mov dword [ebp - 0x28], 0x1038a7c4
mov dword [ebp - 4], 0
push 0x24
mov dword [ebp - 0x24], 0
call fcn.10264bfb
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], eax
lea esi, [eax + 8]
push dword [ebp - 0x14]
mov ecx, esi
call fcn.1004dac0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 1
mov eax, dword [eax + 0x18]
mov dword [esi + 0x18], eax
mov ecx, dword [0x1038a7c8]
mov esi, dword [0x1038a7dc]
lea eax, [ecx + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10343080]
mov eax, esi
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, esi
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x10343080]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x1038a7c0]
comiss xmm1, xmm0
seta al
test al, al
je 0x1012ab0c
divss xmm2, xmm0
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x30], xmm0
fld qword [ebp - 0x30]
fstp qword [esp]
call fcn.102967e0
fstp qword [ebp - 0x30]
movsd xmm0, qword [ebp - 0x30]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.10265790
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp esi, ecx
jae 0x1012aae2
cmp esi, 0x200
jae 0x1012aae0
shl esi, 3
cmp esi, ecx
jae 0x1012aae2
mov esi, ecx
push esi
call fcn.1012b1b0
mov eax, dword [ebp - 0x18]
push edi
add eax, 8
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.1012b490
mov ecx, dword [0x1038a7c8]
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], eax
jmp 0x1012ab0f
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
inc ecx
mov esi, dword [edx + 4]
mov dword [0x1038a7c8], ecx
mov dword [ebp - 0x24], 0
mov dword [eax], edx
mov dword [eax + 4], esi
mov dword [esi], eax
mov dword [edx + 4], eax
and edi, dword [0x1038a7d8]
mov ecx, dword [0x1038a7cc]
mov eax, dword [ecx + edi*8]
cmp eax, dword [0x1038a7c4]
mov eax, dword [ebp - 0x18]
jne 0x1012ab4c
mov dword [ecx + edi*8], eax
jmp 0x1012ab5c
cmp dword [ecx + edi*8], edx
jne 0x1012ab56
mov dword [ecx + edi*8], eax
jmp 0x1012ab60
cmp dword [ecx + edi*8 + 4], esi
jne 0x1012ab60
mov dword [ecx + edi*8 + 4], eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
add edx, 0x1c
mov dword [ebp - 0x14], edx
cmp edx, dword [ebx + 0xc]
jne 0x1012a9a0
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
push str.unordered_map_set_too_long
call fcn.1024e975
int3