Function at 0x180012c14
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 [0x1802ce19d], 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 0x180012cab
movss xmm0, dword [0x180303d00]
ucomiss xmm0, xmm6
jne 0x180012c94
movss xmm0, dword [0x180303d04]
ucomiss xmm0, xmm6
jne 0x180012c94
movss xmm0, dword [0x180303d08]
ucomiss xmm0, xmm6
je 0x180012cab
movsd xmm0, qword [0x180303d00]
mov eax, dword [0x180303d08]
movsd qword [rcx], xmm0
mov dword [rcx + 8], eax
jmp 0x180012ccf
mov rcx, qword [0x1802ce138]
lea rdx, [rbp - 0x49]
mov r8d, 0x2f
call fcn.180011774
movsd xmm0, qword [rax]
mov eax, dword [rax + 8]
movsd qword [rbx], xmm0
mov dword [rbx + 8], eax
mov rcx, qword [0x1802ce138]
call fcn.180011d80
mov esi, dword [0x1802cd9dc]
or r14, 0xffffffffffffffff
mov edx, 4
mov rdi, qword [rax]
test rdi, rdi
jne 0x180012cfc
xorps xmm10, xmm10
xorps xmm11, xmm11
jmp 0x180012d3c
mov rax, qword gs:[0x58]
mov rcx, qword [rax + rsi*8]
mov eax, dword [rdx + rcx]
cmp dword [0x1803048b4], eax
jg 0x1800133d4
mov rax, qword [0x180304218]
movsd xmm0, qword [rdi + rax]
mov eax, dword [rdi + rax + 8]
movsd qword [rbp - 0x49], xmm0
movss xmm10, dword [rbp - 0x49]
mov dword [rbp - 0x41], eax
movss xmm11, dword [rbp - 0x41]
call fcn.180011dfc
mov rcx, rax
call fcn.1800568d4
mov r12, rax
test rax, rax
je 0x180013392
mov r8, qword [rax]
test r8, r8
je 0x180013392
mov r9, qword [r8 + 0x10]
lea r11, [0x180177e30]
or edi, 0xffffffff
mov r15d, 0x479168ed
test r9, r9
je 0x180012db2
mov edx, edi
mov rax, r14
inc rax
cmp byte [r9 + rax], r13b
jne 0x180012d7f
test eax, eax
je 0x180012dab
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 0x180012d8f
not edx
cmp edx, r15d
je 0x180012dfe
mov r9, qword [r8 + 0x10]
test r9, r9
je 0x180013392
mov edx, edi
mov rax, r14
inc rax
cmp byte [r9 + rax], r13b
jne 0x180012dc4
test eax, eax
je 0x180012df0
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 0x180012dd4
not edx
cmp edx, 0x407209f5
jne 0x180013392
mov r9, qword [r8 + 0x10]
test r9, r9
je 0x180012fef
mov edx, edi
mov rax, r14
inc rax
cmp byte [r9 + rax], r13b
jne 0x180012e10
test eax, eax
je 0x180012fef
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 0x180012e24
not edx
cmp edx, r15d
jne 0x180012fef
call fcn.180011dfc
mov rcx, rax
call fcn.180011b2c
mov rcx, rax
call fcn.180011028
mov rcx, qword [rax]
call fcn.180010118
cmp dword [rax], 0x5bd8cc17
je 0x180012ea0
call fcn.180011dfc
mov rcx, rax
call fcn.180011b2c
mov rcx, rax
call fcn.180011028
mov rcx, qword [rax]
call fcn.180010118
cmp dword [rax], 0x5f867078
je 0x180012ea0
movsd xmm9, qword [0x180183ed0]
jmp 0x180012ea9
movsd xmm9, qword [0x180183ee8]
call fcn.180011dfc
mov rcx, rax
call fcn.180011318
lea rdx, [rbp - 0x39]
mov rcx, qword [rax]
call fcn.180010e9c
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.180012b70
movss xmm1, dword [0x180183e74]
mulss xmm10, dword [0x180183e30]
mulss xmm11, dword [0x180183e30]
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.180011dfc
mov rcx, rax
call fcn.180011318
lea rdx, [rbp - 0x39]
mov rcx, qword [rax]
call fcn.180010e9c
movss xmm0, dword [rbx + 4]
subss xmm0, dword [rax + 4]
cvtps2pd xmm6, xmm0
call fcn.180011dfc
mov rcx, rax
call fcn.180011318
lea rdx, [rbp - 0x39]
mov rcx, qword [rax]
call fcn.180010e9c
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.180012b70
xorps xmm1, xmm1
cvtss2sd xmm1, xmm0
mulsd xmm6, xmm1
divsd xmm7, xmm6
mulsd xmm9, xmm7
mulsd xmm9, xmm7
cvtpd2ps xmm0, xmm9
jmp 0x180013388
mov rax, qword gs:[0x58]
mov edx, 4
mov r14d, edx
mov r15, qword [rax + rsi*8]
mov eax, dword [r15 + rdx]
cmp dword [0x180304d34], eax
jg 0x18001340f
cmp qword [0x180304648], r13
je 0x180013392
mov rcx, r12
call fcn.18001058c
mov rsi, qword [rax]
test rsi, rsi
je 0x180013392
mov eax, dword [r15 + r14]
cmp dword [0x180304c88], eax
jg 0x18001344c
mov rax, qword [0x180304d70]
mov r13, qword [rsi + rax]
test r13, r13
je 0x180013392
mov rsi, qword [0x180304648]
test rsi, rsi
je 0x180013392
mov eax, dword [r15 + r14]
cmp dword [0x180304a80], eax
jg 0x180013487
mov rax, qword [0x180304938]
mov rdx, rsi
mov rcx, r13
call rax
xor r13d, r13d
mov rsi, rax
test rax, rax
je 0x180013392
cmp byte [0x1802ce174], r13b
movss xmm7, dword [0x180183e74]
je 0x1800130b3
movss xmm8, dword [0x1801b72bc]
jmp 0x1800130b7
movaps xmm8, xmm7
mov rax, qword [0x180303eb0]
mov rcx, rsi
call rax
mov eax, dword [r15 + r14]
movaps xmm9, xmm0
cmp dword [0x180304298], eax
jg 0x1800134c5
mov rax, qword [0x180304140]
mov rdx, qword [r12]
mulss xmm8, xmm9
mulss xmm8, dword [rax + r12]
test rdx, rdx
je 0x180013192
mov rdx, qword [rdx + 0x10]
test rdx, rdx
je 0x180013192
or rax, 0xffffffffffffffff
inc rax
cmp byte [rdx + rax], r13b
jne 0x180013107
test eax, eax
je 0x180013192
mov r8d, eax
lea r9, [0x180177e30]
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 0x18001311e
not edi
cmp edi, 0x643e3521
jne 0x180013192
cmp byte [0x1802ce174], r13b
je 0x180013157
movss xmm8, dword [0x1801b72bc]
jmp 0x18001315b
movaps xmm8, xmm7
mov rax, qword [0x180303eb0]
mov rcx, rsi
call rax
mov eax, dword [r15 + r14]
movaps xmm7, xmm0
cmp dword [0x180304338], eax
jg 0x180013500
mov rax, qword [0x180304c60]
xor edx, edx
mov rcx, r12
call rax
mulss xmm8, xmm7
mulss xmm8, xmm0
ucomiss xmm8, xmm6
je 0x180013392
mov eax, dword [r15 + r14]
cmp dword [0x1803043f0], eax
jg 0x18001353e
mov rax, qword [0x1803044a0]
mov rcx, qword [rsi + rax]
test rcx, rcx
jne 0x1800131c1
mov rdi, r13
jmp 0x1800131e4
mov eax, dword [r15 + r14]
cmp dword [0x1803042b0], eax
mov rdi, qword [rcx + 0x10]
jg 0x180013579
mov rax, qword [0x180304120]
mov rcx, rdi
call rax
mov rdi, rax
lea rcx, str.Projectile__Assembly_CSharp
call fcn.18000fb38
mov rsi, rax
test rdi, rdi
je 0x180013392
test rax, rax
je 0x180013392
mov ecx, dword [r15 + r14]
cmp dword [0x180304470], ecx
jg 0x1800135b7
mov rax, qword [0x180304100]
mov rdx, rsi
mov rcx, rdi
call rax
mov rdi, rax
test rax, rax
je 0x180013392
call fcn.180011dfc
mov rcx, rax
call fcn.180011318
lea rdx, [rbp - 0x39]
mov rcx, qword [rax]
call fcn.180010e9c
movss xmm3, dword [rbx + 8]
movss xmm1, dword [rbx + 4]
movaps xmm2, xmm3
mulss xmm10, dword [0x180183e30]
subss xmm2, dword [rax + 8]
movsd xmm0, qword [rax]
mulss xmm11, dword [0x180183e30]
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 xmm0, xmm1
addss xmm0, xmm2
xorps xmm2, xmm2
sqrtss xmm2, xmm0
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.180011dfc
mov rcx, rax
call fcn.180011318
lea rdx, [rbp - 0x39]
mov rcx, qword [rax]
call fcn.180010e9c
movss xmm0, dword [rbx + 4]
subss xmm0, dword [rax + 4]
cvtps2pd xmm9, xmm0
call fcn.180011dfc
mov rcx, rax
call fcn.180011318
lea rdx, [rbp - 0x39]
mov rcx, qword [rax]
call fcn.180010e9c
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 [0x180304310], eax
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
sqrtss xmm7, xmm0
jg 0x1800135f5
mov rax, qword [0x180304a98]
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 [0x180183e0c]
xorps xmm1, xmm1
cvtss2sd xmm1, xmm8
mulsd xmm0, xmm1
divsd xmm7, xmm0
cvtps2pd xmm0, xmm6
mulsd xmm0, xmm7
mulsd xmm7, qword [0x180183ee0]
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, [0x1803048b4]
call fcn.18008ec68
cmp dword [0x1803048b4], r14d
jne 0x180012d18
mov ecx, 0xcf100582
call fcn.18000d29c
lea rcx, [0x1803048b4]
mov qword [0x180304218], rax
call fcn.18008ec08
jmp 0x180012d18
lea rcx, [0x180304d34]
call fcn.18008ec68
cmp dword [0x180304d34], 0xffffffff
jne 0x180013014
lea rcx, str.ItemModProjectile__Assembly_CSharp
call fcn.18000fb38
lea rcx, [0x180304d34]
mov qword [0x180304648], rax
call fcn.18008ec08
jmp 0x180013014
lea rcx, [0x180304c88]
call fcn.18008ec68
cmp dword [0x180304c88], 0xffffffff
jne 0x180013045
mov ecx, 0xd10dec8f
call fcn.18000d29c
lea rcx, [0x180304c88]
mov qword [0x180304d70], rax
call fcn.18008ec08
jmp 0x180013045
lea rcx, [0x180304a80]
call fcn.18008ec68
cmp dword [0x180304a80], 0xffffffff
jne 0x180013079
mov ecx, 0x726340ef
call fcn.18000bee4
lea rcx, [0x180304a80]
mov r8, qword [rax]
mov qword [0x180304938], r8
call fcn.18008ec08
jmp 0x180013079
lea rcx, [0x180304298]
call fcn.18008ec68
cmp dword [0x180304298], 0xffffffff
jne 0x1800130d7
mov ecx, 0xcdd491cf
call fcn.18000d29c
lea rcx, [0x180304298]
mov qword [0x180304140], rax
call fcn.18008ec08
jmp 0x1800130d7
lea rcx, [0x180304338]
call fcn.18008ec68
cmp dword [0x180304338], 0xffffffff
jne 0x18001317a
mov ecx, 0xe205489c
call fcn.18000bee4
lea rcx, [0x180304338]
mov rdx, qword [rax]
mov qword [0x180304c60], rdx
call fcn.18008ec08
jmp 0x18001317a
lea rcx, [0x1803043f0]
call fcn.18008ec68
cmp dword [0x1803043f0], 0xffffffff
jne 0x1800131ac
mov ecx, 0xc2fb7f15
call fcn.18000d29c
lea rcx, [0x1803043f0]
mov qword [0x1803044a0], rax
call fcn.18008ec08
jmp 0x1800131ac
lea rcx, [0x1803042b0]
call fcn.18008ec68
cmp dword [0x1803042b0], 0xffffffff
jne 0x1800131d5
mov ecx, 0xad5514be
call fcn.18000bee4
lea rcx, [0x1803042b0]
mov rdx, qword [rax]
mov qword [0x180304120], rdx
call fcn.18008ec08
jmp 0x1800131d5
lea rcx, [0x180304470]
call fcn.18008ec68
cmp dword [0x180304470], 0xffffffff
jne 0x180013215
mov ecx, 0xe2084f16
call fcn.18000bee4
lea rcx, [0x180304470]
mov rdx, qword [rax]
mov qword [0x180304100], rdx
call fcn.18008ec08
jmp 0x180013215
lea rcx, [0x180304310]
call fcn.18008ec68
cmp dword [0x180304310], 0xffffffff
jne 0x180013339
mov ecx, 0x24cf107d
call fcn.18000d29c
lea rcx, [0x180304310]
mov qword [0x180304a98], rax
call fcn.18008ec08
jmp 0x180013339