Function at 0x1400869c8
Capabilities:
Encode data using xor

Disassembly:
push rbp
lea rbp, [rsp - 0x210]
sub rsp, 0x310
mov rax, qword [0x14013b1d0]
xor rax, rsp
mov qword [rbp + 0x200], rax
xor r8d, r8d
mov r10d, 0x11b
lea edx, [r8 + 1]
movsxd rax, r8d
mov byte [rbp + rax], dl
lea eax, [r8 + 0xff]
movsxd rcx, eax
movsxd rax, edx
mov byte [rbp + rcx], dl
mov byte [rsp + rax], r8b
mov eax, edx
and al, 0x80
inc r8d
neg al
lea eax, [rdx + rdx]
sbb ecx, ecx
and ecx, r10d
xor ecx, eax
xor edx, ecx
cmp edx, 1
jne 0x1400869f7
xor r8d, r8d
lea r9, [0x14017c3d0]
mov eax, edx
mov byte [r9], dl
and al, 0x80
neg al
lea eax, [rdx + rdx]
sbb ecx, ecx
inc r8d
and ecx, r10d
inc r9
mov edx, ecx
xor edx, eax
cmp r8d, 0x1e
jb 0x140086a37
xor r10d, r10d
lea r11, [0x140000000]
xor r8d, r8d
test r10b, r10b
je 0x140086a82
movzx eax, r10b
movzx ecx, byte [rsp + rax]
mov eax, 0xff
sub eax, ecx
cdqe
movzx ecx, byte [rbp + rax]
jmp 0x140086a84
xor ecx, ecx
lea eax, [rcx + rcx]
xor eax, ecx
add eax, eax
xor eax, ecx
add eax, eax
xor eax, ecx
add eax, eax
xor ecx, eax
mov edx, ecx
xor edx, 0x6300
sar edx, 8
xor edx, ecx
mov byte [r8 + r11 + 0x17c1d0], dl
mov byte [r11 + r8*4 + 0x17cff1], dl
mov byte [r11 + r8*4 + 0x17cff0], dl
mov byte [r11 + r8*4 + 0x17cbf3], dl
mov byte [r11 + r8*4 + 0x17cbf0], dl
mov byte [r11 + r8*4 + 0x17c7f3], dl
mov byte [r11 + r8*4 + 0x17c7f2], dl
mov byte [r11 + r8*4 + 0x17c3f2], dl
mov byte [r11 + r8*4 + 0x17c3f1], dl
test dl, dl
je 0x140086afc
movzx eax, dl
movzx ecx, byte [rsp + rax]
movzx eax, byte [rbp + rcx + 0x19]
jmp 0x140086afe
xor eax, eax
mov byte [r11 + r8*4 + 0x17cff3], al
mov byte [r11 + r8*4 + 0x17cbf2], al
mov byte [r11 + r8*4 + 0x17c7f1], al
mov byte [r11 + r8*4 + 0x17c3f0], al
test dl, dl
je 0x140086b30
movzx eax, dl
movzx ecx, byte [rsp + rax]
movzx eax, byte [rbp + rcx + 1]
jmp 0x140086b32
xor eax, eax
mov byte [r11 + r8*4 + 0x17cff2], al
mov byte [r11 + r8*4 + 0x17cbf1], al
mov byte [r11 + r8*4 + 0x17c7f0], al
mov byte [r11 + r8*4 + 0x17c3f3], al
movzx r9d, r10b
mov eax, r9d
shl eax, 3
xor eax, r9d
shl eax, 2
xor eax, r9d
add eax, eax
mov ecx, eax
sar ecx, 8
xor cl, al
cmp cl, 5
je 0x140086baa
mov edx, r9d
shl edx, 3
xor edx, r9d
shl edx, 2
xor edx, r9d
add edx, edx
mov eax, edx
sar eax, 8
movzx ecx, al
movzx eax, dl
xor rcx, rax
xor rcx, 5
movzx eax, byte [rsp + rcx]
mov ecx, 0xff
sub ecx, eax
movsxd rax, ecx
mov dl, byte [rbp + rax]
jmp 0x140086bac
xor dl, dl
mov byte [r8 + r11 + 0x17c2d0], dl
test dl, dl
je 0x140086bc6
movzx eax, dl
movzx ecx, byte [rsp + rax]
movzx eax, byte [rbp + rcx + 0x68]
jmp 0x140086bc8
xor eax, eax
movzx ecx, dl
mov byte [r11 + r8*4 + 0x17dff2], al
mov byte [r11 + r8*4 + 0x17dbf1], al
mov byte [r11 + r8*4 + 0x17d7f0], al
mov byte [r11 + rcx*4 + 0x17eff2], al
mov byte [r11 + rcx*4 + 0x17ebf1], al
mov byte [r11 + rcx*4 + 0x17e7f0], al
mov byte [r11 + rcx*4 + 0x17e3f3], al
mov byte [r11 + r8*4 + 0x17d3f3], al
test dl, dl
je 0x140086c1e
movzx eax, byte [rsp + rcx]
movzx r9d, byte [rbp + rax + 0xc7]
jmp 0x140086c21
xor r9d, r9d
mov byte [r11 + r8*4 + 0x17dff0], r9b
mov byte [r11 + r8*4 + 0x17dbf3], r9b
mov byte [r11 + r8*4 + 0x17d7f2], r9b
mov byte [r11 + r8*4 + 0x17d3f1], r9b
mov byte [r11 + rcx*4 + 0x17eff0], r9b
mov byte [r11 + rcx*4 + 0x17ebf3], r9b
mov byte [r11 + rcx*4 + 0x17e7f2], r9b
mov byte [r11 + rcx*4 + 0x17e3f1], r9b
test dl, dl
je 0x140086c74
movzx eax, byte [rsp + rcx]
movzx r9d, byte [rbp + rax + 0xee]
jmp 0x140086c77
xor r9d, r9d
mov byte [r11 + r8*4 + 0x17dff1], r9b
mov byte [r11 + r8*4 + 0x17dbf0], r9b
mov byte [r11 + r8*4 + 0x17d7f3], r9b
mov byte [r11 + r8*4 + 0x17d3f2], r9b
mov byte [r11 + rcx*4 + 0x17eff1], r9b
mov byte [r11 + rcx*4 + 0x17ebf0], r9b
mov byte [r11 + rcx*4 + 0x17e7f3], r9b
mov byte [r11 + rcx*4 + 0x17e3f2], r9b
test dl, dl
je 0x140086cc9
movzx eax, byte [rsp + rcx]
movzx edx, byte [rbp + rax + 0xdf]
jmp 0x140086ccb
xor edx, edx
mov byte [r11 + r8*4 + 0x17dff3], dl
inc r10d
mov byte [r11 + r8*4 + 0x17dbf2], dl
mov byte [r11 + r8*4 + 0x17d7f1], dl
mov byte [r11 + r8*4 + 0x17d3f0], dl
inc r8
mov byte [r11 + rcx*4 + 0x17eff3], dl
mov byte [r11 + rcx*4 + 0x17ebf2], dl
mov byte [r11 + rcx*4 + 0x17e7f1], dl
mov byte [r11 + rcx*4 + 0x17e3f0], dl
cmp r10d, 0x100
jl 0x140086a65
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.1400ec220
add rsp, 0x310
pop rbp
ret