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

Disassembly:
mov rax, rsp
mov dword [rax + 0x20], r9d
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
push rbp
push rbx
push rsi
push r15
lea rbp, [rax - 0x78]
sub rsp, 0x158
test byte [rcx + 0xc], 0x42
mov ebx, r9d
mov r15, qword [0x14011d300]
mov rsi, rcx
jne 0x140024100
cmp byte [rcx + 0xb0], 0
jg 0x140024100
cmp byte [rcx + 0xb1], 0
jg 0x140024100
cmp byte [rcx + 0x97], 0
je 0x140024100
movss xmm1, dword [r15 + 0x3c18]
movss xmm0, dword [rcx + 0x50]
movaps xmm2, xmm1
mulss xmm1, dword [0x1400ba2a4]
mov qword [rax - 0x28], rdi
mulss xmm2, dword [0x1400ba324]
mov qword [rax - 0x30], r12
movzx r12d, byte [r15 + 0x75]
mov qword [rax - 0x40], r14
movaps xmmword [rax - 0x58], xmm6
movaps xmmword [rax - 0x68], xmm7
movaps xmmword [rax - 0x78], xmm8
movss xmm8, dword [0x1400ba314]
movaps xmmword [rax - 0x88], xmm9
addss xmm0, xmm8
movaps xmmword [rax - 0x98], xmm10
movaps xmmword [rax - 0xa8], xmm11
xorps xmm11, xmm11
movaps xmmword [rax - 0xb8], xmm12
movaps xmmword [rax - 0xc8], xmm13
movaps xmmword [rax - 0xd8], xmm14
addss xmm0, xmm1
movaps xmmword [rax - 0xe8], xmm15
xorps xmm15, xmm15
mov byte [rbp + 0x80], 0
mov byte [rsp + 0x31], r12b
maxss xmm2, xmm0
xorps xmm0, xmm0
cvttss2si eax, xmm2
cvtsi2ss xmm0, eax
mulss xmm0, dword [0x1400ba2e8]
cvttss2si eax, xmm0
cvtsi2ss xmm11, eax
movss dword [rsp + 0x34], xmm11
test r12b, r12b
je 0x140023650
movss xmm7, dword [0x1400ba364]
jmp 0x140023653
xorps xmm7, xmm7
movss xmm12, dword [0x1400ba448]
xor edx, edx
movaps xmm13, xmm12
movss dword [rsp + 0x48], xmm7
movaps xmm14, xmm12
mov dword [rcx + 0x138], 1
movaps xmm10, xmm12
mov dword [rsp + 0x38], 0xcbd2c4b6
movaps xmm6, xmm12
mov dword [rsp + 0x3c], 0xdec0d0
nop
movsxd rcx, edx
lea eax, [rdx - 0x6b]
inc edx
xor byte [rsp + rcx + 0x38], al
cmp edx, 7
jb 0x140023690
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x140], r13
mov byte [rsp + 0x3f], 0
call fcn.140027d90
movss xmm9, dword [0x1400ba490]
lea r11, [0x1400b8170]
xor r14d, r14d
test ebx, ebx
mov dword [rsp + 0x38], r14d
mov rbx, qword [0x14011d300]
jle 0x140023b08
mov r13, qword [rbp + 0xa0]
lea rdi, [0x1400b8118]
nop dword [rax]
movss xmm0, dword [rsi + 0x18]
movss xmm1, dword [rsi + 0x1c]
movaps xmm3, xmm0
addss xmm3, dword [rsi + 0x20]
movaps xmm2, xmm1
addss xmm2, dword [rsi + 0x24]
subss xmm3, xmm0
subss xmm2, xmm1
mulss xmm3, dword [rdi - 8]
mulss xmm2, dword [rdi - 4]
addss xmm3, xmm0
movss xmm0, dword [rdi]
movaps xmm5, xmm0
mulss xmm0, xmm7
addss xmm2, xmm1
mulss xmm5, xmm11
movss xmm1, dword [rdi + 4]
movaps xmm4, xmm1
mulss xmm1, xmm7
addss xmm5, xmm3
mulss xmm4, xmm11
subss xmm3, xmm0
addss xmm4, xmm2
subss xmm2, xmm1
movss dword [rsp + 0x68], xmm5
comiss xmm3, xmm5
movss dword [rsp + 0x60], xmm3
movss dword [rsp + 0x64], xmm2
movss dword [rsp + 0x6c], xmm4
jbe 0x14002377e
movss dword [rsp + 0x60], xmm5
movss dword [rsp + 0x68], xmm3
comiss xmm2, xmm4
jbe 0x14002378f
movss dword [rsp + 0x64], xmm4
movss dword [rsp + 0x6c], xmm2
movsxd rcx, dword [rsi + 0xd0]
mov rax, qword [rsi + 0xd8]
mov edx, dword [rax + rcx*4 - 4]
not edx
movzx eax, r14b
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0x39]
xor edx, dword [r11 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0x3a]
xor edx, dword [r11 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0x3b]
xor edx, dword [r11 + rcx*4]
movzx ecx, dl
shr edx, 8
xor rcx, rax
xor edx, dword [r11 + rcx*4]
not edx
cmp dword [rbx + 0x3ef4], edx
jne 0x1400237fa
mov dword [rbx + 0x3ef8], edx
cmp dword [rbx + 0x3f40], edx
jne 0x140023809
mov byte [rbx + 0x3f44], 1
lea r9, [rsp + 0x32]
mov dword [rsp + 0x20], 0x40800
lea r8, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.140045710
movzx r12d, byte [rsp + 0x30]
movzx ebx, byte [rsp + 0x32]
test r12b, r12b
jne 0x14002383d
test bl, bl
je 0x140023a75
mov eax, r14d
not eax
and eax, 1
add eax, 5
mov dword [r15 + 0x4248], eax
test bl, bl
je 0x140023a75
cmp word [r15 + 0x36ba], 2
jne 0x1400238a3
test r14d, r14d
jne 0x1400238a3
mov r8, qword [rbp + 0x88]
lea rcx, [rsp + 0x70]
mov rdx, rsi
call fcn.140022e10
mov byte [rbp + 0x80], 1
movss xmm10, dword [rax]
movss xmm6, dword [rax + 4]
call fcn.14001d910
test bl, bl
je 0x140023a94
mov eax, 0x20
jmp 0x140023aa0
movss xmm11, dword [rdi - 4]
ucomiss xmm11, xmm8
jp 0x1400238bf
jne 0x1400238bf
mov rax, qword [rbp + 0xa8]
movss xmm7, dword [rax + 4]
jmp 0x1400238ca
mov rax, qword [rbp + 0xa8]
movaps xmm7, xmm9
movss xmm10, dword [rdi - 8]
ucomiss xmm10, xmm8
jp 0x1400238de
jne 0x1400238de
movss xmm6, dword [rax]
jmp 0x1400238e2
movaps xmm6, xmm9
ucomiss xmm11, xmm15
jp 0x1400238f2
jne 0x1400238f2
movss xmm9, dword [rax + 0xc]
jmp 0x1400238f6
movaps xmm9, xmm12
ucomiss xmm10, xmm15
jp 0x140023906
jne 0x140023906
movss xmm8, dword [rax + 8]
jmp 0x14002390a
movaps xmm8, xmm12
movss xmm3, dword [rdi + 4]
movss xmm4, dword [rdi]
movaps xmm1, xmm3
mulss xmm1, dword [rsp + 0x48]
movaps xmm0, xmm4
mulss xmm0, dword [rsp + 0x48]
movss xmm2, dword [rsp + 0x34]
xorps xmm2, xmmword [0x1400baa60]
movss xmm5, dword [r15 + 0xd98]
subss xmm5, dword [r15 + 0x3f28]
mulss xmm4, xmm2
mulss xmm3, xmm2
subss xmm4, xmm0
subss xmm3, xmm1
mulss xmm4, xmm10
mulss xmm3, xmm11
addss xmm4, xmm0
movss xmm0, dword [r15 + 0xd94]
subss xmm0, dword [r15 + 0x3f24]
addss xmm3, xmm1
addss xmm4, xmm0
addss xmm5, xmm3
comiss xmm7, xmm5
ja 0x14002398d
movaps xmm7, xmm9
minss xmm7, xmm5
comiss xmm6, xmm4
ja 0x14002399a
movaps xmm6, xmm8
minss xmm6, xmm4
movss xmm0, dword [rsi + 0x18]
lea r8, [rsp + 0x50]
movss xmm1, dword [rsi + 0x1c]
lea rcx, [rsp + 0x58]
movaps xmm13, xmm0
movaps xmm14, xmm1
addss xmm0, dword [rsi + 0x20]
addss xmm1, dword [rsi + 0x24]
subss xmm13, xmm6
mov rdx, rsi
subss xmm14, xmm7
mulss xmm13, xmm10
mulss xmm14, xmm11
addss xmm13, xmm6
subss xmm6, xmm0
addss xmm14, xmm7
subss xmm7, xmm1
mulss xmm6, xmm10
mulss xmm7, xmm11
addss xmm6, xmm0
addss xmm7, xmm1
subss xmm6, xmm13
subss xmm7, xmm14
movss dword [rsp + 0x50], xmm6
movss dword [rsp + 0x54], xmm7
call fcn.140022e10
movss xmm0, dword [rdi - 8]
ucomiss xmm0, xmm15
movss xmm10, dword [rsp + 0x58]
jp 0x140023a37
jne 0x140023a37
movaps xmm0, xmm10
subss xmm0, xmm6
subss xmm13, xmm0
movss xmm0, dword [rdi - 4]
ucomiss xmm0, xmm15
movss xmm6, dword [rsp + 0x5c]
jp 0x140023a56
jne 0x140023a56
movaps xmm0, xmm6
subss xmm0, xmm7
subss xmm14, xmm0
movss xmm8, dword [0x1400ba314]
movss xmm7, dword [rsp + 0x48]
movss xmm9, dword [0x1400ba490]
movss xmm11, dword [rsp + 0x34]
test r14d, r14d
je 0x140023891
test bl, bl
jne 0x140023899
test r12b, r12b
jne 0x140023a94
mov rbx, qword [0x14011d300]
jmp 0x140023ad7
xor eax, eax
test r12b, r12b
setne al
add rax, 0x1e
mov rbx, qword [0x14011d300]
lea rcx, [rsp + 0x38]
add rax, rax
movups xmm0, xmmword [rbx + rax*8 + 0x38c0]
movups xmmword [rsp + 0x38], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rbx + 0x37f8]
movss dword [rsp + 0x44], xmm0
call fcn.14001b880
mov dword [r13], eax
inc r14d
lea r11, [0x1400b8170]
add rdi, 0x18
mov dword [rsp + 0x38], r14d
add r13, 4
cmp r14d, dword [rbp + 0x98]
jl 0x1400236f0
movzx r12d, byte [rsp + 0x31]
lea r11, [0x1400b8170]
xor edi, edi
neg r12b
sbb rax, rax
and eax, 4
mov qword [rsp + 0x70], rax
jbe 0x140023e4c
movss xmm11, dword [0x1400ba284]
lea rax, [0x1400b7f74]
mov qword [rsp + 0x38], rax
cmp edi, 1
jbe 0x140023b56
lea r9, [rsp + 0x4c]
mov r14d, 3
mov qword [rsp + 0x58], r9
mov r12d, 0xd98
mov r13d, 0x3f28
jmp 0x140023b72
lea rax, [rsp + 0x48]
mov r14d, 4
mov qword [rsp + 0x58], rax
mov r12d, 0xd94
mov r13d, 0x3f24
movss xmm0, dword [0x1400ba364]
lea rcx, [rbp - 0x80]
movss xmm3, dword [rsp + 0x34]
mov r8d, edi
mov rdx, rsi
movss dword [rsp + 0x20], xmm0
call fcn.1400233e0
mov rax, qword [rsi + 0xd8]
lea r8d, [rdi + 4]
movsxd rcx, dword [rsi + 0xd0]
mov r10d, dword [rax + rcx*4 - 4]
not r10d
movzx eax, r8b
movzx ecx, r10b
xor rcx, rax
shr r10d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r10d, dword [r11 + rcx*4]
movzx ecx, r10b
xor rdx, rcx
shr r10d, 8
shr eax, 0x10
xor r10d, dword [r11 + rdx*4]
movzx ecx, r10b
shr r10d, 8
movzx edx, al
xor rdx, rcx
xor r10d, dword [r11 + rdx*4]
movzx ecx, r10b
shr r10d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
xor r10d, dword [r11 + rdx*4]
not r10d
cmp dword [rbx + 0x3ef4], r10d
jne 0x140023c1b
mov dword [rbx + 0x3ef8], r10d
cmp dword [rbx + 0x3f40], r10d
jne 0x140023c2b
mov byte [rbx + 0x3f44], 1
lea r9, [rsp + 0x31]
mov dword [rsp + 0x20], 0x40800
lea r8, [rsp + 0x30]
mov edx, r10d
lea rcx, [rbp - 0x80]
call fcn.140045710
cmp byte [rsp + 0x30], 0
movzx eax, byte [rsp + 0x31]
je 0x140023c64
movss xmm0, dword [r15 + 0x3eec]
comiss xmm0, xmm11
ja 0x140023c6c
test al, al
je 0x140023e18
mov dword [r15 + 0x4248], r14d
test al, al
je 0x140023e18
mov rax, qword [rbp + 0x90]
mov dword [rax], edi
cmp edi, 3
jne 0x140023dc8
mov rax, qword [rbp + 0xa8]
movaps xmm7, xmm9
movss xmm8, dword [rax + 4]
movaps xmm2, xmm12
movaps xmm3, xmm12
movsd xmm0, qword [rsi + 0x18]
movss xmm1, dword [r12 + r15]
subss xmm1, dword [r15 + r13]
mov rax, qword [rsp + 0x58]
movsd qword [rsp + 0x48], xmm0
addss xmm1, dword [0x1400ba364]
movss dword [rax], xmm1
movss xmm0, dword [rsp + 0x4c]
comiss xmm8, xmm0
ja 0x140023ce3
movaps xmm8, xmm2
minss xmm8, xmm0
movss xmm0, dword [rsp + 0x48]
comiss xmm7, xmm0
ja 0x140023cf5
movaps xmm7, xmm3
minss xmm7, xmm0
mov r14, qword [rsp + 0x38]
lea r8, [rsp + 0x50]
movss xmm0, dword [rsi + 0x18]
lea rcx, [rsp + 0x60]
movss xmm1, dword [rsi + 0x1c]
movaps xmm13, xmm0
addss xmm0, dword [rsi + 0x20]
movss xmm9, dword [r14 - 8]
subss xmm13, xmm7
minss xmm9, dword [r14]
movss xmm6, dword [r14 - 0xc]
movaps xmm14, xmm1
minss xmm6, dword [r14 - 4]
addss xmm1, dword [rsi + 0x24]
subss xmm14, xmm8
mov rdx, rsi
mulss xmm13, xmm6
mulss xmm14, xmm9
addss xmm13, xmm7
subss xmm7, xmm0
addss xmm14, xmm8
subss xmm8, xmm1
mulss xmm7, xmm6
mulss xmm8, xmm9
addss xmm7, xmm0
addss xmm8, xmm1
subss xmm7, xmm13
subss xmm8, xmm14
movss dword [rsp + 0x50], xmm7
movss dword [rsp + 0x54], xmm8
call fcn.140022e10
ucomiss xmm6, xmm15
movss xmm10, dword [rsp + 0x60]
jp 0x140023dab
jne 0x140023dab
movaps xmm0, xmm10
subss xmm0, xmm7
subss xmm13, xmm0
ucomiss xmm9, xmm15
movss xmm6, dword [rsp + 0x64]
jp 0x140023e1d
jne 0x140023e1d
movaps xmm0, xmm6
subss xmm0, xmm8
subss xmm14, xmm0
jmp 0x140023e1d
movaps xmm8, xmm9
cmp edi, 1
jne 0x140023de1
mov rax, qword [rbp + 0xa8]
movss xmm7, dword [rax]
jmp 0x140023c9e
movaps xmm7, xmm9
cmp edi, 2
jne 0x140023dfb
mov rax, qword [rbp + 0xa8]
movss xmm2, dword [rax + 0xc]
jmp 0x140023ca2
movaps xmm2, xmm12
test edi, edi
jne 0x140023ca2
mov rax, qword [rbp + 0xa8]
movss xmm3, dword [rax + 8]
jmp 0x140023ca6
mov r14, qword [rsp + 0x38]
mov rbx, qword [0x14011d300]
add r14, 0x1c
inc edi
mov qword [rsp + 0x38], r14
sub qword [rsp + 0x70], 1
je 0x140023e4c
movss xmm9, dword [0x1400ba490]
lea r11, [0x1400b8170]
jmp 0x140023b33
mov rax, qword [rbx + 0x3ea8]
mov r14, qword [rsp + 0x138]
mov r13, qword [rsp + 0x140]
mov r12, qword [rsp + 0x148]
dec dword [rax + 0xd0]
mov rdi, qword [rsp + 0x150]
mov dword [rsi + 0x138], 0
mov rax, qword [r15 + 0x4220]
test rax, rax
je 0x140024014
cmp qword [rax + 0x360], rsi
jne 0x140024014
mov eax, dword [r15 + 0x40f0]
cmp eax, 2
jne 0x140023ec4
cmp byte [r15 + 0xdad], 0
je 0x140024014
lea edx, [rax - 1]
lea rcx, [rsp + 0x60]
jmp 0x140023ed5
cmp eax, 3
jne 0x140024014
lea edx, [rax + 1]
lea rcx, [rsp + 0x58]
movaps xmm3, xmm15
movss dword [rsp + 0x20], xmm15
xor r8d, r8d
call fcn.14002bb00
xorps xmm2, xmm2
movss xmm15, dword [rax]
ucomiss xmm15, xmm2
movss xmm0, dword [rax + 4]
movss dword [rsp + 0x34], xmm0
jp 0x140023f0e
jne 0x140023f0e
ucomiss xmm0, xmm2
jp 0x140023f0e
je 0x140024017
movss xmm0, dword [r15 + 0x18]
lea rcx, [rsp + 0x70]
mulss xmm0, dword [0x1400ba41c]
movss xmm1, dword [r15 + 0x68]
minss xmm1, dword [r15 + 0x6c]
movss xmm7, dword [rsi + 0x18]
movss xmm9, dword [rsi + 0x1c]
movss xmm10, dword [rsi + 0x24]
movss xmm6, dword [rsi + 0x20]
mulss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm11, eax
mov rax, qword [rbp + 0xa8]
cvtdq2ps xmm11, xmm11
movss xmm8, dword [rax]
movss xmm12, dword [rax + 4]
mov byte [r15 + 0x4240], 0
mov byte [r15 + 0x40fb], 1
movups xmm0, xmmword [rbx + 0x3ac0]
movups xmmword [rsp + 0x70], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rbx + 0x37f8]
movss dword [rsp + 0x7c], xmm0
call fcn.14001b880
movss xmm0, dword [rsp + 0x34]
subss xmm8, xmm7
mov rcx, qword [rbp + 0xa0]
subss xmm12, xmm9
mulss xmm0, xmm11
lea r8, [rsp + 0x70]
mov rdx, rsi
mulss xmm15, xmm11
mov dword [rcx], eax
lea rcx, [rsp + 0x50]
subss xmm8, xmm6
subss xmm12, xmm10
maxss xmm15, xmm8
maxss xmm0, xmm12
addss xmm15, dword [rsi + 0x28]
addss xmm0, dword [rsi + 0x2c]
movss dword [rsp + 0x70], xmm15
movss dword [rsp + 0x74], xmm0
call fcn.140022e10
mov rbx, qword [0x14011d300]
movss xmm12, dword [0x1400ba448]
movss xmm10, dword [rax]
movss xmm6, dword [rax + 4]
xorps xmm2, xmm2
ucomiss xmm10, xmm12
movaps xmm15, xmmword [rsp + 0x90]
movaps xmm11, xmmword [rsp + 0xd0]
movaps xmm9, xmmword [rsp + 0xf0]
movaps xmm8, xmmword [rsp + 0x100]
movaps xmm7, xmmword [rsp + 0x110]
jp 0x14002404b
je 0x140024071
test dword [rsi + 0xc], 0x100
movss dword [rsi + 0x28], xmm10
movss dword [rsi + 0x2c], xmm6
jne 0x140024071
comiss xmm2, dword [rbx + 0x537c]
jb 0x140024071
mov eax, dword [rbx + 0x1c]
mov dword [rbx + 0x537c], eax
movaps xmm10, xmmword [rsp + 0xe0]
movaps xmm6, xmmword [rsp + 0x120]
ucomiss xmm13, xmm12
movaps xmm12, xmmword [rsp + 0xc0]
jp 0x140024093
je 0x1400240d0
test dword [rsi + 0xc], 0x100
cvttss2si eax, xmm13
movd xmm1, eax
cvttss2si eax, xmm14
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsi + 0x18], xmm1
movss dword [rsi + 0x1c], xmm0
jne 0x1400240d0
comiss xmm2, dword [rbx + 0x537c]
jb 0x1400240d0
mov ecx, dword [rbx + 0x1c]
mov dword [rbx + 0x537c], ecx
movsd xmm0, qword [rsi + 0x28]
movzx eax, byte [rbp + 0x80]
movaps xmm14, xmmword [rsp + 0xa0]
movaps xmm13, xmmword [rsp + 0xb0]
movsd qword [rsi + 0x20], xmm0
add rsp, 0x158
pop r15
pop rsi
pop rbx
pop rbp
ret
xor al, al
add rsp, 0x158
pop r15
pop rsi
pop rbx
pop rbp
ret