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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
movaps xmmword [rax - 0x38], xmm6
xor r13d, r13d
cmp byte [0x1802ce20d], r13b
mov rbx, rcx
movaps xmmword [rax - 0x48], xmm7
xorps xmm6, xmm6
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
movaps xmmword [rsp + 0x40], xmm11
mov qword [rcx + 4], r13
mov dword [rcx], r13d
je 0x180012f9f
movss xmm0, dword [0x180303d78]
ucomiss xmm0, xmm6
jne 0x180012f88
movss xmm0, dword [0x180303d7c]
ucomiss xmm0, xmm6
jne 0x180012f88
movss xmm0, dword [0x180303d80]
ucomiss xmm0, xmm6
je 0x180012f9f
movsd xmm0, qword [0x180303d78]
mov eax, dword [0x180303d80]
movsd qword [rcx], xmm0
mov dword [rcx + 8], eax
jmp 0x180012fc3
mov rcx, qword [0x1802ce1a8]
lea rdx, [rbp - 0x49]
mov r8d, 0x2f
call fcn.180011a88
movsd xmm0, qword [rax]
mov eax, dword [rax + 8]
movsd qword [rbx], xmm0
mov dword [rbx + 8], eax
mov rcx, qword [0x1802ce1a8]
call fcn.180012094
mov esi, dword [0x1802cda40]
or r14, 0xffffffffffffffff
mov edx, 4
mov rdi, qword [rax]
test rdi, rdi
jne 0x180012ff0
xorps xmm10, xmm10
xorps xmm11, xmm11
jmp 0x18001302a
mov rax, qword gs:[0x58]
mov rax, qword [rax + rsi*8]
mov eax, dword [rdx + rax]
cmp dword [0x180304934], eax
jg 0x1800136c2
mov rax, qword [0x180304298]
movsd xmm0, qword [rdi + rax]
movss xmm11, dword [rdi + rax + 8]
movsd qword [rbp - 0x49], xmm0
movss xmm10, dword [rbp - 0x49]
call fcn.180012110
mov rcx, rax
call fcn.180056ce4
mov r12, rax
test rax, rax
je 0x180013680
mov r8, qword [rax]
test r8, r8
je 0x180013680
mov r9, qword [r8 + 0x10]
lea r11, [0x180177d90]
or edi, 0xffffffff
mov r15d, 0x479168ed
test r9, r9
je 0x1800130a0
mov edx, edi
mov rax, r14
inc rax
cmp byte [r9 + rax], r13b
jne 0x18001306d
test eax, eax
je 0x180013099
mov r10d, eax
movsx ecx, byte [r9]
mov eax, edx
xor rcx, rax
shr edx, 8
movzx eax, cl
inc r9
xor edx, dword [r11 + rax*4]
sub r10, 1
jne 0x18001307d
not edx
cmp edx, r15d
je 0x1800130ec
mov r9, qword [r8 + 0x10]
test r9, r9
je 0x180013680
mov edx, edi
mov rax, r14
inc rax
cmp byte [r9 + rax], r13b
jne 0x1800130b2
test eax, eax
je 0x1800130de
mov r10d, eax
movsx ecx, byte [r9]
mov eax, edx
xor rcx, rax
shr edx, 8
movzx eax, cl
inc r9
xor edx, dword [r11 + rax*4]
sub r10, 1
jne 0x1800130c2
not edx
cmp edx, 0x407209f5
jne 0x180013680
mov r9, qword [r8 + 0x10]
test r9, r9
je 0x1800132dd
mov edx, edi
mov rax, r14
inc rax
cmp byte [r9 + rax], r13b
jne 0x1800130fe
test eax, eax
je 0x1800132dd
mov r8d, eax
movsx ecx, byte [r9]
mov eax, edx
xor rcx, rax
shr edx, 8
movzx eax, cl
inc r9
xor edx, dword [r11 + rax*4]
sub r8, 1
jne 0x180013112
not edx
cmp edx, r15d
jne 0x1800132dd
call fcn.180012110
mov rcx, rax
call fcn.180011e40
mov rcx, rax
call fcn.18001133c
mov rcx, qword [rax]
call fcn.180010398
cmp dword [rax], 0x5bd8cc17
je 0x18001318e
call fcn.180012110
mov rcx, rax
call fcn.180011e40
mov rcx, rax
call fcn.18001133c
mov rcx, qword [rax]
call fcn.180010398
cmp dword [rax], 0x5f867078
je 0x18001318e
movsd xmm9, qword [0x180184040]
jmp 0x180013197
movsd xmm9, qword [0x180184058]
call fcn.180012110
mov rcx, rax
call fcn.18001162c
lea rdx, [rbp - 0x39]
mov rcx, qword [rax]
call fcn.1800111b0
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.180012e64
movss xmm1, dword [0x180183fe4]
mulss xmm10, dword [0x180183fa8]
mulss xmm11, dword [0x180183fa8]
divss xmm1, xmm0
mulss xmm8, xmm8
xorps xmm0, xmm0
mulss xmm7, xmm7
mulss xmm6, xmm6
addss xmm8, xmm7
addss xmm8, xmm6
sqrtss xmm0, xmm8
mulss xmm1, xmm0
mulss xmm10, xmm1
mulss xmm11, xmm1
addss xmm10, dword [rbx]
addss xmm11, dword [rbx + 8]
movss dword [rbx], xmm10
movss dword [rbx + 8], xmm11
call fcn.180012110
mov rcx, rax
call fcn.18001162c
lea rdx, [rbp - 0x39]
mov rcx, qword [rax]
call fcn.1800111b0
movss xmm0, dword [rbx + 4]
subss xmm0, dword [rax + 4]
cvtps2pd xmm6, xmm0
call fcn.180012110
mov rcx, rax
call fcn.18001162c
lea rdx, [rbp - 0x39]
mov rcx, qword [rax]
call fcn.1800111b0
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.180012e64
xorps xmm1, xmm1
cvtss2sd xmm1, xmm0
mulsd xmm6, xmm1
divsd xmm7, xmm6
mulsd xmm9, xmm7
mulsd xmm9, xmm7
cvtpd2ps xmm0, xmm9
jmp 0x180013676
mov rax, qword gs:[0x58]
mov edx, 4
mov r14d, edx
mov r15, qword [rax + rsi*8]
mov eax, dword [r15 + rdx]
cmp dword [0x180304db4], eax
jg 0x1800136fd
cmp qword [0x1803046c8], r13
je 0x180013680
mov rcx, r12
call fcn.18001080c
mov rsi, qword [rax]
test rsi, rsi
je 0x180013680
mov eax, dword [r15 + r14]
cmp dword [0x180304d08], eax
jg 0x18001373a
mov rax, qword [0x180304df0]
mov r13, qword [rsi + rax]
test r13, r13
je 0x180013680
mov rsi, qword [0x1803046c8]
test rsi, rsi
je 0x180013680
mov eax, dword [r15 + r14]
cmp dword [0x180304b00], eax
jg 0x180013775
mov rax, qword [0x1803049b8]
mov rdx, rsi
mov rcx, r13
call rax
xor r13d, r13d
mov rsi, rax
test rax, rax
je 0x180013680
cmp byte [0x1802ce1e4], r13b
movss xmm7, dword [0x180183fe4]
je 0x1800133a1
movss xmm8, dword [0x1801b7358]
jmp 0x1800133a5
movaps xmm8, xmm7
mov rax, qword [0x180303f28]
mov rcx, rsi
call rax
mov eax, dword [r15 + r14]
movaps xmm9, xmm0
cmp dword [0x180304318], eax
jg 0x1800137b3
mov rax, qword [0x1803041c0]
mov rdx, qword [r12]
mulss xmm8, xmm9
mulss xmm8, dword [rax + r12]
test rdx, rdx
je 0x180013480
mov rdx, qword [rdx + 0x10]
test rdx, rdx
je 0x180013480
or rax, 0xffffffffffffffff
inc rax
cmp byte [rdx + rax], r13b
jne 0x1800133f5
test eax, eax
je 0x180013480
mov r8d, eax
lea r9, [0x180177d90]
movsx ecx, byte [rdx]
mov eax, edi
xor rcx, rax
shr edi, 8
movzx eax, cl
inc rdx
xor edi, dword [r9 + rax*4]
sub r8, 1
jne 0x18001340c
not edi
cmp edi, 0x643e3521
jne 0x180013480
cmp byte [0x1802ce1e4], r13b
je 0x180013445
movss xmm8, dword [0x1801b7358]
jmp 0x180013449
movaps xmm8, xmm7
mov rax, qword [0x180303f28]
mov rcx, rsi
call rax
mov eax, dword [r15 + r14]
movaps xmm7, xmm0
cmp dword [0x1803043b8], eax
jg 0x1800137ee
mov rax, qword [0x180304ce0]
xor edx, edx
mov rcx, r12
call rax
mulss xmm8, xmm7
mulss xmm8, xmm0
ucomiss xmm8, xmm6
je 0x180013680
mov eax, dword [r15 + r14]
cmp dword [0x180304470], eax
jg 0x18001382c
mov rax, qword [0x180304520]
mov rcx, qword [rsi + rax]
test rcx, rcx
jne 0x1800134af
mov rdi, r13
jmp 0x1800134d2
mov eax, dword [r15 + r14]
cmp dword [0x180304330], eax
mov rdi, qword [rcx + 0x10]
jg 0x180013867
mov rax, qword [0x1803041a0]
mov rcx, rdi
call rax
mov rdi, rax
lea rcx, str.Projectile__Assembly_CSharp
call fcn.18000fdb8
mov rsi, rax
test rdi, rdi
je 0x180013680
test rax, rax
je 0x180013680
mov ecx, dword [r15 + r14]
cmp dword [0x1803044f0], ecx
jg 0x1800138a5
mov rax, qword [0x180304180]
mov rdx, rsi
mov rcx, rdi
call rax
mov rdi, rax
test rax, rax
je 0x180013680
call fcn.180012110
mov rcx, rax
call fcn.18001162c
lea rdx, [rbp - 0x39]
mov rcx, qword [rax]
call fcn.1800111b0
movss xmm3, dword [rbx + 8]
movss xmm1, dword [rbx + 4]
movaps xmm2, xmm3
mulss xmm10, dword [0x180183fa8]
subss xmm2, dword [rax + 8]
movsd xmm0, qword [rax]
mulss xmm11, dword [0x180183fa8]
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
addss xmm1, xmm2
xorps xmm2, xmm2
sqrtss xmm2, xmm1
divss xmm2, xmm8
movaps xmm1, xmm2
mulss xmm10, xmm2
mulss xmm1, xmm11
addss xmm10, dword [rbx]
addss xmm3, xmm1
movss dword [rbx], xmm10
movss dword [rbx + 8], xmm3
call fcn.180012110
mov rcx, rax
call fcn.18001162c
lea rdx, [rbp - 0x39]
mov rcx, qword [rax]
call fcn.1800111b0
movss xmm0, dword [rbx + 4]
subss xmm0, dword [rax + 4]
cvtps2pd xmm9, xmm0
call fcn.180012110
mov rcx, rax
call fcn.18001162c
lea rdx, [rbp - 0x39]
mov rcx, qword [rax]
call fcn.1800111b0
movss xmm1, dword [rbx + 8]
xorps xmm7, xmm7
movss xmm0, dword [rbx]
subss xmm0, dword [rax]
subss xmm1, dword [rax + 8]
mov eax, dword [r15 + r14]
cmp dword [0x180304390], eax
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
sqrtss xmm7, xmm0
jg 0x1800138e3
mov rax, qword [0x180304b18]
movaps xmm0, xmm9
cvtps2pd xmm7, xmm7
movss xmm6, dword [rax + rdi]
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 [0x180183f84]
xorps xmm1, xmm1
cvtss2sd xmm1, xmm8
mulsd xmm0, xmm1
divsd xmm7, xmm0
cvtps2pd xmm0, xmm6
mulsd xmm0, xmm7
mulsd xmm7, qword [0x180184050]
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 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
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]
movaps xmm11, xmmword [r11 - 0x60]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea rcx, [0x180304934]
call fcn.18008eeac
cmp dword [0x180304934], r14d
jne 0x18001300c
mov ecx, 0xcf100582
call fcn.18000d550
lea rcx, [0x180304934]
mov qword [0x180304298], rax
call fcn.18008ee40
jmp 0x18001300c
lea rcx, [0x180304db4]
call fcn.18008eeac
cmp dword [0x180304db4], 0xffffffff
jne 0x180013302
lea rcx, str.ItemModProjectile__Assembly_CSharp
call fcn.18000fdb8
lea rcx, [0x180304db4]
mov qword [0x1803046c8], rax
call fcn.18008ee40
jmp 0x180013302
lea rcx, [0x180304d08]
call fcn.18008eeac
cmp dword [0x180304d08], 0xffffffff
jne 0x180013333
mov ecx, 0xd10dec8f
call fcn.18000d550
lea rcx, [0x180304d08]
mov qword [0x180304df0], rax
call fcn.18008ee40
jmp 0x180013333
lea rcx, [0x180304b00]
call fcn.18008eeac
cmp dword [0x180304b00], 0xffffffff
jne 0x180013367
mov ecx, 0x726340ef
call fcn.18000c274
lea rcx, [0x180304b00]
mov r8, qword [rax]
mov qword [0x1803049b8], r8
call fcn.18008ee40
jmp 0x180013367
lea rcx, [0x180304318]
call fcn.18008eeac
cmp dword [0x180304318], 0xffffffff
jne 0x1800133c5
mov ecx, 0xcdd491cf
call fcn.18000d550
lea rcx, [0x180304318]
mov qword [0x1803041c0], rax
call fcn.18008ee40
jmp 0x1800133c5
lea rcx, [0x1803043b8]
call fcn.18008eeac
cmp dword [0x1803043b8], 0xffffffff
jne 0x180013468
mov ecx, 0xe205489c
call fcn.18000c274
lea rcx, [0x1803043b8]
mov rdx, qword [rax]
mov qword [0x180304ce0], rdx
call fcn.18008ee40
jmp 0x180013468
lea rcx, [0x180304470]
call fcn.18008eeac
cmp dword [0x180304470], 0xffffffff
jne 0x18001349a
mov ecx, 0xc2fb7f15
call fcn.18000d550
lea rcx, [0x180304470]
mov qword [0x180304520], rax
call fcn.18008ee40
jmp 0x18001349a
lea rcx, [0x180304330]
call fcn.18008eeac
cmp dword [0x180304330], 0xffffffff
jne 0x1800134c3
mov ecx, 0xad5514be
call fcn.18000c274
lea rcx, [0x180304330]
mov rdx, qword [rax]
mov qword [0x1803041a0], rdx
call fcn.18008ee40
jmp 0x1800134c3
lea rcx, [0x1803044f0]
call fcn.18008eeac
cmp dword [0x1803044f0], 0xffffffff
jne 0x180013503
mov ecx, 0xe2084f16
call fcn.18000c274
lea rcx, [0x1803044f0]
mov rdx, qword [rax]
mov qword [0x180304180], rdx
call fcn.18008ee40
jmp 0x180013503
lea rcx, [0x180304390]
call fcn.18008eeac
cmp dword [0x180304390], 0xffffffff
jne 0x180013627
mov ecx, 0x24cf107d
call fcn.18000d550
lea rcx, [0x180304390]
mov qword [0x180304b18], rax
call fcn.18008ee40
jmp 0x180013627