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

Disassembly:
push rdi
sub rsp, 0x20
mov rdi, r8
test rcx, rcx
je 0x140002019
test r8, r8
je 0x140002019
mov dword [r8 + 0xf0], 0xe
movzx eax, byte [rcx + 1]
mov qword [rsp + 0x38], rbx
movzx ebx, byte [rcx]
shl ebx, 8
xor ebx, eax
mov qword [rsp + 0x40], rbp
movzx eax, byte [rcx + 2]
shl ebx, 8
xor ebx, eax
mov qword [rsp + 0x48], rsi
movzx eax, byte [rcx + 3]
mov qword [rsp + 0x18], r12
shl ebx, 8
xor ebx, eax
mov qword [rsp + 0x10], r13
mov dword [r8], ebx
lea r13, [r8 + 0x14]
movzx eax, byte [rcx + 5]
movzx r11d, byte [rcx + 4]
shl r11d, 8
xor r11d, eax
mov qword [rsp + 8], r14
movzx eax, byte [rcx + 6]
shl r11d, 8
xor r11d, eax
mov qword [rsp], r15
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 eax, byte [rcx + 0x11]
movzx edx, byte [rcx + 0x10]
shl edx, 8
xor edx, eax
movzx eax, byte [rcx + 0x12]
shl edx, 8
xor edx, eax
movzx eax, byte [rcx + 0x13]
shl edx, 8
xor edx, eax
mov dword [r8 + 0x10], edx
movzx eax, byte [rcx + 0x15]
movzx r12d, byte [rcx + 0x14]
shl r12d, 8
xor r12d, eax
movzx eax, byte [rcx + 0x16]
shl r12d, 8
xor r12d, eax
movzx eax, byte [rcx + 0x17]
shl r12d, 8
xor r12d, eax
mov dword [r13], r12d
movzx eax, byte [rcx + 0x19]
movzx edx, byte [rcx + 0x18]
shl edx, 8
xor edx, eax
movzx eax, byte [rcx + 0x1a]
shl edx, 8
xor edx, eax
lea r14, str.ccccwwww
movzx eax, byte [rcx + 0x1b]
shl edx, 8
xor edx, eax
mov dword [r8 + 0x18], edx
movzx eax, byte [rcx + 0x1d]
movzx edx, byte [rcx + 0x1c]
shl edx, 8
xor edx, eax
movzx eax, byte [rcx + 0x1e]
shl edx, 8
xor edx, eax
movzx eax, byte [rcx + 0x1f]
shl edx, 8
xor edx, eax
mov r8d, edx
mov eax, edx
shr rax, 0x10
movzx ecx, al
mov eax, r8d
shr rax, 8
mov dword [rdi + 0x1c], r8d
mov edx, dword [r14 + rcx*4]
btc edx, 0x18
movzx ecx, al
and edx, 0xff000000
mov eax, dword [r14 + rcx*4]
and eax, 0xff0000
xor edx, eax
mov eax, r8d
shr rax, 0x18
movzx eax, byte [r14 + rax*4]
xor edx, eax
movzx eax, r8b
mov ecx, dword [r14 + rax*4]
and ecx, 0xff00
xor edx, ecx
xor edx, ebx
mov dword [rdi + 0x20], edx
xor edx, r11d
mov dword [rdi + 0x24], edx
lea r11, [0x1400e485c]
xor edx, r10d
mov qword [rsp + 0x30], r11
mov dword [rdi + 0x28], edx
xor edx, r9d
mov dword [rdi + 0x2c], edx
nop word [rax + rax]
mov edx, dword [r13 + 0x18]
mov eax, edx
shr rax, 0x10
movzx ecx, al
mov eax, edx
shr rax, 8
mov ebx, dword [r14 + rcx*4]
movzx ecx, al
and ebx, 0xff0000
mov eax, dword [r14 + rcx*4]
and eax, 0xff00
xor ebx, eax
mov eax, edx
shr rax, 0x18
mov ecx, dword [r14 + rax*4]
and ecx, 0xff000000
movzx eax, dl
xor ebx, ecx
movzx ecx, byte [r14 + rax*4]
xor ebx, ecx
xor ebx, dword [r13 - 4]
mov dword [r13 + 0x1c], ebx
mov r9d, ebx
xor r9d, r12d
mov dword [r13 + 0x20], r9d
mov r10d, r9d
xor r10d, dword [r13 + 4]
mov dword [r13 + 0x24], r10d
mov eax, r10d
xor eax, dword [r13 + 8]
mov r8d, eax
shr rax, 8
movzx ecx, al
mov eax, r8d
shr rax, 0x10
mov dword [r13 + 0x28], r8d
mov esi, dword [r14 + rcx*4]
movzx ecx, al
and esi, 0xff0000
mov eax, dword [r14 + rcx*4]
and eax, 0xff000000
xor esi, eax
mov eax, r8d
shr rax, 0x18
movzx eax, byte [r14 + rax*4]
xor esi, eax
movzx eax, r8b
mov ecx, dword [r14 + rax*4]
and ecx, 0xff00
xor esi, ecx
xor esi, dword [r11 - 8]
xor esi, dword [r13 + 0xc]
mov dword [r13 + 0x2c], esi
mov r15d, esi
xor r15d, dword [r13 + 0x10]
mov dword [r13 + 0x30], r15d
mov r11d, r15d
xor r11d, dword [r13 + 0x14]
mov eax, r11d
mov dword [r13 + 0x34], r11d
xor eax, edx
mov edx, eax
shr rax, 0x10
movzx ecx, al
mov eax, edx
shr rax, 8
mov dword [r13 + 0x38], edx
mov ebp, dword [r14 + rcx*4]
movzx ecx, al
and ebp, 0xff0000
mov eax, dword [r14 + rcx*4]
and eax, 0xff00
xor ebp, eax
mov eax, edx
shr rax, 0x18
mov ecx, dword [r14 + rax*4]
and ecx, 0xff000000
movzx eax, dl
xor ebp, ecx
movzx ecx, byte [r14 + rax*4]
xor ebp, ecx
xor ebp, ebx
mov ebx, ebp
mov dword [r13 + 0x3c], ebp
xor ebx, r9d
lea r9, str.ccccwwww
mov dword [r13 + 0x40], ebx
mov edi, ebx
xor edi, r10d
mov eax, edi
mov dword [r13 + 0x44], edi
xor eax, r8d
mov r8d, eax
shr rax, 8
movzx ecx, al
mov eax, r8d
shr rax, 0x10
mov dword [r13 + 0x48], r8d
mov r14d, dword [r14 + rcx*4]
movzx ecx, al
and r14d, 0xff0000
mov eax, dword [r9 + rcx*4]
and eax, 0xff000000
xor r14d, eax
mov eax, r8d
shr rax, 0x18
movzx eax, byte [r9 + rax*4]
xor r14d, eax
movzx eax, r8b
mov ecx, dword [r9 + rax*4]
mov rax, qword [rsp + 0x30]
and ecx, 0xff00
xor r14d, ecx
xor r14d, dword [rax - 4]
xor r14d, esi
mov dword [r13 + 0x4c], r14d
xor r15d, r14d
mov dword [r13 + 0x50], r15d
mov esi, r15d
xor esi, r11d
lea r11, str.ccccwwww
mov dword [r13 + 0x54], esi
mov eax, esi
xor eax, edx
mov r10d, eax
shr rax, 0x10
movzx ecx, al
mov eax, r10d
shr rax, 8
mov dword [r13 + 0x58], r10d
mov r12d, dword [r11 + rcx*4]
movzx ecx, al
and r12d, 0xff0000
mov eax, dword [r11 + rcx*4]
and eax, 0xff00
xor r12d, eax
mov eax, r10d
shr rax, 0x18
mov ecx, dword [r11 + rax*4]
and ecx, 0xff000000
movzx eax, r10b
xor r12d, ecx
movzx ecx, byte [r11 + rax*4]
xor r12d, ecx
xor r12d, ebp
mov dword [r13 + 0x5c], r12d
xor r12d, ebx
mov eax, r12d
mov dword [r13 + 0x60], r12d
xor eax, edi
mov dword [r13 + 0x64], eax
xor eax, r8d
mov edx, eax
shr rax, 8
movzx ecx, al
mov eax, edx
mov dword [r13 + 0x68], edx
mov r8d, dword [r11 + rcx*4]
and r8d, 0xff0000
shr rax, 0x10
movzx ecx, al
mov eax, dword [r11 + rcx*4]
and eax, 0xff000000
lea r13, [r13 + 0x60]
xor r8d, eax
mov eax, edx
shr rax, 0x18
movzx eax, byte [r11 + rax*4]
xor r8d, eax
movzx eax, dl
mov ecx, dword [r11 + rax*4]
lea rax, [0x1400e4874]
mov r11, qword [rsp + 0x30]
and ecx, 0xff00
xor r8d, ecx
xor r8d, r14d
lea r14, str.ccccwwww
xor r8d, dword [r11]
add r11, 0xc
xor r15d, r8d
mov dword [r13 + 0xc], r8d
mov dword [r13 + 0x10], r15d
xor r15d, esi
mov dword [r13 + 0x14], r15d
xor r15d, r10d
mov dword [r13 + 0x18], r15d
mov qword [rsp + 0x30], r11
cmp r11, rax
jne 0x140001d30
mov r15, qword [rsp]
xor eax, eax
mov r14, qword [rsp + 8]
mov r13, qword [rsp + 0x10]
mov r12, qword [rsp + 0x18]
mov rsi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov eax, 0xffffffff
add rsp, 0x20
pop rdi
ret