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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x18
mov eax, dword [rsp + 0x20]
shr eax, 0x18
and eax, 0xff
mov ecx, dword [rsp + 0x20]
shr ecx, 8
and ecx, 0xff00
add eax, ecx
mov ecx, dword [rsp + 0x20]
and ecx, 0xff00
shl ecx, 8
add eax, ecx
mov ecx, dword [rsp + 0x20]
and ecx, 0xff
shl ecx, 0x18
add eax, ecx
mov dword [rsp + 8], eax
mov eax, dword [rsp + 8]
not eax
mov dword [rsp + 8], eax
cmp qword [rsp + 0x30], 0
je 0x14018e26e
mov rax, qword [rsp + 0x28]
and rax, 3
test rax, rax
je 0x14018e26e
lea r8, [0x14027e3b0]
mov edx, dword [rsp + 8]
shr edx, 0x18
mov rax, qword [rsp + 0x28]
movzx ecx, byte [rax]
mov eax, edx
xor eax, ecx
mov eax, eax
mov ecx, dword [rsp + 8]
shl ecx, 8
mov eax, dword [r8 + rax*4 + 0x1000]
xor eax, ecx
mov dword [rsp + 8], eax
mov rax, qword [rsp + 0x28]
add rax, 1
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x30]
sub rax, 1
mov qword [rsp + 0x30], rax
jmp 0x14018e209
mov rax, qword [rsp + 0x28]
mov qword [rsp], rax
cmp qword [rsp + 0x30], 0x20
jb 0x14018e716
mov rax, qword [rsp]
mov ecx, dword [rax]
mov eax, dword [rsp + 8]
xor eax, ecx
mov dword [rsp + 8], eax
mov rax, qword [rsp]
add rax, 4
mov qword [rsp], rax
lea r8, [0x14027e3b0]
mov eax, dword [rsp + 8]
and eax, 0xff
mov edx, eax
lea rcx, [0x14027e3b0]
mov eax, dword [rsp + 8]
shr eax, 8
and eax, 0xff
mov eax, eax
mov eax, dword [rcx + rax*4 + 0x1400]
mov r8d, dword [r8 + rdx*4 + 0x1000]
xor r8d, eax
lea rcx, [0x14027e3b0]
mov eax, dword [rsp + 8]
shr eax, 0x10
and eax, 0xff
mov eax, eax
xor r8d, dword [rcx + rax*4 + 0x1800]
lea rdx, [0x14027e3b0]
mov eax, dword [rsp + 8]
shr eax, 0x18
mov ecx, eax
mov eax, r8d
xor eax, dword [rdx + rcx*4 + 0x1c00]
mov dword [rsp + 8], eax
mov rax, qword [rsp]
mov ecx, dword [rax]
mov eax, dword [rsp + 8]
xor eax, ecx
mov dword [rsp + 8], eax
mov rax, qword [rsp]
add rax, 4
mov qword [rsp], rax
lea r8, [0x14027e3b0]
mov eax, dword [rsp + 8]
and eax, 0xff
mov edx, eax
lea rcx, [0x14027e3b0]
mov eax, dword [rsp + 8]
shr eax, 8
and eax, 0xff
mov eax, eax
mov eax, dword [rcx + rax*4 + 0x1400]
mov r8d, dword [r8 + rdx*4 + 0x1000]
xor r8d, eax
lea rcx, [0x14027e3b0]
mov eax, dword [rsp + 8]
shr eax, 0x10
and eax, 0xff
mov eax, eax
xor r8d, dword [rcx + rax*4 + 0x1800]
lea rdx, [0x14027e3b0]
mov eax, dword [rsp + 8]
shr eax, 0x18
mov ecx, eax
mov eax, r8d
xor eax, dword [rdx + rcx*4 + 0x1c00]
mov dword [rsp + 8], eax
mov rax, qword [rsp]
mov ecx, dword [rax]
mov eax, dword [rsp + 8]
xor eax, ecx
mov dword [rsp + 8], eax
mov rax, qword [rsp]
add rax, 4
mov qword [rsp], rax
lea r8, [0x14027e3b0]
mov eax, dword [rsp + 8]
and eax, 0xff
mov edx, eax
lea rcx, [0x14027e3b0]
mov eax, dword [rsp + 8]
shr eax, 8
and eax, 0xff
mov eax, eax
mov eax, dword [rcx + rax*4 + 0x1400]
mov r8d, dword [r8 + rdx*4 + 0x1000]
xor r8d, eax
lea rcx, [0x14027e3b0]
mov eax, dword [rsp + 8]
shr eax, 0x10
and eax, 0xff
mov eax, eax
xor r8d, dword [rcx + rax*4 + 0x1800]
lea rdx, [0x14027e3b0]
mov eax, dword [rsp + 8]
shr eax, 0x18
mov ecx, eax
mov eax, r8d
xor eax, dword [rdx + rcx*4 + 0x1c00]
mov dword [rsp + 8], eax
mov rax, qword [rsp]
mov ecx, dword [rax]
mov eax, dword [rsp + 8]
xor eax, ecx
mov dword [rsp + 8], eax
mov rax, qword [rsp]
add rax, 4
mov qword [rsp], rax
lea r8, [0x14027e3b0]
mov eax, dword [rsp + 8]
and eax, 0xff
mov edx, eax
lea rcx, [0x14027e3b0]
mov eax, dword [rsp + 8]
shr eax, 8
and eax, 0xff
mov eax, eax
mov eax, dword [rcx + rax*4 + 0x1400]
mov r8d, dword [r8 + rdx*4 + 0x1000]
xor r8d, eax
lea rcx, [0x14027e3b0]
mov eax, dword [rsp + 8]
shr eax, 0x10
and eax, 0xff
mov eax, eax
xor r8d, dword [rcx + rax*4 + 0x1800]
lea rdx, [0x14027e3b0]
mov eax, dword [rsp + 8]
shr eax, 0x18
mov ecx, eax
mov eax, r8d
xor eax, dword [rdx + rcx*4 + 0x1c00]
mov dword [rsp + 8], eax
mov rax, qword [rsp]
mov ecx, dword [rax]
mov eax, dword [rsp + 8]
xor eax, ecx
mov dword [rsp + 8], eax
mov rax, qword [rsp]
add rax, 4
mov qword [rsp], rax
lea r8, [0x14027e3b0]
mov eax, dword [rsp + 8]
and eax, 0xff
mov edx, eax
lea rcx, [0x14027e3b0]
mov eax, dword [rsp + 8]
shr eax, 8
and eax, 0xff
mov eax, eax
mov eax, dword [rcx + rax*4 + 0x1400]
mov r8d, dword [r8 + rdx*4 + 0x1000]
xor r8d, eax
lea rcx, [0x14027e3b0]
mov eax, dword [rsp + 8]
shr eax, 0x10
and eax, 0xff
mov eax, eax
xor r8d, dword [rcx + rax*4 + 0x1800]
lea rdx, [0x14027e3b0]
mov eax, dword [rsp + 8]
shr eax, 0x18
mov ecx, eax
mov eax, r8d
xor eax, dword [rdx + rcx*4 + 0x1c00]
mov dword [rsp + 8], eax
mov rax, qword [rsp]
mov ecx, dword [rax]
mov eax, dword [rsp + 8]
xor eax, ecx
mov dword [rsp + 8], eax
mov rax, qword [rsp]
add rax, 4
mov qword [rsp], rax
lea r8, [0x14027e3b0]
mov eax, dword [rsp + 8]
and eax, 0xff
mov edx, eax
lea rcx, [0x14027e3b0]
mov eax, dword [rsp + 8]
shr eax, 8
and eax, 0xff
mov eax, eax
mov eax, dword [rcx + rax*4 + 0x1400]
mov r8d, dword [r8 + rdx*4 + 0x1000]
xor r8d, eax
lea rcx, [0x14027e3b0]
mov eax, dword [rsp + 8]
shr eax, 0x10
and eax, 0xff
mov eax, eax
xor r8d, dword [rcx + rax*4 + 0x1800]
lea rdx, [0x14027e3b0]
mov eax, dword [rsp + 8]
shr eax, 0x18
mov ecx, eax
mov eax, r8d
xor eax, dword [rdx + rcx*4 + 0x1c00]
mov dword [rsp + 8], eax
mov rax, qword [rsp]
mov ecx, dword [rax]
mov eax, dword [rsp + 8]
xor eax, ecx
mov dword [rsp + 8], eax
mov rax, qword [rsp]
add rax, 4
mov qword [rsp], rax
lea r8, [0x14027e3b0]
mov eax, dword [rsp + 8]
and eax, 0xff
mov edx, eax
lea rcx, [0x14027e3b0]
mov eax, dword [rsp + 8]
shr eax, 8
and eax, 0xff
mov eax, eax
mov eax, dword [rcx + rax*4 + 0x1400]
mov r8d, dword [r8 + rdx*4 + 0x1000]
xor r8d, eax
lea rcx, [0x14027e3b0]
mov eax, dword [rsp + 8]
shr eax, 0x10
and eax, 0xff
mov eax, eax
xor r8d, dword [rcx + rax*4 + 0x1800]
lea rdx, [0x14027e3b0]
mov eax, dword [rsp + 8]
shr eax, 0x18
mov ecx, eax
mov eax, r8d
xor eax, dword [rdx + rcx*4 + 0x1c00]
mov dword [rsp + 8], eax
mov rax, qword [rsp]
mov ecx, dword [rax]
mov eax, dword [rsp + 8]
xor eax, ecx
mov dword [rsp + 8], eax
mov rax, qword [rsp]
add rax, 4
mov qword [rsp], rax
lea r8, [0x14027e3b0]
mov eax, dword [rsp + 8]
and eax, 0xff
mov edx, eax
lea rcx, [0x14027e3b0]
mov eax, dword [rsp + 8]
shr eax, 8
and eax, 0xff
mov eax, eax
mov eax, dword [rcx + rax*4 + 0x1400]
mov r8d, dword [r8 + rdx*4 + 0x1000]
xor r8d, eax
lea rcx, [0x14027e3b0]
mov eax, dword [rsp + 8]
shr eax, 0x10
and eax, 0xff
mov eax, eax
xor r8d, dword [rcx + rax*4 + 0x1800]
lea rdx, [0x14027e3b0]
mov eax, dword [rsp + 8]
shr eax, 0x18
mov ecx, eax
mov eax, r8d
xor eax, dword [rdx + rcx*4 + 0x1c00]
mov dword [rsp + 8], eax
mov rax, qword [rsp + 0x30]
sub rax, 0x20
mov qword [rsp + 0x30], rax
jmp 0x14018e277
cmp qword [rsp + 0x30], 4
jb 0x14018e7c5
mov rax, qword [rsp]
mov ecx, dword [rax]
mov eax, dword [rsp + 8]
xor eax, ecx
mov dword [rsp + 8], eax
mov rax, qword [rsp]
add rax, 4
mov qword [rsp], rax
lea r8, [0x14027e3b0]
mov eax, dword [rsp + 8]
and eax, 0xff
mov edx, eax
lea rcx, [0x14027e3b0]
mov eax, dword [rsp + 8]
shr eax, 8
and eax, 0xff
mov eax, eax
mov eax, dword [rcx + rax*4 + 0x1400]
mov r8d, dword [r8 + rdx*4 + 0x1000]
xor r8d, eax
lea rcx, [0x14027e3b0]
mov eax, dword [rsp + 8]
shr eax, 0x10
and eax, 0xff
mov eax, eax
xor r8d, dword [rcx + rax*4 + 0x1800]
lea rdx, [0x14027e3b0]
mov eax, dword [rsp + 8]
shr eax, 0x18
mov ecx, eax
mov eax, r8d
xor eax, dword [rdx + rcx*4 + 0x1c00]
mov dword [rsp + 8], eax
mov rax, qword [rsp + 0x30]
sub rax, 4
mov qword [rsp + 0x30], rax
jmp 0x14018e716
mov rax, qword [rsp]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x30], 0
je 0x14018e82b
lea r8, [0x14027e3b0]
mov edx, dword [rsp + 8]
shr edx, 0x18
mov rax, qword [rsp + 0x28]
movzx ecx, byte [rax]
mov eax, edx
xor eax, ecx
mov eax, eax
mov ecx, dword [rsp + 8]
shl ecx, 8
mov eax, dword [r8 + rax*4 + 0x1000]
xor eax, ecx
mov dword [rsp + 8], eax
mov rax, qword [rsp + 0x28]
add rax, 1
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x30]
sub rax, 1
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x14018e7d6
mov eax, dword [rsp + 8]
not eax
mov dword [rsp + 8], eax
mov eax, dword [rsp + 8]
shr eax, 0x18
and eax, 0xff
mov ecx, dword [rsp + 8]
shr ecx, 8
and ecx, 0xff00
add eax, ecx
mov ecx, dword [rsp + 8]
and ecx, 0xff00
shl ecx, 8
add eax, ecx
mov ecx, dword [rsp + 8]
and ecx, 0xff
shl ecx, 0x18
add eax, ecx
add rsp, 0x18
ret