Function at 0x140011850
Capabilities:
Encode data using xor
Manually build aes constants

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x210
mov rax, qword [0x14004e010]
xor rax, rsp
mov qword [rsp + 0x200], rax
xor r8d, r8d
lea r9, [rsp + 0x100]
mov dl, 1
mov r11d, 0x100
nop word [rax + rax]
movzx eax, dl
movzx ecx, dl
sar cl, 7
mov byte [r9], dl
lea r9, [r9 + 1]
and cl, 0x1b
mov byte [rsp + rax], r8b
movzx eax, dl
add al, al
inc r8d
xor cl, al
xor dl, cl
cmp r8d, r11d
jl 0x1400118a0
mov dl, 1
lea r8, [0x140051150]
mov r9d, 0xa
nop word [rax + rax]
movzx eax, dl
movzx ecx, dl
mov dword [r8], eax
lea r8, [r8 + 4]
movzx eax, dl
sar cl, 7
and cl, 0x1b
add al, al
movzx edx, cl
xor dl, al
sub r9, 1
jne 0x1400118e0
mov byte [0x1400510b3], r9b
lea r12, [0x140000000]
mov r9d, 1
mov byte [0x140050b50], 0x63
xor r10d, r10d
movzx eax, byte [rsp + r10 + 1]
lea rcx, [rsp + 0x1ff]
sub rcx, rax
lea r10, [r10 + 1]
movzx r8d, byte [rcx]
movzx eax, r8b
movzx ecx, r8b
shr cl, 7
add al, al
or cl, al
xor r8b, cl
movzx edx, cl
add cl, cl
shr dl, 7
or dl, cl
movzx eax, dl
xor r8b, dl
shr al, 7
add dl, dl
or al, dl
movzx ecx, al
ror cl, 7
xor cl, al
xor cl, r8b
xor cl, 0x63
movzx eax, cl
mov byte [r10 + r12 + 0x50b50], cl
mov byte [rax + r12 + 0x51050], r9b
inc r9d
cmp r9d, r11d
jl 0x140011921
mov rsi, qword [rsp + 0xe]
xor edi, edi
mov rbp, qword [rsp + 0xd]
mov r14, qword [rsp + 0xb]
mov r15, qword [rsp + 9]
nop dword [rax]
nop word [rax + rax]
movzx edx, byte [rdi + r12 + 0x50b50]
movzx eax, dl
movzx ecx, dl
mov r8d, edx
sar cl, 7
and cl, 0x1b
add al, al
xor cl, al
movzx eax, cl
mov ecx, eax
xor ecx, edx
mov edx, ecx
shl edx, 8
xor edx, r8d
shl edx, 8
xor edx, r8d
shl edx, 8
xor edx, eax
movzx eax, byte [rdi + r12 + 0x51050]
mov dword [r12 + rdi*4 + 0x52580], edx
shl edx, 8
or edx, ecx
mov dword [r12 + rdi*4 + 0x52180], edx
shl edx, 8
or edx, r8d
mov dword [r12 + rdi*4 + 0x51580], edx
shl edx, 8
or edx, r8d
mov dword [r12 + rdi*4 + 0x51180], edx
test al, al
je 0x140011aca
movzx r8d, byte [rsp + rax]
mov r9d, eax
mov eax, 0x80808081
movzx ecx, r15b
add ecx, r8d
mul ecx
shr edx, 7
imul eax, edx, 0xff
sub ecx, eax
movsxd rax, ecx
movzx ecx, bpl
add ecx, r8d
movzx r10d, byte [rsp + rax + 0x100]
mov eax, 0x80808081
mul ecx
shr edx, 7
imul eax, edx, 0xff
sub ecx, eax
movsxd rax, ecx
movzx ecx, r14b
add ecx, r8d
movzx r8d, byte [rsp + r9]
movzx ebx, byte [rsp + rax + 0x100]
mov eax, 0x80808081
mul ecx
shr edx, 7
imul eax, edx, 0xff
sub ecx, eax
movsxd rax, ecx
movzx ecx, byte [rsp + rax + 0x100]
movzx eax, sil
add r8d, eax
mov eax, 0x80808081
mul r8d
shr edx, 7
imul eax, edx, 0xff
sub r8d, eax
movsxd rax, r8d
movzx edx, byte [rsp + rax + 0x100]
jmp 0x140011ad3
xor r10d, r10d
xor ebx, ebx
xor ecx, ecx
xor edx, edx
shl ecx, 8
xor ecx, ebx
shl ecx, 8
xor ecx, r10d
shl ecx, 8
xor ecx, edx
mov edx, ecx
mov dword [r12 + rdi*4 + 0x51d80], ecx
shr edx, 0x18
shl ecx, 8
or edx, ecx
mov eax, edx
mov dword [r12 + rdi*4 + 0x51980], edx
shr eax, 0x18
shl edx, 8
or eax, edx
mov dword [r12 + rdi*4 + 0x52980], eax
ror eax, 0x18
mov dword [r12 + rdi*4 + 0x50c50], eax
inc rdi
sub r11, 1
jne 0x1400119b0
mov rcx, qword [rsp + 0x200]
xor rcx, rsp
call fcn.140016280
lea r11, [rsp + 0x210]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret