Function at 0x18000be54
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
movaps xmmword [rax - 0x38], xmm6
xor r12d, r12d
movaps xmmword [rax - 0x48], xmm7
mov rbx, rcx
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
mov qword [rcx + 4], r12
mov dword [rcx], r12d
test dl, dl
je 0x18000bf37
mov rcx, qword [0x1801aa140]
call fcn.180009f30
lea rdx, [rbp - 0x39]
mov rcx, rax
call fcn.180009d48
mov esi, 4
xorps xmm6, xmm6
movss xmm0, dword [rax + 4]
movss xmm1, dword [rax + 8]
mov eax, dword [rax]
mov dword [rbx], eax
addss xmm0, dword [0x180158554]
movss dword [rbx + 4], xmm0
movss dword [rbx + 8], xmm1
mov r14, qword [0x1801aa140]
mov r15d, dword [0x1801a9b20]
test r14, r14
jne 0x18000bf00
and dword [rbp - 0x49], r12d
and dword [rbp - 0x45], r12d
and dword [rbp - 0x41], r12d
jmp 0x18000bf29
mov rax, qword gs:[0x58]
mov rax, qword [rax + r15*8]
mov eax, dword [rsi + rax]
cmp dword [0x1801aa880], eax
jg 0x18000c613
mov rdx, r14
lea rcx, [rbp - 0x49]
call qword [0x1801aa618]
movsd xmm0, qword [rbp - 0x49]
mov r12d, dword [rbp - 0x41]
jmp 0x18000c000
cmp byte [0x1801aa1fd], r12b
xorps xmm6, xmm6
je 0x18000bf81
movss xmm0, dword [0x1801aa390]
ucomiss xmm0, xmm6
jne 0x18000bf6a
movss xmm0, dword [0x1801aa394]
ucomiss xmm0, xmm6
jne 0x18000bf6a
movss xmm0, dword [0x1801aa398]
ucomiss xmm0, xmm6
je 0x18000bf81
movsd xmm0, qword [0x1801aa390]
mov eax, dword [0x1801aa398]
movsd qword [rcx], xmm0
mov dword [rcx + 8], eax
jmp 0x18000bfa5
mov rcx, qword [0x1801aa1d0]
lea rdx, [rbp - 0x39]
mov r8d, 0x2f
call fcn.18000af88
movsd xmm0, qword [rax]
mov eax, dword [rax + 8]
movsd qword [rbx], xmm0
mov dword [rbx + 8], eax
mov rcx, qword [0x1801aa1d0]
call fcn.18000b550
mov r15d, dword [0x1801a9b20]
mov esi, 4
mov r14, qword [rax]
test r14, r14
jne 0x18000bfd2
xorps xmm0, xmm0
movd r12d, xmm6
unpcklps xmm0, xmm6
jmp 0x18000c000
mov rax, qword gs:[0x58]
mov rax, qword [rax + r15*8]
mov eax, dword [rsi + rax]
cmp dword [0x1801aacf4], eax
jg 0x18000c651
mov rax, qword [0x1801aa708]
movsd xmm0, qword [r14 + rax]
mov r12d, dword [r14 + rax + 8]
mov dword [rbp + 0x6f], r12d
movsd qword [rbp - 0x39], xmm0
call fcn.18000b5cc
mov rcx, rax
call fcn.18002e4d4
mov r13, rax
test rax, rax
je 0x18000c5da
mov r8, qword [rax]
lea r10, [0x18014ec00]
or r14d, 0xffffffff
test r8, r8
je 0x18000c232
mov r8, qword [r8 + 0x10]
test r8, r8
je 0x18000c232
mov edx, r14d
or rax, 0xffffffffffffffff
inc rax
cmp byte [r8 + rax], 0
jne 0x18000c04d
test eax, eax
je 0x18000c232
mov r9d, eax
movsx ecx, byte [r8]
mov eax, edx
xor rcx, rax
shr edx, 8
movzx eax, cl
inc r8
xor edx, dword [r10 + rax*4]
sub r9, 1
jne 0x18000c062
not edx
cmp edx, 0x479168ed
jne 0x18000c232
call fcn.18000b5cc
mov rcx, rax
call fcn.18000b284
mov rcx, rax
call fcn.18000ab24
mov rcx, qword [rax]
call fcn.18000a47c
cmp dword [rax], 0x5bd8cc17
je 0x18000c0e1
call fcn.18000b5cc
mov rcx, rax
call fcn.18000b284
mov rcx, rax
call fcn.18000ab24
mov rcx, qword [rax]
call fcn.18000a47c
cmp dword [rax], 0x5f867078
je 0x18000c0e1
movsd xmm9, qword [0x180158570]
jmp 0x18000c0ea
movsd xmm9, qword [0x180158588]
call fcn.18000b5cc
mov rcx, rax
call fcn.18000aca0
lea rdx, [rbp - 0x29]
mov rcx, qword [rax]
call fcn.18000aa14
movss xmm7, dword [rbx]
movss xmm8, dword [rbx + 4]
movss xmm6, dword [rbx + 8]
movsd xmm0, qword [rax]
subss xmm6, dword [rax + 8]
movsd qword [rbp - 0x49], xmm0
subss xmm7, dword [rbp - 0x49]
subss xmm8, dword [rbp - 0x45]
call fcn.18000bdd4
movss xmm3, dword [0x18015851c]
movss xmm1, dword [rbp - 0x39]
mulss xmm1, dword [0x1801584e0]
divss xmm3, xmm0
xorps xmm0, xmm0
mulss xmm8, xmm8
mulss xmm7, xmm7
mulss xmm6, xmm6
addss xmm8, xmm7
addss xmm8, xmm6
sqrtss xmm0, xmm8
mulss xmm3, xmm0
movd xmm0, r12d
mulss xmm0, dword [0x1801584e0]
mulss xmm1, xmm3
mulss xmm0, xmm3
addss xmm1, dword [rbx]
addss xmm0, dword [rbx + 8]
movss dword [rbx], xmm1
movss dword [rbx + 8], xmm0
call fcn.18000b5cc
mov rcx, rax
call fcn.18000aca0
lea rdx, [rbp - 0x29]
mov rcx, qword [rax]
call fcn.18000aa14
movss xmm0, dword [rbx + 4]
subss xmm0, dword [rax + 4]
cvtps2pd xmm6, xmm0
call fcn.18000b5cc
mov rcx, rax
call fcn.18000aca0
lea rdx, [rbp - 0x29]
mov rcx, qword [rax]
call fcn.18000aa14
movss xmm1, dword [rbx + 8]
movaps xmm0, xmm6
movss xmm2, dword [rbx]
subss xmm1, dword [rax + 8]
subss xmm2, dword [rax]
mulss xmm1, xmm1
mulss xmm2, xmm2
addss xmm1, xmm2
sqrtss xmm1, xmm1
cvtps2pd xmm7, xmm1
movaps xmm1, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
movaps xmm6, xmm0
call fcn.18000bdd4
xorps xmm1, xmm1
cvtss2sd xmm1, xmm0
mulsd xmm6, xmm1
divsd xmm7, xmm6
mulsd xmm9, xmm7
mulsd xmm9, xmm7
cvtpd2ps xmm0, xmm9
jmp 0x18000c5d0
mov rax, qword gs:[0x58]
mov ecx, r15d
mov r15d, esi
mov r12, qword [rax + rcx*8]
mov eax, dword [r12 + r15]
cmp dword [0x1801ab0f4], eax
jg 0x18000c68c
cmp qword [0x1801aaac0], 0
je 0x18000c5da
mov rcx, r13
call fcn.18000a5f0
mov rsi, qword [rax]
test rsi, rsi
je 0x18000c5da
mov eax, dword [r12 + r15]
cmp dword [0x1801ab068], eax
jg 0x18000c6c9
mov rax, qword [0x1801ab150]
mov rax, qword [rsi + rax]
mov qword [rbp + 0x67], rax
test rax, rax
je 0x18000c5da
mov rsi, qword [0x1801aaac0]
test rsi, rsi
je 0x18000c5da
mov eax, dword [r12 + r15]
cmp dword [0x1801aae70], eax
jg 0x18000c704
mov rax, qword [0x1801aad80]
mov rdx, rsi
mov rcx, qword [rbp + 0x67]
call rax
mov rsi, rax
test rax, rax
je 0x18000c5da
cmp byte [0x1801aa1e8], 0
movss xmm7, dword [0x18015851c]
movss xmm9, dword [0x180158550]
je 0x18000c2fb
movaps xmm8, xmm9
jmp 0x18000c2ff
movaps xmm8, xmm7
mov rax, qword [0x1801aa428]
mov rcx, rsi
call rax
mov eax, dword [r12 + r15]
movaps xmm10, xmm0
cmp dword [0x1801aa780], eax
jg 0x18000c742
mov rax, qword [0x1801aa650]
mov rdx, qword [r13]
mulss xmm8, xmm10
mulss xmm8, dword [rax + r13]
test rdx, rdx
je 0x18000c3d9
mov rdx, qword [rdx + 0x10]
test rdx, rdx
je 0x18000c3d9
or rax, 0xffffffffffffffff
inc rax
cmp byte [rdx + rax], 0
jne 0x18000c34f
test eax, eax
je 0x18000c3d9
mov r8d, eax
lea r9, [0x18014ec00]
movsx ecx, byte [rdx]
mov eax, r14d
xor rcx, rax
shr r14d, 8
movzx eax, cl
inc rdx
xor r14d, dword [r9 + rax*4]
sub r8, 1
jne 0x18000c366
not r14d
cmp r14d, 0x643e3521
jne 0x18000c3d9
cmp byte [0x1801aa1e8], r8b
je 0x18000c39e
movaps xmm8, xmm9
jmp 0x18000c3a2
movaps xmm8, xmm7
mov rax, qword [0x1801aa428]
mov rcx, rsi
call rax
mov eax, dword [r12 + r15]
movaps xmm7, xmm0
cmp dword [0x1801aa808], eax
jg 0x18000c77d
mov rax, qword [0x1801ab040]
xor edx, edx
mov rcx, r13
call rax
mulss xmm8, xmm7
mulss xmm8, xmm0
ucomiss xmm8, xmm6
je 0x18000c5da
mov eax, dword [r12 + r15]
cmp dword [0x1801aa8a8], eax
jg 0x18000c7bb
mov rax, qword [0x1801aa948]
mov rcx, qword [rsi + rax]
test rcx, rcx
jne 0x18000c407
xor esi, esi
jmp 0x18000c42a
mov eax, dword [r12 + r15]
cmp dword [0x1801aa790], eax
mov rsi, qword [rcx + 0x10]
jg 0x18000c7f6
mov rax, qword [0x1801aa630]
mov rcx, rsi
call rax
mov rsi, rax
lea rcx, str.Projectile__Assembly_CSharp
call fcn.180009e94
mov r14, rax
test rsi, rsi
je 0x18000c5da
test rax, rax
je 0x18000c5da
mov ecx, dword [r12 + r15]
cmp dword [0x1801aa920], ecx
jg 0x18000c834
mov rax, qword [0x1801aa608]
mov rdx, r14
mov rcx, rsi
call rax
mov rsi, rax
test rax, rax
je 0x18000c5da
call fcn.18000b5cc
mov rcx, rax
call fcn.18000aca0
lea rdx, [rbp - 0x29]
mov rcx, qword [rax]
call fcn.18000aa14
movss xmm1, dword [rbx + 4]
xorps xmm4, xmm4
movss xmm2, dword [rbx + 8]
movsd xmm0, qword [rax]
subss xmm2, dword [rax + 8]
movsd qword [rbp - 0x49], xmm0
subss xmm1, dword [rbp - 0x45]
movss xmm0, dword [rbx]
subss xmm0, dword [rbp - 0x49]
mulss xmm2, xmm2
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm1, xmm0
movss xmm0, dword [rbp + 0x6f]
mulss xmm0, dword [0x1801584e0]
addss xmm1, xmm2
sqrtss xmm4, xmm1
movss xmm1, dword [rbp - 0x39]
mulss xmm1, dword [0x1801584e0]
divss xmm4, xmm8
movaps xmm3, xmm4
mulss xmm1, xmm4
mulss xmm3, xmm0
addss xmm1, dword [rbx]
addss xmm3, dword [rbx + 8]
movss dword [rbx], xmm1
movss dword [rbx + 8], xmm3
call fcn.18000b5cc
mov rcx, rax
call fcn.18000aca0
lea rdx, [rbp - 0x29]
mov rcx, qword [rax]
call fcn.18000aa14
movss xmm0, dword [rbx + 4]
subss xmm0, dword [rax + 4]
cvtps2pd xmm9, xmm0
call fcn.18000b5cc
mov rcx, rax
call fcn.18000aca0
lea rdx, [rbp - 0x29]
mov rcx, qword [rax]
call fcn.18000aa14
movss xmm1, dword [rbx + 8]
xorps xmm7, xmm7
movss xmm0, dword [rbx]
subss xmm0, dword [rax]
subss xmm1, dword [rax + 8]
mov eax, dword [r12 + r15]
cmp dword [0x1801aa7e0], eax
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
sqrtss xmm7, xmm0
jg 0x18000c872
mov rax, qword [0x1801aae88]
movaps xmm0, xmm9
cvtps2pd xmm7, xmm7
movss xmm6, dword [rsi + rax]
movaps xmm1, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
mulss xmm6, dword [0x1801584bc]
xorps xmm1, xmm1
cvtss2sd xmm1, xmm8
mulsd xmm0, xmm1
divsd xmm7, xmm0
cvtps2pd xmm0, xmm6
mulsd xmm0, xmm7
mulsd xmm7, qword [0x180158580]
mulsd xmm0, xmm7
cvtpd2ps xmm0, xmm0
addss xmm0, dword [rbx + 4]
movss dword [rbx + 4], xmm0
lea r11, [rsp + 0xa0]
mov rax, rbx
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea rcx, [0x1801aa880]
call fcn.1800660ac
cmp dword [0x1801aa880], 0xffffffff
jne 0x18000bf1c
mov ecx, 0x1e3bf1a8
call fcn.180006634
lea rcx, [0x1801aa880]
mov r8, qword [rax]
mov qword [0x1801aa618], r8
call fcn.180066040
jmp 0x18000bf1c
lea rcx, [0x1801aacf4]
call fcn.1800660ac
cmp dword [0x1801aacf4], 0xffffffff
jne 0x18000bfee
mov ecx, 0xcf100582
call fcn.1800075f4
lea rcx, [0x1801aacf4]
mov qword [0x1801aa708], rax
call fcn.180066040
jmp 0x18000bfee
lea rcx, [0x1801ab0f4]
call fcn.1800660ac
cmp dword [0x1801ab0f4], 0xffffffff
jne 0x18000c255
lea rcx, str.ItemModProjectile__Assembly_CSharp
call fcn.180009e94
lea rcx, [0x1801ab0f4]
mov qword [0x1801aaac0], rax
call fcn.180066040
jmp 0x18000c255
lea rcx, [0x1801ab068]
call fcn.1800660ac
cmp dword [0x1801ab068], 0xffffffff
jne 0x18000c287
mov ecx, 0xd10dec8f
call fcn.1800075f4
lea rcx, [0x1801ab068]
mov qword [0x1801ab150], rax
call fcn.180066040
jmp 0x18000c287
lea rcx, [0x1801aae70]
call fcn.1800660ac
cmp dword [0x1801aae70], 0xffffffff
jne 0x18000c2bf
mov ecx, 0x726340ef
call fcn.180006634
lea rcx, [0x1801aae70]
mov r8, qword [rax]
mov qword [0x1801aad80], r8
call fcn.180066040
jmp 0x18000c2bf
lea rcx, [0x1801aa780]
call fcn.1800660ac
cmp dword [0x1801aa780], 0xffffffff
jne 0x18000c31f
mov ecx, 0xcdd491cf
call fcn.1800075f4
lea rcx, [0x1801aa780]
mov qword [0x1801aa650], rax
call fcn.180066040
jmp 0x18000c31f
lea rcx, [0x1801aa808]
call fcn.1800660ac
cmp dword [0x1801aa808], 0xffffffff
jne 0x18000c3c1
mov ecx, 0xe205489c
call fcn.180006634
lea rcx, [0x1801aa808]
mov rdx, qword [rax]
mov qword [0x1801ab040], rdx
call fcn.180066040
jmp 0x18000c3c1
lea rcx, [0x1801aa8a8]
call fcn.1800660ac
cmp dword [0x1801aa8a8], 0xffffffff
jne 0x18000c3f3
mov ecx, 0xc2fb7f15
call fcn.1800075f4
lea rcx, [0x1801aa8a8]
mov qword [0x1801aa948], rax
call fcn.180066040
jmp 0x18000c3f3
lea rcx, [0x1801aa790]
call fcn.1800660ac
cmp dword [0x1801aa790], 0xffffffff
jne 0x18000c41b
mov ecx, 0xad5514be
call fcn.180006634
lea rcx, [0x1801aa790]
mov rdx, qword [rax]
mov qword [0x1801aa630], rdx
call fcn.180066040
jmp 0x18000c41b
lea rcx, [0x1801aa920]
call fcn.1800660ac
cmp dword [0x1801aa920], 0xffffffff
jne 0x18000c45b
mov ecx, 0xe2084f16
call fcn.180006634
lea rcx, [0x1801aa920]
mov rdx, qword [rax]
mov qword [0x1801aa608], rdx
call fcn.180066040
jmp 0x18000c45b
lea rcx, [0x1801aa7e0]
call fcn.1800660ac
cmp dword [0x1801aa7e0], 0xffffffff
jne 0x18000c581
mov ecx, 0x24cf107d
call fcn.1800075f4
lea rcx, [0x1801aa7e0]
mov qword [0x1801aae88], rax
call fcn.180066040
jmp 0x18000c581