Function at 0x1800de480
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]
mov dword [rsp], eax
mov eax, dword [rsp]
not eax
mov dword [rsp], eax
cmp qword [rsp + 0x30], 0
je 0x1800de50e
mov rax, qword [rsp + 0x28]
and rax, 3
test rax, rax
je 0x1800de50e
mov eax, 0x400
imul rax, rax, 0
lea rcx, [0x1801134d0]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x28]
movzx ecx, byte [rcx]
mov edx, dword [rsp]
xor edx, ecx
mov ecx, edx
and ecx, 0xff
mov ecx, ecx
mov edx, dword [rsp]
shr edx, 8
mov eax, dword [rax + rcx*4]
xor eax, edx
mov dword [rsp], eax
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x30]
dec rax
mov qword [rsp + 0x30], rax
jmp 0x1800de4a1
mov rax, qword [rsp + 0x28]
mov qword [rsp + 8], rax
cmp qword [rsp + 0x30], 0x20
jb 0x1800deb17
mov rax, qword [rsp + 8]
mov eax, dword [rax]
mov ecx, dword [rsp]
xor ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov rax, qword [rsp + 8]
add rax, 4
mov qword [rsp + 8], rax
mov eax, 0x400
imul rax, rax, 3
lea rcx, [0x1801134d0]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp]
and ecx, 0xff
mov ecx, ecx
mov edx, 0x400
imul rdx, rdx, 2
lea r8, [0x1801134d0]
add r8, rdx
mov rdx, r8
mov r8d, dword [rsp]
shr r8d, 8
and r8d, 0xff
mov r8d, r8d
mov edx, dword [rdx + r8*4]
mov eax, dword [rax + rcx*4]
xor eax, edx
mov ecx, 0x400
imul rcx, rcx, 1
lea rdx, [0x1801134d0]
add rdx, rcx
mov rcx, rdx
mov edx, dword [rsp]
shr edx, 0x10
and edx, 0xff
mov edx, edx
xor eax, dword [rcx + rdx*4]
mov ecx, 0x400
imul rcx, rcx, 0
lea rdx, [0x1801134d0]
add rdx, rcx
mov rcx, rdx
mov edx, dword [rsp]
shr edx, 0x18
mov edx, edx
xor eax, dword [rcx + rdx*4]
mov dword [rsp], eax
mov rax, qword [rsp + 8]
mov eax, dword [rax]
mov ecx, dword [rsp]
xor ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov rax, qword [rsp + 8]
add rax, 4
mov qword [rsp + 8], rax
mov eax, 0x400
imul rax, rax, 3
lea rcx, [0x1801134d0]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp]
and ecx, 0xff
mov ecx, ecx
mov edx, 0x400
imul rdx, rdx, 2
lea r8, [0x1801134d0]
add r8, rdx
mov rdx, r8
mov r8d, dword [rsp]
shr r8d, 8
and r8d, 0xff
mov r8d, r8d
mov edx, dword [rdx + r8*4]
mov eax, dword [rax + rcx*4]
xor eax, edx
mov ecx, 0x400
imul rcx, rcx, 1
lea rdx, [0x1801134d0]
add rdx, rcx
mov rcx, rdx
mov edx, dword [rsp]
shr edx, 0x10
and edx, 0xff
mov edx, edx
xor eax, dword [rcx + rdx*4]
mov ecx, 0x400
imul rcx, rcx, 0
lea rdx, [0x1801134d0]
add rdx, rcx
mov rcx, rdx
mov edx, dword [rsp]
shr edx, 0x18
mov edx, edx
xor eax, dword [rcx + rdx*4]
mov dword [rsp], eax
mov rax, qword [rsp + 8]
mov eax, dword [rax]
mov ecx, dword [rsp]
xor ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov rax, qword [rsp + 8]
add rax, 4
mov qword [rsp + 8], rax
mov eax, 0x400
imul rax, rax, 3
lea rcx, [0x1801134d0]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp]
and ecx, 0xff
mov ecx, ecx
mov edx, 0x400
imul rdx, rdx, 2
lea r8, [0x1801134d0]
add r8, rdx
mov rdx, r8
mov r8d, dword [rsp]
shr r8d, 8
and r8d, 0xff
mov r8d, r8d
mov edx, dword [rdx + r8*4]
mov eax, dword [rax + rcx*4]
xor eax, edx
mov ecx, 0x400
imul rcx, rcx, 1
lea rdx, [0x1801134d0]
add rdx, rcx
mov rcx, rdx
mov edx, dword [rsp]
shr edx, 0x10
and edx, 0xff
mov edx, edx
xor eax, dword [rcx + rdx*4]
mov ecx, 0x400
imul rcx, rcx, 0
lea rdx, [0x1801134d0]
add rdx, rcx
mov rcx, rdx
mov edx, dword [rsp]
shr edx, 0x18
mov edx, edx
xor eax, dword [rcx + rdx*4]
mov dword [rsp], eax
mov rax, qword [rsp + 8]
mov eax, dword [rax]
mov ecx, dword [rsp]
xor ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov rax, qword [rsp + 8]
add rax, 4
mov qword [rsp + 8], rax
mov eax, 0x400
imul rax, rax, 3
lea rcx, [0x1801134d0]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp]
and ecx, 0xff
mov ecx, ecx
mov edx, 0x400
imul rdx, rdx, 2
lea r8, [0x1801134d0]
add r8, rdx
mov rdx, r8
mov r8d, dword [rsp]
shr r8d, 8
and r8d, 0xff
mov r8d, r8d
mov edx, dword [rdx + r8*4]
mov eax, dword [rax + rcx*4]
xor eax, edx
mov ecx, 0x400
imul rcx, rcx, 1
lea rdx, [0x1801134d0]
add rdx, rcx
mov rcx, rdx
mov edx, dword [rsp]
shr edx, 0x10
and edx, 0xff
mov edx, edx
xor eax, dword [rcx + rdx*4]
mov ecx, 0x400
imul rcx, rcx, 0
lea rdx, [0x1801134d0]
add rdx, rcx
mov rcx, rdx
mov edx, dword [rsp]
shr edx, 0x18
mov edx, edx
xor eax, dword [rcx + rdx*4]
mov dword [rsp], eax
mov rax, qword [rsp + 8]
mov eax, dword [rax]
mov ecx, dword [rsp]
xor ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov rax, qword [rsp + 8]
add rax, 4
mov qword [rsp + 8], rax
mov eax, 0x400
imul rax, rax, 3
lea rcx, [0x1801134d0]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp]
and ecx, 0xff
mov ecx, ecx
mov edx, 0x400
imul rdx, rdx, 2
lea r8, [0x1801134d0]
add r8, rdx
mov rdx, r8
mov r8d, dword [rsp]
shr r8d, 8
and r8d, 0xff
mov r8d, r8d
mov edx, dword [rdx + r8*4]
mov eax, dword [rax + rcx*4]
xor eax, edx
mov ecx, 0x400
imul rcx, rcx, 1
lea rdx, [0x1801134d0]
add rdx, rcx
mov rcx, rdx
mov edx, dword [rsp]
shr edx, 0x10
and edx, 0xff
mov edx, edx
xor eax, dword [rcx + rdx*4]
mov ecx, 0x400
imul rcx, rcx, 0
lea rdx, [0x1801134d0]
add rdx, rcx
mov rcx, rdx
mov edx, dword [rsp]
shr edx, 0x18
mov edx, edx
xor eax, dword [rcx + rdx*4]
mov dword [rsp], eax
mov rax, qword [rsp + 8]
mov eax, dword [rax]
mov ecx, dword [rsp]
xor ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov rax, qword [rsp + 8]
add rax, 4
mov qword [rsp + 8], rax
mov eax, 0x400
imul rax, rax, 3
lea rcx, [0x1801134d0]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp]
and ecx, 0xff
mov ecx, ecx
mov edx, 0x400
imul rdx, rdx, 2
lea r8, [0x1801134d0]
add r8, rdx
mov rdx, r8
mov r8d, dword [rsp]
shr r8d, 8
and r8d, 0xff
mov r8d, r8d
mov edx, dword [rdx + r8*4]
mov eax, dword [rax + rcx*4]
xor eax, edx
mov ecx, 0x400
imul rcx, rcx, 1
lea rdx, [0x1801134d0]
add rdx, rcx
mov rcx, rdx
mov edx, dword [rsp]
shr edx, 0x10
and edx, 0xff
mov edx, edx
xor eax, dword [rcx + rdx*4]
mov ecx, 0x400
imul rcx, rcx, 0
lea rdx, [0x1801134d0]
add rdx, rcx
mov rcx, rdx
mov edx, dword [rsp]
shr edx, 0x18
mov edx, edx
xor eax, dword [rcx + rdx*4]
mov dword [rsp], eax
mov rax, qword [rsp + 8]
mov eax, dword [rax]
mov ecx, dword [rsp]
xor ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov rax, qword [rsp + 8]
add rax, 4
mov qword [rsp + 8], rax
mov eax, 0x400
imul rax, rax, 3
lea rcx, [0x1801134d0]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp]
and ecx, 0xff
mov ecx, ecx
mov edx, 0x400
imul rdx, rdx, 2
lea r8, [0x1801134d0]
add r8, rdx
mov rdx, r8
mov r8d, dword [rsp]
shr r8d, 8
and r8d, 0xff
mov r8d, r8d
mov edx, dword [rdx + r8*4]
mov eax, dword [rax + rcx*4]
xor eax, edx
mov ecx, 0x400
imul rcx, rcx, 1
lea rdx, [0x1801134d0]
add rdx, rcx
mov rcx, rdx
mov edx, dword [rsp]
shr edx, 0x10
and edx, 0xff
mov edx, edx
xor eax, dword [rcx + rdx*4]
mov ecx, 0x400
imul rcx, rcx, 0
lea rdx, [0x1801134d0]
add rdx, rcx
mov rcx, rdx
mov edx, dword [rsp]
shr edx, 0x18
mov edx, edx
xor eax, dword [rcx + rdx*4]
mov dword [rsp], eax
mov rax, qword [rsp + 8]
mov eax, dword [rax]
mov ecx, dword [rsp]
xor ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov rax, qword [rsp + 8]
add rax, 4
mov qword [rsp + 8], rax
mov eax, 0x400
imul rax, rax, 3
lea rcx, [0x1801134d0]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp]
and ecx, 0xff
mov ecx, ecx
mov edx, 0x400
imul rdx, rdx, 2
lea r8, [0x1801134d0]
add r8, rdx
mov rdx, r8
mov r8d, dword [rsp]
shr r8d, 8
and r8d, 0xff
mov r8d, r8d
mov edx, dword [rdx + r8*4]
mov eax, dword [rax + rcx*4]
xor eax, edx
mov ecx, 0x400
imul rcx, rcx, 1
lea rdx, [0x1801134d0]
add rdx, rcx
mov rcx, rdx
mov edx, dword [rsp]
shr edx, 0x10
and edx, 0xff
mov edx, edx
xor eax, dword [rcx + rdx*4]
mov ecx, 0x400
imul rcx, rcx, 0
lea rdx, [0x1801134d0]
add rdx, rcx
mov rcx, rdx
mov edx, dword [rsp]
shr edx, 0x18
mov edx, edx
xor eax, dword [rcx + rdx*4]
mov dword [rsp], eax
mov rax, qword [rsp + 0x30]
sub rax, 0x20
mov qword [rsp + 0x30], rax
jmp 0x1800de518
cmp qword [rsp + 0x30], 4
jb 0x1800debf2
mov rax, qword [rsp + 8]
mov eax, dword [rax]
mov ecx, dword [rsp]
xor ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov rax, qword [rsp + 8]
add rax, 4
mov qword [rsp + 8], rax
mov eax, 0x400
imul rax, rax, 3
lea rcx, [0x1801134d0]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp]
and ecx, 0xff
mov ecx, ecx
mov edx, 0x400
imul rdx, rdx, 2
lea r8, [0x1801134d0]
add r8, rdx
mov rdx, r8
mov r8d, dword [rsp]
shr r8d, 8
and r8d, 0xff
mov r8d, r8d
mov edx, dword [rdx + r8*4]
mov eax, dword [rax + rcx*4]
xor eax, edx
mov ecx, 0x400
imul rcx, rcx, 1
lea rdx, [0x1801134d0]
add rdx, rcx
mov rcx, rdx
mov edx, dword [rsp]
shr edx, 0x10
and edx, 0xff
mov edx, edx
xor eax, dword [rcx + rdx*4]
mov ecx, 0x400
imul rcx, rcx, 0
lea rdx, [0x1801134d0]
add rdx, rcx
mov rcx, rdx
mov edx, dword [rsp]
shr edx, 0x18
mov edx, edx
xor eax, dword [rcx + rdx*4]
mov dword [rsp], eax
mov rax, qword [rsp + 0x30]
sub rax, 4
mov qword [rsp + 0x30], rax
jmp 0x1800deb17
mov rax, qword [rsp + 8]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x30], 0
je 0x1800dec61
mov eax, 0x400
imul rax, rax, 0
lea rcx, [0x1801134d0]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x28]
movzx ecx, byte [rcx]
mov edx, dword [rsp]
xor edx, ecx
mov ecx, edx
and ecx, 0xff
mov ecx, ecx
mov edx, dword [rsp]
shr edx, 8
mov eax, dword [rax + rcx*4]
xor eax, edx
mov dword [rsp], eax
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x30]
dec rax
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1800dec04
mov eax, dword [rsp]
not eax
mov dword [rsp], eax
mov eax, dword [rsp]
add rsp, 0x18
ret