Function at 0x1401511c0
Capabilities:
Encode data using xor

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
cmp qword [rsp + 0x10], 0
jne 0x1401511dd
xor eax, eax
jmp 0x1401514ce
mov eax, dword [rsp + 8]
xor eax, 0xffffffff
mov dword [rsp + 8], eax
cmp dword [rsp + 0x18], 8
jb 0x140151463
mov eax, 0x400
imul rax, rax, 0
lea rcx, [0x140328680]
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, [0x140328680]
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, [0x140328680]
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, [0x140328680]
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, [0x140328680]
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, [0x140328680]
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, [0x140328680]
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, [0x140328680]
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 0x1401511e8
cmp dword [rsp + 0x18], 0
je 0x1401514c7
mov eax, 0x400
imul rax, rax, 0
lea rcx, [0x140328680]
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 0x14015146a
mov eax, dword [rsp + 8]
xor eax, 0xffffffff
ret