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

Disassembly:
sub rsp, 8
mov r11, r8
mov r10, rcx
test rcx, rcx
je 0x1400802eb
test r8, r8
je 0x1400802eb
mov dword [r8 + 0xf0], reloc.WS2_32.dll_ntohl
movzx eax, byte [rcx + 0xd]
movzx edx, byte [rcx + 0xc]
shl edx, 8
xor edx, eax
mov qword [rsp], rbx
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 ecx, byte [rcx + 8]
movzx eax, byte [r10 + 9]
shl ecx, 8
xor ecx, eax
movzx eax, byte [r10 + 0xa]
shl ecx, 8
xor ecx, eax
movzx eax, byte [r10 + 0xb]
shl ecx, 8
xor ecx, eax
mov dword [r8 + 8], ecx
movzx eax, byte [r10 + 5]
movzx ecx, byte [r10 + 4]
shl ecx, 8
xor ecx, eax
movzx eax, byte [r10 + 6]
shl ecx, 8
xor ecx, eax
movzx eax, byte [r10 + 7]
shl ecx, 8
xor ecx, eax
mov dword [r8 + 4], ecx
movzx eax, byte [r10 + 1]
movzx r9d, byte [r10]
shl r9d, 8
xor r9d, eax
movzx eax, byte [r10 + 2]
shl r9d, 8
xor r9d, eax
movzx eax, byte [r10 + 3]
shl r9d, 8
xor r9d, eax
mov dword [r8], r9d
movzx eax, byte [r10 + 0x15]
movzx ecx, byte [r10 + 0x14]
shl ecx, 8
xor ecx, eax
movzx eax, byte [r10 + 0x16]
shl ecx, 8
xor ecx, eax
movzx eax, byte [r10 + 0x17]
shl ecx, 8
xor ecx, eax
mov dword [r8 + 0x14], ecx
movzx eax, byte [r10 + 0x11]
movzx ecx, byte [r10 + 0x10]
shl ecx, 8
xor ecx, eax
movzx eax, byte [r10 + 0x12]
shl ecx, 8
xor ecx, eax
movzx eax, byte [r10 + 0x13]
shl ecx, 8
xor ecx, eax
mov dword [r8 + 0x10], ecx
movzx eax, byte [r10 + 0x1d]
movzx edx, byte [r10 + 0x1c]
shl edx, 8
xor edx, eax
movzx eax, byte [r10 + 0x1e]
shl edx, 8
xor edx, eax
movzx eax, byte [r10 + 0x1f]
shl edx, 8
xor edx, eax
mov dword [r8 + 0x1c], edx
movzx ecx, byte [r10 + 0x18]
shl ecx, 8
movzx eax, byte [r10 + 0x19]
lea rbx, str.ccccwwww
xor ecx, eax
movzx eax, byte [r10 + 0x1a]
shl ecx, 8
xor ecx, eax
movzx eax, byte [r10 + 0x1b]
shl ecx, 8
lea r10, [0x1400d85d4]
xor ecx, eax
mov eax, edx
mov dword [r8 + 0x18], ecx
shr rax, 0x10
movzx ecx, al
mov eax, edx
shr rax, 8
mov r8d, dword [rbx + rcx*4]
movzx ecx, al
btc r8d, 0x18
and r8d, 0xff000000
mov eax, dword [rbx + rcx*4]
and eax, 0xff0000
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]
mov eax, dword [r11 + 4]
and ecx, 0xff00
xor r8d, ecx
mov ecx, dword [r11 + 8]
xor r8d, r9d
xor eax, r8d
mov dword [r11 + 0x20], r8d
mov dword [r11 + 0x24], eax
xor ecx, eax
mov eax, dword [r11 + 0xc]
xor eax, ecx
mov dword [r11 + 0x28], ecx
mov dword [r11 + 0x2c], eax
lea rax, [r11 + 0x30]
lea r11, [0x1400d85ec]
nop word [rax + rax]
mov r8d, dword [rax - 4]
lea rax, [rax + 0x20]
mov ecx, r8d
shr rcx, 0x10
movzx edx, cl
mov ecx, r8d
shr rcx, 8
mov r9d, dword [rbx + rdx*4]
movzx edx, cl
and r9d, 0xff0000
mov ecx, dword [rbx + rdx*4]
and ecx, 0xff00
xor r9d, ecx
mov ecx, r8d
shr rcx, 0x18
mov edx, dword [rbx + rcx*4]
and edx, 0xff000000
movzx ecx, r8b
xor r9d, edx
movzx edx, byte [rbx + rcx*4]
mov ecx, dword [rax - 0x3c]
xor r9d, edx
xor r9d, dword [rax - 0x40]
mov edx, dword [rax - 0x38]
xor ecx, r9d
mov dword [rax - 0x1c], ecx
xor edx, ecx
mov ecx, dword [rax - 0x34]
xor ecx, edx
mov dword [rax - 0x20], r9d
mov dword [rax - 0x14], ecx
mov dword [rax - 0x18], edx
mov r8d, dword [rax - 0x14]
mov ecx, r8d
shr rcx, 8
movzx edx, cl
mov ecx, r8d
shr rcx, 0x10
mov r9d, dword [rbx + rdx*4]
movzx edx, cl
and r9d, 0xff0000
mov ecx, dword [rbx + rdx*4]
and ecx, 0xff000000
xor r9d, ecx
mov ecx, r8d
shr rcx, 0x18
movzx ecx, byte [rbx + rcx*4]
xor r9d, ecx
movzx ecx, r8b
mov edx, dword [rbx + rcx*4]
and edx, 0xff00
xor r9d, edx
xor r9d, dword [rax - 0x30]
xor r9d, dword [r10]
add r10, 4
mov dword [rax - 0x10], r9d
mov ecx, dword [rax - 0x2c]
xor ecx, r9d
mov dword [rax - 0xc], ecx
mov edx, dword [rax - 0x28]
xor edx, ecx
mov dword [rax - 8], edx
mov ecx, dword [rax - 0x24]
xor ecx, edx
mov dword [rax - 4], ecx
cmp r10, r11
jne 0x1400801f0
xor eax, eax
mov rbx, qword [rsp]
add rsp, 8
ret
or eax, 0xffffffff
add rsp, 8
ret