Function at 0x140001420
Capabilities:
Encode data using xor
Encrypt data using aes

Disassembly:
push rdi
sub rsp, 0x20
mov rdi, r8
mov rdx, rcx
test rcx, rcx
je 0x14000170d
test r8, r8
je 0x14000170d
mov dword [r8 + 0xf0], 0xe
movzx eax, byte [rcx + 1]
mov qword [rsp + 0x30], rbx
movzx ebx, byte [rcx]
shl ebx, 8
xor ebx, eax
mov qword [rsp + 0x38], rbp
movzx eax, byte [rcx + 2]
shl ebx, 8
xor ebx, eax
mov qword [rsp + 0x40], rsi
movzx eax, byte [rcx + 3]
shl ebx, 8
xor ebx, eax
mov dword [r8], ebx
movzx eax, byte [rcx + 5]
movzx r11d, byte [rcx + 4]
shl r11d, 8
xor r11d, eax
movzx eax, byte [rcx + 6]
shl r11d, 8
xor r11d, eax
movzx eax, byte [rcx + 7]
shl r11d, 8
xor r11d, eax
mov dword [r8 + 4], r11d
movzx eax, byte [rcx + 9]
movzx r10d, byte [rcx + 8]
shl r10d, 8
xor r10d, eax
movzx eax, byte [rcx + 0xa]
shl r10d, 8
xor r10d, eax
movzx eax, byte [rcx + 0xb]
shl r10d, 8
xor r10d, eax
mov dword [r8 + 8], r10d
movzx eax, byte [rcx + 0xd]
movzx r9d, byte [rcx + 0xc]
shl r9d, 8
xor r9d, eax
movzx eax, byte [rcx + 0xe]
shl r9d, 8
xor r9d, eax
movzx eax, byte [rcx + 0xf]
shl r9d, 8
xor r9d, eax
mov dword [r8 + 0xc], r9d
movzx ecx, byte [rcx + 0x10]
movzx eax, byte [rdx + 0x11]
shl ecx, 8
xor ecx, eax
movzx eax, byte [rdx + 0x12]
shl ecx, 8
xor ecx, eax
movzx eax, byte [rdx + 0x13]
shl ecx, 8
xor ecx, eax
mov dword [r8 + 0x10], ecx
movzx eax, byte [rdx + 0x15]
movzx ecx, byte [rdx + 0x14]
shl ecx, 8
xor ecx, eax
movzx eax, byte [rdx + 0x16]
shl ecx, 8
xor ecx, eax
movzx eax, byte [rdx + 0x17]
shl ecx, 8
xor ecx, eax
mov dword [r8 + 0x14], ecx
movzx eax, byte [rdx + 0x19]
movzx ecx, byte [rdx + 0x18]
shl ecx, 8
xor ecx, eax
movzx eax, byte [rdx + 0x1a]
shl ecx, 8
xor ecx, eax
movzx eax, byte [rdx + 0x1b]
shl ecx, 8
xor ecx, eax
mov dword [r8 + 0x18], ecx
movzx eax, byte [rdx + 0x1d]
lea rsi, str.ccccwwww
movzx ecx, byte [rdx + 0x1c]
lea rbp, [0x1401461bc]
shl ecx, 8
xor ecx, eax
movzx eax, byte [rdx + 0x1e]
shl ecx, 8
xor ecx, eax
movzx eax, byte [rdx + 0x1f]
shl ecx, 8
xor ecx, eax
mov edx, ecx
mov dword [r8 + 0x1c], edx
mov eax, ecx
shr rax, 0x10
movzx ecx, al
mov eax, edx
shr rax, 8
mov r8d, dword [rsi + rcx*4]
movzx ecx, al
btc r8d, 0x18
and r8d, 0xff000000
mov eax, dword [rsi + rcx*4]
and eax, 0xff0000
xor r8d, eax
mov eax, edx
shr rax, 0x18
movzx eax, byte [rsi + rax*4]
xor r8d, eax
movzx eax, dl
mov ecx, dword [rsi + rax*4]
and ecx, 0xff00
xor r8d, ecx
xor r8d, ebx
lea rbx, [rdi + 0x30]
mov dword [rdi + 0x20], r8d
xor r8d, r11d
xor r10d, r8d
mov dword [rdi + 0x24], r8d
xor r9d, r10d
mov dword [rdi + 0x28], r10d
mov dword [rdi + 0x2c], r9d
lea rdi, [0x1401461a4]
nop dword [rax]
nop word [rax + rax]
mov edx, dword [rbx - 4]
mov eax, edx
shr rax, 0x10
movzx ecx, al
mov eax, edx
shr rax, 8
mov r8d, dword [rsi + rcx*4]
and r8d, 0xff0000
movzx ecx, al
mov eax, dword [rsi + rcx*4]
and eax, 0xff00
xor r8d, eax
mov eax, edx
shr rax, 0x18
mov ecx, dword [rsi + rax*4]
and ecx, 0xff000000
movzx eax, dl
xor r8d, ecx
movzx ecx, byte [rsi + rax*4]
xor r8d, ecx
xor r8d, dword [rbx - 0x20]
mov dword [rbx], r8d
xor r8d, dword [rbx - 0x1c]
mov dword [rbx + 4], r8d
xor r8d, dword [rbx - 0x18]
mov dword [rbx + 8], r8d
xor r8d, dword [rbx - 0x14]
mov dword [rbx + 0xc], r8d
call fcn.14005a790
mov edx, dword [rbx + 0xc]
lea rbx, [rbx + 0x20]
mov eax, edx
shr rax, 8
movzx ecx, al
mov eax, edx
shr rax, 0x10
mov r8d, dword [rsi + rcx*4]
and r8d, 0xff0000
movzx ecx, al
mov eax, dword [rsi + rcx*4]
and eax, 0xff000000
xor r8d, eax
mov eax, edx
shr rax, 0x18
movzx eax, byte [rsi + rax*4]
xor r8d, eax
movzx eax, dl
mov ecx, dword [rsi + rax*4]
and ecx, 0xff00
xor r8d, ecx
xor r8d, dword [rbx - 0x30]
xor r8d, dword [rdi]
add rdi, 4
mov dword [rbx - 0x10], r8d
xor r8d, dword [rbx - 0x2c]
mov dword [rbx - 0xc], r8d
xor r8d, dword [rbx - 0x28]
mov dword [rbx - 8], r8d
xor r8d, dword [rbx - 0x24]
mov dword [rbx - 4], r8d
cmp rdi, rbp
jne 0x140001610
mov rsi, qword [rsp + 0x40]
xor eax, eax
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov eax, 0xffffffff
add rsp, 0x20
pop rdi
ret