Function at 0x180143580
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 0x1801435cd
xor al, al
jmp 0x180143c70
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.1800ac6f0
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.1800d9a00
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
xor edx, edx
mov rcx, qword [rbx]
call qword [0x1802256b8]
movss dword [rbx + 0x44], xmm0
test byte [rbx + 0xe4], 2
je 0x18014363d
mulss xmm0, dword [0x1802022b8]
movss dword [rbx + 0x44], xmm0
lea rdx, [rbx + 0x4c]
lea rcx, [rsp + 0x20]
call fcn.1800bac10
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 [0x180202248]
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 [0x180202604]
mulss xmm9, xmm8
movaps xmm6, xmm10
xorps xmm6, xmmword [0x180202b00]
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.1800d9a00
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 0x180143760
xorps xmm0, xmm0
sqrtss xmm0, xmm1
jmp 0x180143768
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 [0x180202288]
comiss xmm1, xmm0
jb 0x180143783
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 [0x18022a150]
mov rax, qword gs:[0x58]
mov rsi, qword [rax + r14*8]
mov eax, dword [rsi + r15]
cmp dword [0x18022bfc4], eax
jle 0x18014387d
lea rcx, [0x18022bfc4]
call fcn.18017f7fc
cmp dword [0x18022bfc4], 0xffffffff
jne 0x18014387d
mov rcx, qword [0x18022ba50]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov r10, rax
test rax, rax
je 0x180143869
mov r9, qword [r10 + 0x10]
mov rcx, 0xffffffffffffffff
mov r8d, 0x811c9dc5
inc rcx
cmp byte [r9 + rcx], 0
jne 0x180143821
mov rdx, rdi
test rcx, rcx
je 0x180143860
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 0x180143840
cmp r8d, 0x7a1c884e
je 0x1801438d0
mov r10, qword [r10 + 0x20]
test r10, r10
jne 0x180143810
mov eax, edi
mov dword [0x18022bfd4], eax
lea rcx, [0x18022bfc4]
call fcn.18017f790
movsxd rdx, dword [0x18022bfd4]
mov rcx, qword [0x18022ba78]
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 0x1801438e2
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 0x1801439b1
lea r8, str.m_hConstraintEntity
mov rdx, qword [r10 + 0x18]
call fcn.18017f390
jmp 0x18014386b
mov rbp, qword [rbx]
mov eax, dword [rsi + r15]
cmp dword [0x18022c004], eax
jle 0x180143991
lea rcx, [0x18022c004]
call fcn.18017f7fc
cmp dword [0x18022c004], 0xffffffff
jne 0x180143991
mov rcx, qword [0x18022ba50]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov r10, rax
test rax, rax
je 0x18014397d
mov r9, qword [r10 + 0x10]
mov rcx, 0xffffffffffffffff
mov r8d, 0x811c9dc5
inc rcx
cmp byte [r9 + rcx], 0
jne 0x180143934
mov rdx, rdi
test rcx, rcx
je 0x180143974
nop word [rax + rax]
movsx eax, byte [r9 + rdx]
xor eax, r8d
imul r8d, eax, 0x1000193
inc rdx
cmp rdx, rcx
jb 0x180143950
cmp r8d, 0x7a1c884e
je 0x180143bfb
mov r10, qword [r10 + 0x20]
test r10, r10
jne 0x180143923
mov eax, edi
mov dword [0x18022bff4], eax
lea rcx, [0x18022c004]
call fcn.18017f790
movsxd rcx, dword [0x18022bff4]
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 rbp, qword [rbx]
mov rax, qword gs:[0x58]
mov rsi, qword [rax + r14*8]
mov eax, dword [rsi + r15]
cmp dword [0x18022bff0], eax
jle 0x180143a81
lea rcx, [0x18022bff0]
call fcn.18017f7fc
cmp dword [0x18022bff0], 0xffffffff
jne 0x180143a81
mov rcx, qword [0x18022ba50]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov r10, rax
test rax, rax
je 0x180143a6d
nop word [rax + rax]
mov r9, qword [r10 + 0x10]
mov rcx, 0xffffffffffffffff
mov r8d, 0x811c9dc5
inc rcx
cmp byte [r9 + rcx], 0
jne 0x180143a21
mov rdx, rdi
test rcx, rcx
je 0x180143a64
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 0x180143a40
cmp r8d, 0x7a1c884e
je 0x180143c10
mov r10, qword [r10 + 0x20]
test r10, r10
jne 0x180143a10
mov eax, edi
mov dword [0x18022bf80], eax
lea rcx, [0x18022bff0]
call fcn.18017f790
movsxd rax, dword [0x18022bf80]
mov ecx, dword [rax + rbp]
mov dword [rbx + 0x98], ecx
mov rbp, qword [rbx]
mov eax, dword [rsi + r15]
cmp dword [0x18022bf20], eax
jle 0x180143b41
lea rcx, [0x18022bf20]
call fcn.18017f7fc
cmp dword [0x18022bf20], 0xffffffff
jne 0x180143b41
mov rcx, qword [0x18022ba50]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov r10, rax
test rax, rax
je 0x180143b2d
mov r9, qword [r10 + 0x10]
mov rcx, 0xffffffffffffffff
mov r8d, 0x811c9dc5
inc rcx
cmp byte [r9 + rcx], 0
jne 0x180143ae3
mov rdx, rdi
test rcx, rcx
je 0x180143b24
nop word [rax + rax]
movsx eax, byte [r9 + rdx]
xor eax, r8d
imul r8d, eax, 0x1000193
inc rdx
cmp rdx, rcx
jb 0x180143b00
cmp r8d, 0x7a1c884e
je 0x180143c25
mov r10, qword [r10 + 0x20]
test r10, r10
jne 0x180143ad2
mov eax, edi
mov dword [0x18022bf68], eax
lea rcx, [0x18022bf20]
call fcn.18017f790
movsxd rax, dword [0x18022bf68]
mov ecx, dword [rax + rbp]
mov dword [rbx + 0x9c], ecx
mov rbp, qword [rbx]
mov eax, dword [rsi + r15]
cmp dword [0x18022bff8], eax
jle 0x180143c5e
lea rcx, [0x18022bff8]
call fcn.18017f7fc
cmp dword [0x18022bff8], 0xffffffff
jne 0x180143c5e
mov rcx, qword [0x18022ba50]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov r10, rax
test rax, rax
je 0x180143c4c
nop word [rax + rax]
mov r9, qword [r10 + 0x10]
mov rcx, 0xffffffffffffffff
mov r8d, 0x811c9dc5
inc rcx
cmp byte [r9 + rcx], 0
jne 0x180143bb1
mov rdx, rdi
test rcx, rcx
je 0x180143bf0
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 0x180143bd0
cmp r8d, 0x7a1c884e
je 0x180143c3a
mov r10, qword [r10 + 0x20]
test r10, r10
jne 0x180143ba0
jmp 0x180143c4c
lea r8, str.m_vecConstraintCenter
mov rdx, qword [r10 + 0x18]
call fcn.18017f390
jmp 0x18014397f
lea r8, str.m_flConstraintRadius
mov rdx, qword [r10 + 0x18]
call fcn.18017f390
jmp 0x180143a6f
lea r8, str.m_flConstraintWidth
mov rdx, qword [r10 + 0x18]
call fcn.18017f390
jmp 0x180143b2f
lea r8, str.m_flConstraintSpeedFactor
mov rdx, qword [r10 + 0x18]
call fcn.18017f390
mov edi, eax
mov dword [0x18022bef8], edi
lea rcx, [0x18022bff8]
call fcn.18017f790
movsxd rax, dword [0x18022bef8]
mov ecx, dword [rax + rbp]
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