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

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov r15, r8
test rdx, rdx
je 0x140023810
mov r14, rdx
mov ebx, ecx
cmp r15, 0x40
jb 0x140023825
mov eax, dword [0x140128f84]
test eax, eax
je 0x140023825
mov rsi, r15
and rsi, 0xfffffffffffffff0
not ebx
mov rcx, r14
mov rdx, rsi
mov r8d, ebx
call fcn.14000c1c0
mov ebx, eax
sub r15, rsi
je 0x140023a7e
add r14, rsi
jmp 0x140023830
xor ebx, ebx
test r15, r15
jne 0x140023a80
call fcn.140035760
jmp 0x140023a80
not ebx
test r15, r15
je 0x140023a7e
lea r8, [r15 - 0x20]
xor esi, esi
lea rax, [0x1400f5c50]
lea rdi, [r14 + rsi]
test dil, 3
je 0x140023865
movzx ecx, byte [rdi]
movzx edx, bl
xor edx, ecx
shr ebx, 8
xor ebx, dword [rax + rdx*4]
inc rsi
dec r8
cmp r15, rsi
jne 0x14002383d
jmp 0x140023a7e
mov r9, r15
sub r9, rsi
cmp r9, 0x20
jb 0x140023a02
xor ebx, dword [rdi]
movzx edx, bl
movzx ecx, bh
mov ecx, dword [rax + rcx*4 + 0x800]
xor ecx, dword [rax + rdx*4 + 0xc00]
mov edx, ebx
shr edx, 0x10
movzx edx, dl
xor ecx, dword [rax + rdx*4 + 0x400]
shr ebx, 0x18
xor ecx, dword [rax + rbx*4]
xor ecx, dword [rdi + 4]
movzx edx, cl
movzx ebx, ch
mov ebx, dword [rax + rbx*4 + 0x800]
xor ebx, dword [rax + rdx*4 + 0xc00]
mov edx, ecx
shr edx, 0x10
movzx edx, dl
xor ebx, dword [rax + rdx*4 + 0x400]
shr ecx, 0x18
xor ebx, dword [rax + rcx*4]
xor ebx, dword [rdi + 8]
movzx edx, bl
movzx ecx, bh
mov ecx, dword [rax + rcx*4 + 0x800]
xor ecx, dword [rax + rdx*4 + 0xc00]
mov edx, ebx
shr edx, 0x10
movzx edx, dl
xor ecx, dword [rax + rdx*4 + 0x400]
shr ebx, 0x18
xor ecx, dword [rax + rbx*4]
xor ecx, dword [rdi + 0xc]
movzx edx, cl
movzx ebx, ch
mov ebx, dword [rax + rbx*4 + 0x800]
xor ebx, dword [rax + rdx*4 + 0xc00]
mov edx, ecx
shr edx, 0x10
movzx edx, dl
xor ebx, dword [rax + rdx*4 + 0x400]
shr ecx, 0x18
xor ebx, dword [rax + rcx*4]
xor ebx, dword [rdi + 0x10]
movzx edx, bl
movzx ecx, bh
mov ecx, dword [rax + rcx*4 + 0x800]
xor ecx, dword [rax + rdx*4 + 0xc00]
mov edx, ebx
shr edx, 0x10
movzx edx, dl
xor ecx, dword [rax + rdx*4 + 0x400]
shr ebx, 0x18
xor ecx, dword [rax + rbx*4]
xor ecx, dword [rdi + 0x14]
movzx edx, cl
movzx ebx, ch
mov ebx, dword [rax + rbx*4 + 0x800]
xor ebx, dword [rax + rdx*4 + 0xc00]
mov edx, ecx
shr edx, 0x10
movzx edx, dl
xor ebx, dword [rax + rdx*4 + 0x400]
shr ecx, 0x18
xor ebx, dword [rax + rcx*4]
xor ebx, dword [rdi + 0x18]
movzx edx, bl
movzx ecx, bh
mov ecx, dword [rax + rcx*4 + 0x800]
xor ecx, dword [rax + rdx*4 + 0xc00]
mov edx, ebx
shr edx, 0x10
movzx edx, dl
xor ecx, dword [rax + rdx*4 + 0x400]
shr ebx, 0x18
xor ecx, dword [rax + rbx*4]
xor ecx, dword [rdi + 0x1c]
movzx edx, cl
movzx ebx, ch
mov ebx, dword [rax + rbx*4 + 0x800]
xor ebx, dword [rax + rdx*4 + 0xc00]
mov edx, ecx
shr edx, 0x10
movzx edx, dl
xor ebx, dword [rax + rdx*4 + 0x400]
shr ecx, 0x18
xor ebx, dword [rax + rcx*4]
add r9, 0xffffffffffffffe0
add rdi, 0x20
cmp r9, 0x1f
ja 0x140023875
and r8, 0xffffffffffffffe0
add r14, r8
lea rdi, [rsi + r14]
add rdi, 0x20
add r15, 0xffffffffffffffe0
sub r15, r8
sub r15, rsi
mov r9, r15
cmp r9, 4
jb 0x140023a60
lea r10, [r9 - 4]
mov r8, r10
shr r8, 2
mov rcx, rdi
xor ebx, dword [rcx]
movzx edx, bl
movzx ebp, bh
mov esi, ebx
mov ebp, dword [rax + rbp*4 + 0x800]
xor ebp, dword [rax + rdx*4 + 0xc00]
add rcx, 4
shr ebx, 0x10
movzx edx, bl
xor ebp, dword [rax + rdx*4 + 0x400]
shr esi, 0x18
mov ebx, ebp
xor ebx, dword [rax + rsi*4]
add r9, 0xfffffffffffffffc
cmp r9, 3
ja 0x140023a16
lea rdi, [rdi + r8*4]
add rdi, 4
and r10d, 3
mov r9, r10
test r9, r9
je 0x140023a7e
xor ecx, ecx
movzx edx, byte [rdi + rcx]
movzx ebp, bl
xor ebp, edx
shr ebx, 8
xor ebx, dword [rax + rbp*4]
inc rcx
cmp r9, rcx
jne 0x140023a67
not ebx
mov eax, ebx
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov r8d, r8d
jmp 0x1400237c0