Function at 0x14013fd30
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
push r14
mov eax, 0x28
call fcn.1401abae0
sub rsp, rax
xor r14d, r14d
mov rsi, r8
mov qword [rcx], r14
mov rdi, rdx
mov qword [rcx + 8], r14
mov rbx, rcx
mov qword [rcx + 0x40], r14
mov qword [rcx + 0x48], r14
mov qword [rcx + 0x30], r14
mov qword [rcx + 0x38], r14
mov qword [rcx + 0x170], r14
cmp r8, 0xc
jne 0x14013fd8e
movsd xmm0, qword [rdx]
lea edi, [r8 - 0xb]
movsd qword [rcx], xmm0
mov eax, dword [rdx + 8]
mov dword [rcx + 8], eax
mov byte [rcx + 0xf], 1
jmp 0x14013ff6a
mov qword [rsp + 0x58], rbp
mov rbp, rsi
mov qword [rsp + 0x50], rsi
cmp rsi, 0x10
jb 0x14013fe4a
mov qword [rsp + 0x60], r12
mov r12, rbx
shr rbp, 4
neg r12
imul rax, rbp, 0xfffffffffffffff0
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x20], r15
add rsi, rax
lea r15, [rcx + 0xf]
nop dword [rax]
lea r8, [r12 + rdi]
lea rax, [r8 + r15]
cmp rbx, rax
ja 0x14013fe10
cmp r15, rdi
jb 0x14013fe10
mov rax, rbx
mov edx, reloc.WS2_32.dll_recv
nop word [rax + rax]
movzx ecx, byte [r8 + rax]
xor byte [rax], cl
lea rax, [rax + 1]
sub rdx, 1
jne 0x14013fdf0
jmp 0x14013fe20
movdqu xmm1, xmmword [rbx]
movdqu xmm0, xmmword [rdi]
pxor xmm1, xmm0
movdqu xmmword [rbx], xmm1
lea rdx, [rbx + 0x60]
mov rcx, rbx
call fcn.1401401e0
add rdi, 0x10
sub rbp, 1
jne 0x14013fdd0
mov rbp, qword [rsp + 0x50]
mov r15, qword [rsp + 0x20]
mov r13, qword [rsp + 0x68]
mov r12, qword [rsp + 0x60]
test rsi, rsi
je 0x14013feec
cmp rsi, 0x20
jb 0x14013feb4
lea rcx, [rbx - 1]
lea rax, [rdi - 1]
add rcx, rsi
add rax, rsi
cmp rbx, rax
ja 0x14013fe71
cmp rcx, rdi
jae 0x14013feb4
mov rdx, rsi
mov rcx, rdi
and rdx, 0xffffffffffffffe0
mov rax, rbx
sub rcx, rbx
movdqu xmm0, xmmword [rax]
add r14, 0x20
movdqu xmm1, xmmword [rax + rcx]
lea rax, [rax + 0x20]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x20], xmm1
movdqu xmm1, xmmword [rcx + rax - 0x10]
movdqu xmm0, xmmword [rax - 0x10]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x10], xmm1
cmp r14, rdx
jb 0x14013fe81
cmp r14, rsi
jae 0x14013fee0
sub rdi, rbx
lea rcx, [r14 + rbx]
sub rsi, r14
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdi + rcx]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub rsi, 1
jne 0x14013fed0
lea rdx, [rbx + 0x60]
mov rcx, rbx
call fcn.1401401e0
shl rbp, 3
lea rdx, [rbx + 0x60]
xor byte [rbx + 0xf], bpl
mov rax, rbp
shr rax, 0x38
mov rcx, rbx
xor byte [rbx + 8], al
mov rax, rbp
shr rax, 0x30
xor byte [rbx + 9], al
mov rax, rbp
shr rax, 0x28
xor byte [rbx + 0xa], al
mov rax, rbp
shr rax, 0x20
xor byte [rbx + 0xb], al
mov rax, rbp
shr rax, 0x18
xor byte [rbx + 0xc], al
mov rax, rbp
shr rax, 0x10
xor byte [rbx + 0xd], al
mov rax, rbp
shr rax, 8
xor byte [rbx + 0xe], al
call fcn.1401401e0
movzx eax, byte [rbx + 0xd]
movzx edi, byte [rbx + 0xc]
mov rbp, qword [rsp + 0x58]
shl edi, 8
or edi, eax
movzx eax, byte [rbx + 0xe]
shl edi, 8
or edi, eax
movzx eax, byte [rbx + 0xf]
shl edi, 8
or edi, eax
mov r8, qword [rbx + 0x180]
lea rdx, [rbx + 0x20]
mov rcx, rbx
call qword [rbx + 0x178]
inc edi
mov eax, edi
mov byte [rbx + 0xf], dil
shr eax, 0x18
mov byte [rbx + 0xc], al
mov eax, edi
shr eax, 0x10
mov byte [rbx + 0xd], al
mov eax, edi
shr eax, 8
mov byte [rbx + 0xe], al
add rsp, 0x28
pop r14
pop rdi
pop rsi
pop rbx
ret