Function at 0x140001200
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r13
push r14
push r15
xor r14d, r14d
lea rbp, [0x140005090]
mov r9d, r14d
mov r15d, r14d
mov r12, r8
mov esi, 2
nop dword [rax]
nop dword [rax + rax]
lea ecx, [rsi - 2]
mov eax, 0x66666667
imul ecx
lea r8d, [rsi - 1]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*4]
add eax, eax
sub ecx, eax
movsxd rax, ecx
lea ecx, [rsi - 2]
shr ecx, 3
movzx ebx, byte [rax + rbp]
mov eax, r15d
shr eax, 1
xor eax, r9d
shr ebx, cl
shr eax, 3
add r9d, r9d
xor eax, r14d
shr eax, 0x12
xor ebx, eax
lea eax, [r14 + r14]
and ebx, 1
or ebx, eax
lea eax, [r15 + r15]
mov r10d, ebx
shr r10d, 8
and r10d, 1
or r10d, r9d
mov r11d, r10d
shr r11d, 0xa
and r11d, 1
or r11d, eax
mov eax, 0x66666667
imul r8d
mov eax, r8d
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov ecx, r8d
lea edx, [rdx + rdx*4]
add edx, edx
sub ecx, edx
movsxd rdx, ecx
movzx edi, byte [rdx + rbp]
cdq
and edx, 7
lea ecx, [rdx + rax]
mov eax, r11d
shr eax, 1
xor eax, r10d
sar ecx, 3
shr eax, 3
xor eax, ebx
shr edi, cl
shr eax, 0x12
xor edi, eax
lea eax, [rbx + rbx]
and edi, 1
or edi, eax
lea eax, [r10 + r10]
mov r8d, edi
shr r8d, 8
and r8d, 1
or r8d, eax
lea eax, [r11 + r11]
mov r9d, r8d
shr r9d, 0xa
and r9d, 1
or r9d, eax
mov eax, 0x66666667
imul esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea ecx, [rdx + rdx*4]
add ecx, ecx
mov eax, esi
sub eax, ecx
movsxd rcx, eax
mov eax, esi
cdq
and edx, 7
movzx ebx, byte [rcx + rbp]
lea ecx, [rdx + rax]
mov eax, r9d
shr eax, 1
xor eax, r8d
sar ecx, 3
shr eax, 3
xor eax, edi
shr ebx, cl
shr eax, 0x12
xor ebx, eax
lea eax, [rdi + rdi]
and ebx, 1
or ebx, eax
lea eax, [r8 + r8]
lea r8d, [rsi + 1]
mov r10d, ebx
shr r10d, 8
and r10d, 1
or r10d, eax
lea eax, [r9 + r9]
mov r11d, r10d
shr r11d, 0xa
and r11d, 1
or r11d, eax
mov eax, 0x66666667
imul r8d
mov eax, r8d
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov ecx, r8d
lea r8d, [rsi + 2]
lea edx, [rdx + rdx*4]
add edx, edx
sub ecx, edx
movsxd rdx, ecx
movzx edi, byte [rdx + rbp]
cdq
and edx, 7
lea ecx, [rdx + rax]
mov eax, r11d
shr eax, 1
xor eax, r10d
sar ecx, 3
shr eax, 3
xor eax, ebx
shr edi, cl
shr eax, 0x12
xor edi, eax
lea eax, [rbx + rbx]
and edi, 1
or edi, eax
lea eax, [r10 + r10]
mov r9d, edi
shr r9d, 8
and r9d, 1
or r9d, eax
lea eax, [r11 + r11]
mov r10d, r9d
shr r10d, 0xa
and r10d, 1
or r10d, eax
mov eax, 0x66666667
imul r8d
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov ecx, r8d
lea edx, [rdx + rdx*4]
add edx, edx
sub ecx, edx
movsxd rdx, ecx
mov eax, r8d
lea r8d, [rsi + 3]
movzx ebx, byte [rdx + rbp]
cdq
and edx, 7
lea ecx, [rdx + rax]
mov eax, r10d
shr eax, 1
xor eax, r9d
sar ecx, 3
shr eax, 3
xor eax, edi
shr ebx, cl
shr eax, 0x12
xor ebx, eax
lea eax, [rdi + rdi]
and ebx, 1
or ebx, eax
lea eax, [r9 + r9]
mov r11d, ebx
shr r11d, 8
and r11d, 1
or r11d, eax
lea eax, [r10 + r10]
mov r9d, r11d
shr r9d, 0xa
and r9d, 1
or r9d, eax
mov eax, 0x66666667
imul r8d
mov eax, r8d
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov ecx, r8d
lea r8d, [rsi + 4]
lea edx, [rdx + rdx*4]
add edx, edx
sub ecx, edx
movsxd rdx, ecx
movzx edi, byte [rdx + rbp]
cdq
and edx, 7
lea ecx, [rdx + rax]
mov eax, r9d
shr eax, 1
xor eax, r11d
sar ecx, 3
shr eax, 3
xor eax, ebx
shr edi, cl
shr eax, 0x12
xor edi, eax
lea eax, [rbx + rbx]
and edi, 1
or edi, eax
lea eax, [r11 + r11]
mov r10d, edi
shr r10d, 8
and r10d, 1
or r10d, eax
lea eax, [r9 + r9]
mov r11d, r10d
shr r11d, 0xa
and r11d, 1
or r11d, eax
mov eax, 0x66666667
imul r8d
mov eax, r8d
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov ecx, r8d
lea edx, [rdx + rdx*4]
add edx, edx
sub ecx, edx
movsxd rdx, ecx
movzx r9d, byte [rdx + rbp]
cdq
lea r8d, [rsi + 5]
and edx, 7
add esi, 8
lea ecx, [rdx + rax]
mov eax, r11d
shr eax, 1
xor eax, r10d
sar ecx, 3
shr eax, 3
xor eax, edi
shr r9d, cl
shr eax, 0x12
xor r9d, eax
lea eax, [rdi + rdi]
and r9d, 1
or r9d, eax
lea eax, [r10 + r10]
mov ebx, r9d
shr ebx, 8
and ebx, 1
or ebx, eax
lea eax, [r11 + r11]
mov r10d, ebx
shr r10d, 0xa
and r10d, 1
or r10d, eax
mov eax, 0x66666667
imul r8d
mov eax, r8d
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov ecx, r8d
lea edx, [rdx + rdx*4]
add edx, edx
sub ecx, edx
movsxd rdx, ecx
movzx r14d, byte [rdx + rbp]
cdq
and edx, 7
lea ecx, [rdx + rax]
mov eax, r10d
shr eax, 1
xor eax, ebx
sar ecx, 3
shr eax, 3
xor eax, r9d
shr r14d, cl
shr eax, 0x12
xor r14d, eax
lea eax, [r9 + r9]
and r14d, 1
or r14d, eax
lea eax, [rbx + rbx]
mov r9d, r14d
shr r9d, 8
and r9d, 1
or r9d, eax
lea eax, [r10 + r10]
mov r15d, r9d
shr r15d, 0xa
and r15d, 1
or r15d, eax
lea eax, [rsi - 2]
cmp eax, 0x40
jl 0x140001240
mov rbp, qword [rsp + 0x48]
mov r13d, 0x200
sub r12, rbp
nop dword [rax]
nop word [rax + rax]
mov ecx, r9d
lea r8d, [r14 + r14]
shr ecx, 2
mov eax, r15d
shr eax, 2
mov esi, ecx
and ecx, r14d
xor esi, r14d
and esi, eax
mov eax, r15d
xor esi, ecx
shr eax, 4
mov ecx, r9d
shr esi, 8
shr ecx, 3
add r9d, r9d
mov ebx, ecx
and esi, 1
and ecx, r14d
xor ebx, r14d
and ebx, eax
lea eax, [r15 + r15]
xor ebx, ecx
shr ebx, 0x12
and ebx, 1
xor ebx, esi
or r8d, ebx
mov r10d, r8d
shr r10d, 8
and r10d, 1
or r10d, r9d
mov r11d, r10d
mov ecx, r10d
shr ecx, 3
mov edx, ecx
shr r11d, 0xa
xor edx, r8d
and ecx, r8d
add r8d, r8d
and r11d, 1
or r11d, eax
mov eax, r11d
shr eax, 4
and edx, eax
lea eax, [r10 + r10]
xor edx, ecx
shr edx, 0x12
and edx, 1
xor edx, esi
or r8d, edx
movzx edi, dl
mov r9d, r8d
add dil, dil
shr r9d, 8
or dil, bl
and r9d, 1
or r9d, eax
lea eax, [r11 + r11]
mov r10d, r9d
mov ecx, r9d
shr r10d, 0xa
shr ecx, 3
and r10d, 1
or r10d, eax
mov edx, ecx
xor edx, r8d
and ecx, r8d
add r8d, r8d
mov eax, r10d
shr eax, 4
and edx, eax
xor edx, ecx
shr edx, 0x12
and edx, 1
xor edx, esi
or r8d, edx
movzx eax, dl
shl al, 2
mov r11d, r8d
or dil, al
shr r11d, 8
lea eax, [r9 + r9]
and r11d, 1
or r11d, eax
lea eax, [r10 + r10]
mov r9d, r11d
mov ecx, r11d
shr ecx, 3
mov edx, ecx
shr r9d, 0xa
xor edx, r8d
and ecx, r8d
and r9d, 1
add r8d, r8d
or r9d, eax
mov eax, r9d
shr eax, 4
and edx, eax
xor edx, ecx
shr edx, 0x12
and edx, 1
xor edx, esi
or r8d, edx
movzx eax, dl
shl al, 3
mov r10d, r8d
or dil, al
shr r10d, 8
lea eax, [r11 + r11]
and r10d, 1
or r10d, eax
lea eax, [r9 + r9]
mov r11d, r10d
mov ecx, r10d
shr ecx, 3
mov edx, ecx
shr r11d, 0xa
xor edx, r8d
and ecx, r8d
add r8d, r8d
and r11d, 1
or r11d, eax
mov eax, r11d
shr eax, 4
and edx, eax
xor edx, ecx
shr edx, 0x12
and edx, 1
xor edx, esi
or r8d, edx
movzx eax, dl
shl al, 4
mov r9d, r8d
or dil, al
shr r9d, 8
lea eax, [r10 + r10]
and r9d, 1
or r9d, eax
lea eax, [r11 + r11]
mov r10d, r9d
mov ecx, r9d
shr r10d, 0xa
shr ecx, 3
and r10d, 1
or r10d, eax
mov edx, ecx
xor edx, r8d
and ecx, r8d
add r8d, r8d
mov eax, r10d
shr eax, 4
and edx, eax
xor edx, ecx
shr edx, 0x12
and edx, 1
xor edx, esi
or r8d, edx
movzx eax, dl
shl al, 5
mov r11d, r8d
or dil, al
shr r11d, 8
lea eax, [r9 + r9]
and r11d, 1
or r11d, eax
lea rbp, [rbp + 1]
lea eax, [r10 + r10]
mov r9d, r11d
shr r9d, 0xa
mov ecx, r11d
and r9d, 1
shr ecx, 3
or r9d, eax
mov edx, ecx
xor edx, r8d
and ecx, r8d
mov eax, r9d
add r8d, r8d
shr eax, 4
and edx, eax
xor edx, ecx
shr edx, 0x12
and edx, 1
xor edx, esi
or r8d, edx
movzx eax, dl
shl al, 6
mov r10d, r8d
or dil, al
shr r10d, 8
lea eax, [r11 + r11]
and r10d, 1
or r10d, eax
lea r14d, [r8 + r8]
lea eax, [r9 + r9]
mov r11d, r10d
shr r11d, 0xa
mov ecx, r10d
shr ecx, 3
and r11d, 1
or r11d, eax
mov edx, ecx
xor edx, r8d
and ecx, r8d
mov eax, r11d
shr eax, 4
and edx, eax
xor edx, ecx
shr edx, 0x12
and edx, 1
xor edx, esi
or r14d, edx
movzx eax, dl
shl al, 7
mov r9d, r14d
or dil, al
shr r9d, 8
xor dil, byte [r12 + rbp - 1]
lea eax, [r10 + r10]
and r9d, 1
mov byte [rbp - 1], dil
or r9d, eax
lea eax, [r11 + r11]
mov r15d, r9d
shr r15d, 0xa
and r15d, 1
or r15d, eax
sub r13, 1
jne 0x140001600
mov rbx, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
pop r15
pop r14
pop r13
pop r12
ret