Function at 0x1000a470
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 0x1001ee7d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x28
push esi
push edi
mov eax, dword [0x1002a040]
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 0x1000a695
nop word [eax + eax]
cmp dword [edx + 0x14], 0xf
mov esi, edx
jbe 0x1000a4ca
mov esi, dword [edx]
xor ecx, ecx
mov edi, 0x811c9dc5
cmp dword [edx + 0x10], ecx
jbe 0x1000a4e8
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, dword [edx + 0x10]
jb 0x1000a4d6
push edi
push edx
lea eax, [ebp - 0x28]
push eax
call fcn.1000afc0
cmp dword [ebp - 0x24], 0
jne 0x1000a683
cmp dword [0x1002c938], 0x4924924
je 0x1000a6ab
mov dword [ebp - 0x30], 0x1002c934
mov dword [ebp - 4], 0
push 0x38
mov dword [ebp - 0x2c], 0
call fcn.1000c912
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x2c], eax
lea esi, [eax + 8]
push dword [ebp - 0x14]
mov ecx, esi
mov dword [ebp - 0x1c], esi
call fcn.1000b0c0
mov eax, dword [ebp - 0x14]
lea ecx, [esi + 0x18]
add eax, 0x18
mov byte [ebp - 4], 1
push eax
call fcn.1000b0c0
mov dword [ebp - 4], 2
mov ecx, dword [0x1002c938]
mov esi, dword [0x1002c94c]
lea eax, [ecx + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100270d0]
mov eax, esi
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, esi
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x100270d0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x1002c930]
comiss xmm1, xmm0
jbe 0x1000a628
divss xmm2, xmm0
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x20], xmm0
fld qword [ebp - 0x20]
fstp qword [esp]
call fcn.1001b410
fstp qword [ebp - 0x20]
movsd xmm0, qword [ebp - 0x20]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.1001e420
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp esi, ecx
jae 0x1000a5fe
cmp esi, 0x200
jae 0x1000a5fc
shl esi, 3
cmp esi, ecx
jae 0x1000a5fe
mov esi, ecx
push esi
call fcn.1000aa20
mov eax, dword [ebp - 0x18]
push edi
add eax, 8
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.1000afc0
mov ecx, dword [0x1002c938]
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], eax
jmp 0x1000a62b
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
inc ecx
mov esi, dword [edx + 4]
mov dword [0x1002c938], ecx
mov dword [ebp - 0x2c], 0
mov dword [eax], edx
mov dword [eax + 4], esi
mov dword [esi], eax
mov dword [edx + 4], eax
and edi, dword [0x1002c948]
mov ecx, dword [0x1002c93c]
mov eax, dword [ecx + edi*8]
cmp eax, dword [0x1002c934]
mov eax, dword [ebp - 0x18]
jne 0x1000a668
mov dword [ecx + edi*8], eax
jmp 0x1000a678
cmp dword [ecx + edi*8], edx
jne 0x1000a672
mov dword [ecx + edi*8], eax
jmp 0x1000a67c
cmp dword [ecx + edi*8 + 4], esi
jne 0x1000a67c
mov dword [ecx + edi*8 + 4], eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
add edx, 0x30
mov dword [ebp - 0x14], edx
cmp edx, dword [ebx + 0xc]
jne 0x1000a4c0
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.1000da68
int3