Function at 0x1400ecf40
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x14018c080]
xor rax, rsp
mov qword [rbp + 0x3f], rax
xor r8d, r8d
movups xmm0, xmmword [0x140170ed8]
movups xmmword [rbp - 0x21], xmm0
movups xmm1, xmmword [0x140170ee8]
movups xmmword [rbp - 0x11], xmm1
psrldq xmm1, 0xf
movd eax, xmm1
test al, al
je 0x1400ed122
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1400ed0e1
movdqa xmm5, xmmword [0x140175f00]
movdqa xmm4, xmmword [0x1401761c0]
movdqa xmm6, xmmword [0x140175f50]
movdqa xmm0, xmmword [0x140176070]
movdqa xmmword [rbp - 0x49], xmm0
lea rcx, [rbp - 0x1d]
mov edx, dword [rbp - 0x49]
nop dword [rax]
nop dword [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140176040]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140176040]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x20
jl 0x1400ecfe0
jmp 0x1400ed122
lea r9, [rbp - 0x21]
nop word [rax + rax]
mov eax, 0x4d4873ed
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x35
add cl, r8b
xor byte [r9], cl
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x20
jl 0x1400ed0f0
xorps xmm0, xmm0
movups xmmword [rbp + 0x1f], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x2f], xmm1
lea rax, [rbp - 0x21]
mov r14, 0xffffffffffffffff
mov r8, r14
nop
inc r8
cmp byte [rax + r8], 0
jne 0x1400ed140
lea rdx, [rbp - 0x21]
lea rcx, [rbp + 0x1f]
call fcn.140059140
nop
lea rdx, [rbp + 0x1f]
cmp qword [rbp + 0x37], 0xf
cmova rdx, qword [rbp + 0x1f]
lea rcx, [rbp - 1]
call fcn.1400ecd30
nop
lea rcx, [rbp - 1]
mov rdi, qword [rbp - 1]
mov rsi, qword [rbp + 0x17]
cmp rsi, 0xf
cmova rcx, rdi
mov qword [rsp + 0x20], 1
lea r9, [0x14015eff0]
xor r8d, r8d
mov rbx, qword [rbp + 0xf]
mov rdx, rbx
call fcn.140060630
cmp rax, 0xffffffffffffffff
je 0x1400ed263
lea rcx, [rax + 1]
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x39], xmm1
cmp rbx, rcx
jb 0x1400ed461
sub rbx, rcx
cmp rbx, 0xffffffffffffffff
cmovb r14, rbx
lea rdx, [rbp - 1]
cmp rsi, 0xf
cmova rdx, rdi
add rdx, rcx
mov r8, r14
lea rcx, [rbp - 0x49]
call fcn.140059140
mov rdx, qword [rbp + 0x17]
cmp rdx, 0xf
jbe 0x1400ed22d
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ed228
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400ed228
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140146ef8
movups xmm0, xmmword [rbp - 0x49]
movups xmmword [rbp - 1], xmm0
movups xmm1, xmmword [rbp - 0x39]
movups xmmword [rbp + 0xf], xmm1
movdqa xmm0, xmmword [0x140175ed0]
movdqu xmmword [rbp - 0x39], xmm0
mov byte [rbp - 0x49], 0
lea rcx, [rbp - 0x49]
call fcn.14003d700
mov rsi, qword [rbp + 0x17]
mov rbx, qword [rbp + 0xf]
mov rdi, qword [rbp - 1]
lea r14, [rbp - 1]
cmp rsi, 0xf
cmova r14, rdi
add r14, rbx
lea rax, [rbp - 1]
cmp rsi, 0xf
cmova rax, rdi
add rbx, rax
lea rcx, [rbp - 1]
cmp rsi, 0xf
cmova rcx, rdi
mov r8b, reloc.WS2_32.dll_listen
mov rdx, rbx
call fcn.140147a20
mov r8, rax
cmp rax, rbx
je 0x1400ed2be
inc rax
cmp rax, rbx
je 0x1400ed2be
movzx ecx, byte [rax]
cmp cl, 0xd
je 0x1400ed2b6
mov byte [r8], cl
inc r8
inc rax
cmp rax, rbx
jne 0x1400ed2a8
lea rax, [rbp - 1]
cmp qword [rbp + 0x17], 0xf
cmova rax, qword [rbp - 1]
mov r9, r8
sub r9, rax
sub r14, r8
mov rbx, qword [rbp + 0xf]
mov rax, rbx
sub rax, r9
cmp rax, r14
cmovb r14, rax
lea rcx, [rbp - 1]
cmp qword [rbp + 0x17], 0xf
cmova rcx, qword [rbp - 1]
add rcx, r9
sub rbx, r14
mov r8, rbx
sub r8, r9
inc r8
lea rdx, [rcx + r14]
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp + 0xf], rbx
lea rdi, [rbp - 1]
mov r8, qword [rbp - 1]
mov rdx, qword [rbp + 0x17]
cmp rdx, 0xf
cmova rdi, r8
add rdi, rbx
lea rax, [rbp - 1]
cmp rdx, 0xf
cmova rax, r8
add rbx, rax
lea rcx, [rbp - 1]
cmp rdx, 0xf
cmova rcx, r8
mov r8b, 0xa
mov rdx, rbx
call fcn.140147a20
mov r8, rax
cmp rax, rbx
je 0x1400ed376
inc rax
cmp rax, rbx
je 0x1400ed376
nop dword [rax]
movzx ecx, byte [rax]
cmp cl, 0xa
je 0x1400ed36e
mov byte [r8], cl
inc r8
inc rax
cmp rax, rbx
jne 0x1400ed360
lea rax, [rbp - 1]
cmp qword [rbp + 0x17], 0xf
cmova rax, qword [rbp - 1]
mov r9, r8
sub r9, rax
sub rdi, r8
mov rbx, qword [rbp + 0xf]
mov rax, rbx
sub rax, r9
cmp rax, rdi
cmovb rdi, rax
lea rcx, [rbp - 1]
cmp qword [rbp + 0x17], 0xf
cmova rcx, qword [rbp - 1]
add rcx, r9
sub rbx, rdi
mov r8, rbx
sub r8, r9
inc r8
lea rdx, [rcx + rdi]
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp + 0xf], rbx
lea r9, [rbp - 1]
cmp qword [rbp + 0x17], 0xf
cmova r9, qword [rbp - 1]
mov rax, qword [0x1416107c0]
cmp rbx, rax
ja 0x1400ed410
lea rdi, [0x1416107a8]
cmp rax, 0xf
cmova rdi, qword [0x1416107a8]
mov qword [0x1416107b8], rbx
mov r8, rbx
mov rdx, r9
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + rbx], 0
jmp 0x1400ed420
mov rdx, rbx
lea rcx, [0x1416107a8]
call fcn.140060cf0
nop
lea rcx, [rbp - 1]
call fcn.14003d700
nop
lea rcx, [rbp + 0x1f]
call fcn.14003d700
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.1401468a0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret
call fcn.140060280
nop
int3