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

Disassembly:
sub rsp, 8
mov r10, r8
test rcx, rcx
je 0x140001735
test r8, r8
je 0x140001735
mov dword [r8 + 0xf0], select
lea r11, [r8 + 0x14]
movzx eax, byte [rcx + 1]
movzx r9d, byte [rcx]
shl r9d, 8
xor r9d, eax
mov qword [rsp + 0x10], rbx
movzx eax, byte [rcx + 2]
shl r9d, 8
xor r9d, eax
mov qword [rsp], rdi
movzx eax, byte [rcx + 3]
shl r9d, 8
xor r9d, eax
mov dword [r8], r9d
movzx eax, byte [rcx + 5]
movzx edx, byte [rcx + 4]
shl edx, 8
xor edx, eax
movzx eax, byte [rcx + 6]
shl edx, 8
xor edx, eax
movzx eax, byte [rcx + 7]
shl edx, 8
xor edx, eax
mov dword [r8 + 4], edx
movzx eax, byte [rcx + 9]
movzx edx, byte [rcx + 8]
shl edx, 8
xor edx, eax
movzx eax, byte [rcx + 0xa]
shl edx, 8
xor edx, eax
movzx eax, byte [rcx + 0xb]
shl edx, 8
xor edx, eax
mov dword [r8 + 8], edx
movzx eax, byte [rcx + 0xd]
movzx edx, byte [rcx + 0xc]
shl edx, 8
xor edx, eax
movzx eax, byte [rcx + 0xe]
shl edx, 8
xor edx, eax
movzx eax, byte [rcx + 0xf]
shl edx, 8
xor edx, eax
mov dword [r8 + 0xc], edx
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 edx, byte [rcx + 0x14]
shl edx, 8
xor edx, eax
movzx eax, byte [rcx + 0x16]
shl edx, 8
xor edx, eax
movzx eax, byte [rcx + 0x17]
shl edx, 8
xor edx, eax
mov dword [r11], edx
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
movzx eax, byte [rcx + 0x1b]
shl edx, 8
xor edx, eax
mov dword [r8 + 0x18], edx
movzx eax, byte [rcx + 0x1d]
lea rbx, str.ccccwwww
movzx edx, byte [rcx + 0x1c]
lea rdi, [0x140083204]
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 [r10 + 0x1c], r8d
mov edx, dword [rbx + rcx*4]
btc edx, 0x18
movzx ecx, al
and edx, 0xff000000
mov eax, dword [rbx + rcx*4]
and eax, 0xff0000
xor edx, eax
mov eax, r8d
shr rax, 0x18
movzx eax, byte [rbx + rax*4]
xor edx, eax
movzx eax, r8b
mov ecx, dword [rbx + rax*4]
and ecx, 0xff00
xor edx, ecx
xor edx, r9d
mov dword [r10 + 0x20], edx
xor edx, dword [r10 + 4]
mov dword [r10 + 0x24], edx
xor edx, dword [r10 + 8]
mov dword [r10 + 0x28], edx
xor edx, dword [r10 + 0xc]
mov dword [r10 + 0x2c], edx
lea r10, [0x1400831ec]
nop word [rax + rax]
mov edx, dword [r11 + 0x18]
mov eax, edx
shr rax, 0x10
movzx ecx, al
mov eax, edx
shr rax, 8
mov r8d, dword [rbx + rcx*4]
movzx ecx, al
and r8d, 0xff0000
mov eax, dword [rbx + rcx*4]
and eax, 0xff00
xor r8d, eax
mov eax, edx
shr rax, 0x18
mov ecx, dword [rbx + rax*4]
and ecx, 0xff000000
movzx eax, dl
xor r8d, ecx
movzx ecx, byte [rbx + rax*4]
mov eax, dword [r11]
xor r8d, ecx
xor r8d, dword [r11 - 4]
mov ecx, dword [r11 + 4]
xor eax, r8d
xor ecx, eax
mov dword [r11 + 0x20], eax
mov eax, dword [r11 + 8]
xor eax, ecx
mov dword [r11 + 0x1c], r8d
mov edx, eax
shr rax, 8
mov dword [r11 + 0x24], ecx
movzx ecx, al
mov eax, edx
shr rax, 0x10
mov dword [r11 + 0x28], edx
mov r8d, dword [rbx + rcx*4]
movzx ecx, al
and r8d, 0xff0000
mov eax, dword [rbx + rcx*4]
and eax, 0xff000000
xor r8d, eax
mov eax, edx
shr rax, 0x18
movzx eax, byte [rbx + rax*4]
xor r8d, eax
movzx eax, dl
mov ecx, dword [rbx + rax*4]
and ecx, 0xff00
xor r8d, ecx
xor r8d, dword [r11 + 0xc]
xor r8d, dword [r10 - 8]
mov dword [r11 + 0x2c], r8d
mov eax, dword [r11 + 0x10]
xor eax, r8d
mov dword [r11 + 0x30], eax
mov ecx, dword [r11 + 0x14]
xor ecx, eax
mov dword [r11 + 0x34], ecx
xor ecx, dword [r11 + 0x18]
mov edx, ecx
mov eax, ecx
shr rax, 0x10
movzx ecx, al
mov eax, edx
shr rax, 8
mov dword [r11 + 0x38], edx
mov r8d, dword [rbx + rcx*4]
movzx ecx, al
and r8d, 0xff0000
mov eax, dword [rbx + rcx*4]
and eax, 0xff00
xor r8d, eax
mov eax, edx
shr rax, 0x18
mov ecx, dword [rbx + rax*4]
and ecx, 0xff000000
movzx eax, dl
xor r8d, ecx
movzx ecx, byte [rbx + rax*4]
xor r8d, ecx
xor r8d, dword [r11 + 0x1c]
mov ecx, dword [r11 + 0x24]
mov eax, dword [r11 + 0x28]
mov dword [r11 + 0x3c], r8d
xor r8d, dword [r11 + 0x20]
xor ecx, r8d
mov dword [r11 + 0x40], r8d
xor eax, ecx
mov dword [r11 + 0x44], ecx
mov edx, eax
shr rax, 8
movzx ecx, al
mov eax, edx
shr rax, 0x10
mov dword [r11 + 0x48], edx
mov r8d, dword [rbx + rcx*4]
movzx ecx, al
and r8d, 0xff0000
mov eax, dword [rbx + rcx*4]
and eax, 0xff000000
xor r8d, eax
mov eax, edx
shr rax, 0x18
movzx eax, byte [rbx + rax*4]
xor r8d, eax
movzx eax, dl
mov ecx, dword [rbx + rax*4]
and ecx, 0xff00
xor r8d, ecx
xor r8d, dword [r10 - 4]
xor r8d, dword [r11 + 0x2c]
mov dword [r11 + 0x4c], r8d
xor r8d, dword [r11 + 0x30]
mov dword [r11 + 0x50], r8d
mov eax, dword [r11 + 0x34]
xor eax, r8d
mov dword [r11 + 0x54], eax
mov ecx, dword [r11 + 0x38]
xor ecx, eax
mov dword [r11 + 0x58], ecx
mov edx, ecx
mov eax, ecx
shr rax, 0x10
movzx ecx, al
mov eax, edx
shr rax, 8
mov r8d, dword [rbx + rcx*4]
movzx ecx, al
and r8d, 0xff0000
mov eax, dword [rbx + rcx*4]
and eax, 0xff00
xor r8d, eax
mov eax, edx
shr rax, 0x18
mov ecx, dword [rbx + rax*4]
and ecx, 0xff000000
movzx eax, dl
xor r8d, ecx
movzx ecx, byte [rbx + rax*4]
xor r8d, ecx
xor r8d, dword [r11 + 0x3c]
mov dword [r11 + 0x5c], r8d
xor r8d, dword [r11 + 0x40]
mov dword [r11 + 0x60], r8d
xor r8d, dword [r11 + 0x44]
mov dword [r11 + 0x64], r8d
xor r8d, dword [r11 + 0x48]
mov edx, r8d
mov eax, r8d
shr rax, 8
movzx ecx, al
mov eax, edx
shr rax, 0x10
mov dword [r11 + 0x68], r8d
mov r8d, dword [rbx + rcx*4]
movzx ecx, al
and r8d, 0xff0000
mov eax, dword [rbx + rcx*4]
and eax, 0xff000000
xor r8d, eax
mov eax, edx
shr rax, 0x18
lea r11, [r11 + 0x60]
movzx eax, byte [rbx + rax*4]
xor r8d, eax
movzx eax, dl
mov ecx, dword [rbx + rax*4]
and ecx, 0xff00
xor r8d, ecx
xor r8d, dword [r10]
add r10, 0xc
xor r8d, dword [r11 - 0x14]
mov dword [r11 + 0xc], r8d
xor r8d, dword [r11 - 0x10]
mov dword [r11 + 0x10], r8d
xor r8d, dword [r11 - 0xc]
mov dword [r11 + 0x14], r8d
xor r8d, dword [r11 - 8]
mov dword [r11 + 0x18], r8d
cmp r10, rdi
jne 0x140001490
mov rdi, qword [rsp]
xor eax, eax
mov rbx, qword [rsp + 0x10]
add rsp, 8
ret
mov eax, 0xffffffff
add rsp, 8
ret