Function at 0x7ff65d18d960
Capabilities:
Create thread
Encode data using xor
Enumerate processes
Execute command
Hide graphical window
Set console window title
Terminate process

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 - 0x2b8]
sub rsp, 0x3b0
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x7ff65d260f40]
xor rax, rsp
mov qword [rbp + 0x290], rax
xor r14d, r14d
lea rcx, [0x7ff65d261c80]
call fcn.7ff65d1a0760
mov ecx, 0xfffffff5
call qword [sym.imp.kernel32.dll_GetStdHandle]
mov rbx, rax
mov dword [rbp - 0x30], r14d
lea rdx, [rbp - 0x30]
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetConsoleMode]
mov edx, dword [rbp - 0x30]
or edx, 4
mov dword [rbp - 0x30], edx
mov rcx, rbx
call qword [sym.imp.kernel32.dll_SetConsoleMode]
lea rcx, [0x7ff65d204540]
call qword [sym.imp.kernel32.dll_SetConsoleTitleW]
movups xmm0, xmmword [0x7ff65d2044d8]
movups xmmword [rbp - 0x28], xmm0
movzx eax, word [0x7ff65d2044e8]
mov word [rbp - 0x18], ax
mov ebx, dword [0x7ff65d260f90]
cmp byte [0x7ff65d2044e9], r14b
je 0x7ff65d18db9e
mov ecx, r14d
cmp ebx, 2
jl 0x7ff65d18db5a
movdqa xmm5, xmmword [0x7ff65d203330]
movdqa xmm4, xmmword [0x7ff65d2047f0]
movdqa xmm6, xmmword [0x7ff65d204780]
movdqa xmm0, xmmword [0x7ff65d2047a0]
movdqa xmmword [rsp + 0x70], xmm0
lea rdx, [rbp - 0x24]
mov r8d, dword [rsp + 0x70]
nop dword [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
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x7ff65d204790]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], 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
paddd xmm1, xmm3
psrad xmm1, 5
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 [0x7ff65d204790]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x10
jl 0x7ff65d18da50
cmp ecx, 0x12
jge 0x7ff65d18db9e
movsxd rax, ecx
lea r8, [rbp - 0x28]
add r8, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x8fb823ef
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x39
movzx eax, cl
sub al, dl
add al, 0x31
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x12
jl 0x7ff65d18db70
lea rdx, [rbp - 0x28]
mov rcx, qword [sym.imp.msvcp140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.7ff65d17eb90
xorps xmm0, xmm0
movups xmmword [rbp + 0x28], xmm0
movdqa xmm1, xmmword [0x7ff65d204770]
movdqu xmmword [rbp + 0x38], xmm1
mov byte [rbp + 0x28], r14b
lea rdx, [rbp + 0x28]
mov rcx, qword [sym.imp.msvcp140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.7ff65d17e920
lea rdx, [rbp + 0x28]
lea rcx, [rbp - 0x28]
call fcn.7ff65d180c40
mov rdx, rax
lea rcx, [0x7ff65d261c80]
call fcn.7ff65d1a26c0
cmp byte [0x7ff65d261eb0], 0
jmp 0x7ff65d18dc77
lea rdx, [0x7ff65d204570]
mov rcx, qword [sym.imp.msvcp140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.7ff65d17eb90
lea rdx, [0x7ff65d204598]
mov rcx, qword [sym.imp.msvcp140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.7ff65d17eb90
lea rdx, [0x7ff65d2045a8]
mov rcx, qword [sym.imp.msvcp140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.7ff65d17eb90
lea rdx, [0x7ff65d2045b8]
mov rcx, qword [sym.imp.msvcp140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.7ff65d17eb90
lea rdx, [rbp - 0x2c]
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]
cmp dword [rbp - 0x2c], 1
jne 0x7ff65d18dd19
xor edx, edx
mov rcx, qword [0x7ff65d261c28]
call qword [sym.imp.user32.dll_ShowWindow]
call fcn.7ff65d1828d0
lea rcx, [0x7ff65d2045cc]
call qword [sym.imp.ucrtbase.dll_system]
mov edx, 5
mov rcx, qword [0x7ff65d261c28]
call qword [sym.imp.user32.dll_ShowWindow]
lea rcx, [0x7ff65d2045d0]
call fcn.7ff65d18e400
lea rdx, [0x7ff65d20356c]
mov rcx, qword [sym.imp.msvcp140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.7ff65d17eb90
movups xmm0, xmmword [0x7ff65d204500]
movups xmmword [rbp - 0x28], xmm0
movups xmm1, xmmword [0x7ff65d204510]
movups xmmword [rbp - 0x18], xmm1
movups xmm0, xmmword [0x7ff65d204520]
movups xmmword [rbp - 8], xmm0
movsd xmm0, qword [0x7ff65d204530]
movsd qword [rbp + 8], xmm0
movzx eax, word [0x7ff65d204538]
mov word [rbp + 0x10], ax
mov ecx, r14d
cmp ebx, 2
jl 0x7ff65d18deaa
movdqa xmm5, xmmword [0x7ff65d203330]
movdqa xmm4, xmmword [0x7ff65d2047f0]
movdqa xmm6, xmmword [0x7ff65d204780]
movdqa xmm0, xmmword [0x7ff65d2047a0]
movdqa xmmword [rsp + 0x70], xmm0
lea rdx, [rbp - 0x24]
mov r8d, dword [rsp + 0x70]
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
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x7ff65d204790]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], 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
paddd xmm1, xmm3
psrad xmm1, 5
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 [0x7ff65d204790]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x38
jl 0x7ff65d18dda0
cmp ecx, 0x3a
jge 0x7ff65d18deee
movsxd rax, ecx
lea r8, [rbp - 0x28]
add r8, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x8fb823ef
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x39
movzx eax, cl
sub al, dl
add al, 0x31
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x3a
jl 0x7ff65d18dec0
lea rdx, [rbp - 0x28]
mov rcx, qword [sym.imp.msvcp140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.7ff65d17eb90
mov rcx, rax
lea rdx, [0x7ff65d20356c]
call fcn.7ff65d17eb90
lea rcx, [0x7ff65d2045ec]
call qword [sym.imp.ucrtbase.dll_system]
mov edx, 0x26c
mov ecx, 0x140
call qword [sym.imp.kernel32.dll_Beep]
lea rcx, [0x7ff65d2045cc]
call qword [sym.imp.ucrtbase.dll_system]
call fcn.7ff65d18a100
call fcn.7ff65d189710
xor edx, edx
lea ecx, [rdx + 2]
call sub.kernel32.dll_CreateToolhelp32Snapshot
mov rbx, rax
mov dword [rbp + 0x50], 0x238
lea rdx, [rbp + 0x50]
mov rcx, rax
call sub.kernel32.dll_Process32FirstW
test eax, eax
je 0x7ff65d18df8a
lea rdx, [0x7ff65d204600]
lea rcx, [rbp + 0x7c]
call qword [sym.imp.kernel32.dll_lstrcmpiW]
mov rcx, rbx
test eax, eax
je 0x7ff65d18dfbf
lea rdx, [rbp + 0x50]
call sub.kernel32.dll_Process32NextW
test eax, eax
jne 0x7ff65d18df65
mov rcx, rbx
call qword [sym.imp.kernel32.dll_CloseHandle]
mov dword [0x7ff65d261a28], r14d
mov r9d, 0x10
lea r8, [0x7ff65d204644]
lea rdx, [0x7ff65d204650]
xor ecx, ecx
call qword [sym.imp.user32.dll_MessageBoxA]
xor ecx, ecx
call qword [sym.imp.ucrtbase.dll_exit]
int3
call qword [sym.imp.kernel32.dll_CloseHandle]
mov eax, dword [rbp + 0x58]
mov dword [0x7ff65d261a28], eax
test eax, eax
je 0x7ff65d18df9a
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0xc0000000
lea r8d, [r9 + 3]
lea rcx, [0x7ff65d203c30]
call qword [sym.imp.kernel32.dll_CreateFileW]
mov qword [0x7ff65d261a20], rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x7ff65d18e019
lea rcx, [0x7ff65d204668]
call fcn.7ff65d18e400
call fcn.7ff65d18aa80
movzx eax, al
mov qword [0x7ff65d261a18], rax
mov qword [rsp + 0x70], r14
movdqa xmm0, xmmword [0x7ff65d204740]
movdqu xmmword [rbp - 0x28], xmm0
mov eax, dword [0x7ff65d261a28]
mov dword [rbp - 0x24], eax
lea rax, [rsp + 0x70]
mov qword [rbp - 0x20], rax
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
mov r9d, 0x10
lea r8, [rbp - 0x28]
mov edx, 0x225a54
mov rcx, qword [0x7ff65d261a20]
call qword [sym.imp.kernel32.dll_DeviceIoControl]
mov rax, qword [rsp + 0x70]
mov qword [0x7ff65d261a10], rax
mov ecx, 8
call fcn.7ff65d1f87cc
test rax, rax
je 0x7ff65d18e0a3
lea rcx, [0x7ff65d182ee0]
mov qword [rax], rcx
jmp 0x7ff65d18e0a6
mov rax, r14
mov qword [rsp + 0x70], rax
lea rcx, [rbp + 0x20]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x7ff65d17f7f0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ucrtbase.dll__beginthreadex]
mov qword [rbp + 0x18], rax
test rax, rax
je 0x7ff65d18e3e4
mov edi, r14d
mov esi, r14d
movsxd rdx, esi
add rdx, qword [0x7ff65d261a10]
mov qword [0x7ff65d261a38], rdx
mov rcx, qword [0x7ff65d260d10]
add rcx, rdx
call fcn.7ff65d180470
mov rbx, rax
mov rcx, qword [0x7ff65d260d80]
add rcx, rax
call fcn.7ff65d180470
test rbx, rbx
je 0x7ff65d18e130
test rax, rax
je 0x7ff65d18e130
mov rcx, qword [0x7ff65d260d88]
add rcx, rax
call fcn.7ff65d180470
cmp rax, rbx
je 0x7ff65d18e140
inc edi
add esi, 0x1000
cmp edi, 0x7fffffff
jl 0x7ff65d18e0e0
lea rdx, [0x7ff65d204678]
mov rcx, qword [sym.imp.msvcp140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.7ff65d17eb90
mov rdx, qword [0x7ff65d261a10]
mov rcx, rax
call qword [sym.imp.msvcp140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_long_unsigned___int64_____ptr64]
lea rdx, [0x7ff65d180130]
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, [0x7ff65d204680]
mov rcx, qword [sym.imp.msvcp140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.7ff65d17eb90
mov rdx, qword [0x7ff65d261a18]
mov rcx, rax
call qword [sym.imp.msvcp140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_long_unsigned___int64_____ptr64]
lea rdx, [0x7ff65d180130]
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, [0x7ff65d204688]
mov rcx, qword [sym.imp.msvcp140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.7ff65d17eb90
mov rdx, qword [0x7ff65d261a38]
mov rcx, rax
call qword [sym.imp.msvcp140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_long___int64_____ptr64]
lea rdx, [0x7ff65d180130]
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 qword [rbp - 0x80], 0x50
lea rax, [0x7ff65d182620]
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], r14
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.user32.dll_LoadIconW]
mov qword [rbp - 0x60], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.user32.dll_LoadCursorW]
mov qword [rbp - 0x58], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x50], xmm0
lea rbx, [0x7ff65d203fb0]
mov qword [rbp - 0x40], rbx
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.user32.dll_LoadIconW]
mov qword [rbp - 0x38], rax
call qword [sym.imp.user32.dll_GetDesktopWindow]
mov rcx, rax
lea rdx, [rsp + 0x70]
call qword [sym.imp.user32.dll_GetWindowRect]
lea rcx, [rbp - 0x80]
call qword [sym.imp.user32.dll_RegisterClassExA]
mov qword [rsp + 0x58], r14
mov rax, qword [rbp - 0x68]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
mov eax, dword [rsp + 0x7c]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x20], eax
mov r9d, 0x80000000
lea r8, [0x7ff65d203fbc]
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.user32.dll_CreateWindowExA]
mov qword [0x7ff65d261ad0], rax
mov edx, 0xffffffec
mov r8d, 0x800a0
mov rcx, rax
call qword [sym.imp.user32.dll_SetWindowLongW]
movdqa xmm0, xmmword [0x7ff65d204750]
movdqu xmmword [rbp - 0x28], xmm0
lea rdx, [rbp - 0x28]
mov rcx, qword [0x7ff65d261ad0]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov edx, 5
mov rcx, qword [0x7ff65d261ad0]
call qword [sym.imp.user32.dll_ShowWindow]
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
lea rdx, [r9 - 1]
mov rcx, qword [0x7ff65d261ad0]
call qword [sym.imp.user32.dll_SetWindowPos]
mov r9d, 2
mov r8b, 0xff
xor edx, edx
mov rcx, qword [0x7ff65d261ad0]
call qword [sym.imp.user32.dll_SetLayeredWindowAttributes]
mov rcx, qword [0x7ff65d261ad0]
call qword [sym.imp.user32.dll_UpdateWindow]
xor r9d, r9d
lea edx, [r9 + 1]
mov r8d, 0x3e8
mov rcx, qword [0x7ff65d261ad0]
call qword [sym.imp.user32.dll_SetTimer]
call fcn.7ff65d185c30
call fcn.7ff65d18b350
nop
cmp dword [rbp + 0x20], 0
je 0x7ff65d18e373
call qword [sym.imp.ucrtbase.dll_terminate]
nop
mov rdx, qword [rbp + 0x40]
cmp rdx, 0xf
jbe 0x7ff65d18e3b1
inc rdx
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff65d18e3ac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff65d18e3ac
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff65d1f8808
xor eax, eax
mov rcx, qword [rbp + 0x290]
xor rcx, rsp
call fcn.7ff65d1f8c80
lea r11, [rsp + 0x3b0]
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]
mov rsp, r11
pop rbp
ret
mov dword [rbp + 0x20], r14d
mov ecx, 6
call sub.msvcp140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3