Function at 0x7ff794c5a510
Capabilities:
Encode data using xor
Execute command
Set console window title

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
mov rax, qword [0x7ff794c70008]
xor rax, rsp
mov qword [rbp + 0x1f], rax
call qword [sym.imp.kernel32.dll_GetTickCount64]
mov rcx, rax
call qword [sym.imp.ucrtbase.dll_srand]
mov edx, 0xb
mov rcx, qword [0x7ff794c70d58]
call qword [sym.imp.kernel32.dll_SetConsoleTextAttribute]
lea rcx, [0x7ff794c68270]
call qword [sym.imp.kernel32.dll_SetConsoleTitleA]
lea rcx, [0x7ff794c65a08]
call qword [sym.imp.ucrtbase.dll_system]
lea rcx, [0x7ff794c65a38]
call qword [sym.imp.ucrtbase.dll_system]
lea rcx, [0x7ff794c65a78]
call qword [sym.imp.ucrtbase.dll_system]
xor edi, edi
mov dword [rbp + 0x17], edi
lea esi, [rdi + 1]
lea r14d, [rdi + 0x1f]
mov ebx, dword [0x7ff794c70018]
mov edx, 0xb
mov rcx, qword [0x7ff794c70d58]
call qword [sym.imp.kernel32.dll_SetConsoleTextAttribute]
lea rdx, [0x7ff794c68280]
mov rcx, qword [sym.imp.msvcp140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.7ff794c438e0
mov edx, 6
mov rcx, qword [0x7ff794c70d58]
call qword [sym.imp.kernel32.dll_SetConsoleTextAttribute]
lea rdx, [0x7ff794c682a8]
mov rcx, qword [sym.imp.msvcp140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.7ff794c438e0
lea rdx, [0x7ff794c43ab0]
mov rcx, rax
call qword [sym.imp.msvcp140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___class_std::basic_istream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_istream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov edx, 0xb
mov rcx, qword [0x7ff794c70d58]
call qword [sym.imp.kernel32.dll_SetConsoleTextAttribute]
lea rdx, [0x7ff794c682c8]
mov rcx, qword [sym.imp.msvcp140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.7ff794c438e0
lea rdx, [0x7ff794c43ab0]
mov rcx, rax
call qword [sym.imp.msvcp140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___class_std::basic_istream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_istream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, [0x7ff794c682e0]
mov rcx, qword [sym.imp.msvcp140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.7ff794c438e0
lea rdx, [0x7ff794c43ab0]
mov rcx, rax
call qword [sym.imp.msvcp140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___class_std::basic_istream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_istream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, [0x7ff794c43ab0]
mov rcx, qword [sym.imp.msvcp140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call qword [sym.imp.msvcp140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___class_std::basic_istream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_istream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, [0x7ff794c682f0]
mov rcx, qword [sym.imp.msvcp140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.7ff794c438e0
lea rdx, [rbp + 0x17]
mov rcx, qword [sym.imp.msvcp140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.msvcp140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___int____ptr64____ptr64]
mov eax, dword [rbp + 0x17]
cmp eax, 1
jne 0x7ff794c5a932
movups xmm0, xmmword [0x7ff794c68370]
movups xmmword [rbp - 0x29], xmm0
movsd xmm1, qword [0x7ff794c68380]
movsd qword [rbp - 0x19], xmm1
mov eax, dword [0x7ff794c68388]
mov dword [rbp - 0x11], eax
movzx eax, byte [0x7ff794c6838c]
mov byte [rbp - 0xd], al
mov r8d, edi
cmp ebx, 2
jl 0x7ff794c5a827
movdqa xmm5, xmmword [0x7ff794c689a0]
movdqa xmm4, xmmword [0x7ff794c689f0]
movd xmm6, esi
movdqa xmm7, xmmword [0x7ff794c689d0]
movd xmm8, r14d
movdqa xmm0, xmmword [0x7ff794c68a00]
movdqa xmmword [rbp - 0x39], xmm0
lea rcx, [rbp - 0x29]
mov edx, dword [rbp - 0x39]
nop dword [rax]
nop word [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
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x7ff794c689e0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], 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, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x7ff794c689e0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx + 4]
pxor xmm2, xmm0
movd dword [rcx + 4], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x18
jl 0x7ff794c5a720
cmp r8d, 0x1d
jge 0x7ff794c5a860
movsxd rax, r8d
lea r9, [rbp - 0x29]
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, 0x1d
jl 0x7ff794c5a831
mov qword [rbp - 0x59], rdi
mov qword [rbp - 0x49], rdi
mov qword [rbp - 0x41], 0xf
lea rax, [rbp - 0x29]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x7ff794c5a880
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x59]
call fcn.7ff794c435b0
lea rcx, [rbp - 0x59]
cmp qword [rbp - 0x41], 0x10
cmovae rcx, qword [rbp - 0x59]
call qword [sym.imp.ucrtbase.dll_system]
mov rdx, qword [rbp - 0x41]
cmp rdx, 0x10
jb 0x7ff794c5a8e6
inc rdx
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff794c5a8e1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff794c5ac00
call fcn.7ff794c61b74
call fcn.7ff794c48990
call fcn.7ff794c4a4a0
call fcn.7ff794c4dbb0
call fcn.7ff794c5e910
call fcn.7ff794c47910
mov rcx, rsi
call fcn.7ff794c61b30
xor ecx, ecx
call qword [sym.imp.ucrtbase.dll__time64]
mov rcx, rax
call qword [sym.imp.ucrtbase.dll_srand]
call fcn.7ff794c41f10
call fcn.7ff794c47e00
lea rcx, [0x7ff794c66028]
call qword [sym.imp.ucrtbase.dll_system]
mov eax, dword [rbp + 0x17]
cmp eax, 2
jne 0x7ff794c5abbd
movups xmm0, xmmword [0x7ff794c68370]
movups xmmword [rbp - 9], xmm0
movsd xmm1, qword [0x7ff794c68380]
movsd qword [rbp + 7], xmm1
mov eax, dword [0x7ff794c68388]
mov dword [rbp + 0xf], eax
movzx eax, byte [0x7ff794c6838c]
mov byte [rbp + 0x13], al
mov ecx, edi
cmp ebx, 2
jl 0x7ff794c5aab4
movdqa xmm5, xmmword [0x7ff794c689a0]
movdqa xmm4, xmmword [0x7ff794c689f0]
movd xmm6, esi
movdqa xmm7, xmmword [0x7ff794c689d0]
movd xmm8, r14d
movdqa xmm0, xmmword [0x7ff794c68a00]
movdqa xmmword [rbp - 0x39], xmm0
lea rdx, [rbp - 9]
mov r8d, dword [rbp - 0x39]
nop word [rax + rax]
movd xmm2, ecx
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, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x7ff794c689e0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
pxor xmm2, xmm0
movd dword [rdx], xmm2
lea eax, [rcx + 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, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x7ff794c689e0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx + 4]
pxor xmm2, xmm0
movd dword [rdx + 4], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x18
jl 0x7ff794c5a9b0
cmp ecx, 0x1d
jge 0x7ff794c5aaeb
movsxd rax, ecx
lea r8, [rbp - 9]
add r8, rax
nop
mov eax, 0x94f2095
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x37
movzx eax, cl
sub al, dl
add al, 0x32
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x1d
jl 0x7ff794c5aac0
mov qword [rbp - 0x59], rdi
mov qword [rbp - 0x49], rdi
mov qword [rbp - 0x41], 0xf
lea rax, [rbp - 9]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x7ff794c5ab06
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x59]
call fcn.7ff794c435b0
lea rcx, [rbp - 0x59]
cmp qword [rbp - 0x41], 0x10
cmovae rcx, qword [rbp - 0x59]
call qword [sym.imp.ucrtbase.dll_system]
mov rdx, qword [rbp - 0x41]
cmp rdx, 0x10
jb 0x7ff794c5ab6c
inc rdx
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff794c5ab67
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff794c5ac07
call fcn.7ff794c61b74
call fcn.7ff794c48990
call fcn.7ff794c4a4a0
call fcn.7ff794c4dbb0
call fcn.7ff794c598b0
call fcn.7ff794c5e910
call fcn.7ff794c47910
mov rcx, rsi
call fcn.7ff794c61b30
xor ecx, ecx
call qword [sym.imp.ucrtbase.dll__time64]
mov rcx, rax
call qword [sym.imp.ucrtbase.dll_srand]
call fcn.7ff794c41f10
call fcn.7ff794c47e00
lea rcx, [0x7ff794c66028]
call qword [sym.imp.ucrtbase.dll_system]
mov eax, dword [rbp + 0x17]
cmp eax, 4
jne 0x7ff794c5a5b1
xor eax, eax
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.7ff794c61b10
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop rbp
ret
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3