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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, r8
mov rdx, rcx
test rcx, rcx
je 0x14007da67
test rbx, rbx
je 0x14007da67
mov dword [r8 + 0xf0], reloc.WS2_32.dll_ntohl
movzx eax, byte [rcx + 1]
movzx r9d, byte [rcx]
shl r9d, 8
xor r9d, eax
movzx eax, byte [rcx + 2]
shl r9d, 8
xor r9d, eax
movzx eax, byte [rcx + 3]
shl r9d, 8
xor r9d, eax
mov dword [r8], r9d
movzx ecx, byte [rcx + 4]
shl ecx, 8
movzx eax, byte [rdx + 5]
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 [r8 + 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 [r8 + 8], ecx
movzx eax, byte [rdx + 0xd]
movzx ecx, byte [rdx + 0xc]
shl ecx, 8
xor ecx, eax
movzx eax, byte [rdx + 0xe]
shl ecx, 8
xor ecx, eax
movzx eax, byte [rdx + 0xf]
shl ecx, 8
xor ecx, eax
mov dword [r8 + 0xc], ecx
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 [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]
lea rdi, [0x1400b5ea4]
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, r9d
mov dword [rbx + 0x20], r8d
xor r8d, dword [rbx + 4]
mov dword [rbx + 0x24], r8d
xor r8d, dword [rbx + 8]
mov dword [rbx + 0x28], r8d
xor r8d, dword [rbx + 0xc]
mov dword [rbx + 0x2c], r8d
add rbx, 0x30
mov edx, dword [rbx - 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 [rbx - 0x1c]
xor r8d, ecx
xor r8d, dword [rbx - 0x20]
mov ecx, dword [rbx - 0x18]
xor eax, r8d
xor ecx, eax
mov dword [rbx + 4], eax
mov eax, dword [rbx - 0x14]
xor eax, ecx
mov dword [rbx], r8d
mov dword [rbx + 0xc], eax
mov dword [rbx + 8], ecx
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rbx, [rbx + 0x20]
mov edx, dword [rbx - 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 [rbx - 0x30]
xor r8d, dword [rdi]
add rdi, 4
mov dword [rbx - 0x10], r8d
mov eax, dword [rbx - 0x2c]
xor eax, r8d
mov dword [rbx - 0xc], eax
mov ecx, dword [rbx - 0x28]
xor ecx, eax
mov dword [rbx - 8], ecx
mov eax, dword [rbx - 0x24]
xor eax, ecx
mov dword [rbx - 4], eax
lea rax, [0x1400b5ebc]
cmp rdi, rax
jne 0x14007d973
xor eax, eax
jmp 0x14007da6a
or eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret