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

Disassembly:
push rbx
movzx eax, byte [rdx + 1]
movzx ebx, byte [rdx]
mov r9, rcx
shl ebx, 8
xor ebx, eax
movzx eax, byte [rdx + 2]
shl ebx, 8
xor ebx, eax
movzx eax, byte [rdx + 3]
shl ebx, 8
xor ebx, eax
mov dword [rcx], ebx
movzx eax, byte [rdx + 5]
movzx ecx, byte [rdx + 4]
shl ecx, 8
xor ecx, eax
movzx eax, byte [rdx + 6]
shl ecx, 8
xor ecx, eax
movzx eax, byte [rdx + 7]
shl ecx, 8
xor ecx, eax
mov dword [r9 + 4], ecx
movzx eax, byte [rdx + 9]
movzx ecx, byte [rdx + 8]
shl ecx, 8
xor ecx, eax
movzx eax, byte [rdx + 0xa]
shl ecx, 8
xor ecx, eax
movzx eax, byte [rdx + 0xb]
shl ecx, 8
xor ecx, eax
mov dword [r9 + 8], ecx
movzx eax, byte [rdx + 0xd]
movzx r11d, byte [rdx + 0xc]
shl r11d, 8
xor r11d, eax
movzx eax, byte [rdx + 0xe]
shl r11d, 8
xor r11d, eax
movzx eax, byte [rdx + 0xf]
shl r11d, 8
xor r11d, eax
mov dword [r9 + 0xc], r11d
cmp r8d, 0x80
jne 0x140003bff
lea r10, str.ccccwwww
mov eax, r11d
lea rdx, [r9 + 0x10]
shr rax, 0x10
movzx ecx, al
mov eax, r11d
mov r8d, dword [r10 + rcx*4]
shr rax, 8
btc r8d, 0x18
movzx ecx, al
mov eax, dword [r10 + rcx*4]
and r8d, 0xff000000
and eax, 0xff0000
xor r8d, eax
mov eax, r11d
shr rax, 0x18
movzx eax, byte [r10 + rax*4]
xor r8d, eax
movzx eax, r11b
mov ecx, dword [r10 + rax*4]
and ecx, 0xff00
xor r8d, ecx
xor r8d, ebx
lea rbx, [0x140028588]
mov dword [rdx], r8d
xor r8d, dword [r9 + 4]
mov dword [r9 + 0x14], r8d
xor r8d, dword [r9 + 8]
mov dword [r9 + 0x18], r8d
xor r8d, r11d
lea r11, [0x140028564]
mov dword [r9 + 0x1c], r8d
nop dword [rax + rax]
mov r9, rdx
mov edx, dword [rdx + 0xc]
add r11, 4
mov rax, rdx
shr rax, 8
movzx ecx, al
mov rax, rdx
mov r8d, dword [r10 + rcx*4]
shr rax, 0x10
movzx ecx, al
and r8d, 0xff0000
mov eax, dword [r10 + rcx*4]
and eax, 0xff000000
xor r8d, eax
mov rax, rdx
shr rax, 0x18
movzx eax, byte [r10 + rax*4]
xor r8d, eax
movzx eax, dl
lea rdx, [r9 + 0x10]
mov ecx, dword [r10 + rax*4]
and ecx, 0xff00
xor r8d, ecx
xor r8d, dword [r11 - 4]
xor r8d, dword [r9]
mov dword [rdx], r8d
mov eax, dword [r9 + 4]
xor eax, r8d
mov dword [r9 + 0x14], eax
mov ecx, dword [r9 + 8]
xor ecx, eax
mov dword [r9 + 0x18], ecx
xor ecx, dword [r9 + 0xc]
mov dword [r9 + 0x1c], ecx
cmp r11, rbx
jne 0x140003b70
mov eax, 0xa
pop rbx
ret
movzx eax, byte [rdx + 0x11]
movzx ecx, byte [rdx + 0x10]
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 [r9 + 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 [r9 + 0x14], ecx
cmp r8d, 0xc0
jne 0x140003d87
mov edx, ecx
mov eax, ecx
lea r10, str.ccccwwww
shr rax, 0x10
lea r11, [0x140028564]
movzx ecx, al
mov rax, rdx
mov r8d, dword [r10 + rcx*4]
shr rax, 8
btc r8d, 0x18
movzx ecx, al
mov eax, dword [r10 + rcx*4]
and r8d, 0xff000000
and eax, 0xff0000
xor r8d, eax
mov rax, rdx
shr rax, 0x18
movzx eax, byte [r10 + rax*4]
xor r8d, eax
movzx eax, dl
lea rdx, [r9 + 0x18]
mov ecx, dword [r10 + rax*4]
and ecx, 0xff00
xor r8d, ecx
xor r8d, ebx
lea rbx, [0x140028580]
mov dword [rdx], r8d
xor r8d, dword [r9 + 4]
mov dword [r9 + 0x1c], r8d
xor r8d, dword [r9 + 8]
mov dword [r9 + 0x20], r8d
xor r8d, dword [r9 + 0xc]
mov dword [r9 + 0x24], r8d
nop dword [rax]
mov ecx, dword [r9 + 0x10]
mov eax, dword [r9 + 0x14]
add r11, 4
xor ecx, dword [r9 + 0x24]
xor eax, ecx
mov dword [r9 + 0x28], ecx
mov dword [r9 + 0x2c], eax
mov r9, rdx
mov edx, dword [rdx + 0x14]
mov rax, rdx
shr rax, 8
movzx ecx, al
mov rax, rdx
mov r8d, dword [r10 + rcx*4]
shr rax, 0x10
movzx ecx, al
and r8d, 0xff0000
mov eax, dword [r10 + rcx*4]
and eax, 0xff000000
xor r8d, eax
mov rax, rdx
shr rax, 0x18
movzx eax, byte [r10 + rax*4]
xor r8d, eax
movzx eax, dl
lea rdx, [r9 + 0x18]
mov ecx, dword [r10 + rax*4]
and ecx, 0xff00
xor r8d, ecx
xor r8d, dword [r11 - 4]
xor r8d, dword [r9]
mov dword [rdx], r8d
mov eax, dword [r9 + 4]
xor eax, r8d
mov dword [r9 + 0x1c], eax
mov ecx, dword [r9 + 8]
xor ecx, eax
mov dword [r9 + 0x20], ecx
mov eax, dword [r9 + 0xc]
xor eax, ecx
mov dword [r9 + 0x24], eax
cmp r11, rbx
jne 0x140003ce0
mov eax, 0xc
pop rbx
ret
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 [r9 + 0x18], ecx
movzx eax, byte [rdx + 0x1d]
movzx ecx, byte [rdx + 0x1c]
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 dword [r9 + 0x1c], ecx
cmp r8d, 0x100
jne 0x140003f7a
mov edx, ecx
mov eax, ecx
lea r10, str.ccccwwww
shr rax, 0x10
mov qword [rsp + 0x10], rdi
lea r11, [0x140028564]
movzx ecx, al
mov rax, rdx
lea rdi, [0x14002857c]
mov r8d, dword [r10 + rcx*4]
shr rax, 8
btc r8d, 0x18
movzx ecx, al
mov eax, dword [r10 + rcx*4]
and r8d, 0xff000000
and eax, 0xff0000
xor r8d, eax
mov rax, rdx
shr rax, 0x18
movzx eax, byte [r10 + rax*4]
xor r8d, eax
movzx eax, dl
mov ecx, dword [r10 + rax*4]
and ecx, 0xff00
xor r8d, ecx
xor r8d, ebx
lea rbx, [r9 + 0x20]
mov dword [rbx], r8d
xor r8d, dword [r9 + 4]
mov dword [r9 + 0x24], r8d
xor r8d, dword [r9 + 8]
mov dword [r9 + 0x28], r8d
xor r8d, dword [r9 + 0xc]
mov dword [r9 + 0x2c], r8d
nop word [rax + rax]
mov edx, dword [r9 + 0x2c]
add r11, 4
mov rax, rdx
shr rax, 0x10
movzx ecx, al
mov rax, rdx
mov r8d, dword [r10 + rcx*4]
shr rax, 8
movzx ecx, al
and r8d, 0xff0000
mov eax, dword [r10 + rcx*4]
and eax, 0xff00
xor r8d, eax
mov rax, rdx
shr rax, 0x18
mov ecx, dword [r10 + rax*4]
movzx eax, dl
and ecx, 0xff000000
xor r8d, ecx
movzx ecx, byte [r10 + rax*4]
mov eax, dword [r9 + 0x14]
xor r8d, ecx
mov ecx, dword [r9 + 0x18]
xor r8d, dword [r9 + 0x10]
xor eax, r8d
mov dword [r9 + 0x30], r8d
mov dword [r9 + 0x34], eax
xor ecx, eax
mov dword [r9 + 0x38], ecx
xor ecx, dword [r9 + 0x1c]
mov dword [r9 + 0x3c], ecx
mov edx, dword [rbx + 0x1c]
mov r9, rbx
mov rax, rdx
add rbx, 0x20
shr rax, 8
movzx ecx, al
mov rax, rdx
mov r8d, dword [r10 + rcx*4]
shr rax, 0x10
movzx ecx, al
and r8d, 0xff0000
mov eax, dword [r10 + rcx*4]
and eax, 0xff000000
xor r8d, eax
mov rax, rdx
shr rax, 0x18
movzx eax, byte [r10 + rax*4]
xor r8d, eax
movzx eax, dl
mov ecx, dword [r10 + rax*4]
and ecx, 0xff00
xor r8d, ecx
xor r8d, dword [rbx - 0x20]
xor r8d, dword [r11 - 4]
mov dword [rbx], r8d
mov eax, dword [r9 + 4]
xor eax, r8d
mov dword [r9 + 0x24], eax
mov ecx, dword [r9 + 8]
xor ecx, eax
mov dword [r9 + 0x28], ecx
mov eax, dword [r9 + 0xc]
xor eax, ecx
mov dword [r9 + 0x2c], eax
cmp r11, rdi
jne 0x140003e70
mov eax, 0xe
mov rdi, qword [rsp + 0x10]
pop rbx
ret
xor eax, eax
pop rbx
ret