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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov qword [rax + 8], rcx
push rdi
push r14
push r15
sub rsp, 0x90
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
movaps xmmword [rax - 0x58], xmm9
movaps xmmword [rax - 0x68], xmm10
movaps xmmword [rax - 0x78], xmm11
mov rbx, rdx
mov rcx, qword [rdx]
test rcx, rcx
jne 0x18014217d
xor al, al
jmp 0x1801427ef
and byte [rdx + 8], 0xfc
mov rax, qword [rcx]
call qword [rax + 0x10]
mov ecx, dword [rax]
mov dword [rbx + 0xc], ecx
mov rcx, qword [rbx]
call fcn.1800acc10
mov ecx, dword [rax]
mov dword [rbx + 0xa4], ecx
mov ecx, dword [rax + 4]
mov dword [rbx + 0xa8], ecx
mov eax, dword [rax + 8]
mov dword [rbx + 0xac], eax
mov rcx, qword [rbx]
call fcn.1800da220
mov ecx, dword [rax]
mov dword [rbx + 0x4c], ecx
mov ecx, dword [rax + 4]
mov dword [rbx + 0x50], ecx
mov eax, dword [rax + 8]
mov dword [rbx + 0x54], eax
mov rax, qword [0x180223658]
xor edx, edx
mov rcx, qword [rbx]
call rax
movss dword [rbx + 0x44], xmm0
test byte [rbx + 0xe4], 2
je 0x1801421f0
mulss xmm0, dword [0x18020006c]
movss dword [rbx + 0x44], xmm0
lea rdx, [rbx + 0x4c]
lea rcx, [rsp + 0x20]
call fcn.1800bad20
movss xmm7, dword [rax + 4]
xor edi, edi
mov dword [rbx + 0x14], edi
movss dword [rbx + 0x18], xmm7
mov dword [rbx + 0x1c], edi
xorps xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
movaps xmm8, xmm0
xorps xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movaps xmm6, xmm0
mulss xmm7, dword [0x1801ffff8]
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
movaps xmm10, xmm0
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movaps xmm7, xmm0
xorps xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
movaps xmm9, xmm0
xorps xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movaps xmm4, xmm0
movaps xmm11, xmm7
mulss xmm11, xmm6
movaps xmm5, xmm10
mulss xmm5, xmm6
mulss xmm4, dword [0x1802003e0]
mulss xmm9, xmm8
movaps xmm6, xmm10
xorps xmm6, xmmword [0x1802009d0]
mulss xmm6, xmm4
movaps xmm0, xmm9
mulss xmm0, xmm7
subss xmm6, xmm0
mulss xmm4, xmm7
mulss xmm9, xmm10
subss xmm4, xmm9
divss xmm4, xmm6
movss xmm3, dword [rbx + 0x4c]
movaps xmm0, xmm3
mulss xmm0, xmm4
movss xmm2, dword [rbx + 0x50]
subss xmm2, xmm0
movaps xmm1, xmm11
mulss xmm1, xmm4
subss xmm5, xmm1
divss xmm2, xmm5
movss dword [rbx + 0x34], xmm2
mulss xmm11, xmm2
subss xmm3, xmm11
divss xmm3, xmm6
movss dword [rbx + 0x3c], xmm3
mov rcx, qword [rbx]
call fcn.1800da220
movss xmm0, dword [rax + 4]
movss xmm1, dword [rax]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm1, xmm0
xorps xmm0, xmm0
ucomiss xmm0, xmm1
ja 0x180142313
xorps xmm0, xmm0
sqrtss xmm0, xmm1
jmp 0x18014231b
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movss xmm2, dword [rbx + 0x44]
movaps xmm1, xmm2
mulss xmm1, dword [0x180200038]
comiss xmm1, xmm0
jb 0x180142336
mov dword [rbx + 0x3c], edi
mov dword [rbx + 0x34], edi
movss dword [rbx + 0x48], xmm2
movss xmm2, dword [rbx + 0x14]
movss dword [rbx + 0x64], xmm2
movss xmm1, dword [rbx + 0x18]
movss dword [rbx + 0x68], xmm1
movss xmm0, dword [rbx + 0x1c]
movss dword [rbx + 0x6c], xmm0
movss dword [rbx + 0x58], xmm2
movss dword [rbx + 0x5c], xmm1
movss dword [rbx + 0x60], xmm0
mov rbp, qword [rbx]
mov r15d, 4
mov r14d, dword [0x18022812c]
mov rax, qword gs:[0x58]
mov rsi, qword [rax + r14*8]
mov eax, dword [rsi + r15]
cmp dword [0x180229f84], eax
jle 0x18014243f
lea rcx, [0x180229f84]
call fcn.18017dd34
cmp dword [0x180229f84], 0xffffffff
jne 0x18014243f
mov rcx, qword [0x180229a08]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov r10, rax
test rax, rax
je 0x18014242b
mov r9, qword [r10 + 0x10]
mov rcx, 0xffffffffffffffff
mov r8d, 0x811c9dc5
inc rcx
cmp byte [r9 + rcx], 0
jne 0x1801423d4
mov rdx, rdi
test rcx, rcx
je 0x180142410
nop word [rax + rax]
movsx eax, byte [rdx + r9]
xor eax, r8d
imul r8d, eax, 0x1000193
inc rdx
cmp rdx, rcx
jb 0x1801423f0
cmp r8d, 0x7a1c884e
je 0x180142419
mov r10, qword [r10 + 0x20]
test r10, r10
jmp 0x1801423c1
lea r8, str.m_hConstraintEntity
mov rdx, qword [r10 + 0x18]
call fcn.18017d7d0
jmp 0x18014242d
mov eax, edi
mov dword [0x180229f94], eax
lea rcx, [0x180229f84]
call fcn.18017dcd4
movsxd rdx, dword [0x180229f94]
mov rcx, qword [0x180229a30]
mov rax, qword [rcx]
mov r8, qword [rax + 0x20]
mov eax, dword [rdx + rbp]
mov dword [rsp + 0xb0], eax
lea rdx, [rsp + 0xb0]
call r8
test rax, rax
je 0x180142492
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x48]
mov ecx, dword [rax]
mov dword [rbx + 0x8c], ecx
mov ecx, dword [rax + 4]
mov dword [rbx + 0x90], ecx
movss xmm0, dword [rax + 8]
jmp 0x18014256f
mov rbp, qword [rbx]
mov eax, dword [rsi + r15]
cmp dword [0x180229fc4], eax
jle 0x18014254f
lea rcx, [0x180229fc4]
call fcn.18017dd34
cmp dword [0x180229fc4], 0xffffffff
jne 0x18014254f
mov rcx, qword [0x180229a08]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov r10, rax
test rax, rax
je 0x18014253b
mov r9, qword [r10 + 0x10]
mov rcx, 0xffffffffffffffff
mov r8d, 0x811c9dc5
inc rcx
cmp byte [r9 + rcx], 0
jne 0x1801424e4
mov rdx, rdi
test rcx, rcx
je 0x180142520
nop word [rax + rax]
movsx eax, byte [rdx + r9]
xor eax, r8d
imul r8d, eax, 0x1000193
inc rdx
cmp rdx, rcx
jb 0x180142500
cmp r8d, 0x7a1c884e
je 0x180142529
mov r10, qword [r10 + 0x20]
test r10, r10
jmp 0x1801424d1
lea r8, str.m_vecConstraintCenter
mov rdx, qword [r10 + 0x18]
call fcn.18017d7d0
jmp 0x18014253d
mov eax, edi
mov dword [0x180229fb8], eax
lea rcx, [0x180229fc4]
call fcn.18017dcd4
movsxd rcx, dword [0x180229fb8]
mov eax, dword [rcx + rbp]
mov dword [rbx + 0x8c], eax
mov eax, dword [rcx + rbp + 4]
mov dword [rbx + 0x90], eax
movss xmm0, dword [rcx + rbp + 8]
movss dword [rbx + 0x94], xmm0
mov rsi, qword [rbx]
mov rax, qword gs:[0x58]
mov r14, qword [rax + r14*8]
mov eax, dword [r14 + r15]
cmp dword [0x180229fb0], eax
jle 0x18014263f
lea rcx, [0x180229fb0]
call fcn.18017dd34
cmp dword [0x180229fb0], 0xffffffff
jne 0x18014263f
mov rcx, qword [0x180229a08]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov r10, rax
test rax, rax
je 0x18014262b
mov r9, qword [r10 + 0x10]
mov rcx, 0xffffffffffffffff
mov r8d, 0x811c9dc5
inc rcx
cmp byte [r9 + rcx], 0
jne 0x1801425d6
mov rdx, rdi
test rcx, rcx
je 0x180142610
nop dword [rax + rax]
movsx eax, byte [rdx + r9]
xor eax, r8d
imul r8d, eax, 0x1000193
inc rdx
cmp rdx, rcx
jb 0x1801425f0
cmp r8d, 0x7a1c884e
je 0x180142619
mov r10, qword [r10 + 0x20]
test r10, r10
jmp 0x1801425c3
lea r8, str.m_flConstraintRadius
mov rdx, qword [r10 + 0x18]
call fcn.18017d7d0
jmp 0x18014262d
mov eax, edi
mov dword [0x180229f40], eax
lea rcx, [0x180229fb0]
call fcn.18017dcd4
movsxd rax, dword [0x180229f40]
mov ecx, dword [rax + rsi]
mov dword [rbx + 0x98], ecx
mov rsi, qword [rbx]
mov eax, dword [r14 + r15]
cmp dword [0x180229ee0], eax
jle 0x18014270f
lea rcx, [0x180229ee0]
call fcn.18017dd34
cmp dword [0x180229ee0], 0xffffffff
jne 0x18014270f
mov rcx, qword [0x180229a08]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov r10, rax
test rax, rax
je 0x1801426fb
mov r9, qword [r10 + 0x10]
mov rcx, 0xffffffffffffffff
mov r8d, 0x811c9dc5
inc rcx
cmp byte [r9 + rcx], 0
jne 0x1801426a1
mov rdx, rdi
test rcx, rcx
je 0x1801426e0
nop dword [rax]
nop word [rax + rax]
movsx eax, byte [rdx + r9]
xor eax, r8d
imul r8d, eax, 0x1000193
inc rdx
cmp rdx, rcx
jb 0x1801426c0
cmp r8d, 0x7a1c884e
je 0x1801426e9
mov r10, qword [r10 + 0x20]
test r10, r10
jmp 0x18014268e
lea r8, str.m_flConstraintWidth
mov rdx, qword [r10 + 0x18]
call fcn.18017d7d0
jmp 0x1801426fd
mov eax, edi
mov dword [0x180229f28], eax
lea rcx, [0x180229ee0]
call fcn.18017dcd4
movsxd rax, dword [0x180229f28]
mov ecx, dword [rax + rsi]
mov dword [rbx + 0x9c], ecx
mov rsi, qword [rbx]
mov eax, dword [r14 + r15]
cmp dword [0x180229fb4], eax
jle 0x1801427dd
lea rcx, [0x180229fb4]
call fcn.18017dd34
cmp dword [0x180229fb4], 0xffffffff
jne 0x1801427dd
mov rcx, qword [0x180229a08]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov r10, rax
test rax, rax
je 0x1801427cb
mov r9, qword [r10 + 0x10]
mov rcx, 0xffffffffffffffff
mov r8d, 0x811c9dc5
inc rcx
cmp byte [r9 + rcx], 0
jne 0x180142771
mov rdx, rdi
test rcx, rcx
je 0x1801427b0
nop dword [rax]
nop word [rax + rax]
movsx eax, byte [rdx + r9]
xor eax, r8d
imul r8d, eax, 0x1000193
inc rdx
cmp rdx, rcx
jb 0x180142790
cmp r8d, 0x7a1c884e
je 0x1801427b9
mov r10, qword [r10 + 0x20]
test r10, r10
jmp 0x18014275e
lea r8, str.m_flConstraintSpeedFactor
mov rdx, qword [r10 + 0x18]
call fcn.18017d7d0
mov edi, eax
mov dword [0x180229eb8], edi
lea rcx, [0x180229fb4]
call fcn.18017dcd4
movsxd rax, dword [0x180229eb8]
mov ecx, dword [rax + rsi]
mov dword [rbx + 0xa0], ecx
mov al, 1
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [rsp + 0x70]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
mov rsp, r11
pop r15
pop r14
pop rdi
ret