Function at 0x140001300
Capabilities:
Shutdown system

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x140007040]
xor rax, rsp
mov qword [rbp - 8], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], 0
mov qword [rbp - 0x10], 0xf
mov byte [rbp - 0x28], 0
lea rdx, str.enter_1_2_o
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001770
mov rcx, rax
lea rdx, [0x140001950]
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 - 0x28]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.140001990
lea rcx, [rbp - 0x28]
mov rdi, qword [rbp - 0x28]
mov rsi, qword [rbp - 0x10]
cmp rsi, 0xf
cmova rcx, rdi
mov rbx, qword [rbp - 0x18]
cmp rbx, 1
jne 0x14000149a
mov r8, rbx
lea rdx, [0x140004464]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14000149a
lea rdx, [0x140004468]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001770
lea rdx, [0x140004480]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001770
lea rdx, [0x140004480]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001770
lea rdx, [0x140004480]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001770
lea rdx, [0x140004480]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001770
lea rdx, str.____________n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001770
lea rdx, str._____________________n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001770
lea rdx, str._____________________n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001770
lea rdx, str._____________________n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001770
lea rdx, str._____________________n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001770
lea rdx, str.________________n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001770
mov qword [rbp - 0x30], 0x186a0
lea rcx, [rbp - 0x30]
call fcn.140001b70
mov rsi, qword [rbp - 0x10]
mov rbx, qword [rbp - 0x18]
mov rdi, qword [rbp - 0x28]
lea rcx, [rbp - 0x28]
cmp rsi, 0xf
cmova rcx, rdi
cmp rbx, 1
jne 0x140001507
mov r8, rbx
lea rdx, [0x1400044e0]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140001507
lea rdx, [rbp - 0x28]
cmp rsi, 0xf
cmova rdx, rdi
mov r8, rbx
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001fa0
lea rdx, [0x140001950]
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___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 qword [rbp - 0x30], 0x186a0
lea rcx, [rbp - 0x30]
call fcn.140001b70
mov rsi, qword [rbp - 0x10]
mov rbx, qword [rbp - 0x18]
mov rdi, qword [rbp - 0x28]
lea rcx, [rbp - 0x28]
cmp rsi, 0xf
cmova rcx, rdi
cmp rbx, 1
jne 0x14000155b
mov r8, rbx
lea rdx, [0x1400044e4]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14000155b
xor edx, edx
mov ecx, 6
call qword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
jne 0x140001551
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [0x1400044e8]
call fcn.140001020
mov qword [rbp - 0x30], 0x1770
jmp 0x140001586
lea rdx, [0x1400044ec]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001770
mov rcx, rax
lea rdx, [0x140001950]
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 qword [rbp - 0x30], 0x186a0
lea rcx, [rbp - 0x30]
call fcn.140001b70
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0xf
jbe 0x1400015ce
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400015c9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400015c9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000220c
xor eax, eax
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400021b0
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
add rsp, 0x50
pop rbp
ret