Function at 0x18000c154
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 0x18000c237
mov rcx, qword [0x1801aa0e0]
call fcn.18000a1d4
lea rdx, [rbp - 0x39]
mov rcx, rax
call fcn.180009fec
mov esi, 4
xorps xmm6, xmm6
movss xmm0, dword [rax + 4]
movss xmm1, dword [rax + 8]
addss xmm0, dword [0x180158524]
mov eax, dword [rax]
mov dword [rbx], eax
movss dword [rbx + 4], xmm0
movss dword [rbx + 8], xmm1
mov r14, qword [0x1801aa0e0]
mov r15d, dword [0x1801a9ac0]
test r14, r14
jne 0x18000c200
and dword [rbp - 0x49], r12d
and dword [rbp - 0x45], r12d
and dword [rbp - 0x41], r12d
jmp 0x18000c229
mov rax, qword gs:[0x58]
mov rax, qword [rax + r15*8]
mov eax, dword [rsi + rax]
cmp dword [0x1801aa830], eax
jg 0x18000c913
mov rdx, r14
lea rcx, [rbp - 0x49]
call qword [0x1801aa5b8]
movsd xmm0, qword [rbp - 0x49]
mov r12d, dword [rbp - 0x41]
jmp 0x18000c300
cmp byte [0x1801aa19d], r12b
xorps xmm6, xmm6
je 0x18000c281
movss xmm0, dword [0x1801aa330]
ucomiss xmm0, xmm6
jne 0x18000c26a
movss xmm0, dword [0x1801aa334]
ucomiss xmm0, xmm6
jne 0x18000c26a
movss xmm0, dword [0x1801aa338]
ucomiss xmm0, xmm6
je 0x18000c281
movsd xmm0, qword [0x1801aa330]
mov eax, dword [0x1801aa338]
movsd qword [rcx], xmm0
mov dword [rcx + 8], eax
jmp 0x18000c2a5
mov rcx, qword [0x1801aa170]
lea rdx, [rbp - 0x39]
mov r8d, 0x2f
call fcn.18000b2a8
movsd xmm0, qword [rax]
mov eax, dword [rax + 8]
movsd qword [rbx], xmm0
mov dword [rbx + 8], eax
mov rcx, qword [0x1801aa170]
call fcn.18000b850
mov r15d, dword [0x1801a9ac0]
mov esi, 4
mov r14, qword [rax]
test r14, r14
jne 0x18000c2d2
xorps xmm0, xmm0
movd r12d, xmm6
unpcklps xmm0, xmm6
jmp 0x18000c300
mov rax, qword gs:[0x58]
mov rax, qword [rax + r15*8]
mov eax, dword [rsi + rax]
cmp dword [0x1801aaca4], eax
jg 0x18000c951
mov rax, qword [0x1801aa6a8]
movsd xmm0, qword [r14 + rax]
mov r12d, dword [r14 + rax + 8]
mov dword [rbp + 0x6f], r12d
movsd qword [rbp - 0x39], xmm0
call fcn.18000b8cc
mov rcx, rax
call fcn.18002eac0
mov r13, rax
test rax, rax
je 0x18000c8da
mov r8, qword [rax]
lea r10, [0x18014ec00]
or r14d, 0xffffffff
test r8, r8
je 0x18000c532
mov r8, qword [r8 + 0x10]
test r8, r8
je 0x18000c532
mov edx, r14d
or rax, 0xffffffffffffffff
inc rax
cmp byte [r8 + rax], 0
jne 0x18000c34d
test eax, eax
je 0x18000c532
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 0x18000c362
not edx
cmp edx, 0x479168ed
jne 0x18000c532
call fcn.18000b8cc
mov rcx, rax
call fcn.18000b470
mov rcx, rax
call fcn.18000adc8
mov rcx, qword [rax]
call fcn.18000a720
cmp dword [rax], 0x5bd8cc17
je 0x18000c3e1
call fcn.18000b8cc
mov rcx, rax
call fcn.18000b470
mov rcx, rax
call fcn.18000adc8
mov rcx, qword [rax]
call fcn.18000a720
cmp dword [rax], 0x5f867078
je 0x18000c3e1
movsd xmm9, qword [0x180158540]
jmp 0x18000c3ea
movsd xmm9, qword [0x180158558]
call fcn.18000b8cc
mov rcx, rax
call fcn.18000af44
lea rdx, [rbp - 0x29]
mov rcx, qword [rax]
call fcn.18000acb8
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.18000c0d4
movss xmm3, dword [0x1801584ec]
movss xmm1, dword [rbp - 0x39]
mulss xmm1, dword [0x1801584b0]
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 [0x1801584b0]
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.18000b8cc
mov rcx, rax
call fcn.18000af44
lea rdx, [rbp - 0x29]
mov rcx, qword [rax]
call fcn.18000acb8
movss xmm0, dword [rbx + 4]
subss xmm0, dword [rax + 4]
cvtps2pd xmm6, xmm0
call fcn.18000b8cc
mov rcx, rax
call fcn.18000af44
lea rdx, [rbp - 0x29]
mov rcx, qword [rax]
call fcn.18000acb8
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.18000c0d4
xorps xmm1, xmm1
cvtss2sd xmm1, xmm0
mulsd xmm6, xmm1
divsd xmm7, xmm6
mulsd xmm9, xmm7
mulsd xmm9, xmm7
cvtpd2ps xmm0, xmm9
jmp 0x18000c8d0
mov rax, qword gs:[0x58]
mov ecx, r15d
mov r15d, esi
mov r12, qword [rax + rcx*8]
mov eax, dword [r12 + r15]
cmp dword [0x1801ab0bc], eax
jg 0x18000c98c
cmp qword [0x1801aaa70], 0
je 0x18000c8da
mov rcx, r13
call fcn.18000a894
mov rsi, qword [rax]
test rsi, rsi
je 0x18000c8da
mov eax, dword [r12 + r15]
cmp dword [0x1801ab030], eax
jg 0x18000c9c9
mov rax, qword [0x1801ab120]
mov rax, qword [rsi + rax]
mov qword [rbp + 0x67], rax
test rax, rax
je 0x18000c8da
mov rsi, qword [0x1801aaa70]
test rsi, rsi
je 0x18000c8da
mov eax, dword [r12 + r15]
cmp dword [0x1801aae38], eax
jg 0x18000ca04
mov rax, qword [0x1801aad30]
mov rdx, rsi
mov rcx, qword [rbp + 0x67]
call rax
mov rsi, rax
test rax, rax
je 0x18000c8da
cmp byte [0x1801aa188], 0
movss xmm7, dword [0x1801584ec]
movss xmm9, dword [0x180158520]
je 0x18000c5fb
movaps xmm8, xmm9
jmp 0x18000c5ff
movaps xmm8, xmm7
mov rax, qword [0x1801aa3c8]
mov rcx, rsi
call rax
mov eax, dword [r12 + r15]
movaps xmm10, xmm0
cmp dword [0x1801aa720], eax
jg 0x18000ca42
mov rax, qword [0x1801aa5f0]
mov rdx, qword [r13]
mulss xmm8, xmm10
mulss xmm8, dword [rax + r13]
test rdx, rdx
je 0x18000c6d9
mov rdx, qword [rdx + 0x10]
test rdx, rdx
je 0x18000c6d9
or rax, 0xffffffffffffffff
inc rax
cmp byte [rdx + rax], 0
jne 0x18000c64f
test eax, eax
je 0x18000c6d9
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 0x18000c666
not r14d
cmp r14d, 0x643e3521
jne 0x18000c6d9
cmp byte [0x1801aa188], r8b
je 0x18000c69e
movaps xmm8, xmm9
jmp 0x18000c6a2
movaps xmm8, xmm7
mov rax, qword [0x1801aa3c8]
mov rcx, rsi
call rax
mov eax, dword [r12 + r15]
movaps xmm7, xmm0
cmp dword [0x1801aa7b8], eax
jg 0x18000ca7d
mov rax, qword [0x1801ab008]
xor edx, edx
mov rcx, r13
call rax
mulss xmm8, xmm7
mulss xmm8, xmm0
ucomiss xmm8, xmm6
je 0x18000c8da
mov eax, dword [r12 + r15]
cmp dword [0x1801aa858], eax
jg 0x18000cabb
mov rax, qword [0x1801aa8f8]
mov rcx, qword [rsi + rax]
test rcx, rcx
jne 0x18000c707
xor esi, esi
jmp 0x18000c72a
mov eax, dword [r12 + r15]
cmp dword [0x1801aa738], eax
mov rsi, qword [rcx + 0x10]
jg 0x18000caf6
mov rax, qword [0x1801aa5d0]
mov rcx, rsi
call rax
mov rsi, rax
lea rcx, str.Projectile__Assembly_CSharp
call fcn.18000a138
mov r14, rax
test rsi, rsi
je 0x18000c8da
test rax, rax
je 0x18000c8da
mov ecx, dword [r12 + r15]
cmp dword [0x1801aa8d0], ecx
jg 0x18000cb34
mov rax, qword [0x1801aa5a8]
mov rdx, r14
mov rcx, rsi
call rax
mov rsi, rax
test rax, rax
je 0x18000c8da
call fcn.18000b8cc
mov rcx, rax
call fcn.18000af44
lea rdx, [rbp - 0x29]
mov rcx, qword [rax]
call fcn.18000acb8
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 [0x1801584b0]
addss xmm1, xmm2
sqrtss xmm4, xmm1
movss xmm1, dword [rbp - 0x39]
mulss xmm1, dword [0x1801584b0]
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.18000b8cc
mov rcx, rax
call fcn.18000af44
lea rdx, [rbp - 0x29]
mov rcx, qword [rax]
call fcn.18000acb8
movss xmm0, dword [rbx + 4]
subss xmm0, dword [rax + 4]
cvtps2pd xmm9, xmm0
call fcn.18000b8cc
mov rcx, rax
call fcn.18000af44
lea rdx, [rbp - 0x29]
mov rcx, qword [rax]
call fcn.18000acb8
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 [0x1801aa790], eax
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
sqrtss xmm7, xmm0
jg 0x18000cb72
mov rax, qword [0x1801aae50]
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 [0x18015848c]
xorps xmm1, xmm1
cvtss2sd xmm1, xmm8
mulsd xmm0, xmm1
divsd xmm7, xmm0
cvtps2pd xmm0, xmm6
mulsd xmm0, xmm7
mulsd xmm7, qword [0x180158550]
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, [0x1801aa830]
call fcn.18006675c
cmp dword [0x1801aa830], 0xffffffff
jne 0x18000c21c
mov ecx, 0x1e3bf1a8
call fcn.180006648
lea rcx, [0x1801aa830]
mov r8, qword [rax]
mov qword [0x1801aa5b8], r8
call fcn.1800666f0
jmp 0x18000c21c
lea rcx, [0x1801aaca4]
call fcn.18006675c
cmp dword [0x1801aaca4], 0xffffffff
jne 0x18000c2ee
mov ecx, 0xcf100582
call fcn.18000778c
lea rcx, [0x1801aaca4]
mov qword [0x1801aa6a8], rax
call fcn.1800666f0
jmp 0x18000c2ee
lea rcx, [0x1801ab0bc]
call fcn.18006675c
cmp dword [0x1801ab0bc], 0xffffffff
jne 0x18000c555
lea rcx, str.ItemModProjectile__Assembly_CSharp
call fcn.18000a138
lea rcx, [0x1801ab0bc]
mov qword [0x1801aaa70], rax
call fcn.1800666f0
jmp 0x18000c555
lea rcx, [0x1801ab030]
call fcn.18006675c
cmp dword [0x1801ab030], 0xffffffff
jne 0x18000c587
mov ecx, 0xd10dec8f
call fcn.18000778c
lea rcx, [0x1801ab030]
mov qword [0x1801ab120], rax
call fcn.1800666f0
jmp 0x18000c587
lea rcx, [0x1801aae38]
call fcn.18006675c
cmp dword [0x1801aae38], 0xffffffff
jne 0x18000c5bf
mov ecx, 0x726340ef
call fcn.180006648
lea rcx, [0x1801aae38]
mov r8, qword [rax]
mov qword [0x1801aad30], r8
call fcn.1800666f0
jmp 0x18000c5bf
lea rcx, [0x1801aa720]
call fcn.18006675c
cmp dword [0x1801aa720], 0xffffffff
jne 0x18000c61f
mov ecx, 0xcdd491cf
call fcn.18000778c
lea rcx, [0x1801aa720]
mov qword [0x1801aa5f0], rax
call fcn.1800666f0
jmp 0x18000c61f
lea rcx, [0x1801aa7b8]
call fcn.18006675c
cmp dword [0x1801aa7b8], 0xffffffff
jne 0x18000c6c1
mov ecx, 0xe205489c
call fcn.180006648
lea rcx, [0x1801aa7b8]
mov rdx, qword [rax]
mov qword [0x1801ab008], rdx
call fcn.1800666f0
jmp 0x18000c6c1
lea rcx, [0x1801aa858]
call fcn.18006675c
cmp dword [0x1801aa858], 0xffffffff
jne 0x18000c6f3
mov ecx, 0xc2fb7f15
call fcn.18000778c
lea rcx, [0x1801aa858]
mov qword [0x1801aa8f8], rax
call fcn.1800666f0
jmp 0x18000c6f3
lea rcx, [0x1801aa738]
call fcn.18006675c
cmp dword [0x1801aa738], 0xffffffff
jne 0x18000c71b
mov ecx, 0xad5514be
call fcn.180006648
lea rcx, [0x1801aa738]
mov rdx, qword [rax]
mov qword [0x1801aa5d0], rdx
call fcn.1800666f0
jmp 0x18000c71b
lea rcx, [0x1801aa8d0]
call fcn.18006675c
cmp dword [0x1801aa8d0], 0xffffffff
jne 0x18000c75b
mov ecx, 0xe2084f16
call fcn.180006648
lea rcx, [0x1801aa8d0]
mov rdx, qword [rax]
mov qword [0x1801aa5a8], rdx
call fcn.1800666f0
jmp 0x18000c75b
lea rcx, [0x1801aa790]
call fcn.18006675c
cmp dword [0x1801aa790], 0xffffffff
jne 0x18000c881
mov ecx, 0x24cf107d
call fcn.18000778c
lea rcx, [0x1801aa790]
mov qword [0x1801aae50], rax
call fcn.1800666f0
jmp 0x18000c881