Function at 0x180142530
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 0x18014257d
xor al, al
jmp 0x180142c20
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.1800b7850
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.1800d8140
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 [0x1802246b8]
xor edx, edx
mov rcx, qword [rbx]
call rax
movss dword [rbx + 0x44], xmm0
test byte [rbx + 0xe4], 2
je 0x1801425f0
mulss xmm0, dword [0x180201408]
movss dword [rbx + 0x44], xmm0
lea rdx, [rbx + 0x4c]
lea rcx, [rsp + 0x20]
call fcn.1800c5cf0
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 [0x180201398]
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 [0x180201754]
mulss xmm9, xmm8
movaps xmm6, xmm10
xorps xmm6, xmmword [0x180201ec0]
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.1800d8140
movss xmm0, dword [rax + 4]
movss xmm1, dword [rax]
movss xmm6, dword [rbx + 0x44]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm1, xmm0
xorps xmm0, xmm0
ucomiss xmm0, xmm1
ja 0x180142718
xorps xmm0, xmm0
sqrtss xmm0, xmm1
jmp 0x180142720
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm1, xmm6
mulss xmm1, dword [0x1802013d8]
comiss xmm1, xmm0
jb 0x180142736
mov dword [rbx + 0x3c], edi
mov dword [rbx + 0x34], edi
movss dword [rbx + 0x48], xmm6
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 r14d, dword [0x18022910c]
mov rax, qword gs:[0x58]
mov rsi, qword [rax + r14*8]
mov r15d, 4
mov eax, dword [r15 + rsi]
cmp dword [0x18022af84], eax
jle 0x18014282d
lea rcx, [0x18022af84]
call fcn.18017e33c
cmp dword [0x18022af84], 0xffffffff
jne 0x18014282d
mov rcx, qword [0x18022aa18]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov r10, rax
test rax, rax
je 0x180142819
mov r9, qword [r10 + 0x10]
mov rcx, 0xffffffffffffffff
mov r8d, 0x811c9dc5
inc rcx
cmp byte [r9 + rcx], 0
jne 0x1801427d4
mov rdx, rdi
test rcx, rcx
je 0x180142810
nop word [rax + rax]
movsx eax, byte [r9 + rdx]
xor eax, r8d
imul r8d, eax, 0x1000193
inc rdx
cmp rdx, rcx
jb 0x1801427f0
cmp r8d, 0x7a1c884e
je 0x180142880
mov r10, qword [r10 + 0x20]
test r10, r10
jne 0x1801427c3
mov eax, edi
mov dword [0x18022af94], eax
lea rcx, [0x18022af84]
call fcn.18017e2d0
mov rcx, qword [0x18022aa40]
mov rax, qword [rcx]
mov r8, qword [rax + 0x20]
movsxd rax, dword [0x18022af94]
mov edx, dword [rax + rbp]
mov dword [rsp + 0xb0], edx
lea rdx, [rsp + 0xb0]
call r8
test rax, rax
je 0x180142892
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 0x180142961
lea r8, str.m_hConstraintEntity
mov rdx, qword [r10 + 0x18]
call fcn.18017ded0
jmp 0x18014281b
mov rbp, qword [rbx]
mov eax, dword [r15 + rsi]
cmp dword [0x18022afc4], eax
jle 0x180142941
lea rcx, [0x18022afc4]
call fcn.18017e33c
cmp dword [0x18022afc4], 0xffffffff
jne 0x180142941
mov rcx, qword [0x18022aa18]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov r10, rax
test rax, rax
je 0x18014292d
mov r9, qword [r10 + 0x10]
mov rcx, 0xffffffffffffffff
mov r8d, 0x811c9dc5
inc rcx
cmp byte [r9 + rcx], 0
jne 0x1801428e4
mov rdx, rdi
test rcx, rcx
je 0x180142924
nop word [rax + rax]
movsx eax, byte [r9 + rdx]
xor eax, r8d
imul r8d, eax, 0x1000193
inc rdx
cmp rdx, rcx
jb 0x180142900
cmp r8d, 0x7a1c884e
je 0x180142bab
mov r10, qword [r10 + 0x20]
test r10, r10
jne 0x1801428d3
mov eax, edi
mov dword [0x18022afb8], eax
lea rcx, [0x18022afc4]
call fcn.18017e2d0
movsxd rcx, dword [0x18022afb8]
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 rbp, qword [rax + r14*8]
mov eax, dword [r15 + rbp]
cmp dword [0x18022afb0], eax
jle 0x180142a31
lea rcx, [0x18022afb0]
call fcn.18017e33c
cmp dword [0x18022afb0], 0xffffffff
jne 0x180142a31
mov rcx, qword [0x18022aa18]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov r10, rax
test rax, rax
je 0x180142a1d
nop word [rax + rax]
mov r9, qword [r10 + 0x10]
mov rcx, 0xffffffffffffffff
mov r8d, 0x811c9dc5
inc rcx
cmp byte [r9 + rcx], 0
jne 0x1801429d1
mov rdx, rdi
test rcx, rcx
je 0x180142a14
nop dword [rax]
nop word [rax + rax]
movsx eax, byte [r9 + rdx]
xor eax, r8d
imul r8d, eax, 0x1000193
inc rdx
cmp rdx, rcx
jb 0x1801429f0
cmp r8d, 0x7a1c884e
je 0x180142bc0
mov r10, qword [r10 + 0x20]
test r10, r10
jne 0x1801429c0
mov eax, edi
mov dword [0x18022af40], eax
lea rcx, [0x18022afb0]
call fcn.18017e2d0
movsxd rax, dword [0x18022af40]
mov ecx, dword [rax + rsi]
mov dword [rbx + 0x98], ecx
mov rsi, qword [rbx]
mov eax, dword [r15 + rbp]
cmp dword [0x18022aee0], eax
jle 0x180142af1
lea rcx, [0x18022aee0]
call fcn.18017e33c
cmp dword [0x18022aee0], 0xffffffff
jne 0x180142af1
mov rcx, qword [0x18022aa18]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov r10, rax
test rax, rax
je 0x180142add
mov r9, qword [r10 + 0x10]
mov rcx, 0xffffffffffffffff
mov r8d, 0x811c9dc5
inc rcx
cmp byte [r9 + rcx], 0
jne 0x180142a93
mov rdx, rdi
test rcx, rcx
je 0x180142ad4
nop word [rax + rax]
movsx eax, byte [r9 + rdx]
xor eax, r8d
imul r8d, eax, 0x1000193
inc rdx
cmp rdx, rcx
jb 0x180142ab0
cmp r8d, 0x7a1c884e
je 0x180142bd5
mov r10, qword [r10 + 0x20]
test r10, r10
jne 0x180142a82
mov eax, edi
mov dword [0x18022af30], eax
lea rcx, [0x18022aee0]
call fcn.18017e2d0
movsxd rax, dword [0x18022af30]
mov ecx, dword [rax + rsi]
mov dword [rbx + 0x9c], ecx
mov rsi, qword [rbx]
mov eax, dword [r15 + rbp]
cmp dword [0x18022afb4], eax
jle 0x180142c0e
lea rcx, [0x18022afb4]
call fcn.18017e33c
cmp dword [0x18022afb4], 0xffffffff
jne 0x180142c0e
mov rcx, qword [0x18022aa18]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov r10, rax
test rax, rax
je 0x180142bfc
nop word [rax + rax]
mov r9, qword [r10 + 0x10]
mov rcx, 0xffffffffffffffff
mov r8d, 0x811c9dc5
inc rcx
cmp byte [r9 + rcx], 0
jne 0x180142b61
mov rdx, rdi
test rcx, rcx
je 0x180142ba0
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 0x180142b80
cmp r8d, 0x7a1c884e
je 0x180142bea
mov r10, qword [r10 + 0x20]
test r10, r10
jne 0x180142b50
jmp 0x180142bfc
lea r8, str.m_vecConstraintCenter
mov rdx, qword [r10 + 0x18]
call fcn.18017ded0
jmp 0x18014292f
lea r8, str.m_flConstraintRadius
mov rdx, qword [r10 + 0x18]
call fcn.18017ded0
jmp 0x180142a1f
lea r8, str.m_flConstraintWidth
mov rdx, qword [r10 + 0x18]
call fcn.18017ded0
jmp 0x180142adf
lea r8, str.m_flConstraintSpeedFactor
mov rdx, qword [r10 + 0x18]
call fcn.18017ded0
mov edi, eax
mov dword [0x18022aeb4], edi
lea rcx, [0x18022afb4]
call fcn.18017e2d0
movsxd rax, dword [0x18022aeb4]
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