Function at 0x1400d6fb8
Capabilities:
Encode data using xor

Disassembly:
push rbp
lea rbp, [rsp - 0x210]
sub rsp, 0x310
mov rax, qword [section..data]
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
mov byte [rbp + rax + 0xff], dl
movsxd rax, edx
mov byte [rsp + rax], r8b
mov eax, edx
inc r8d
and al, 0x80
neg al
lea eax, [rdx + rdx]
sbb ecx, ecx
and ecx, r10d
xor ecx, eax
xor edx, ecx
cmp edx, 1
jne 0x1400d6fe7
xor r8d, r8d
lea r9, [0x1401883c0]
mov eax, edx
mov byte [r9], dl
and al, 0x80
neg al
lea eax, [rdx + rdx]
sbb ecx, ecx
inc r8d
inc r9
and ecx, r10d
mov edx, ecx
xor edx, eax
movsxd rax, r8d
cmp rax, 0x1e
jb 0x1400d7020
xor r10d, r10d
lea r11, [0x140000000]
xor r8d, r8d
test r10b, r10b
je 0x1400d706d
movzx eax, r10b
movzx ecx, byte [rsp + rax]
lea rax, [rbp + 0xff]
sub rax, rcx
movzx ecx, byte [rax]
jmp 0x1400d706f
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 + 0x185dc0], dl
mov byte [r11 + r8*4 + 0x1866c1], dl
mov byte [r11 + r8*4 + 0x1866c0], dl
mov byte [r11 + r8*4 + 0x185ec3], dl
mov byte [r11 + r8*4 + 0x185ec0], dl
mov byte [r11 + r8*4 + 0x187fc3], dl
mov byte [r11 + r8*4 + 0x187fc2], dl
mov byte [r11 + r8*4 + 0x1859c2], dl
mov byte [r11 + r8*4 + 0x1859c1], dl
test dl, dl
je 0x1400d70e7
movzx eax, dl
movzx ecx, byte [rsp + rax]
movzx eax, byte [rbp + rcx + 0x19]
jmp 0x1400d70e9
xor eax, eax
mov byte [r11 + r8*4 + 0x1866c3], al
mov byte [r11 + r8*4 + 0x185ec2], al
mov byte [r11 + r8*4 + 0x187fc1], al
mov byte [r11 + r8*4 + 0x1859c0], al
test dl, dl
je 0x1400d711b
movzx eax, dl
movzx ecx, byte [rsp + rax]
movzx eax, byte [rbp + rcx + 1]
jmp 0x1400d711d
xor eax, eax
mov byte [r11 + r8*4 + 0x1866c2], al
mov byte [r11 + r8*4 + 0x185ec1], al
mov byte [r11 + r8*4 + 0x187fc0], al
mov byte [r11 + r8*4 + 0x1859c3], 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
xor cl, 5
je 0x1400d7193
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]
lea rcx, [rbp + 0xff]
sub rcx, rax
mov dl, byte [rcx]
jmp 0x1400d7195
xor dl, dl
mov byte [r8 + r11 + 0x187ac0], dl
test dl, dl
je 0x1400d71af
movzx eax, dl
movzx ecx, byte [rsp + rax]
movzx eax, byte [rbp + rcx + 0x68]
jmp 0x1400d71b1
xor eax, eax
movzx ecx, dl
mov byte [r11 + r8*4 + 0x186ec2], al
mov byte [r11 + r8*4 + 0x1883e1], al
mov byte [r11 + r8*4 + 0x187bc0], al
mov byte [r11 + r8*4 + 0x1862c3], al
mov byte [r11 + rcx*4 + 0x1872c2], al
mov byte [r11 + rcx*4 + 0x1876c1], al
mov byte [r11 + rcx*4 + 0x186ac0], al
mov byte [r11 + rcx*4 + 0x1855c3], al
test dl, dl
je 0x1400d7207
movzx eax, byte [rsp + rcx]
movzx r9d, byte [rbp + rax + 0xc7]
jmp 0x1400d720a
xor r9d, r9d
mov byte [r11 + r8*4 + 0x186ec0], r9b
mov byte [r11 + r8*4 + 0x1883e3], r9b
mov byte [r11 + r8*4 + 0x187bc2], r9b
mov byte [r11 + r8*4 + 0x1862c1], r9b
mov byte [r11 + rcx*4 + 0x1872c0], r9b
mov byte [r11 + rcx*4 + 0x1876c3], r9b
mov byte [r11 + rcx*4 + 0x186ac2], r9b
mov byte [r11 + rcx*4 + 0x1855c1], r9b
test dl, dl
je 0x1400d725d
movzx eax, byte [rsp + rcx]
movzx r9d, byte [rbp + rax + 0xee]
jmp 0x1400d7260
xor r9d, r9d
mov byte [r11 + r8*4 + 0x186ec1], r9b
mov byte [r11 + r8*4 + 0x1883e0], r9b
mov byte [r11 + r8*4 + 0x187bc3], r9b
mov byte [r11 + r8*4 + 0x1862c2], r9b
mov byte [r11 + rcx*4 + 0x1872c1], r9b
mov byte [r11 + rcx*4 + 0x1876c0], r9b
mov byte [r11 + rcx*4 + 0x186ac3], r9b
mov byte [r11 + rcx*4 + 0x1855c2], r9b
test dl, dl
je 0x1400d72b2
movzx eax, byte [rsp + rcx]
movzx edx, byte [rbp + rax + 0xdf]
jmp 0x1400d72b4
xor edx, edx
inc r10d
mov byte [r11 + r8*4 + 0x186ec3], dl
mov byte [r11 + r8*4 + 0x1883e2], dl
mov byte [r11 + r8*4 + 0x187bc1], dl
mov byte [r11 + r8*4 + 0x1862c0], dl
inc r8
mov byte [r11 + rcx*4 + 0x1872c3], dl
mov byte [r11 + rcx*4 + 0x1876c2], dl
mov byte [r11 + rcx*4 + 0x186ac1], dl
mov byte [r11 + rcx*4 + 0x1855c0], dl
cmp r10d, 0x100
jl 0x1400d7051
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.140001010
add rsp, 0x310
pop rbp
ret