Function at 0x1401514d0
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 0x1401514ed
xor eax, eax
jmp 0x1401517de
mov eax, dword [rsp + 8]
xor eax, 0xffffffff
mov dword [rsp + 8], eax
cmp dword [rsp + 0x18], 8
jb 0x140151773
mov eax, 0x400
imul rax, rax, 1
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, 1
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, 1
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, 1
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, 1
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, 1
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, 1
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, 1
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 0x1401514f8
cmp dword [rsp + 0x18], 0
je 0x1401517d7
mov eax, 0x400
imul rax, rax, 1
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 0x14015177a
mov eax, dword [rsp + 8]
xor eax, 0xffffffff
ret