Function at 0x14020f5f0
Capabilities:
Encode data using xor

Disassembly:
test edx, edx
je 0x14020fa47
push rbp
push r14
lea rbp, [rsp - 0x4f]
mov eax, 0xd8
call fcn.1402807a0
sub rsp, rax
movaps xmmword [rsp + 0xa0], xmm6
mov rax, qword [0x1403b9868]
xor rax, rsp
mov qword [rbp + 0xf], rax
cmp dword [0x1403ea3c4], 0
mov qword [rsp + 0x100], rbx
mov qword [rsp + 0xd0], rsi
movaps xmm6, xmm2
movsxd r14, edx
mov qword [rsp + 0xc8], rdi
mov qword [rbp - 0x51], rcx
mov dword [rbp - 0x59], r14d
mov qword [rsp + 0xc0], r12
je 0x14020f6b7
lea rcx, [rbp - 0x19]
call fcn.1401c1840
mov edx, reloc.WS2_32.dll_send
lea r8, [0x1403abb30]
lea ecx, [rdx - 0xe]
mov r9d, 0xdf
call fcn.1401c1af0
lea rdx, [rbp - 0x19]
lea rcx, [0x1403ea800]
call fcn.1401c1810
xor edi, edi
lea r8, [0x1403abb48]
test eax, eax
mov ebx, edi
lea edx, [rdi + 0x13]
sete bl
lea ecx, [rdi + 6]
mov r9d, 0xe1
mov dword [rbp - 0x69], ebx
call fcn.1401c1af0
test ebx, ebx
jne 0x14020f6d8
jmp 0x14020f6be
xor edi, edi
mov ebx, edi
mov dword [rbp - 0x69], ebx
mov edx, reloc.WS2_32.dll_select
lea r8, [0x1403abb60]
mov r9d, 0xe6
lea ecx, [rdx - 9]
call fcn.1401c1af0
mov rcx, qword [0x1403ea3a8]
mov eax, dword [0x1403ea3b0]
movups xmm0, xmmword [0x1403ea7e8]
mov r8d, dword [0x1403ea3b4]
mov dword [rbp - 0x61], eax
mov eax, dword [0x1403ea7f8]
movups xmmword [rbp - 9], xmm0
movsxd rsi, ecx
add rcx, r14
mov dword [rbp + 7], eax
mov dword [rbp - 0x5d], r8d
mov qword [0x1403ea3a8], rcx
cmp rcx, 0x3ff
jb 0x14020f758
movabs rax, 0x40100401004011
mov qword [0x1403ea3a0], 0x3ff
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 9
imul rax, rax, 0x3ff
sub rcx, rax
mov qword [0x1403ea3a8], rcx
jmp 0x14020f775
mov rax, qword [0x1403ea3a0]
cmp rax, 0x3ff
jae 0x14020f775
cmp rcx, rax
cmova rax, rcx
mov qword [0x1403ea3a0], rax
mov eax, 0x66666667
mov ecx, r14d
imul r14d
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*4]
shl eax, 2
sub ecx, eax
mov eax, edi
test ecx, ecx
setg al
add eax, edx
add r8d, eax
mov dword [0x1403ea3b4], r8d
test ebx, ebx
jne 0x14020f7c1
lea r8, [0x1403abb78]
lea edx, [rbx + 0x12]
lea ecx, [rbx + 0xa]
mov r9d, 0x106
call fcn.1401c1af0
lea rcx, [rbp - 0x49]
mov qword [rsp + 0xb8], r13
mov qword [rsp + 0xb0], r15
call fcn.1401d9190
mov r12d, edi
test r14d, r14d
jle 0x14020f950
mov rbx, rsi
mov r13d, r14d
mov r15d, shutdown
nop dword [rax]
nop word [rax + rax]
mov r14d, r13d
cmp r13d, 0x14
cmovg r14d, r15d
call fcn.1401cd3e0
lea rcx, [rbp - 0x49]
mov rdx, rax
xor r8d, r8d
call fcn.1401d8bd0
test eax, eax
je 0x14020f9f0
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x49]
mov r8, r15
call fcn.1401d8e30
test eax, eax
je 0x14020f9f0
lea r15d, [rsi - 0x3ff]
movsxd rdx, esi
lea rcx, [rbp - 0x49]
add r15d, r14d
test r15d, r15d
jle 0x14020f885
mov eax, r14d
sub eax, r15d
movsxd r8, eax
lea rax, [0x1403ea3d0]
add rdx, rax
call fcn.1401d8e30
test eax, eax
je 0x14020f9f0
movsxd r8, r15d
lea rdx, [0x1403ea3d0]
lea rcx, [rbp - 0x49]
jmp 0x14020f892
lea rax, [0x1403ea3d0]
movsxd r8, r14d
add rdx, rax
call fcn.1401d8e30
test eax, eax
je 0x14020f9f0
mov r15, qword [rbp - 0x51]
movsxd r14, r14d
lea rcx, [rbp - 0x49]
mov rdx, r15
mov r8, r14
call fcn.1401d8e30
test eax, eax
je 0x14020f9f0
lea rdx, [rbp - 0x61]
lea rcx, [rbp - 0x49]
mov r8d, 8
call fcn.1401d8e30
test eax, eax
je 0x14020f9f0
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x49]
xor r8d, r8d
call fcn.1401d8af0
test eax, eax
je 0x14020f9f0
inc dword [rbp - 0x5d]
add r15, r14
mov rcx, rdi
mov qword [rbp - 0x51], r15
test r14, r14
jle 0x14020f935
lea r15, [0x1403ea3d0]
nop dword [rax]
movzx eax, byte [rbp + rcx - 9]
inc rbx
inc esi
xor byte [rbx + r15 - 1], al
cmp rbx, 0x3ff
jl 0x14020f92d
mov esi, edi
mov rbx, rdi
inc rcx
cmp rcx, r14
jl 0x14020f910
add r12d, 0x14
sub r13d, 0x14
mov r15d, shutdown
cmp r12d, dword [rbp - 0x59]
jl 0x14020f800
mov ebx, dword [rbp - 0x69]
test ebx, ebx
jne 0x14020f96c
lea r8, [0x1403abb90]
lea edx, [rbx + 0x12]
lea ecx, [rbx + 9]
mov r9d, 0x13b
call fcn.1401c1af0
movdqu xmm1, xmmword [0x1403ea7e8]
movdqu xmm0, xmmword [rbp - 9]
mov ecx, 4
lea rdx, [0x1403ea7e8]
pxor xmm1, xmm0
movdqu xmmword [0x1403ea7e8], xmm1
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rbp + rdi + 7]
lea rdi, [rdi + 1]
xor byte [rdi + rdx + 0xf], al
dec rcx
jne 0x14020f9a0
movsd xmm0, qword [0x1402ecd30]
movsd xmm1, qword [0x1403ea3b8]
comisd xmm0, xmm1
jbe 0x14020f9d4
addsd xmm1, xmm6
movsd qword [0x1403ea3b8], xmm1
test ebx, ebx
jne 0x14020f9f0
lea r8, [0x1403abba8]
lea edx, [rbx + 0x12]
lea ecx, [rbx + 0xa]
mov r9d, 0x148
call fcn.1401c1af0
lea rcx, [rbp - 0x49]
call fcn.1401d8e50
mov r15, qword [rsp + 0xb0]
mov r13, qword [rsp + 0xb8]
mov r12, qword [rsp + 0xc0]
mov rdi, qword [rsp + 0xc8]
mov rsi, qword [rsp + 0xd0]
mov rbx, qword [rsp + 0x100]
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.1402806f0
movaps xmm6, xmmword [rsp + 0xa0]
add rsp, 0xd8
pop r14
pop rbp
ret