Function at 0x14001a104
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x318
mov rax, qword [0x140045948]
xor rax, rsp
mov qword [rsp + 0x300], rax
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 0x14001a12a
lea r8, [0x140055ef0]
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 0x14001a167
xor r10d, r10d
lea r11, [0x140000000]
xor r8d, r8d
test r10b, r10b
je 0x14001a1af
movzx eax, r10b
movzx ecx, byte [rsp + rax]
lea rax, [rsp + 0x1ff]
sub rax, rcx
movzx ecx, byte [rax]
jmp 0x14001a1b1
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 + 0x56010], dl
mov byte [r11 + r8*4 + 0x54ef1], dl
mov byte [r11 + r8*4 + 0x54ef0], dl
mov byte [r11 + r8*4 + 0x552f3], dl
mov byte [r11 + r8*4 + 0x552f0], dl
mov byte [r11 + r8*4 + 0x556f3], dl
mov byte [r11 + r8*4 + 0x556f2], dl
mov byte [r11 + r8*4 + 0x55af2], dl
mov byte [r11 + r8*4 + 0x55af1], dl
je 0x14001a227
movzx eax, dl
movzx ecx, byte [rsp + rax]
movzx eax, byte [rsp + rcx + 0x119]
jmp 0x14001a229
xor eax, eax
mov byte [r11 + r8*4 + 0x54ef3], al
mov byte [r11 + r8*4 + 0x552f2], al
mov byte [r11 + r8*4 + 0x556f1], al
mov byte [r11 + r8*4 + 0x55af0], al
test dl, dl
je 0x14001a25e
movzx eax, dl
movzx ecx, byte [rsp + rax]
movzx eax, byte [rsp + rcx + 0x101]
jmp 0x14001a260
xor eax, eax
mov byte [r11 + r8*4 + 0x54ef2], al
mov byte [r11 + r8*4 + 0x552f1], al
mov byte [r11 + r8*4 + 0x556f0], al
mov byte [r11 + r8*4 + 0x55af3], 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 0x14001a2d7
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 0x14001a2d9
xor dl, dl
mov byte [r8 + r11 + 0x55f10], dl
test dl, dl
je 0x14001a2f6
movzx eax, dl
movzx ecx, byte [rsp + rax]
movzx eax, byte [rsp + rcx + 0x168]
jmp 0x14001a2f8
xor eax, eax
movzx ecx, dl
mov byte [r11 + r8*4 + 0x53ef2], al
mov byte [r11 + r8*4 + 0x542f1], al
mov byte [r11 + r8*4 + 0x546f0], al
mov byte [r11 + r8*4 + 0x54af3], al
mov byte [r11 + rcx*4 + 0x52ef2], al
mov byte [r11 + rcx*4 + 0x532f1], al
mov byte [r11 + rcx*4 + 0x536f0], al
mov byte [r11 + rcx*4 + 0x53af3], al
test dl, dl
je 0x14001a34e
movzx eax, byte [rsp + rcx]
movzx r9d, byte [rsp + rax + 0x1c7]
jmp 0x14001a351
xor r9d, r9d
mov byte [r11 + r8*4 + 0x53ef0], r9b
mov byte [r11 + r8*4 + 0x542f3], r9b
mov byte [r11 + r8*4 + 0x546f2], r9b
mov byte [r11 + r8*4 + 0x54af1], r9b
mov byte [r11 + rcx*4 + 0x52ef0], r9b
mov byte [r11 + rcx*4 + 0x532f3], r9b
mov byte [r11 + rcx*4 + 0x536f2], r9b
mov byte [r11 + rcx*4 + 0x53af1], r9b
test dl, dl
je 0x14001a3a4
movzx eax, byte [rsp + rcx]
movzx r9d, byte [rsp + rax + 0x1ee]
jmp 0x14001a3a7
xor r9d, r9d
mov byte [r11 + r8*4 + 0x53ef1], r9b
mov byte [r11 + r8*4 + 0x542f0], r9b
mov byte [r11 + r8*4 + 0x546f3], r9b
mov byte [r11 + r8*4 + 0x54af2], r9b
mov byte [r11 + rcx*4 + 0x52ef1], r9b
mov byte [r11 + rcx*4 + 0x532f0], r9b
mov byte [r11 + rcx*4 + 0x536f3], r9b
mov byte [r11 + rcx*4 + 0x53af2], r9b
test dl, dl
je 0x14001a3f9
movzx eax, byte [rsp + rcx]
movzx edx, byte [rsp + rax + 0x1df]
jmp 0x14001a3fb
xor edx, edx
inc r10d
mov byte [r11 + r8*4 + 0x53ef3], dl
mov byte [r11 + r8*4 + 0x542f2], dl
mov byte [r11 + r8*4 + 0x546f1], dl
mov byte [r11 + r8*4 + 0x54af0], dl
inc r8
cmp r10d, 0x100
mov byte [r11 + rcx*4 + 0x52ef3], dl
mov byte [r11 + rcx*4 + 0x532f2], dl
mov byte [r11 + rcx*4 + 0x536f1], dl
mov byte [r11 + rcx*4 + 0x53af0], dl
jl 0x14001a192
mov rcx, qword [rsp + 0x300]
xor rcx, rsp
call fcn.14002c700
add rsp, 0x318
ret