Function at 0x40ad13
Capabilities:
Execute command

Disassembly:
push rbp
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0x80]
mov byte [rbp - 1], 0
mov edx, 4
mov ecx, 8
call dbg.std::operator|(std::_Ios_Openmode, std::_Ios_Openmode)
mov r8d, eax
lea rdx, [0x005135c0]
lea rcx, [0x00513820]
call method.std::basic_fstream_char__std::char_traits_char___.open_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const__std::_Ios_Openmode_
lea rcx, [0x005138f8]
call method.std::basic_ios_char__std::char_traits_char___.bad___const
test al, al
je 0x40ae14
mov edx, 2
mov ecx, 4
call dbg.gotoxy(int, int)
lea rdx, str._File_not_found____
mov rcx, qword [0x004e8170]
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov rdx, qword [method.std::basic_ostream_char__std::char_traits_char____std::endl_char__std.char_traits_char____std::basic_ostream_char__std::char_traits_char____]
mov rcx, rax
call method.std::ostream.operator___std::ostream____std::ostream__
mov edx, 3
mov ecx, 5
call dbg.gotoxy(int, int)
mov ecx, 7
call dbg.foreColor(int)
lea rdx, str.Press_Key_ESC__To_Menu
mov rcx, qword [0x004e8170]
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
call sym.getch
cmp eax, 0x1b
sete al
test al, al
je 0x40ad92
mov edx, 3
mov ecx, 5
call dbg.gotoxy(int, int)
mov ecx, 6
call dbg.foreColor(int)
lea rdx, str.Press_Key_ESC__To_Menu
mov rcx, qword [0x004e8170]
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov ecx, 0x12c
call dbg.delay(int)
lea rcx, [0x004de00d]
call sym.system
call dbg.studentManage()
lea rcx, [0x00513820]
call method.std::istream.peek__
mov ebx, eax
call dbg.std::char_traits<char>::eof()
cmp ebx, eax
sete al
test al, al
je 0x40aef6
mov edx, 1
mov ecx, 0x1e
call dbg.gotoxy(int, int)
mov ecx, 1
call dbg.foreColor(int)
lea rdx, str.No_Student_Data_yet____Pls_contact_to_the_school_____
mov rcx, qword [0x004e8170]
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov rdx, qword [method.std::basic_ostream_char__std::char_traits_char____std::endl_char__std.char_traits_char____std::basic_ostream_char__std::char_traits_char____]
mov rcx, rax
call method.std::ostream.operator___std::ostream____std::ostream__
mov edx, 3
mov ecx, 5
call dbg.gotoxy(int, int)
mov ecx, 7
call dbg.foreColor(int)
lea rdx, str.Press_Key_ESC__To_Menu
mov rcx, qword [0x004e8170]
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
call sym.getch
cmp eax, 0x1b
sete al
test al, al
je 0x40ae6f
mov edx, 3
mov ecx, 5
call dbg.gotoxy(int, int)
mov ecx, 6
call dbg.foreColor(int)
lea rdx, str.Press_Key_ESC__To_Menu
mov rcx, qword [0x004e8170]
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov ecx, 0x12c
call dbg.delay(int)
lea rcx, [0x004de00d]
call sym.system
call dbg.MenuAcc()
jmp 0x40b09c
mov byte [rbp - 9], 0
mov dword [rsp + 0x20], 6
mov r9d, 0xa
mov r8d, 0x32
mov edx, 5
mov ecx, 0x14
call dbg.DrawRectangle(int, int, int, int, int)
mov dword [rsp + 0x20], 6
mov r9d, 1
mov r8d, 0x2e
mov edx, 5
mov ecx, 0x16
call dbg.DrawRectangle(int, int, int, int, int)
mov edx, 6
mov ecx, 0x17
call dbg.gotoxy(int, int)
mov ecx, 6
call dbg.foreColor(int)
lea rdx, str.Enter_Student_ID_for_Search_:
mov rcx, qword [0x004e8170]
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
lea rax, [rbp - 0x45]
mov rcx, rax
call dbg.inputNumber(char*)
lea rax, [rbp - 0x45]
movzx eax, byte [rax]
test al, al
je 0x40afdc
lea rax, [rbp - 0x12]
mov rcx, rax
call fcn.00485c10
lea rcx, [rbp - 0x12]
lea rdx, [rbp - 0x45]
lea rax, [rbp - 0x40]
mov r8, rcx
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string_char_const__std::allocator_char__const_
lea rax, [rbp - 0x40]
mov r8d, 0xa
mov edx, 0
mov rcx, rax
call dbg.std::__cxx11::stoi(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long long*, int)
mov dword [rbp - 8], eax
lea rax, [rbp - 0x40]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp - 0x12]
mov rcx, rax
call sym.std::allocator_char_::allocator__
mov byte [rbp - 9], 1
cmp byte [rbp - 9], 0
jne 0x40afe7
jmp 0x40af40
mov r8d, 0x18c
lea rdx, [0x00513680]
lea rcx, [0x00513820]
call method.std::istream.read_char__long_long_
mov rdx, qword [rax]
sub rdx, 0x18
mov rdx, qword [rdx]
add rax, rdx
mov rcx, rax
call method.std::basic_ios_char__std::char_traits_char___.operator_bool___const
test al, al
je 0x40b090
lea rcx, [0x00513680]
call dbg.Student::getId()
cmp dword [rbp - 8], eax
sete al
test al, al
je 0x40afe7
call dbg.cls()
lea rcx, [0x00513680]
call dbg.Student::Headerinfo()
mov dword [rsp + 0x20], 6
mov r9d, 0xe
mov r8d, 0x93
mov edx, 1
mov ecx, 2
call dbg.DrawRectangle(int, int, int, int, int)
mov dword [rbp - 0x10], 1
mov eax, dword [rbp - 0x10]
mov edx, eax
lea rcx, [0x00513680]
call dbg.Student::ShowInfo(int)
lea rcx, [0x00513680]
call dbg.Student::FooterInfo()
mov byte [rbp - 1], 1
jmp 0x40afe7
lea rcx, [0x00513820]
call method.std::basic_fstream_char__std::char_traits_char___.close__
movzx eax, byte [rbp - 1]
test eax, eax
jne 0x40b0e1
mov edx, 0xa
mov ecx, 0x23
call dbg.gotoxy(int, int)
mov ecx, 4
call dbg.foreColor(int)
lea rdx, str.This_ID_not_found____
mov rcx, qword [0x004e8170]
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov rdx, qword [method.std::basic_ostream_char__std::char_traits_char____std::endl_char__std.char_traits_char____std::basic_ostream_char__std::char_traits_char____]
mov rcx, rax
call method.std::ostream.operator___std::ostream____std::ostream__
jmp 0x40b0e2
nop
mov edx, 0x15
mov ecx, 0xa
call dbg.gotoxy(int, int)
mov ecx, 7
call dbg.foreColor(int)
lea rdx, str.Press_Key_ESC__To_Menu
mov rcx, qword [0x004e8170]
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov dword [rsp + 0x20], 7
mov r9d, 1
mov r8d, 0x18
mov edx, 0x14
mov ecx, 9
call dbg.DrawRectangle(int, int, int, int, int)
mov edx, 0x15
mov ecx, 0x37
call dbg.gotoxy(int, int)
mov ecx, 7
call dbg.foreColor(int)
lea rdx, str.Press_Key_Enter__Search_again
mov rcx, qword [0x004e8170]
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov dword [rsp + 0x20], 7
mov r9d, 1
mov r8d, 0x1f
mov edx, 0x14
mov ecx, 0x36
call dbg.DrawRectangle(int, int, int, int, int)
call sym.getch
mov byte [rbp - 0x11], al
cmp byte [rbp - 0x11], 0x1b
jne 0x40b1fd
mov edx, 0x15
mov ecx, 0xa
call dbg.gotoxy(int, int)
mov ecx, 6
call dbg.foreColor(int)
lea rdx, str.Press_Key_ESC__To_Menu
mov rcx, qword [0x004e8170]
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov dword [rsp + 0x20], 6
mov r9d, 1
mov r8d, 0x18
mov edx, 0x14
mov ecx, 9
call dbg.DrawRectangle(int, int, int, int, int)
mov ecx, 0x12c
call dbg.delay(int)
lea rcx, [0x004de00d]
call sym.system
call dbg.MenuAcc()
jmp 0x40b298
cmp byte [rbp - 0x11], 0xd
jne 0x40b0e2
mov edx, 0x15
mov ecx, 0x37
call dbg.gotoxy(int, int)
mov ecx, 6
call dbg.foreColor(int)
lea rdx, str.Press_Key_Enter__Search_again
mov rcx, qword [0x004e8170]
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov dword [rsp + 0x20], 6
mov r9d, 1
mov r8d, 0x1f
mov edx, 0x14
mov ecx, 0x36
call dbg.DrawRectangle(int, int, int, int, int)
mov ecx, 0x12c
call dbg.delay(int)
call dbg.cls()
call dbg.searchstuacc()
jmp 0x40b298
add rsp, 0x88
pop rbx
pop rbp
ret