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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
lea rsi, [0x1400794c0]
mov r10d, ecx
not r10d
mov r11d, r8d
mov rbx, rdx
test r8d, r8d
je 0x1400584dd
test bl, 3
je 0x1400584dd
movzx ecx, byte [rbx]
mov eax, r10d
xor rcx, rax
shr r10d, 8
movzx eax, cl
inc rbx
xor r10d, dword [rsi + rax*4]
add r11d, 0xffffffff
jne 0x1400584bb
cmp r11d, 0x20
jb 0x140058709
mov edi, r11d
shr rdi, 5
xor r10d, dword [rbx]
mov eax, r10d
shr rax, 0x10
movzx edx, al
mov eax, r10d
shr rax, 8
movzx ecx, al
mov r8d, dword [rsi + rdx*4 + 0x400]
mov eax, r10d
shr rax, 0x18
xor r8d, dword [rsi + rcx*4 + 0x800]
xor r8d, dword [rsi + rax*4]
movzx eax, r10b
xor r8d, dword [rsi + rax*4 + 0xc00]
xor r8d, dword [rbx + 4]
mov r9d, r8d
mov eax, r8d
shr rax, 0x10
movzx edx, al
mov eax, r8d
shr rax, 8
movzx ecx, al
mov eax, r9d
mov r8d, dword [rsi + rdx*4 + 0x400]
shr rax, 0x18
xor r8d, dword [rsi + rcx*4 + 0x800]
xor r8d, dword [rsi + rax*4]
movzx eax, r9b
xor r8d, dword [rsi + rax*4 + 0xc00]
xor r8d, dword [rbx + 8]
mov r9d, r8d
mov eax, r8d
shr rax, 0x10
movzx edx, al
mov eax, r8d
shr rax, 8
movzx ecx, al
mov eax, r9d
mov r8d, dword [rsi + rdx*4 + 0x400]
shr rax, 0x18
xor r8d, dword [rsi + rcx*4 + 0x800]
xor r8d, dword [rsi + rax*4]
movzx eax, r9b
xor r8d, dword [rsi + rax*4 + 0xc00]
xor r8d, dword [rbx + 0xc]
mov r9d, r8d
mov eax, r8d
shr rax, 0x10
movzx edx, al
mov eax, r8d
shr rax, 8
movzx ecx, al
mov eax, r9d
mov r8d, dword [rsi + rdx*4 + 0x400]
shr rax, 0x18
xor r8d, dword [rsi + rcx*4 + 0x800]
xor r8d, dword [rsi + rax*4]
movzx eax, r9b
xor r8d, dword [rsi + rax*4 + 0xc00]
xor r8d, dword [rbx + 0x10]
mov r9d, r8d
mov eax, r8d
shr rax, 0x10
movzx edx, al
mov eax, r8d
shr rax, 8
movzx ecx, al
mov eax, r9d
mov r8d, dword [rsi + rdx*4 + 0x400]
shr rax, 0x18
xor r8d, dword [rsi + rcx*4 + 0x800]
xor r8d, dword [rsi + rax*4]
movzx eax, r9b
xor r8d, dword [rsi + rax*4 + 0xc00]
xor r8d, dword [rbx + 0x14]
mov eax, r8d
shr rax, 0x10
movzx edx, al
mov eax, r8d
shr rax, 8
mov r9d, r8d
mov r8d, dword [rsi + rdx*4 + 0x400]
add r11d, 0xffffffe0
movzx ecx, al
mov eax, r9d
shr rax, 0x18
xor r8d, dword [rsi + rcx*4 + 0x800]
xor r8d, dword [rsi + rax*4]
movzx eax, r9b
xor r8d, dword [rsi + rax*4 + 0xc00]
xor r8d, dword [rbx + 0x18]
mov r9d, r8d
mov eax, r8d
shr rax, 0x10
movzx edx, al
mov eax, r8d
shr rax, 8
movzx ecx, al
mov eax, r9d
mov r8d, dword [rsi + rdx*4 + 0x400]
shr rax, 0x18
xor r8d, dword [rsi + rcx*4 + 0x800]
xor r8d, dword [rsi + rax*4]
movzx eax, r9b
xor r8d, dword [rsi + rax*4 + 0xc00]
xor r8d, dword [rbx + 0x1c]
add rbx, 0x20
mov eax, r8d
shr rax, 0x10
movzx edx, al
mov eax, r8d
shr rax, 8
movzx ecx, al
mov r10d, dword [rsi + rdx*4 + 0x400]
mov eax, r8d
shr rax, 0x18
xor r10d, dword [rsi + rcx*4 + 0x800]
xor r10d, dword [rsi + rax*4]
movzx eax, r8b
xor r10d, dword [rsi + rax*4 + 0xc00]
sub rdi, 1
jne 0x1400584ee
cmp r11d, 4
jb 0x140058765
mov r9d, r11d
shr r9, 2
xor r10d, dword [rbx]
add r11d, 0xfffffffc
mov r8d, r10d
add rbx, 4
mov eax, r10d
shr rax, 0x10
movzx edx, al
mov eax, r10d
shr rax, 8
movzx ecx, al
mov eax, r8d
mov r10d, dword [rsi + rdx*4 + 0x400]
shr rax, 0x18
xor r10d, dword [rsi + rcx*4 + 0x800]
xor r10d, dword [rsi + rax*4]
movzx eax, r8b
xor r10d, dword [rsi + rax*4 + 0xc00]
sub r9, 1
jne 0x140058716
test r11d, r11d
je 0x140058787
movzx ecx, byte [rbx]
mov eax, r10d
xor rcx, rax
shr r10d, 8
movzx eax, cl
inc rbx
xor r10d, dword [rsi + rax*4]
add r11d, 0xffffffff
jne 0x14005876a
mov rbx, qword [rsp + 8]
not r10d
mov rsi, qword [rsp + 0x10]
mov eax, r10d
mov rdi, qword [rsp + 0x18]
ret