Function at 0x140020080
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov qword [rax + 8], rcx
push rdi
push r14
push r15
sub rsp, 0xd0
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
mov rdi, rcx
movups xmm0, xmmword [str.__AFD]
movups xmmword [rsp + 0x30], xmm0
movsd xmm0, qword [0x1400f9470]
movsd qword [rsp + 0x40], xmm0
movzx eax, word [0x1400f9478]
mov word [rsp + 0x48], ax
xor ebp, ebp
lea r14d, [rbp + 5]
lea r15d, [rbp + 0x1f]
mov esi, dword [reloc.WS2_32.dll_accept]
cmp byte [0x1400f9479], bpl
je 0x140020293
mov r8d, ebp
cmp esi, 2
jl 0x14002024b
movdqa xmm5, xmmword [0x1400fe540]
movdqa xmm4, xmmword [0x1400fe730]
movd xmm6, r14d
movdqa xmm7, xmmword [0x1400fe5d0]
movd xmm8, r15d
movdqa xmm0, xmmword [0x1400fe690]
movdqa xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x34]
mov edx, dword [rsp + 0x20]
nop word [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
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400fe670]
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
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400fe670]
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, 0x18
jl 0x140020140
cmp r8d, 0x1a
jge 0x140020293
movsxd rax, r8d
lea r9, [rsp + 0x30]
add r9, rax
nop word [rax + rax]
mov eax, 0x8fb823ef
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, r8b
sub al, cl
add al, 0x33
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x1a
jl 0x140020260
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rbp
mov qword [rdi + 0x18], rbp
lea rax, [rsp + 0x30]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], bpl
jne 0x1400202b0
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.140028df0
nop
movups xmm0, xmmword [0x1400f9870]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [0x1400f9880]
movups xmmword [rsp + 0x60], xmm1
movups xmm0, xmmword [0x1400f9890]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [0x1400f98a0]
movups xmmword [rsp + 0x80], xmm1
movzx eax, byte [0x1400f98b0]
mov byte [rsp + 0x90], al
mov ecx, ebp
cmp esi, 2
jl 0x140020458
movdqa xmm5, xmmword [0x1400fe540]
movdqa xmm4, xmmword [0x1400fe730]
movd xmm6, r14d
movdqa xmm7, xmmword [0x1400fe5d0]
movd xmm8, r15d
movdqa xmm0, xmmword [0x1400fe690]
movdqa xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x54]
mov r8d, dword [rsp + 0x20]
nop dword [rax]
movd xmm2, ecx
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
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400fe670]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 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
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400fe670]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x40
jl 0x140020350
cmp ecx, 0x41
jge 0x14002049e
movsxd rax, ecx
lea r8, [rsp + 0x50]
add r8, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x8fb823ef
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x39
movzx eax, cl
sub al, dl
add al, 0x33
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x41
jl 0x140020470
xorps xmm0, xmm0
movups xmmword [rdi + 0x20], xmm0
mov qword [rdi + 0x30], rbp
mov qword [rdi + 0x38], rbp
lea rax, [rsp + 0x50]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400204b2
mov r8, rbx
lea rdx, [rsp + 0x50]
lea rcx, [rdi + 0x20]
call fcn.140028df0
nop
mov rax, rdi
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret