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

Disassembly:
test rdx, rdx
jne 0x1800012e8
xor eax, eax
ret
jmp 0x1800012f0
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
lea rsi, [0x18000d2c0]
mov r10d, ecx
not r10d
mov r11d, r8d
mov rbx, rdx
test r8d, r8d
je 0x18000133b
test bl, 3
je 0x18000133b
movzx ecx, byte [rbx]
mov eax, r10d
xor rcx, rax
inc rbx
shr eax, 8
movzx edx, cl
mov r10d, dword [rsi + rdx*4]
xor r10d, eax
add r11d, 0xffffffff
jne 0x180001317
cmp r11d, 0x20
jb 0x180001567
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 0x18000134c
cmp r11d, 4
jb 0x1800015c3
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 0x180001574
test r11d, r11d
je 0x1800015e7
movzx ecx, byte [rbx]
mov eax, r10d
xor rcx, rax
inc rbx
shr eax, 8
movzx edx, cl
mov r10d, dword [rsi + rdx*4]
xor r10d, eax
add r11d, 0xffffffff
jne 0x1800015c8
mov rbx, qword [rsp + 8]
not r10d
mov rsi, qword [rsp + 0x10]
mov eax, r10d
mov rdi, qword [rsp + 0x18]
ret