Function at 0x18000c958
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 0x18000ca40
mov rcx, qword [0x1801bfd38]
call fcn.18000a0cc
lea rdx, [rbp - 0x39]
mov rcx, rax
call fcn.180009ee4
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 [0x180159684]
movss dword [rbx + 4], xmm0
movss dword [rbx + 8], xmm1
mov r14, qword [0x1801bfd38]
mov r15d, dword [0x1801bf720]
test r14, r14
jne 0x18000ca04
and dword [rbp - 0x49], r12d
and dword [rbp - 0x45], r12d
and dword [rbp - 0x41], r12d
jmp 0x18000ca2d
mov rax, qword gs:[0x58]
mov rax, qword [rax + r15*8]
mov eax, dword [rsi + rax]
cmp dword [0x1801c0490], eax
jg 0x18000d11f
mov rdx, r14
lea rcx, [rbp - 0x49]
call qword [0x1801c0210]
movsd xmm0, qword [rbp - 0x49]
mov r12d, dword [rbp - 0x41]
movsd qword [rbp - 0x39], xmm0
jmp 0x18000cb11
cmp byte [0x1801bfdfa], r12b
xorps xmm6, xmm6
je 0x18000ca8a
movss xmm0, dword [0x1801bff88]
ucomiss xmm0, xmm6
jne 0x18000ca73
movss xmm0, dword [0x1801bff8c]
ucomiss xmm0, xmm6
jne 0x18000ca73
movss xmm0, dword [0x1801bff90]
ucomiss xmm0, xmm6
je 0x18000ca8a
movsd xmm0, qword [0x1801bff88]
mov eax, dword [0x1801bff90]
movsd qword [rcx], xmm0
mov dword [rcx + 8], eax
jmp 0x18000caae
mov rcx, qword [0x1801bfdc8]
lea rdx, [rbp - 0x39]
mov r8d, 0x2f
call fcn.18000b6f8
movsd xmm0, qword [rax]
mov eax, dword [rax + 8]
movsd qword [rbx], xmm0
mov dword [rbx + 8], eax
mov rcx, qword [0x1801bfdc8]
call fcn.18000bc20
mov r15d, dword [0x1801bf720]
mov esi, 4
mov r14, qword [rax]
test r14, r14
jne 0x18000cade
xorps xmm0, xmm0
movd r12d, xmm6
unpcklps xmm0, xmm6
movaps xmm1, xmm0
jmp 0x18000cb0c
mov rax, qword gs:[0x58]
mov rax, qword [rax + r15*8]
mov eax, dword [rsi + rax]
cmp dword [0x1801c0924], eax
jg 0x18000d15d
mov rax, qword [0x1801c0310]
movsd xmm1, qword [r14 + rax]
mov r12d, dword [r14 + rax + 8]
movsd qword [rbp - 0x39], xmm1
mov dword [rbp + 0x6f], r12d
call fcn.18000bc9c
mov rcx, rax
call fcn.18002f4a0
mov r13, rax
test rax, rax
je 0x18000d0e6
mov r8, qword [rax]
lea r10, [0x18014fbe0]
or r14d, 0xffffffff
test r8, r8
je 0x18000cd3e
mov r8, qword [r8 + 0x10]
test r8, r8
je 0x18000cd3e
mov edx, r14d
or rax, 0xffffffffffffffff
inc rax
cmp byte [r8 + rax], 0
jne 0x18000cb59
test eax, eax
je 0x18000cd3e
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 0x18000cb6e
not edx
cmp edx, 0x479168ed
jne 0x18000cd3e
call fcn.18000bc9c
mov rcx, rax
call fcn.18000b9cc
mov rcx, rax
call fcn.18000b028
mov rcx, qword [rax]
call fcn.18000a68c
cmp dword [rax], 0x5bd8cc17
je 0x18000cbed
call fcn.18000bc9c
mov rcx, rax
call fcn.18000b9cc
mov rcx, rax
call fcn.18000b028
mov rcx, qword [rax]
call fcn.18000a68c
cmp dword [rax], 0x5f867078
je 0x18000cbed
movsd xmm9, qword [0x1801596a8]
jmp 0x18000cbf6
movsd xmm9, qword [0x1801596c0]
call fcn.18000bc9c
mov rcx, rax
call fcn.18000b29c
lea rdx, [rbp - 0x29]
mov rcx, qword [rax]
call fcn.18000ae9c
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.18000c8d8
movss xmm3, dword [0x18015964c]
movss xmm1, dword [rbp - 0x39]
mulss xmm1, dword [0x180159610]
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 [0x180159610]
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.18000bc9c
mov rcx, rax
call fcn.18000b29c
lea rdx, [rbp - 0x29]
mov rcx, qword [rax]
call fcn.18000ae9c
movss xmm0, dword [rbx + 4]
subss xmm0, dword [rax + 4]
cvtps2pd xmm6, xmm0
call fcn.18000bc9c
mov rcx, rax
call fcn.18000b29c
lea rdx, [rbp - 0x29]
mov rcx, qword [rax]
call fcn.18000ae9c
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.18000c8d8
xorps xmm1, xmm1
cvtss2sd xmm1, xmm0
mulsd xmm6, xmm1
divsd xmm7, xmm6
mulsd xmm9, xmm7
mulsd xmm9, xmm7
cvtpd2ps xmm0, xmm9
jmp 0x18000d0dc
mov rax, qword gs:[0x58]
mov ecx, r15d
mov r15d, esi
mov r12, qword [rax + rcx*8]
mov eax, dword [r12 + r15]
cmp dword [0x1801c0d1c], eax
jg 0x18000d198
cmp qword [0x1801c06f0], 0
je 0x18000d0e6
mov rcx, r13
call fcn.18000aa78
mov rsi, qword [rax]
test rsi, rsi
je 0x18000d0e6
mov eax, dword [r12 + r15]
cmp dword [0x1801c0c90], eax
jg 0x18000d1d5
mov rax, qword [0x1801c0d48]
mov rax, qword [rsi + rax]
mov qword [rbp + 0x67], rax
test rax, rax
je 0x18000d0e6
mov rsi, qword [0x1801c06f0]
test rsi, rsi
je 0x18000d0e6
mov eax, dword [r12 + r15]
cmp dword [0x1801c0ab0], eax
jg 0x18000d210
mov rax, qword [0x1801c09a0]
mov rdx, rsi
mov rcx, qword [rbp + 0x67]
call rax
mov rsi, rax
test rax, rax
je 0x18000d0e6
cmp byte [0x1801bfde5], 0
movss xmm7, dword [0x18015964c]
movss xmm9, dword [0x180159680]
je 0x18000ce07
movaps xmm8, xmm9
jmp 0x18000ce0b
movaps xmm8, xmm7
mov rax, qword [0x1801c0020]
mov rcx, rsi
call rax
mov eax, dword [r12 + r15]
movaps xmm10, xmm0
cmp dword [0x1801c0388], eax
jg 0x18000d24e
mov rax, qword [0x1801c0248]
mov rdx, qword [r13]
mulss xmm8, xmm10
mulss xmm8, dword [rax + r13]
test rdx, rdx
je 0x18000cee5
mov rdx, qword [rdx + 0x10]
test rdx, rdx
je 0x18000cee5
or rax, 0xffffffffffffffff
inc rax
cmp byte [rdx + rax], 0
jne 0x18000ce5b
test eax, eax
je 0x18000cee5
mov r8d, eax
lea r9, [0x18014fbe0]
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 0x18000ce72
not r14d
cmp r14d, 0x643e3521
jne 0x18000cee5
cmp byte [0x1801bfde5], r8b
je 0x18000ceaa
movaps xmm8, xmm9
jmp 0x18000ceae
movaps xmm8, xmm7
mov rax, qword [0x1801c0020]
mov rcx, rsi
call rax
mov eax, dword [r12 + r15]
movaps xmm7, xmm0
cmp dword [0x1801c0420], eax
jg 0x18000d289
mov rax, qword [0x1801c0c68]
xor edx, edx
mov rcx, r13
call rax
mulss xmm8, xmm7
mulss xmm8, xmm0
ucomiss xmm8, xmm6
je 0x18000d0e6
mov eax, dword [r12 + r15]
cmp dword [0x1801c04c0], eax
jg 0x18000d2c7
mov rax, qword [0x1801c0568]
mov rcx, qword [rsi + rax]
test rcx, rcx
jne 0x18000cf13
xor esi, esi
jmp 0x18000cf36
mov eax, dword [r12 + r15]
cmp dword [0x1801c03a0], eax
mov rsi, qword [rcx + 0x10]
jg 0x18000d302
mov rax, qword [0x1801c0228]
mov rcx, rsi
call rax
mov rsi, rax
lea rcx, str.Projectile__Assembly_CSharp
call fcn.18000a030
mov r14, rax
test rsi, rsi
je 0x18000d0e6
test rax, rax
je 0x18000d0e6
mov ecx, dword [r12 + r15]
cmp dword [0x1801c0538], ecx
jg 0x18000d340
mov rax, qword [0x1801c0200]
mov rdx, r14
mov rcx, rsi
call rax
mov rsi, rax
test rax, rax
je 0x18000d0e6
call fcn.18000bc9c
mov rcx, rax
call fcn.18000b29c
lea rdx, [rbp - 0x29]
mov rcx, qword [rax]
call fcn.18000ae9c
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 [0x180159610]
addss xmm1, xmm2
sqrtss xmm4, xmm1
movss xmm1, dword [rbp - 0x39]
mulss xmm1, dword [0x180159610]
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.18000bc9c
mov rcx, rax
call fcn.18000b29c
lea rdx, [rbp - 0x29]
mov rcx, qword [rax]
call fcn.18000ae9c
movss xmm0, dword [rbx + 4]
subss xmm0, dword [rax + 4]
cvtps2pd xmm9, xmm0
call fcn.18000bc9c
mov rcx, rax
call fcn.18000b29c
lea rdx, [rbp - 0x29]
mov rcx, qword [rax]
call fcn.18000ae9c
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 [0x1801c03f8], eax
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
sqrtss xmm7, xmm0
jg 0x18000d37e
mov rax, qword [0x1801c0ac8]
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 [0x1801595ec]
xorps xmm1, xmm1
cvtss2sd xmm1, xmm8
mulsd xmm0, xmm1
divsd xmm7, xmm0
cvtps2pd xmm0, xmm6
mulsd xmm0, xmm7
mulsd xmm7, qword [0x1801596b8]
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, [0x1801c0490]
call fcn.18006717c
cmp dword [0x1801c0490], 0xffffffff
jne 0x18000ca20
mov ecx, 0x1e3bf1a8
call fcn.1800065f4
lea rcx, [0x1801c0490]
mov r8, qword [rax]
mov qword [0x1801c0210], r8
call fcn.180067110
jmp 0x18000ca20
lea rcx, [0x1801c0924]
call fcn.18006717c
cmp dword [0x1801c0924], 0xffffffff
jne 0x18000cafa
mov ecx, 0xcf100582
call fcn.180007680
lea rcx, [0x1801c0924]
mov qword [0x1801c0310], rax
call fcn.180067110
jmp 0x18000cafa
lea rcx, [0x1801c0d1c]
call fcn.18006717c
cmp dword [0x1801c0d1c], 0xffffffff
jne 0x18000cd61
lea rcx, str.ItemModProjectile__Assembly_CSharp
call fcn.18000a030
lea rcx, [0x1801c0d1c]
mov qword [0x1801c06f0], rax
call fcn.180067110
jmp 0x18000cd61
lea rcx, [0x1801c0c90]
call fcn.18006717c
cmp dword [0x1801c0c90], 0xffffffff
jne 0x18000cd93
mov ecx, 0xd10dec8f
call fcn.180007680
lea rcx, [0x1801c0c90]
mov qword [0x1801c0d48], rax
call fcn.180067110
jmp 0x18000cd93
lea rcx, [0x1801c0ab0]
call fcn.18006717c
cmp dword [0x1801c0ab0], 0xffffffff
jne 0x18000cdcb
mov ecx, 0x726340ef
call fcn.1800065f4
lea rcx, [0x1801c0ab0]
mov r8, qword [rax]
mov qword [0x1801c09a0], r8
call fcn.180067110
jmp 0x18000cdcb
lea rcx, [0x1801c0388]
call fcn.18006717c
cmp dword [0x1801c0388], 0xffffffff
jne 0x18000ce2b
mov ecx, 0xcdd491cf
call fcn.180007680
lea rcx, [0x1801c0388]
mov qword [0x1801c0248], rax
call fcn.180067110
jmp 0x18000ce2b
lea rcx, [0x1801c0420]
call fcn.18006717c
cmp dword [0x1801c0420], 0xffffffff
jne 0x18000cecd
mov ecx, 0xe205489c
call fcn.1800065f4
lea rcx, [0x1801c0420]
mov rdx, qword [rax]
mov qword [0x1801c0c68], rdx
call fcn.180067110
jmp 0x18000cecd
lea rcx, [0x1801c04c0]
call fcn.18006717c
cmp dword [0x1801c04c0], 0xffffffff
jne 0x18000ceff
mov ecx, 0xc2fb7f15
call fcn.180007680
lea rcx, [0x1801c04c0]
mov qword [0x1801c0568], rax
call fcn.180067110
jmp 0x18000ceff
lea rcx, [0x1801c03a0]
call fcn.18006717c
cmp dword [0x1801c03a0], 0xffffffff
jne 0x18000cf27
mov ecx, 0xad5514be
call fcn.1800065f4
lea rcx, [0x1801c03a0]
mov rdx, qword [rax]
mov qword [0x1801c0228], rdx
call fcn.180067110
jmp 0x18000cf27
lea rcx, [0x1801c0538]
call fcn.18006717c
cmp dword [0x1801c0538], 0xffffffff
jne 0x18000cf67
mov ecx, 0xe2084f16
call fcn.1800065f4
lea rcx, [0x1801c0538]
mov rdx, qword [rax]
mov qword [0x1801c0200], rdx
call fcn.180067110
jmp 0x18000cf67
lea rcx, [0x1801c03f8]
call fcn.18006717c
cmp dword [0x1801c03f8], 0xffffffff
jne 0x18000d08d
mov ecx, 0x24cf107d
call fcn.180007680
lea rcx, [0x1801c03f8]
mov qword [0x1801c0ac8], rax
call fcn.180067110
jmp 0x18000d08d