Function at 0x100a9550
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x50
mov esi, ecx
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x100b1c70
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
mov eax, dword [0x1012d35c]
mov ecx, dword [eax]
mov eax, dword [0x10132bf0]
test al, 1
je 0x100a9737
mov edi, dword [0x10132bec]
mov ebx, dword [ebp + 0x18]
mov eax, dword [edi + 4]
cmp dword [eax + ecx], 0xffffffff
je 0x100a96a2
mov dword [ebx + 8], 0
vmovss xmm0, dword [ebx]
vmovss xmm1, dword [ebx + 4]
vmulss xmm1, xmm1, xmm1
vfmadd231ss xmm1, xmm0, xmm0
vcvtss2sd xmm0, xmm1, xmm1
vsqrtsd xmm0, xmm0, xmm0
vcvtsd2ss xmm0, xmm0, xmm0
vucomiss xmm0, dword [0x100f5600]
mov dword [ebp - 0x10], 0xffffffff
jb 0x100a9687
vmovss dword [ebp - 0x24], xmm0
mov eax, dword [0x1012d320]
mov ecx, dword [eax + 0x11c]
mov eax, dword [ecx]
call dword [eax + 0x30]
fstp dword [ebp - 0x44]
vmovss xmm0, dword [ebp - 0x44]
mov eax, dword [0x1012d35c]
mov ecx, dword [eax]
mov eax, dword [0x10132cf8]
test al, 1
je 0x100a979a
mov edi, dword [0x10132cf4]
mov eax, dword [edi + 4]
vmulss xmm0, xmm0, dword [eax + ecx]
vmovss dword [ebp - 0x20], xmm0
mov eax, dword [0x1012d320]
mov ecx, dword [eax + 0x11c]
mov eax, dword [ecx]
call dword [eax + 0x30]
fstp dword [ebp - 0x40]
vmovss xmm0, dword [ebp - 0x40]
vmovss xmm2, dword [ebp - 0x24]
vmaxss xmm0, xmm0, xmm2
vmulss xmm0, xmm0, dword [ebp - 0x20]
mov eax, dword [0x1012d364]
vfnmadd132ss xmm0, xmm2, dword [eax + 0x20]
vxorps xmm1, xmm1, xmm1
vmaxss xmm0, xmm0, xmm1
vucomiss xmm0, xmm2
jne 0x100a9668
jnp 0x100a9687
vdivss xmm0, xmm0, xmm2
vmovsd xmm1, qword [ebx]
vbroadcastss xmm2, xmm0
vmulps xmm1, xmm2, xmm1
vmovlps qword [ebx], xmm1
vmulss xmm0, xmm0, dword [ebx + 8]
vmovss dword [ebx + 8], xmm0
mov ecx, esi
push ebx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.100a9320
mov dword [ebx + 8], 0
mov eax, dword [0x1012d320]
mov ecx, dword [eax + 0x118]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x10], 0xffffffff
call eax
fstp dword [ebp - 0x3c]
vmovss xmm0, dword [ebp - 0x3c]
vbroadcastss xmm1, dword [0x100f54d8]
vxorps xmm1, xmm0, xmm1
vmovss xmm3, dword [ebx]
vucomiss xmm3, xmm0
vmovaps xmm2, xmm0
ja 0x100a96e8
vucomiss xmm1, xmm3
vmovaps xmm2, xmm1
jbe 0x100a96ec
vmovss dword [ebx], xmm2
vmovss xmm3, dword [ebx + 4]
vucomiss xmm3, xmm0
vmovaps xmm2, xmm0
ja 0x100a9705
vucomiss xmm1, xmm3
vmovaps xmm2, xmm1
jbe 0x100a970a
vmovss dword [ebx + 4], xmm2
vmovss xmm2, dword [ebx + 8]
vucomiss xmm2, xmm0
ja 0x100a971f
vucomiss xmm1, xmm2
vmovaps xmm0, xmm1
jbe 0x100a9724
vmovss dword [ebx + 8], xmm0
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret 0x14
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], esi
or eax, 1
mov dword [0x10132bf0], eax
mov eax, dword [0x1012d324]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x24], ecx
push 0x1011ed2e
call fcn.100083b0
mov esi, dword [ebp - 0x4c]
cmp dword [ebp - 0x48], 0x10
jb 0x100a9773
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x24], eax
test esi, esi
je 0x100a9790
mov eax, esi
and eax, 3
mov dword [ebp - 0x20], eax
cmp esi, 4
jae 0x100a9800
mov ecx, 0x811c9dc5
xor edx, edx
jmp 0x100a9849
mov ecx, 0x811c9dc5
jmp 0x100a9866
mov dword [ebp - 0x34], ecx
vmovss dword [ebp - 0x38], xmm0
mov dword [ebp - 0x30], esi
or eax, 1
mov dword [0x10132cf8], eax
mov eax, dword [0x1012d324]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x10], 2
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x20], ecx
push str.m_surfaceFriction
call fcn.100083b0
mov esi, dword [ebp - 0x4c]
cmp dword [ebp - 0x48], 0x10
jb 0x100a97db
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x20], eax
test esi, esi
je 0x100a98d3
mov eax, esi
and eax, 3
mov dword [ebp - 0x28], eax
cmp esi, 4
jae 0x100a98da
mov ecx, 0x811c9dc5
xor edx, edx
jmp 0x100a9923
mov edi, esi
and edi, 0xfffffffc
mov ecx, 0x811c9dc5
xor edx, edx
mov eax, dword [ebp - 0x24]
movzx ebx, byte [eax + edx]
xor ebx, ecx
imul ecx, ebx, 0x1000193
movzx ebx, byte [eax + edx + 1]
xor ebx, ecx
imul ecx, ebx, 0x1000193
movzx ebx, byte [eax + edx + 2]
xor ebx, ecx
imul ecx, ebx, 0x1000193
movzx ebx, byte [eax + edx + 3]
xor ebx, ecx
imul ecx, ebx, 0x1000193
add edx, 4
cmp edi, edx
jne 0x100a980f
cmp dword [ebp - 0x20], 0
je 0x100a9866
add edx, dword [ebp - 0x24]
xor edi, edi
movzx ebx, byte [edx + edi]
xor ebx, ecx
imul ecx, ebx, 0x1000193
inc edi
cmp dword [ebp - 0x20], edi
jne 0x100a9854
mov edx, dword [ebp - 0x28]
and ecx, dword [edx + 0x18]
mov eax, dword [edx + 0xc]
mov edi, dword [eax + ecx*8 + 4]
cmp edi, dword [edx + 4]
je 0x100a99b4
add ecx, ecx
mov ebx, dword [eax + ecx*4]
cmp esi, dword [edi + 0x18]
jne 0x100a98a5
cmp dword [edi + 0x1c], 0x10
jb 0x100a9891
mov eax, dword [edi + 8]
jmp 0x100a9894
lea eax, [edi + 8]
push esi
push eax
push dword [ebp - 0x24]
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
je 0x100a98b7
cmp edi, ebx
je 0x100a99b4
mov edi, dword [edi + 4]
cmp esi, dword [edi + 0x18]
je 0x100a9886
jmp 0x100a98a5
add edi, 0x20
lea ecx, [ebp - 0x5c]
call fcn.100029d0
mov dword [0x10132bec], edi
mov esi, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
jmp 0x100a9599
mov ecx, 0x811c9dc5
jmp 0x100a9940
mov edi, esi
and edi, 0xfffffffc
mov ecx, 0x811c9dc5
xor edx, edx
mov eax, dword [ebp - 0x20]
movzx ebx, byte [eax + edx]
xor ebx, ecx
imul ecx, ebx, 0x1000193
movzx ebx, byte [eax + edx + 1]
xor ebx, ecx
imul ecx, ebx, 0x1000193
movzx ebx, byte [eax + edx + 2]
xor ebx, ecx
imul ecx, ebx, 0x1000193
movzx ebx, byte [eax + edx + 3]
xor ebx, ecx
imul ecx, ebx, 0x1000193
add edx, 4
cmp edi, edx
jne 0x100a98e9
cmp dword [ebp - 0x28], 0
je 0x100a9940
add edx, dword [ebp - 0x20]
xor edi, edi
movzx ebx, byte [edx + edi]
xor ebx, ecx
imul ecx, ebx, 0x1000193
inc edi
cmp dword [ebp - 0x28], edi
jne 0x100a992e
mov edx, dword [ebp - 0x2c]
and ecx, dword [edx + 0x18]
mov eax, dword [edx + 0xc]
mov edi, dword [eax + ecx*8 + 4]
cmp edi, dword [edx + 4]
je 0x100a99c8
add ecx, ecx
mov ebx, dword [eax + ecx*4]
cmp esi, dword [edi + 0x18]
jne 0x100a997b
cmp dword [edi + 0x1c], 0x10
jb 0x100a9967
mov eax, dword [edi + 8]
jmp 0x100a996a
lea eax, [edi + 8]
push esi
push eax
push dword [ebp - 0x20]
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
je 0x100a9989
cmp edi, ebx
je 0x100a99c8
mov edi, dword [edi + 4]
cmp esi, dword [edi + 0x18]
je 0x100a995c
jmp 0x100a997b
add edi, 0x20
lea ecx, [ebp - 0x5c]
call fcn.100029d0
mov dword [0x10132cf4], edi
mov dword [ebp - 0x10], 0xffffffff
mov esi, dword [ebp - 0x30]
mov ebx, dword [ebp + 0x18]
vmovss xmm0, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
jmp 0x100a961a
mov dword [ebp - 0x10], 1
push 0x1011ed9d
call sub.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const__
add esp, 4
mov dword [ebp - 0x10], 3
push 0x1011ed9d
call sub.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const__
add esp, 4
nop dword [eax]
push ebp
sub esp, 0x14
add ebp, 0xc
lea ecx, [ebp - 0x5c]
call fcn.100029d0
add esp, 0x14
pop ebp
ret