Function at 0x7ff6877d9b00
Capabilities:
Encode data using xor
Terminate process

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 - 0x48]
sub rsp, 0x120
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x7ff68785f0c0]
xor rax, rsp
mov qword [rbp], rax
mov rdi, rcx
mov qword [rsp + 0x78], rcx
xor r13d, r13d
mov dword [rsp + 0x50], r13d
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r13
mov qword [rcx + 0x18], 0xf
mov byte [rcx], r13b
mov dword [rsp + 0x50], 1
movzx eax, word [0x7ff687843604]
mov word [rsp + 0x30], ax
movups xmm0, xmmword [0x7ff6878435e8]
movzx eax, byte [0x7ff687843600]
movups xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x70], al
movsd xmm0, qword [0x7ff6878435f8]
movsd qword [rsp + 0x68], xmm0
cmp byte [0x7ff687843605], r13b
je 0x7ff6877d9ba6
mov byte [rsp + 0x30], 0x72
xor byte [rsp + 0x31], 0x33
mov r8d, r13d
mov r12d, dword [0x7ff68785f108]
cmp r12d, 2
jl 0x7ff6877d9cf5
movdqa xmm5, xmmword [0x7ff687845060]
movdqa xmm4, xmmword [0x7ff6878450f0]
movdqa xmm6, xmmword [0x7ff687845080]
movdqa xmm0, xmmword [0x7ff687845100]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x5c]
mov edx, dword [rsp + 0x40]
nop dword [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
psrad xmm1, 1
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 [0x7ff6878450e0]
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
psrad xmm1, 1
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 [0x7ff6878450e0]
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 0x7ff6877d9bf0
cmp r8d, 0x19
jge 0x7ff6877d9d2f
movsxd rax, r8d
lea r9, [rsp + 0x58]
add r9, rax
mov eax, 0x94f2095
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
sub al, cl
add al, 0x32
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x19
jl 0x7ff6877d9d00
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x58]
call qword [sym.imp.ucrtbase.dll__popen]
mov r15, rax
test rax, rax
je 0x7ff6877da089
xor r14b, r14b
mov r8, rax
mov edx, 0x80
lea rcx, [rbp - 0x80]
call qword [sym.imp.ucrtbase.dll_fgets]
test rax, rax
je 0x7ff6877d9fd4
nop dword [rax]
lea rbx, [rbp - 0x80]
lea rcx, [rbp - 0x80]
mov rax, 0xffffffffffffffff
nop
inc rax
cmp byte [rcx + rax], 0
jne 0x7ff6877d9d80
lea rsi, [rbp - 0x80]
add rsi, rax
lea rax, [rbp - 0x80]
cmp rax, rsi
je 0x7ff6877d9db3
nop dword [rax]
movsx ecx, byte [rbx]
call qword [sym.imp.ucrtbase.dll_tolower]
mov byte [rbx], al
inc rbx
cmp rbx, rsi
jne 0x7ff6877d9da0
movsd xmm0, qword [0x7ff687843608]
movsd qword [rsp + 0x40], xmm0
mov eax, dword [0x7ff687843610]
mov dword [rsp + 0x48], eax
cmp byte [0x7ff687843613], 0
je 0x7ff6877d9f2f
mov r8d, r13d
cmp r12d, 2
jl 0x7ff6877d9ee7
movdqa xmm4, xmmword [0x7ff6878450f0]
movdqa xmm2, xmmword [0x7ff687845060]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x7ff687845080]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x7ff6878450e0]
packuswb xmm2, xmm2
mov eax, dword [0x7ff687845100]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [0x7ff687843608]
xorps xmm2, xmm0
movd dword [rsp + 0x40], xmm2
movdqa xmm3, xmmword [0x7ff687845070]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x7ff687845080]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x7ff6878450e0]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x44]
xorps xmm2, xmm1
movd dword [rsp + 0x44], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rsp + 0x40]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x94f2095
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
sub al, cl
add al, 0x32
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xc
jl 0x7ff6877d9f00
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x80]
call sub.VCRUNTIME140.dll_strstr
test rax, rax
je 0x7ff6877d9f47
mov r14b, 1
jmp 0x7ff6877d9f4c
test r14b, r14b
jne 0x7ff6877d9f69
mov r8, r15
mov edx, 0x80
lea rcx, [rbp - 0x80]
call qword [sym.imp.ucrtbase.dll_fgets]
test rax, rax
jne 0x7ff6877d9d70
jmp 0x7ff6877d9fd4
lea rax, [rbp - 0x80]
mov rsi, 0xffffffffffffffff
inc rsi
cmp byte [rax + rsi], 0
jne 0x7ff6877d9f74
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x7ff6877d9fbd
lea rax, [rcx + rsi]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x7ff6877d9fa4
mov rax, qword [rdi]
lea rbx, [rax + rcx]
mov r8, rsi
lea rdx, [rbp - 0x80]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy_1
mov byte [rbx + rsi], 0
jmp 0x7ff6877d9fd4
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x80]
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call fcn.7ff6877c76f0
mov rcx, r15
call qword [sym.imp.ucrtbase.dll__pclose]
mov r8, 0xffffffffffffffff
lea rdx, [0x7ff687843614]
mov rcx, rdi
call fcn.7ff6877df830
inc rax
cmp qword [rdi + 0x10], rax
jb 0x7ff6877da092
mov rcx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x7ff6877da00d
mov rcx, qword [rdi]
mov qword [rdi + 0x10], rax
mov byte [rcx + rax], 0
cmp qword [rdi + 0x18], 0xf
jbe 0x7ff6877da02b
mov rsi, qword [rdi]
mov r14, rsi
mov rbx, rsi
add r14, qword [rdi + 0x10]
jmp 0x7ff6877da038
mov r14, qword [rdi + 0x10]
add r14, rdi
mov rbx, rdi
mov rsi, rdi
cmp rbx, r14
je 0x7ff6877da054
sub rsi, rbx
movsx ecx, byte [rbx]
call qword [sym.imp.ucrtbase.dll_toupper]
mov byte [rbx + rsi], al
inc rbx
cmp rbx, r14
jne 0x7ff6877da040
mov rax, rdi
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.7ff68783f500
lea r11, [rsp + 0x120]
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
xor ecx, ecx
call qword [sym.imp.ucrtbase.dll_exit]
int3
call fcn.7ff6877dc5c0
int3