Function at 0x7ff720021680
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x7ff720099080]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov r14, rcx
mov qword [rbp - 0x20], rcx
xor r15d, r15d
mov dword [rsp + 0x20], r15d
mov r8d, 0x104
lea rdx, [rbp + 0x80]
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleFileNameA]
movdqa xmm0, xmmword [0x7ff72007ef40]
movdqu xmmword [rbp - 0x58], xmm0
movdqa xmm1, xmmword [0x7ff72007eeb0]
movdqu xmmword [rbp - 0x48], xmm1
movdqa xmm0, xmmword [0x7ff72007eee0]
movdqu xmmword [rbp - 0x38], xmm0
mov word [rbp - 0x28], 0x100
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x40], r15
lea rax, [rbp + 0x80]
mov r12, 0xffffffffffffffff
mov rdi, r12
inc rdi
cmp byte [rax + rdi], r15b
jne 0x7ff720021723
movabs rsi, 0x7fffffffffffffff
cmp rdi, rsi
ja 0x7ff720021ae9
mov qword [rsp + 0x40], 0xf
cmp rdi, 0x10
jae 0x7ff72002176e
mov qword [rsp + 0x38], rdi
mov r8, rdi
lea rdx, [rbp + 0x80]
lea rcx, [rsp + 0x28]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsp + rdi + 0x28], r15b
jmp 0x7ff7200217c6
mov rax, rdi
or rax, 0xf
cmp rax, rsi
ja 0x7ff720021789
mov rsi, rax
mov ecx, 0x16
cmp rax, rcx
cmovb rsi, rcx
mov rdx, rsi
add rdx, 1
cmovb rdx, r12
lea rcx, [rsp + 0x28]
call fcn.7ff7200178d0
mov rbx, rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], rsi
mov r8, rdi
lea rdx, [rbp + 0x80]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + rdi], r15b
mov r9d, 0x14
lea r8, [0x7ff72007df00]
xor edx, edx
lea rcx, [rsp + 0x28]
call fcn.7ff720024d70
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x68], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
cmp byte [rbp - 0x27], 0
je 0x7ff720021824
mov rcx, r15
nop word [rax + rax]
lea eax, [rcx + 0x4a]
xor byte [rbp + rcx - 0x58], al
inc rcx
cmp rcx, 0x30
jb 0x7ff720021810
mov byte [rbp - 0x27], 0
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], 0xf
mov edx, 0x40
lea rcx, [rsp + 0x48]
call fcn.7ff7200178d0
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x58], 0x30
mov qword [rsp + 0x60], 0x3f
movups xmm0, xmmword [rbp - 0x58]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rbp - 0x48]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rbp - 0x38]
movups xmmword [rax + 0x20], xmm0
mov byte [rax + 0x30], 0
lea r8, [rbp - 0x78]
cmp qword [rbp - 0x60], 0x10
cmovae r8, qword [rbp - 0x78]
mov r9, qword [rbp - 0x68]
xor edx, edx
lea rcx, [rsp + 0x48]
call fcn.7ff720024d70
mov qword [rsp + 0x68], r15
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x78], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x7ff720021905
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff7200218ff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff7200218ff
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff72007994c
nop
lea rcx, [rsp + 0x68]
cmp qword [rbp - 0x80], 0x10
cmovae rcx, qword [rsp + 0x68]
mov qword [r14], r15
mov qword [r14 + 0x10], r15
mov qword [r14 + 0x18], 0xf
mov byte [r14], 0
mov dword [rsp + 0x20], 0x3e
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
lea rdx, [0x7ff72008c188]
call qword [sym.imp.ucrtbase.dll__popen]
mov rbx, rax
mov rax, qword [sym.imp.ucrtbase.dll__pclose]
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rbx
test rbx, rbx
je 0x7ff720021ac6
mov r8, rbx
mov edx, 0x80
lea rcx, [rbp]
call qword [sym.imp.ucrtbase.dll_fgets]
test rax, rax
je 0x7ff7200219bd
nop word [rax + rax]
lea rax, [rbp]
mov r8, r12
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x7ff720021990
lea rdx, [rbp]
mov rcx, r14
call fcn.7ff7200210c0
mov r8, rbx
mov edx, 0x80
lea rcx, [rbp]
call qword [sym.imp.ucrtbase.dll_fgets]
test rax, rax
jne 0x7ff720021980
mov rcx, rbx
call qword [sym.imp.ucrtbase.dll__pclose]
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x7ff720021a06
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff720021a01
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff720021a01
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff72007994c
movdqa xmm0, xmmword [0x7ff72008dcf0]
movdqu xmmword [rsp + 0x78], xmm0
mov byte [rsp + 0x68], 0
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x7ff720021a58
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff720021a52
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff720021a52
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff72007994c
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x7ff720021a98
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff720021a93
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff720021a93
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff72007994c
mov rax, r14
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.7ff7200795d0
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
lea rdx, [0x7ff72007def0]
lea rcx, [rsp + 0x48]
call fcn.7ff72001f530
lea rdx, [0x7ff720095a40]
lea rcx, [rsp + 0x48]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.7ff720002210
int3