Function at 0x14000ec74
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x308
xor r8d, r8d
mov r10d, 0x11b
lea edx, [r8 + 1]
movsxd rax, r8d
mov byte [rsp + rax + 0x100], dl
mov byte [rsp + rax + 0x1ff], 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 0x14000ec88
lea r8, [0x140040be0]
lea r9d, [rdx + 0x1d]
mov eax, edx
mov byte [r8], dl
and al, 0x80
neg al
lea eax, [rdx + rdx]
sbb ecx, ecx
inc r8
and ecx, r10d
mov edx, ecx
xor edx, eax
sub r9, 1
jne 0x14000ecc5
xor r10d, r10d
lea r11, [0x140000000]
xor r8d, r8d
test r10b, r10b
je 0x14000ed0d
movzx eax, r10b
movzx ecx, byte [rsp + rax]
lea rax, [rsp + 0x1ff]
sub rax, rcx
movzx ecx, byte [rax]
jmp 0x14000ed0f
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
sar edx, 8
xor dl, cl
xor dl, 0x63
mov byte [r8 + r11 + 0x40d00], dl
mov byte [r11 + r8*4 + 0x3fbe1], dl
mov byte [r11 + r8*4 + 0x3fbe0], dl
mov byte [r11 + r8*4 + 0x3ffe3], dl
mov byte [r11 + r8*4 + 0x3ffe0], dl
mov byte [r11 + r8*4 + 0x403e3], dl
mov byte [r11 + r8*4 + 0x403e2], dl
mov byte [r11 + r8*4 + 0x407e2], dl
mov byte [r11 + r8*4 + 0x407e1], dl
je 0x14000ed85
movzx eax, dl
movzx ecx, byte [rsp + rax]
movzx eax, byte [rsp + rcx + 0x119]
jmp 0x14000ed87
xor eax, eax
mov byte [r11 + r8*4 + 0x3fbe3], al
mov byte [r11 + r8*4 + 0x3ffe2], al
mov byte [r11 + r8*4 + 0x403e1], al
mov byte [r11 + r8*4 + 0x407e0], al
test dl, dl
je 0x14000edbc
movzx eax, dl
movzx ecx, byte [rsp + rax]
movzx eax, byte [rsp + rcx + 0x101]
jmp 0x14000edbe
xor eax, eax
mov byte [r11 + r8*4 + 0x3fbe2], al
mov byte [r11 + r8*4 + 0x3ffe1], al
mov byte [r11 + r8*4 + 0x403e0], al
mov byte [r11 + r8*4 + 0x407e3], 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 0x14000ee35
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, [rsp + 0x1ff]
sub rcx, rax
mov dl, byte [rcx]
jmp 0x14000ee37
xor dl, dl
mov byte [r8 + r11 + 0x40c00], dl
test dl, dl
je 0x14000ee54
movzx eax, dl
movzx ecx, byte [rsp + rax]
movzx eax, byte [rsp + rcx + 0x168]
jmp 0x14000ee56
xor eax, eax
movzx ecx, dl
mov byte [r11 + r8*4 + 0x3ebe2], al
mov byte [r11 + r8*4 + 0x3efe1], al
mov byte [r11 + r8*4 + 0x3f3e0], al
mov byte [r11 + r8*4 + 0x3f7e3], al
mov byte [r11 + rcx*4 + 0x3dbe2], al
mov byte [r11 + rcx*4 + 0x3dfe1], al
mov byte [r11 + rcx*4 + 0x3e3e0], al
mov byte [r11 + rcx*4 + 0x3e7e3], al
test dl, dl
je 0x14000eeac
movzx eax, byte [rsp + rcx]
movzx r9d, byte [rsp + rax + 0x1c7]
jmp 0x14000eeaf
xor r9d, r9d
mov byte [r11 + r8*4 + 0x3ebe0], r9b
mov byte [r11 + r8*4 + 0x3efe3], r9b
mov byte [r11 + r8*4 + 0x3f3e2], r9b
mov byte [r11 + r8*4 + 0x3f7e1], r9b
mov byte [r11 + rcx*4 + 0x3dbe0], r9b
mov byte [r11 + rcx*4 + 0x3dfe3], r9b
mov byte [r11 + rcx*4 + 0x3e3e2], r9b
mov byte [r11 + rcx*4 + 0x3e7e1], r9b
test dl, dl
je 0x14000ef02
movzx eax, byte [rsp + rcx]
movzx r9d, byte [rsp + rax + 0x1ee]
jmp 0x14000ef05
xor r9d, r9d
mov byte [r11 + r8*4 + 0x3ebe1], r9b
mov byte [r11 + r8*4 + 0x3efe0], r9b
mov byte [r11 + r8*4 + 0x3f3e3], r9b
mov byte [r11 + r8*4 + 0x3f7e2], r9b
mov byte [r11 + rcx*4 + 0x3dbe1], r9b
mov byte [r11 + rcx*4 + 0x3dfe0], r9b
mov byte [r11 + rcx*4 + 0x3e3e3], r9b
mov byte [r11 + rcx*4 + 0x3e7e2], r9b
test dl, dl
je 0x14000ef57
movzx eax, byte [rsp + rcx]
movzx edx, byte [rsp + rax + 0x1df]
jmp 0x14000ef59
xor edx, edx
inc r10d
mov byte [r11 + r8*4 + 0x3ebe3], dl
mov byte [r11 + r8*4 + 0x3efe2], dl
mov byte [r11 + r8*4 + 0x3f3e1], dl
mov byte [r11 + r8*4 + 0x3f7e0], dl
inc r8
cmp r10d, 0x100
mov byte [r11 + rcx*4 + 0x3dbe3], dl
mov byte [r11 + rcx*4 + 0x3dfe2], dl
mov byte [r11 + rcx*4 + 0x3e3e1], dl
mov byte [r11 + rcx*4 + 0x3e7e0], dl
jl 0x14000ecf0
add rsp, 0x308
ret