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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x58
mov eax, dword [0x1017f528]
xor eax, ebp
mov dword [esp + 0x50], eax
mov eax, dword [0x1017f608]
mov edi, dword [eax]
mov eax, dword [0x10184e3c]
test al, 1
je 0x10090f73
mov esi, dword [0x10184e38]
mov ebx, dword [ebp + 0x18]
mov eax, dword [esi + 4]
cmp dword [eax + edi], 0xffffffff
je 0x10090ee3
mov dword [ebx + 8], 0
vmovss xmm0, dword [ebx]
vmovss xmm1, dword [ebx + 4]
vmulss xmm1, xmm1, xmm1
vfmadd231ss xmm1, xmm0, xmm0
vxorps xmm0, xmm0, xmm0
vaddss xmm0, xmm1, xmm0
vcvtss2sd xmm0, xmm0, xmm0
vxorps xmm1, xmm1, xmm1
vucomisd xmm0, xmm1
jb 0x10090de6
vsqrtsd xmm0, xmm0, xmm0
jmp 0x10090e04
sub esp, 8
vmovsd qword [esp], xmm0
mov esi, ecx
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
mov ecx, esi
add esp, 8
fstp qword [esp + 0x30]
vmovsd xmm0, qword [esp + 0x30]
vcvtsd2ss xmm0, xmm0, xmm0
vucomiss xmm0, dword [0x10129898]
jb 0x10090eca
vmovss dword [esp + 0xc], xmm0
mov dword [esp + 0x14], ecx
mov eax, dword [0x1017f5c0]
mov ecx, dword [eax + 0xcc]
mov eax, dword [ecx]
call dword [eax + 0x30]
fstp dword [esp + 0x2c]
vmovss xmm0, dword [esp + 0x2c]
mov eax, dword [0x1017f608]
mov edi, dword [eax]
mov eax, dword [0x10184f60]
test al, 1
je 0x10090fe5
mov esi, dword [0x10184f5c]
mov eax, dword [esi + 4]
vmulss xmm0, xmm0, dword [eax + edi]
vmovss dword [esp + 4], xmm0
mov eax, dword [0x1017f5c0]
mov ecx, dword [eax + 0xcc]
mov eax, dword [ecx]
call dword [eax + 0x30]
fstp dword [esp + 0x28]
vmovss xmm0, dword [esp + 0x28]
vmovss xmm2, dword [esp + 0xc]
vmaxss xmm0, xmm0, xmm2
vmulss xmm0, xmm0, dword [esp + 4]
mov eax, dword [0x1017f610]
vfnmadd132ss xmm0, xmm2, dword [eax + 0x20]
vxorps xmm1, xmm1, xmm1
vmaxss xmm0, xmm0, xmm1
vucomiss xmm0, xmm2
mov ecx, dword [esp + 0x14]
jne 0x10090eab
jnp 0x10090eca
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
push ebx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10090a40
mov dword [ebx + 8], 0
mov eax, dword [0x1017f5c0]
mov ecx, dword [eax + 0xc8]
mov eax, dword [ecx]
call dword [eax + 0x30]
fstp dword [esp + 0x24]
vmovss xmm0, dword [esp + 0x24]
vbroadcastss xmm1, dword [0x10129734]
vxorps xmm1, xmm0, xmm1
vmovss xmm3, dword [ebx]
vucomiss xmm3, xmm0
vmovaps xmm2, xmm0
ja 0x10090f22
vucomiss xmm1, xmm3
vmovaps xmm2, xmm1
jbe 0x10090f26
vmovss dword [ebx], xmm2
vmovss xmm3, dword [ebx + 4]
vucomiss xmm3, xmm0
vmovaps xmm2, xmm0
ja 0x10090f3f
vucomiss xmm1, xmm3
vmovaps xmm2, xmm1
jbe 0x10090f44
vmovss dword [ebx + 4], xmm2
vmovss xmm2, dword [ebx + 8]
vucomiss xmm2, xmm0
ja 0x10090f59
vucomiss xmm1, xmm2
vmovaps xmm0, xmm1
jbe 0x10090f5e
vmovss dword [ebx + 8], xmm0
mov ecx, dword [esp + 0x50]
xor ecx, ebp
call fcn.100d7fe0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x14
mov dword [esp + 0x14], ecx
or eax, 1
mov dword [0x10184e3c], eax
mov eax, dword [0x1017f5c4]
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x38]
mov dword [esp + 4], ecx
push 0x1016b9fd
call fcn.10005ce0
mov eax, dword [esp + 0x48]
mov dword [esp + 0xc], eax
cmp dword [esp + 0x4c], 0x10
jb 0x10090fb1
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
cmp dword [esp + 0xc], 0
je 0x10090fdb
mov eax, dword [esp + 0xc]
lea ecx, [eax - 1]
and eax, 3
mov dword [esp + 8], eax
cmp ecx, 3
jae 0x10091053
mov ecx, 0x811c9dc5
xor edx, edx
jmp 0x1009109f
mov ecx, 0x811c9dc5
jmp 0x100910bf
vmovss dword [esp + 0x18], xmm0
or eax, 1
mov dword [0x10184f60], eax
mov eax, dword [0x1017f5c4]
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x10], ecx
push str.m_surfaceFriction
call fcn.10005ce0
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
cmp dword [esp + 0x4c], 0x10
jb 0x10091025
mov eax, dword [esp + 0x38]
mov dword [esp + 0x10], eax
cmp dword [esp + 4], 0
je 0x1009112f
mov eax, dword [esp + 4]
lea ecx, [eax - 1]
and eax, 3
mov dword [esp + 8], eax
cmp ecx, 3
jae 0x10091136
mov ecx, 0x811c9dc5
xor edx, edx
jmp 0x10091188
mov esi, dword [esp + 0xc]
and esi, 0xfffffffc
mov ecx, 0x811c9dc5
xor edx, edx
mov eax, dword [esp + 4]
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 esi, edx
jne 0x10091065
cmp dword [esp + 8], 0
je 0x100910bf
add edx, dword [esp + 4]
xor esi, esi
movzx ebx, byte [edx + esi]
xor ebx, ecx
imul ecx, ebx, 0x1000193
inc esi
cmp dword [esp + 8], esi
jne 0x100910ac
mov edx, dword [esp + 0x10]
and ecx, dword [edx + 0x18]
mov eax, dword [edx + 0xc]
mov esi, dword [eax + ecx*8 + 4]
cmp esi, dword [edx + 4]
je 0x10091218
add ecx, ecx
mov ebx, dword [eax + ecx*4]
mov eax, dword [esp + 0xc]
cmp eax, dword [esi + 0x18]
jne 0x10091107
cmp dword [esi + 0x1c], 0x10
jb 0x100910ef
mov eax, dword [esi + 8]
jmp 0x100910f2
lea eax, [esi + 8]
push dword [esp + 0xc]
push eax
push dword [esp + 0xc]
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
je 0x10091114
cmp esi, ebx
je 0x10091218
mov esi, dword [esi + 4]
jmp 0x100910db
add esi, 0x20
lea ecx, [esp + 0x38]
call fcn.100026e0
mov dword [0x10184e38], esi
mov ecx, dword [esp + 0x14]
jmp 0x10090da1
mov ecx, 0x811c9dc5
jmp 0x100911a8
mov eax, dword [esp + 4]
and eax, 0xfffffffc
mov dword [esp + 0x20], eax
mov ecx, 0x811c9dc5
xor edx, edx
mov esi, dword [esp + 0x10]
movzx eax, byte [esi + edx]
xor eax, ecx
imul eax, eax, 0x1000193
movzx ecx, byte [esi + edx + 1]
xor ecx, eax
imul eax, ecx, 0x1000193
movzx ecx, byte [esi + edx + 2]
xor ecx, eax
imul eax, ecx, 0x1000193
movzx ecx, byte [esi + edx + 3]
xor ecx, eax
imul ecx, ecx, 0x1000193
add edx, 4
cmp dword [esp + 0x20], edx
jne 0x1009114c
cmp dword [esp + 8], 0
je 0x100911a8
add edx, dword [esp + 0x10]
xor esi, esi
movzx eax, byte [edx + esi]
xor eax, ecx
imul ecx, eax, 0x1000193
inc esi
cmp dword [esp + 8], esi
jne 0x10091195
mov edx, dword [esp + 0x1c]
and ecx, dword [edx + 0x18]
mov eax, dword [edx + 0xc]
mov esi, dword [eax + ecx*8 + 4]
cmp esi, dword [edx + 4]
je 0x10091218
add ecx, ecx
mov eax, dword [eax + ecx*4]
mov dword [esp + 8], eax
mov eax, dword [esp + 4]
cmp eax, dword [esi + 0x18]
jne 0x100911f0
cmp dword [esi + 0x1c], 0x10
jb 0x100911d8
mov eax, dword [esi + 8]
jmp 0x100911db
lea eax, [esi + 8]
push dword [esp + 4]
push eax
push dword [esp + 0x18]
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
je 0x100911fb
cmp esi, dword [esp + 8]
je 0x10091218
mov esi, dword [esi + 4]
jmp 0x100911c4
add esi, 0x20
lea ecx, [esp + 0x38]
call fcn.100026e0
mov dword [0x10184f5c], esi
vmovss xmm0, dword [esp + 0x18]
jmp 0x10090e54
push 0x1016ba76
call sub.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const__
int3