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

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
cmp qword [rsp + 0x10], 0
jne 0x14003bdd1
xor eax, eax
jmp 0x14003c0c2
mov eax, dword [rsp + 8]
xor eax, 0xffffffff
mov dword [rsp + 8], eax
cmp dword [rsp + 0x18], 8
jb 0x14003c057
mov eax, 0x400
imul rax, rax, 0
lea rcx, [0x140046270]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x10]
movzx ecx, byte [rcx]
mov edx, dword [rsp + 8]
xor edx, ecx
mov ecx, edx
and ecx, 0xff
movsxd rcx, ecx
mov edx, dword [rsp + 8]
shr edx, 8
mov eax, dword [rax + rcx*4]
xor eax, edx
mov dword [rsp + 8], eax
mov rax, qword [rsp + 0x10]
inc rax
mov qword [rsp + 0x10], rax
mov eax, 0x400
imul rax, rax, 0
lea rcx, [0x140046270]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x10]
movzx ecx, byte [rcx]
mov edx, dword [rsp + 8]
xor edx, ecx
mov ecx, edx
and ecx, 0xff
movsxd rcx, ecx
mov edx, dword [rsp + 8]
shr edx, 8
mov eax, dword [rax + rcx*4]
xor eax, edx
mov dword [rsp + 8], eax
mov rax, qword [rsp + 0x10]
inc rax
mov qword [rsp + 0x10], rax
mov eax, 0x400
imul rax, rax, 0
lea rcx, [0x140046270]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x10]
movzx ecx, byte [rcx]
mov edx, dword [rsp + 8]
xor edx, ecx
mov ecx, edx
and ecx, 0xff
movsxd rcx, ecx
mov edx, dword [rsp + 8]
shr edx, 8
mov eax, dword [rax + rcx*4]
xor eax, edx
mov dword [rsp + 8], eax
mov rax, qword [rsp + 0x10]
inc rax
mov qword [rsp + 0x10], rax
mov eax, 0x400
imul rax, rax, 0
lea rcx, [0x140046270]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x10]
movzx ecx, byte [rcx]
mov edx, dword [rsp + 8]
xor edx, ecx
mov ecx, edx
and ecx, 0xff
movsxd rcx, ecx
mov edx, dword [rsp + 8]
shr edx, 8
mov eax, dword [rax + rcx*4]
xor eax, edx
mov dword [rsp + 8], eax
mov rax, qword [rsp + 0x10]
inc rax
mov qword [rsp + 0x10], rax
mov eax, 0x400
imul rax, rax, 0
lea rcx, [0x140046270]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x10]
movzx ecx, byte [rcx]
mov edx, dword [rsp + 8]
xor edx, ecx
mov ecx, edx
and ecx, 0xff
movsxd rcx, ecx
mov edx, dword [rsp + 8]
shr edx, 8
mov eax, dword [rax + rcx*4]
xor eax, edx
mov dword [rsp + 8], eax
mov rax, qword [rsp + 0x10]
inc rax
mov qword [rsp + 0x10], rax
mov eax, 0x400
imul rax, rax, 0
lea rcx, [0x140046270]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x10]
movzx ecx, byte [rcx]
mov edx, dword [rsp + 8]
xor edx, ecx
mov ecx, edx
and ecx, 0xff
movsxd rcx, ecx
mov edx, dword [rsp + 8]
shr edx, 8
mov eax, dword [rax + rcx*4]
xor eax, edx
mov dword [rsp + 8], eax
mov rax, qword [rsp + 0x10]
inc rax
mov qword [rsp + 0x10], rax
mov eax, 0x400
imul rax, rax, 0
lea rcx, [0x140046270]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x10]
movzx ecx, byte [rcx]
mov edx, dword [rsp + 8]
xor edx, ecx
mov ecx, edx
and ecx, 0xff
movsxd rcx, ecx
mov edx, dword [rsp + 8]
shr edx, 8
mov eax, dword [rax + rcx*4]
xor eax, edx
mov dword [rsp + 8], eax
mov rax, qword [rsp + 0x10]
inc rax
mov qword [rsp + 0x10], rax
mov eax, 0x400
imul rax, rax, 0
lea rcx, [0x140046270]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x10]
movzx ecx, byte [rcx]
mov edx, dword [rsp + 8]
xor edx, ecx
mov ecx, edx
and ecx, 0xff
movsxd rcx, ecx
mov edx, dword [rsp + 8]
shr edx, 8
mov eax, dword [rax + rcx*4]
xor eax, edx
mov dword [rsp + 8], eax
mov rax, qword [rsp + 0x10]
inc rax
mov qword [rsp + 0x10], rax
mov eax, dword [rsp + 0x18]
sub eax, 8
mov dword [rsp + 0x18], eax
jmp 0x14003bddc
cmp dword [rsp + 0x18], 0
je 0x14003c0bb
mov eax, 0x400
imul rax, rax, 0
lea rcx, [0x140046270]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x10]
movzx ecx, byte [rcx]
mov edx, dword [rsp + 8]
xor edx, ecx
mov ecx, edx
and ecx, 0xff
movsxd rcx, ecx
mov edx, dword [rsp + 8]
shr edx, 8
mov eax, dword [rax + rcx*4]
xor eax, edx
mov dword [rsp + 8], eax
mov rax, qword [rsp + 0x10]
inc rax
mov qword [rsp + 0x10], rax
mov eax, dword [rsp + 0x18]
dec eax
mov dword [rsp + 0x18], eax
cmp dword [rsp + 0x18], 0
jne 0x14003c05e
mov eax, dword [rsp + 8]
xor eax, 0xffffffff
ret