Function at 0x1400e9b50
Capabilities:
Encode data using xor

Disassembly:
push rdi
push r14
mov eax, 0x98
call fcn.1400b2870
sub rsp, rax
movaps xmmword [rsp + 0x60], xmm6
mov rax, qword [0x14021e0c0]
xor rax, rsp
mov qword [rsp + 0x50], rax
xor edi, edi
movsxd r14, edx
mov dword [rsp + 0x24], r14d
movaps xmm6, xmm2
mov qword [rsp + 0x30], rcx
test edx, edx
jne 0x1400e9b93
lea eax, [rdi + 1]
jmp 0x1400e9f5e
mov qword [rsp + 0x88], rsi
call fcn.1400de860
mov rsi, rax
test rax, rax
je 0x1400e9f4c
lea rdx, [0x1400ea0f0]
lea rcx, [0x14022e914]
call fcn.1400c6ee0
test eax, eax
mov ecx, edi
cmovne ecx, dword [0x14022e92c]
test ecx, ecx
je 0x1400e9f4c
cmp dword [0x14022e928], edi
mov qword [rsp + 0xc0], rbx
mov qword [rsp + 0x90], rbp
mov qword [rsp + 0x78], r13
je 0x1400e9c27
call fcn.1400c6db0
mov rcx, qword [0x14022e920]
mov ebx, eax
call fcn.1400c6ec0
mov ecx, dword [0x14022e934]
mov edx, ebx
call fcn.1400c6da0
mov rcx, qword [0x14022e920]
mov ebx, eax
mov dword [rsp + 0x20], eax
call fcn.1400c6f80
test ebx, ebx
jne 0x1400e9c39
jmp 0x1400e9c2d
mov ebx, edi
mov dword [rsp + 0x20], ebx
mov rcx, qword [0x14022e918]
call fcn.1400c6ec0
mov rcx, qword [0x14022e8f8]
mov rax, qword [0x14022e900]
movups xmm0, xmmword [0x14022e938]
movsxd rbp, ecx
add rcx, r14
mov qword [rsp + 0x28], rax
mov eax, dword [0x14022e948]
mov dword [rsp + 0x48], eax
mov qword [0x14022e8f8], rcx
movups xmmword [rsp + 0x38], xmm0
cmp rcx, 0x3ff
jb 0x1400e9cb3
movabs rax, 0x40100401004011
mov qword [0x14022e8f0], 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 [0x14022e8f8], rcx
jmp 0x1400e9cd0
mov rax, qword [0x14022e8f0]
cmp rax, 0x3ff
jae 0x1400e9cd0
cmp rcx, rax
cmova rax, rcx
mov qword [0x14022e8f0], 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 dword [0x14022e904], eax
test ebx, ebx
jne 0x1400e9d0c
mov rcx, qword [0x14022e918]
call fcn.1400c6f80
mov qword [rsp + 0x80], r12
mov r13d, edi
mov qword [rsp + 0x70], r15
test r14d, r14d
jle 0x1400e9e9a
mov rbx, rbp
mov r12d, r14d
mov r15d, reloc.WS2_32.dll_sendto
nop dword [rax]
nop word [rax + rax]
cmp r12d, 0x14
mov r14d, r12d
cmovg r14d, r15d
call fcn.1400dec90
mov rdx, rax
xor r8d, r8d
mov rcx, rsi
call fcn.1400de330
test eax, eax
je 0x1400e9f2a
mov r8, r15
lea rdx, [rsp + 0x38]
mov rcx, rsi
call fcn.1400de5a0
test eax, eax
je 0x1400e9f2a
lea r15d, [rbp - 0x3ff]
movsxd rdx, ebp
add r15d, r14d
mov rcx, rsi
test r15d, r15d
jle 0x1400e9dc2
mov eax, r14d
sub eax, r15d
movsxd r8, eax
lea rax, [0x14022e950]
add rdx, rax
call fcn.1400de5a0
test eax, eax
je 0x1400e9f2a
movsxd r8, r15d
lea rdx, [0x14022e950]
mov rcx, rsi
jmp 0x1400e9dcf
lea rax, [0x14022e950]
movsxd r8, r14d
add rdx, rax
call fcn.1400de5a0
test eax, eax
je 0x1400e9f2a
mov r15, qword [rsp + 0x30]
mov rcx, rsi
movsxd r14, r14d
mov rdx, r15
mov r8, r14
call fcn.1400de5a0
test eax, eax
je 0x1400e9f2a
mov r8d, 8
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.1400de5a0
test eax, eax
je 0x1400e9f2a
xor r8d, r8d
lea rdx, [rsp + 0x38]
mov rcx, rsi
call fcn.1400de250
test eax, eax
je 0x1400e9f2a
inc dword [rsp + 0x2c]
add r15, r14
mov qword [rsp + 0x30], r15
mov rcx, rdi
test r14, r14
jle 0x1400e9e7d
lea r15, [0x14022e950]
nop dword [rax + rax]
movzx eax, byte [rsp + rcx + 0x38]
inc rcx
xor byte [rbx + r15], al
inc rbx
cmp rbx, 0x3ff
lea eax, [rbp + 1]
mov ebp, edi
cmovl ebp, eax
mov rax, rdi
cmovl rax, rbx
mov rbx, rax
cmp rcx, r14
jl 0x1400e9e50
add r13d, 0x14
sub r12d, 0x14
mov r15d, reloc.WS2_32.dll_sendto
cmp r13d, dword [rsp + 0x24]
jl 0x1400e9d40
mov ebx, dword [rsp + 0x20]
test ebx, ebx
jne 0x1400e9eb0
mov rcx, qword [0x14022e918]
call fcn.1400c6ec0
nop word [rax + rax]
movdqu xmm1, xmmword [0x14022e938]
mov ecx, 4
lea rdx, [0x14022e938]
movdqu xmm0, xmmword [rsp + 0x38]
pxor xmm1, xmm0
movdqu xmmword [0x14022e938], xmm1
nop word [rax + rax]
movzx eax, byte [rsp + rdi + 0x48]
xor byte [rdi + rdx + 0x10], al
lea rdi, [rdi + 1]
sub rcx, 1
jne 0x1400e9ee0
movsd xmm0, qword [0x1401abfc0]
movsd xmm1, qword [0x14022e908]
comisd xmm0, xmm1
jbe 0x1400e9f15
addsd xmm1, xmm6
movsd qword [0x14022e908], xmm1
test ebx, ebx
jne 0x1400e9f25
mov rcx, qword [0x14022e918]
call fcn.1400c6f80
mov edi, 1
mov r12, qword [rsp + 0x80]
mov r15, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x90]
mov rbx, qword [rsp + 0xc0]
mov r13, qword [rsp + 0x78]
mov rcx, rsi
call fcn.1400de820
mov rsi, qword [rsp + 0x88]
mov eax, edi
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400b2240
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x98
pop r14
pop rdi
ret