Function at 0x140001290
Capabilities:
Execute command

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov rax, qword [0x140006010]
xor rax, rsp
mov qword [rbp + 0x27], rax
xor r14d, r14d
mov qword [rbp - 0x19], r14
mov qword [rbp - 9], r14
mov r13d, 0xf
mov qword [rbp - 1], r13
mov byte [rbp - 0x19], r14b
mov qword [rbp - 0x39], r14
mov qword [rbp - 0x29], r14
mov qword [rbp - 0x21], r13
mov byte [rbp - 0x39], r14b
lea rdx, str.Did_you_remove_our_homework_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400018d0
mov rcx, rax
lea rdx, [0x140001aa0]
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, str._YES___NO_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400018d0
mov rcx, rax
lea rdx, [0x140001aa0]
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, [0x140003418]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400018d0
lea rdx, [rbp - 0x19]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.140001cd0
lea rbx, [rbp - 0x19]
mov rsi, qword [rbp - 0x19]
mov r15, qword [rbp - 1]
cmp r15, 0x10
cmovae rbx, rsi
lea rdi, [rbp - 0x19]
cmovae rdi, rsi
mov rcx, qword [rbp - 9]
add rdi, rcx
cmp rbx, rdi
je 0x14000139f
nop dword [rax]
movsx ecx, byte [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [rbx], al
inc rbx
cmp rbx, rdi
jne 0x140001380
mov r15, qword [rbp - 1]
mov rcx, qword [rbp - 9]
mov rsi, qword [rbp - 0x19]
lea rax, [rbp - 0x19]
cmp r15, 0x10
cmovae rax, rsi
cmp rcx, 3
jne 0x1400013e9
cmp byte [rax], 0x79
jne 0x1400013c7
cmp byte [rax + 1], 0x65
jne 0x1400013c7
cmp byte [rax + 2], 0x73
jne 0x1400013c7
mov eax, r14d
jmp 0x1400013cc
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1400013e9
lea rcx, [0x14000345c]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rdx, str.Im_so_happy_:_
jmp 0x14000169b
lea rax, [rbp - 0x19]
cmp r15, 0x10
cmovae rax, rsi
cmp rcx, 2
jne 0x140001694
cmp byte [rax], 0x6e
jne 0x14000140f
cmp byte [rax + 1], 0x6f
jne 0x14000140f
mov eax, r14d
jmp 0x140001414
sbb eax, eax
or eax, 1
test eax, eax
jne 0x140001694
lea rcx, [0x14000345c]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rdx, str.WHAT_DO_YOU_MEAN_YOU_DIDNT__
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400018d0
mov rcx, rax
lea rdx, [0x140001aa0]
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, 0xdac
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [0x14000345c]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, [rbp + 7]
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
mov dword [rbp + 7], 0xc07f7
mov eax, 0x1d
mov word [rbp + 0xd], ax
lea rcx, [rbp + 7]
call qword [sym.imp.KERNEL32.dll_SetSystemTime]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
test eax, eax
je 0x14000168b
lea rdx, str.Check_your_time_MUEHEHEHE
call fcn.1400018d0
mov rcx, rax
lea rdx, [0x140001aa0]
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, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [0x14000345c]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rdx, str.Thats_right_I_can_change_the_time
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400018d0
mov rcx, rax
lea rdx, [0x140001aa0]
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 rcx, [0x14000345c]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rdx, str.So_did_you_remove_our_homework
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400018d0
mov rcx, rax
lea rdx, [0x140001aa0]
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, str._YES___YES_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400018d0
mov rcx, rax
lea rdx, [0x140001aa0]
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, [0x140003418]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400018d0
lea rdx, [rbp - 0x39]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.140001cd0
lea rbx, [rbp - 0x39]
mov rdi, qword [rbp - 0x39]
mov r13, qword [rbp - 0x21]
cmp r13, 0x10
cmovae rbx, rdi
lea r12, [rbp - 0x39]
cmovae r12, rdi
mov rcx, qword [rbp - 0x29]
add r12, rcx
cmp rbx, r12
je 0x1400015b6
movsx ecx, byte [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [rbx], al
inc rbx
cmp rbx, r12
jne 0x140001597
mov r13, qword [rbp - 0x21]
mov rcx, qword [rbp - 0x29]
mov rdi, qword [rbp - 0x39]
lea rax, [rbp - 0x39]
cmp r13, 0x10
cmovae rax, rdi
cmp rcx, 3
jne 0x1400016bb
cmp byte [rax], 0x79
jne 0x1400015dd
cmp byte [rax + 1], 0x65
jne 0x1400015dd
cmp byte [rax + 2], 0x73
je 0x1400015e4
sbb r14d, r14d
or r14d, 1
test r14d, r14d
jne 0x1400016bb
lea rcx, [0x14000345c]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rdx, str.Oh_thats_good_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400018d0
mov rcx, rax
lea rdx, [0x140001aa0]
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 rcx, [0x14000345c]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, [rbp + 0x17]
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
mov dword [rbp + 0x17], 0x307e8
mov eax, 0x14
mov word [rbp + 0x1d], ax
lea rcx, [rbp + 0x17]
call qword [sym.imp.KERNEL32.dll_SetSystemTime]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
test eax, eax
je 0x140001682
lea rdx, str.Your_time_has_been_restored_
call fcn.1400018d0
mov rcx, rax
lea rdx, [0x140001aa0]
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]
jmp 0x1400016bb
lea rdx, str.L_something_has_went_wrong_:_
jmp 0x14000166b
lea rdx, str.Oh_no__something_has_went_wrong_
jmp 0x1400016a2
lea rdx, str.Invalid_input._Please_enter_yes_or_no.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400018d0
lea rdx, [0x140001aa0]
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 rdi, qword [rbp - 0x39]
lea rcx, str.pause_nul
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
nop
cmp r13, 0x10
jb 0x140001704
lea rdx, [r13 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400016fb
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400016fb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.140001f9c
nop
cmp r15, 0x10
jb 0x14000173e
lea rdx, [r15 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140001736
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001736
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.140001f9c
xor eax, eax
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140001f40
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret