Function at 0x14006b0f0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x60
call fcn.140150d80
sub rsp, rax
mov rax, qword [0x1402274c0]
xor rax, rsp
mov qword [rsp + 0x50], rax
movzx r14d, byte [rcx]
mov rax, qword [rcx + 0x30]
mov r15, qword [rcx + 0x28]
mov rbp, r9
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov byte [rsp + 0x20], r14b
mov qword [rsp + 0x28], rax
test r14b, 0x40
jne 0x14006b152
lea rdx, [rcx + 0x10]
mov r8, rax
call r15
inc qword [rbx + 0x20]
mov r8d, reloc.WS2_32.dll_ntohs
xor r12d, r12d
movzx eax, r14b
and eax, 7
mov r13d, r8d
mov ecx, r12d
sub r13d, eax
mov byte [rbx], al
mov dword [rsp + 0x30], r13d
cmp r13d, r8d
jae 0x14006b196
mov edx, r13d
add rdx, rbx
sub r8d, r13d
movzx eax, byte [rdx]
mov byte [rdx], r12b
lea rdx, [rdx + 1]
or rcx, rax
shl rcx, 8
dec r8
jne 0x14006b180
movzx eax, byte [rbx + 0xf]
mov byte [rbx + 0xf], 1
or rcx, rax
cmp rcx, rbp
je 0x14006b1ae
or eax, 0xffffffff
jmp 0x14006b3a4
lea rax, [rbp + 0xf]
or rax, 8
shr rax, 3
add qword [rbx + 0x20], rax
movabs rax, 0x2000000000000000
cmp qword [rbx + 0x20], rax
jbe 0x14006b1d8
mov eax, 0xfffffffe
jmp 0x14006b3a4
cmp rbp, 0x10
jb 0x14006b26a
mov r12, qword [rsp + 0x28]
mov r14, rbp
mov r13, r15
shr r14, 4
imul rax, r14, 0xfffffffffffffff0
add rbp, rax
nop dword [rax + rax]
mov rax, qword [rdi]
lea rdx, [rbx + 0x10]
lea rcx, [rbx + 0x10]
xor qword [rbx + 0x10], rax
mov rax, qword [rdi + 8]
mov r8, r12
xor qword [rbx + 0x18], rax
call r13
lea rdx, [rsp + 0x40]
mov r8, r12
mov rcx, rbx
call r13
mov eax, 8
dec eax
inc byte [rax + rbx + 8]
jne 0x14006b23c
test eax, eax
jne 0x14006b230
mov rax, qword [rdi]
add rsi, 0x10
add rdi, 0x10
xor rax, qword [rsp + 0x40]
mov qword [rsi - 0x10], rax
mov rax, qword [rdi - 8]
xor rax, qword [rsp + 0x48]
mov qword [rsi - 8], rax
dec r14
jne 0x14006b200
mov r13d, dword [rsp + 0x30]
xor r12d, r12d
mov r14d, reloc.WS2_32.dll_recv
test rbp, rbp
je 0x14006b364
mov edx, r12d
mov rcx, r12
nop
movzx eax, byte [rcx + rdi]
inc edx
xor byte [rcx + rbx + 0x10], al
mov ecx, edx
cmp rcx, rbp
jb 0x14006b280
mov r8, qword [rsp + 0x28]
lea rcx, [rbx + 0x10]
mov rdx, rcx
call r15
mov r8, qword [rsp + 0x28]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call r15
mov edx, r12d
cmp rbp, 0x20
jb 0x14006b33d
lea eax, [rbp - 1]
mov ecx, eax
lea r8, [rax + rsi]
lea rax, [rsp + 0x40]
add rax, rcx
cmp rsi, rax
ja 0x14006b2dd
lea rax, [rsp + 0x40]
cmp r8, rax
jae 0x14006b33d
lea rax, [rcx + rdi]
cmp rsi, rax
ja 0x14006b2eb
cmp r8, rdi
jae 0x14006b33d
mov rax, rbp
mov rcx, rbp
mov r8d, r14d
and eax, 0x1f
sub rcx, rax
nop word [rax + rax]
movdqu xmm1, xmmword [r12 + rdi]
movdqu xmm0, xmmword [rsp + r12 + 0x40]
mov eax, r8d
add edx, 0x20
add r8d, 0x20
pxor xmm1, xmm0
movdqu xmm0, xmmword [rsp + rax + 0x40]
movdqu xmmword [r12 + rsi], xmm1
movdqu xmm1, xmmword [rax + rdi]
mov r12d, edx
pxor xmm1, xmm0
movdqu xmmword [rax + rsi], xmm1
cmp r12, rcx
jb 0x14006b300
mov ecx, edx
cmp rcx, rbp
jae 0x14006b364
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx + rdi]
inc edx
xor al, byte [rsp + rcx + 0x40]
mov byte [rcx + rsi], al
mov ecx, edx
cmp rcx, rbp
jb 0x14006b350
cmp r13d, r14d
jae 0x14006b379
sub r14d, r13d
mov edi, r13d
add rdi, rbx
xor eax, eax
mov ecx, r14d
rep stosb byte [rdi], al
mov r8, qword [rsp + 0x28]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call r15
mov rax, qword [rsp + 0x40]
xor qword [rbx + 0x10], rax
mov rax, qword [rsp + 0x48]
xor qword [rbx + 0x18], rax
movzx eax, byte [rsp + 0x20]
mov byte [rbx], al
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140150a60
mov rbx, qword [rsp + 0xa8]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret