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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
movzx eax, byte [rcx]
lea rbp, [0x140051a80]
mov byte [rdx], al
mov r9, rdx
movzx eax, byte [rcx + 1]
mov r10d, 0x1c
mov byte [rdx + 1], al
movzx eax, byte [rcx + 2]
mov byte [rdx + 2], al
movzx eax, byte [rcx + 3]
mov byte [rdx + 3], al
movzx eax, byte [rcx + 4]
mov byte [rdx + 4], al
movzx eax, byte [rcx + 5]
mov byte [rdx + 5], al
movzx eax, byte [rcx + 6]
mov byte [rdx + 6], al
movzx eax, byte [rcx + 7]
mov byte [rdx + 7], al
movzx eax, byte [rcx + 8]
mov byte [rdx + 8], al
movzx eax, byte [rcx + 9]
mov byte [rdx + 9], al
movzx eax, byte [rcx + 0xa]
mov byte [rdx + 0xa], al
movzx eax, byte [rcx + 0xb]
mov byte [rdx + 0xb], al
movzx eax, byte [rcx + 0xc]
mov byte [rdx + 0xc], al
movzx eax, byte [rcx + 0xd]
mov byte [rdx + 0xd], al
movzx eax, byte [rcx + 0xe]
mov byte [rdx + 0xe], al
movzx eax, byte [rcx + 0xf]
mov byte [rdx + 0xf], al
movzx eax, byte [rcx + 0x10]
mov byte [rdx + 0x10], al
movzx eax, byte [rcx + 0x11]
mov byte [rdx + 0x11], al
movzx eax, byte [rcx + 0x12]
mov byte [rdx + 0x12], al
movzx eax, byte [rcx + 0x13]
mov byte [rdx + 0x13], al
movzx eax, byte [rcx + 0x14]
mov byte [rdx + 0x14], al
movzx eax, byte [rcx + 0x15]
mov byte [rdx + 0x15], al
movzx eax, byte [rcx + 0x16]
mov byte [rdx + 0x16], al
movzx eax, byte [rcx + 0x17]
mov byte [rdx + 0x17], al
movzx eax, byte [rcx + 0x18]
mov byte [rdx + 0x18], al
movzx eax, byte [rcx + 0x19]
mov byte [rdx + 0x19], al
movzx eax, byte [rcx + 0x1a]
mov byte [rdx + 0x1a], al
movzx eax, byte [rcx + 0x1b]
mov byte [rdx + 0x1b], al
movzx eax, byte [rcx + 0x1c]
mov byte [rdx + 0x1c], al
movzx eax, byte [rcx + 0x1d]
mov byte [rdx + 0x1d], al
movzx eax, byte [rcx + 0x1e]
mov byte [rdx + 0x1e], al
movzx eax, byte [rcx + 0x1f]
mov byte [rdx + 0x1f], al
nop dword [rax]
nop dword [rax + rax]
movzx r11d, byte [r10 + r9]
lea r14, [r10 + 4]
movzx ebx, byte [r10 + r9 + 1]
mov rax, r14
movzx edi, byte [r10 + r9 + 2]
mov ecx, r11d
movzx esi, byte [r10 + r9 + 3]
and eax, 0x1c
jne 0x14003d6db
movzx r11d, byte [rbx + rbp]
mov r8, r14
movzx ebx, byte [rdi + rbp]
mov al, 1
movzx edi, byte [rsi + rbp]
movzx esi, byte [rcx + rbp]
shr r8, 5
sub r8, 1
je 0x14003d6d6
nop word [rax + rax]
movzx ecx, al
add al, al
shr cl, 7
movzx ecx, cl
imul edx, ecx, 0x1b
xor al, dl
sub r8, 1
jne 0x14003d6c0
xor r11b, al
jmp 0x14003d6f2
cmp rax, 0x10
jne 0x14003d6f2
movzx r11d, byte [r11 + rbp]
movzx ebx, byte [rbx + rbp]
movzx edi, byte [rdi + rbp]
movzx esi, byte [rsi + rbp]
xor r11b, byte [r9 + r10 - 0x1c]
lea rcx, [r10 + 5]
and ecx, 0xf
mov byte [r14 + r9], r11b
lea rax, [r10 - 0x1b]
and rax, 0xfffffffffffffff0
add rax, r9
xor bl, byte [rcx + rax]
lea rcx, [r10 + 6]
mov byte [r10 + r9 + 5], bl
lea rax, [r10 - 0x1a]
and rax, 0xfffffffffffffff0
and ecx, 0xf
add rax, r9
xor dil, byte [rcx + rax]
lea rcx, [r10 + 7]
mov byte [r10 + r9 + 6], dil
lea rax, [r10 - 0x19]
and rax, 0xfffffffffffffff0
and ecx, 0xf
add rax, r9
xor sil, byte [rcx + rax]
lea rax, [r14 + 4]
mov byte [r10 + r9 + 7], sil
mov r10, r14
cmp rax, 0xf0
jb 0x14003d670
mov rbx, qword [rsp + 0x10]
mov rbp, qword [rsp + 0x18]
mov rsi, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x28]
pop r14
ret