Function at 0x18014c8f0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
mov r11, rsp
push rbp
push rbx
mov rbp, rsp
sub rsp, 0x68
mov rax, qword [0x1801f5f20]
xor rax, rsp
mov qword [rbp - 0x20], rax
mov qword [r11 + 0x10], rdi
lea r10, [rbp - 0x37]
mov qword [r11 + 0x20], r12
mov ebx, 4
mov qword [r11 - 0x18], r13
add rdx, 8
mov qword [r11 - 0x20], r14
mov r13, r8
mov qword [r11 - 0x28], r15
mov r14, rcx
mov r15, r9
mov r11d, ebx
nop word [rax + rax]
movzx eax, byte [rdx - 8]
lea rdx, [rdx + 1]
mov byte [r10 - 1], al
lea r10, [r10 + 4]
movzx eax, byte [rdx - 5]
mov byte [r10 - 4], al
movzx eax, byte [rdx - 1]
mov byte [r10 - 3], al
movzx eax, byte [rdx + 3]
mov byte [r10 - 2], al
sub r11, 1
jne 0x18014c940
lea rcx, [rbp - 0x37]
mov r8, rbx
lea rdx, [r9 + 8]
nop dword [rax]
movzx eax, byte [rdx - 8]
lea rdx, [rdx + 1]
xor byte [rcx - 1], al
lea rcx, [rcx + 4]
movzx eax, byte [rdx - 5]
xor byte [rcx - 4], al
movzx eax, byte [rdx - 1]
xor byte [rcx - 3], al
movzx eax, byte [rdx + 3]
xor byte [rcx - 2], al
sub r8, 1
jne 0x18014c980
mov eax, dword [r14 + 4]
lea r12, str.cw
dec eax
mov edi, 1
cmp eax, edi
jb 0x18014cb15
mov qword [rsp + 0x80], rsi
lea esi, [rdi + 0xf]
nop
lea rdx, [rbp - 0x37]
mov r8, rbx
nop word [rax + rax]
movzx eax, byte [rdx - 1]
lea rdx, [rdx + 4]
mov ecx, eax
and eax, 0xf
and rcx, 0xfffffffffffffff0
add rcx, rax
movzx eax, byte [rcx + r12]
mov byte [rdx - 5], al
movzx eax, byte [rdx - 4]
mov ecx, eax
and eax, 0xf
and rcx, 0xfffffffffffffff0
add rcx, rax
movzx eax, byte [rcx + r12]
mov byte [rdx - 4], al
movzx eax, byte [rdx - 3]
mov ecx, eax
and eax, 0xf
and rcx, 0xfffffffffffffff0
add rcx, rax
movzx eax, byte [rcx + r12]
mov byte [rdx - 3], al
movzx eax, byte [rdx - 2]
mov ecx, eax
and eax, 0xf
and rcx, 0xfffffffffffffff0
add rcx, rax
movzx eax, byte [rcx + r12]
mov byte [rdx - 2], al
sub r8, 1
jne 0x18014c9e0
movzx eax, byte [rbp - 0x33]
lea rdx, [rbp - 0x38]
mov byte [rbp - 0x44], al
mov rcx, r14
movzx eax, byte [rbp - 0x32]
mov byte [rbp - 0x43], al
movzx eax, byte [rbp - 0x31]
mov byte [rbp - 0x42], al
movzx eax, byte [rbp - 0x34]
mov byte [rbp - 0x41], al
mov eax, dword [rbp - 0x44]
mov dword [rbp - 0x34], eax
movzx eax, byte [rbp - 0x2e]
mov byte [rbp - 0x40], al
movzx eax, byte [rbp - 0x2d]
mov byte [rbp - 0x3f], al
movzx eax, byte [rbp - 0x30]
mov byte [rbp - 0x3e], al
movzx eax, byte [rbp - 0x2f]
mov byte [rbp - 0x3d], al
mov eax, dword [rbp - 0x40]
mov dword [rbp - 0x30], eax
movzx eax, byte [rbp - 0x29]
mov byte [rbp - 0x48], al
movzx eax, byte [rbp - 0x2c]
mov byte [rbp - 0x47], al
movzx eax, byte [rbp - 0x2b]
mov byte [rbp - 0x46], al
movzx eax, byte [rbp - 0x2a]
mov byte [rbp - 0x45], al
mov eax, dword [rbp - 0x48]
mov dword [rbp - 0x2c], eax
call fcn.18014cf10
mov ecx, esi
lea rdx, [r15 + 8]
add rdx, rcx
lea rax, [rbp - 0x37]
mov r8, rbx
nop dword [rax]
movzx ecx, byte [rdx - 8]
lea rdx, [rdx + 1]
xor byte [rax - 1], cl
lea rax, [rax + 4]
movzx ecx, byte [rdx - 5]
xor byte [rax - 4], cl
movzx ecx, byte [rdx - 1]
xor byte [rax - 3], cl
movzx ecx, byte [rdx + 3]
xor byte [rax - 2], cl
sub r8, 1
jne 0x18014cad0
mov eax, dword [r14 + 4]
inc edi
dec eax
add esi, 0x10
cmp edi, eax
jbe 0x18014c9d0
mov rsi, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x88]
lea rdx, [rbp - 0x37]
mov r8, rbx
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rdx - 1]
lea rdx, [rdx + 4]
mov ecx, eax
and eax, 0xf
and rcx, 0xfffffffffffffff0
add rcx, rax
movzx eax, byte [rcx + r12]
mov byte [rdx - 5], al
movzx eax, byte [rdx - 4]
mov ecx, eax
and eax, 0xf
and rcx, 0xfffffffffffffff0
add rcx, rax
movzx eax, byte [rcx + r12]
mov byte [rdx - 4], al
movzx eax, byte [rdx - 3]
mov ecx, eax
and eax, 0xf
and rcx, 0xfffffffffffffff0
add rcx, rax
movzx eax, byte [rcx + r12]
mov byte [rdx - 3], al
movzx eax, byte [rdx - 2]
mov ecx, eax
and eax, 0xf
and rcx, 0xfffffffffffffff0
add rcx, rax
movzx eax, byte [rcx + r12]
mov byte [rdx - 2], al
sub r8, 1
jne 0x18014cb30
movzx eax, byte [rbp - 0x33]
lea rdx, [rbp - 0x37]
mov ecx, dword [r14 + 4]
add r15, 8
mov r14, qword [rsp + 0x58]
mov r8, rbx
mov r12, qword [rsp + 0x98]
mov byte [rbp - 0x48], al
movzx eax, byte [rbp - 0x32]
mov byte [rbp - 0x47], al
movzx eax, byte [rbp - 0x31]
mov byte [rbp - 0x46], al
movzx eax, byte [rbp - 0x34]
mov byte [rbp - 0x45], al
mov eax, dword [rbp - 0x48]
mov dword [rbp - 0x34], eax
movzx eax, byte [rbp - 0x2e]
mov byte [rbp - 0x48], al
movzx eax, byte [rbp - 0x2d]
mov byte [rbp - 0x47], al
movzx eax, byte [rbp - 0x30]
mov byte [rbp - 0x46], al
movzx eax, byte [rbp - 0x2f]
mov byte [rbp - 0x45], al
mov eax, dword [rbp - 0x48]
mov dword [rbp - 0x30], eax
movzx eax, byte [rbp - 0x29]
mov byte [rbp - 0x48], al
movzx eax, byte [rbp - 0x2c]
mov byte [rbp - 0x47], al
movzx eax, byte [rbp - 0x2b]
mov byte [rbp - 0x46], al
movzx eax, byte [rbp - 0x2a]
shl ecx, 4
mov byte [rbp - 0x45], al
add rcx, r15
mov eax, dword [rbp - 0x48]
mov r15, qword [rsp + 0x50]
mov dword [rbp - 0x2c], eax
nop word [rax + rax]
movzx eax, byte [rcx - 8]
lea rcx, [rcx + 1]
xor byte [rdx - 1], al
lea rdx, [rdx + 4]
movzx eax, byte [rcx - 5]
xor byte [rdx - 4], al
movzx eax, byte [rcx - 1]
xor byte [rdx - 3], al
movzx eax, byte [rcx + 3]
xor byte [rdx - 2], al
sub r8, 1
jne 0x18014cc30
lea rdx, [r13 + 8]
mov r13, qword [rsp + 0x60]
lea rcx, [rbp - 0x37]
nop word [rax + rax]
movzx eax, byte [rcx - 1]
lea rcx, [rcx + 4]
mov byte [rdx - 8], al
lea rdx, [rdx + 1]
movzx eax, byte [rcx - 4]
mov byte [rdx - 5], al
movzx eax, byte [rcx - 3]
mov byte [rdx - 1], al
movzx eax, byte [rcx - 2]
mov byte [rdx + 3], al
sub rbx, 1
jne 0x18014cc70
mov rcx, qword [rbp - 0x20]
xor rcx, rsp
call fcn.180131f30
add rsp, 0x68
pop rbx
pop rbp
ret