Function at 0x1400237d0
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 [0x140125820]
mov rsi, rcx
jne 0x1400243b0
cmp byte [rcx + 0xb0], 0
jg 0x1400243b0
cmp byte [rcx + 0xb1], 0
jg 0x1400243b0
cmp byte [rcx + 0x97], 0
je 0x1400243b0
movss xmm1, dword [r15 + 0x3c18]
movss xmm0, dword [rcx + 0x50]
movaps xmm2, xmm1
mulss xmm1, dword [0x1400bd3b4]
mov qword [rax - 0x28], rdi
mulss xmm2, dword [0x1400bd438]
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 [0x1400bd428]
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 [0x1400bd3fc]
cvttss2si eax, xmm0
cvtsi2ss xmm11, eax
movss dword [rsp + 0x34], xmm11
test r12b, r12b
je 0x140023900
movss xmm7, dword [0x1400bd484]
jmp 0x140023903
xorps xmm7, xmm7
movss xmm12, dword [0x1400bd578]
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], 0xbfaeb8ca
movaps xmm6, xmm12
mov dword [rsp + 0x3c], 0xaab4a4
nop
movsxd rcx, edx
lea eax, [rdx - 0x17]
inc edx
xor byte [rsp + rcx + 0x38], al
cmp edx, 7
jb 0x140023940
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x140], r13
mov byte [rsp + 0x3f], 0
call fcn.140028040
movss xmm9, dword [0x1400bd5c4]
lea r11, [0x1400bb240]
xor r14d, r14d
test ebx, ebx
mov dword [rsp + 0x38], r14d
mov rbx, qword [0x140125820]
jle 0x140023db8
mov r13, qword [rbp + 0xa0]
lea rdi, [0x1400bb1e8]
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 0x140023a2e
movss dword [rsp + 0x60], xmm5
movss dword [rsp + 0x68], xmm3
comiss xmm2, xmm4
jbe 0x140023a3f
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 0x140023aaa
mov dword [rbx + 0x3ef8], edx
cmp dword [rbx + 0x3f40], edx
jne 0x140023ab9
mov byte [rbx + 0x3f44], 1
lea r9, [rsp + 0x32]
mov dword [rsp + 0x20], 0x40800
lea r8, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.1400459c0
movzx r12d, byte [rsp + 0x30]
movzx ebx, byte [rsp + 0x32]
test r12b, r12b
jne 0x140023aed
test bl, bl
je 0x140023d25
mov eax, r14d
not eax
and eax, 1
add eax, 5
mov dword [r15 + 0x4248], eax
test bl, bl
je 0x140023d25
cmp word [r15 + 0x36ba], 2
jne 0x140023b53
test r14d, r14d
jne 0x140023b53
mov r8, qword [rbp + 0x88]
lea rcx, [rsp + 0x70]
mov rdx, rsi
call fcn.1400230c0
mov byte [rbp + 0x80], 1
movss xmm10, dword [rax]
movss xmm6, dword [rax + 4]
call fcn.14001dbc0
test bl, bl
je 0x140023d44
mov eax, 0x20
jmp 0x140023d50
movss xmm11, dword [rdi - 4]
ucomiss xmm11, xmm8
jp 0x140023b6f
jne 0x140023b6f
mov rax, qword [rbp + 0xa8]
movss xmm7, dword [rax + 4]
jmp 0x140023b7a
mov rax, qword [rbp + 0xa8]
movaps xmm7, xmm9
movss xmm10, dword [rdi - 8]
ucomiss xmm10, xmm8
jp 0x140023b8e
jne 0x140023b8e
movss xmm6, dword [rax]
jmp 0x140023b92
movaps xmm6, xmm9
ucomiss xmm11, xmm15
jp 0x140023ba2
jne 0x140023ba2
movss xmm9, dword [rax + 0xc]
jmp 0x140023ba6
movaps xmm9, xmm12
ucomiss xmm10, xmm15
jp 0x140023bb6
jne 0x140023bb6
movss xmm8, dword [rax + 8]
jmp 0x140023bba
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 [0x1400bdfa0]
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 0x140023c3d
movaps xmm7, xmm9
minss xmm7, xmm5
comiss xmm6, xmm4
ja 0x140023c4a
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.1400230c0
movss xmm0, dword [rdi - 8]
ucomiss xmm0, xmm15
movss xmm10, dword [rsp + 0x58]
jp 0x140023ce7
jne 0x140023ce7
movaps xmm0, xmm10
subss xmm0, xmm6
subss xmm13, xmm0
movss xmm0, dword [rdi - 4]
ucomiss xmm0, xmm15
movss xmm6, dword [rsp + 0x5c]
jp 0x140023d06
jne 0x140023d06
movaps xmm0, xmm6
subss xmm0, xmm7
subss xmm14, xmm0
movss xmm8, dword [0x1400bd428]
movss xmm7, dword [rsp + 0x48]
movss xmm9, dword [0x1400bd5c4]
movss xmm11, dword [rsp + 0x34]
test r14d, r14d
je 0x140023b41
test bl, bl
jne 0x140023b49
test r12b, r12b
jne 0x140023d44
mov rbx, qword [0x140125820]
jmp 0x140023d87
xor eax, eax
test r12b, r12b
setne al
add rax, 0x1e
mov rbx, qword [0x140125820]
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.14001bb30
mov dword [r13], eax
inc r14d
lea r11, [0x1400bb240]
add rdi, 0x18
mov dword [rsp + 0x38], r14d
add r13, 4
cmp r14d, dword [rbp + 0x98]
jl 0x1400239a0
movzx r12d, byte [rsp + 0x31]
lea r11, [0x1400bb240]
xor edi, edi
neg r12b
sbb rax, rax
and eax, 4
mov qword [rsp + 0x70], rax
jbe 0x1400240fc
movss xmm11, dword [0x1400bd394]
lea rax, [0x1400bb044]
mov qword [rsp + 0x38], rax
cmp edi, 1
jbe 0x140023e06
lea r9, [rsp + 0x4c]
mov r14d, 3
mov qword [rsp + 0x58], r9
mov r12d, 0xd98
mov r13d, 0x3f28
jmp 0x140023e22
lea rax, [rsp + 0x48]
mov r14d, 4
mov qword [rsp + 0x58], rax
mov r12d, 0xd94
mov r13d, 0x3f24
movss xmm0, dword [0x1400bd484]
lea rcx, [rbp - 0x80]
movss xmm3, dword [rsp + 0x34]
mov r8d, edi
mov rdx, rsi
movss dword [rsp + 0x20], xmm0
call fcn.140023690
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 0x140023ecb
mov dword [rbx + 0x3ef8], r10d
cmp dword [rbx + 0x3f40], r10d
jne 0x140023edb
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.1400459c0
cmp byte [rsp + 0x30], 0
movzx eax, byte [rsp + 0x31]
je 0x140023f14
movss xmm0, dword [r15 + 0x3eec]
comiss xmm0, xmm11
ja 0x140023f1c
test al, al
je 0x1400240c8
mov dword [r15 + 0x4248], r14d
test al, al
je 0x1400240c8
mov rax, qword [rbp + 0x90]
mov dword [rax], edi
cmp edi, 3
jne 0x140024078
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 [0x1400bd484]
movss dword [rax], xmm1
movss xmm0, dword [rsp + 0x4c]
comiss xmm8, xmm0
ja 0x140023f93
movaps xmm8, xmm2
minss xmm8, xmm0
movss xmm0, dword [rsp + 0x48]
comiss xmm7, xmm0
ja 0x140023fa5
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.1400230c0
ucomiss xmm6, xmm15
movss xmm10, dword [rsp + 0x60]
jp 0x14002405b
jne 0x14002405b
movaps xmm0, xmm10
subss xmm0, xmm7
subss xmm13, xmm0
ucomiss xmm9, xmm15
movss xmm6, dword [rsp + 0x64]
jp 0x1400240cd
jne 0x1400240cd
movaps xmm0, xmm6
subss xmm0, xmm8
subss xmm14, xmm0
jmp 0x1400240cd
movaps xmm8, xmm9
cmp edi, 1
jne 0x140024091
mov rax, qword [rbp + 0xa8]
movss xmm7, dword [rax]
jmp 0x140023f4e
movaps xmm7, xmm9
cmp edi, 2
jne 0x1400240ab
mov rax, qword [rbp + 0xa8]
movss xmm2, dword [rax + 0xc]
jmp 0x140023f52
movaps xmm2, xmm12
test edi, edi
jne 0x140023f52
mov rax, qword [rbp + 0xa8]
movss xmm3, dword [rax + 8]
jmp 0x140023f56
mov r14, qword [rsp + 0x38]
mov rbx, qword [0x140125820]
add r14, 0x1c
inc edi
mov qword [rsp + 0x38], r14
sub qword [rsp + 0x70], 1
je 0x1400240fc
movss xmm9, dword [0x1400bd5c4]
lea r11, [0x1400bb240]
jmp 0x140023de3
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 0x1400242c4
cmp qword [rax + 0x360], rsi
jne 0x1400242c4
mov eax, dword [r15 + 0x40f0]
cmp eax, 2
jne 0x140024174
cmp byte [r15 + 0xdad], 0
je 0x1400242c4
lea edx, [rax - 1]
lea rcx, [rsp + 0x60]
jmp 0x140024185
cmp eax, 3
jne 0x1400242c4
lea edx, [rax + 1]
lea rcx, [rsp + 0x58]
movaps xmm3, xmm15
movss dword [rsp + 0x20], xmm15
xor r8d, r8d
call fcn.14002bdb0
xorps xmm2, xmm2
movss xmm15, dword [rax]
ucomiss xmm15, xmm2
movss xmm0, dword [rax + 4]
movss dword [rsp + 0x34], xmm0
jp 0x1400241be
jne 0x1400241be
ucomiss xmm0, xmm2
jp 0x1400241be
je 0x1400242c7
movss xmm0, dword [r15 + 0x18]
lea rcx, [rsp + 0x70]
mulss xmm0, dword [0x1400bd550]
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.14001bb30
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.1400230c0
mov rbx, qword [0x140125820]
movss xmm12, dword [0x1400bd578]
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 0x1400242fb
je 0x140024321
test dword [rsi + 0xc], 0x100
movss dword [rsi + 0x28], xmm10
movss dword [rsi + 0x2c], xmm6
jne 0x140024321
comiss xmm2, dword [rbx + 0x537c]
jb 0x140024321
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 0x140024343
je 0x140024380
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 0x140024380
comiss xmm2, dword [rbx + 0x537c]
jb 0x140024380
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