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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov rdi, r8
mov rdx, rcx
test rcx, rcx
je 0x14000603a
test r8, r8
je 0x14000603a
mov dword [r8 + 0xf0], reloc.WS2_32.dll_ntohl
movzx eax, byte [rcx + 1]
movzx ebx, byte [rcx]
shl ebx, 8
xor ebx, eax
movzx eax, byte [rcx + 2]
shl ebx, 8
xor ebx, eax
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 ecx, byte [rdx + 0x1c]
movzx eax, byte [rdx + 0x1d]
shl ecx, 8
xor ecx, eax
lea rsi, str.ccccwwww
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]
btc r8d, 0x18
movzx ecx, al
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
mov dword [rdi + 0x20], r8d
xor r8d, r11d
mov dword [rdi + 0x24], r8d
xor r8d, r10d
mov dword [rdi + 0x28], r8d
lea r10, [0x140143684]
xor r8d, r9d
lea r9, [rdi + 0x30]
mov dword [rdi + 0x2c], r8d
mov edx, dword [r9 - 4]
mov eax, edx
shr rax, 0x10
movzx ecx, al
mov eax, edx
shr rax, 8
mov r8d, dword [rsi + rcx*4]
movzx ecx, al
and r8d, 0xff0000
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]
mov eax, dword [r9 - 0x1c]
xor r8d, ecx
xor r8d, dword [r9 - 0x20]
mov ecx, dword [r9 - 0x18]
xor eax, r8d
mov dword [r9 + 4], eax
xor ecx, eax
mov eax, dword [r9 - 0x14]
xor eax, ecx
mov dword [r9], r8d
mov dword [r9 + 0xc], eax
mov dword [r9 + 8], ecx
lea r9, [r9 + 0x20]
mov edx, dword [r9 - 0x14]
mov eax, edx
shr rax, 8
movzx ecx, al
mov eax, edx
shr rax, 0x10
mov r8d, dword [rsi + rcx*4]
movzx ecx, al
and r8d, 0xff0000
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 [r9 - 0x30]
xor r8d, dword [r10]
add r10, 4
mov dword [r9 - 0x10], r8d
mov eax, dword [r9 - 0x2c]
xor eax, r8d
mov dword [r9 - 0xc], eax
mov ecx, dword [r9 - 0x28]
xor ecx, eax
mov dword [r9 - 8], ecx
mov eax, dword [r9 - 0x24]
xor eax, ecx
mov dword [r9 - 4], eax
lea rax, [0x14014369c]
cmp r10, rax
jne 0x140005f3e
xor eax, eax
jmp 0x14000603d
or eax, 0xffffffff
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret