Function at 0x40d1dd
Capabilities:
Execute command

Disassembly:
push rbp
push rbx
sub rsp, 0xf8
lea rbp, [rsp + 0x80]
mov dword [rbp + 0x6c], 1
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 0x40d24c
lea rdx, str._nThis_file__can_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__
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 0x40d32e
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 0x40d2a7
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()
jmp 0x40d3ae
mov r8d, 0x18c
lea rdx, [0x00513680]
lea rcx, [0x00513820]
call method.std::istream.read_char__long_long_
lea rcx, [0x00513680]
call dbg.Student::Headerinfo()
lea rcx, [0x005138f8]
call method.std::basic_ios_char__std::char_traits_char___.eof___const
xor eax, 1
test al, al
je 0x40d396
mov eax, dword [rbp + 0x6c]
mov edx, eax
lea rcx, [0x00513680]
call dbg.Student::ShowInfo(int)
mov r8d, 0x18c
lea rdx, [0x00513680]
lea rcx, [0x00513820]
call method.std::istream.read_char__long_long_
add dword [rbp + 0x6c], 1
jmp 0x40d353
lea rcx, [0x00513680]
call dbg.Student::FooterInfo()
lea rcx, [0x00513820]
call method.std::basic_fstream_char__std::char_traits_char___.close__
mov edx, 0x10
mov ecx, 8
call dbg.std::operator|(std::_Ios_Openmode, std::_Ios_Openmode)
mov edx, 4
mov ecx, eax
call dbg.std::operator|(std::_Ios_Openmode, std::_Ios_Openmode)
mov r8d, eax
lea rdx, [0x005135e0]
lea rcx, [0x00513220]
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_
mov edx, 0x10
mov ecx, 8
call dbg.std::operator|(std::_Ios_Openmode, std::_Ios_Openmode)
mov edx, 4
mov ecx, eax
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_
mov byte [rbp + 0x67], 0
mov byte [rbp + 0x66], 0
mov byte [rbp + 0x65], 0
mov eax, dword [rbp + 0x6c]
add eax, 0x14
mov dword [rsp + 0x20], 6
mov r9d, 1
mov r8d, 0x32
mov edx, eax
mov ecx, 0x31
call dbg.DrawRectangle(int, int, int, int, int)
mov eax, dword [rbp + 0x6c]
add eax, 0x15
mov edx, eax
mov ecx, 0x32
call dbg.gotoxy(int, int)
lea rdx, str.Enter_ID_you_want_to_update_:
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 eax, dword [rbp + 0x6c]
add eax, 0x15
mov edx, eax
mov ecx, 0x4f
call dbg.gotoxy(int, int)
lea rax, [rbp - 0x40]
mov rcx, rax
call dbg.inputNumber(char*)
lea rax, [rbp - 0x40]
movzx eax, byte [rax]
test al, al
je 0x40d4e9
mov byte [rbp + 0x65], 1
lea rax, [rbp + 0xf]
mov rcx, rax
call fcn.00485c10
lea rcx, [rbp + 0xf]
lea rdx, [rbp - 0x40]
lea rax, [rbp - 0x20]
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 - 0x20]
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 + 0x68], eax
lea rax, [rbp - 0x20]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0xf]
mov rcx, rax
call sym.std::allocator_char_::allocator__
cmp byte [rbp + 0x65], 0
jne 0x40d4f4
jmp 0x40d467
mov r8d, 0x18c
lea rdx, [0x00513680]
lea rcx, [0x00513820]
call method.std::istream.read_char__long_long_
lea rcx, [0x005138f8]
call method.std::basic_ios_char__std::char_traits_char___.eof___const
movzx eax, al
cmp eax, 1
setne al
test al, al
je 0x40d702
lea rcx, [0x00513680]
call dbg.Student::getId()
cmp dword [rbp + 0x68], eax
sete al
test al, al
je 0x40d6e4
lea rax, [rbp + 0x10]
lea rdx, [0x00513820]
mov rcx, rax
call method.std::istream.tellg__
lea rax, [rbp + 0x10]
mov rcx, rax
call dbg.std::fpos<int>::operator long long() const
mov dword [rbp + 0x60], eax
mov eax, dword [rbp + 0x60]
cdqe
sub rax, 0x18c
mov rdx, rax
lea rax, [rbp + 0x20]
mov rcx, rax
call dbg.std::fpos<int>::fpos(long long)
mov rax, qword [rbp + 0x20]
mov rdx, qword [rbp + 0x28]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rdx
lea rax, [rbp - 0x50]
mov rdx, rax
lea rcx, [0x00513820]
call method.std::istream.seekg_std::fpos_int__
mov r8d, 0x18c
lea rdx, [0x00513680]
lea rcx, [0x00513220]
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 0x40d6a4
lea rcx, [0x00513680]
call dbg.Student::getId()
cmp dword [rbp + 0x68], eax
sete al
test al, al
je 0x40d5a3
lea rax, [rbp + 0x30]
lea rdx, [0x00513220]
mov rcx, rax
call method.std::istream.tellg__
lea rax, [rbp + 0x30]
mov rcx, rax
call dbg.std::fpos<int>::operator long long() const
mov dword [rbp + 0x5c], eax
mov eax, dword [rbp + 0x5c]
cdqe
sub rax, 0x18c
mov rdx, rax
lea rax, [rbp + 0x40]
mov rcx, rax
call dbg.std::fpos<int>::fpos(long long)
mov rax, qword [rbp + 0x40]
mov rdx, qword [rbp + 0x48]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rdx
lea rax, [rbp - 0x50]
mov rdx, rax
lea rcx, [0x00513220]
call method.std::istream.seekg_std::fpos_int__
call dbg.cls()
call dbg.UpdateInfo()
mov eax, dword [rbp + 0x68]
mov edx, eax
lea rcx, [0x00513680]
call dbg.Student::setId(int)
mov r8d, 0x18c
lea rdx, [0x00513680]
lea rcx, [0x00513830]
call method.std::ostream.write_char_const__long_long_
mov r8d, 0x18c
lea rdx, [0x00513680]
lea rcx, [0x00513230]
call method.std::ostream.write_char_const__long_long_
mov byte [rbp + 0x66], 1
jmp 0x40d5a3
movzx eax, byte [rbp + 0x66]
test eax, eax
jne 0x40d6e0
call dbg.cls()
call dbg.UpdateInfo()
mov eax, dword [rbp + 0x68]
mov edx, eax
lea rcx, [0x00513680]
call dbg.Student::setId(int)
mov r8d, 0x18c
lea rdx, [0x00513680]
lea rcx, [0x00513830]
call method.std::ostream.write_char_const__long_long_
mov byte [rbp + 0x67], 1
mov r8d, 0x18c
lea rdx, [0x00513680]
lea rcx, [0x00513820]
call method.std::istream.read_char__long_long_
jmp 0x40d50d
lea rcx, [0x00513220]
call method.std::basic_fstream_char__std::char_traits_char___.close__
lea rcx, [0x00513820]
call method.std::basic_fstream_char__std::char_traits_char___.close__
movzx eax, byte [rbp + 0x67]
test eax, eax
jne 0x40d765
mov eax, dword [rbp + 0x6c]
add eax, 0x17
mov edx, eax
mov ecx, 0x41
call dbg.gotoxy(int, int)
mov ecx, 4
call dbg.foreColor(int)
lea rdx, str.ID_is_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 0x40d996
mov eax, dword [rbp + 0x6c]
add eax, 0x1e
mov edx, eax
mov ecx, 0x3a
call dbg.gotoxy(int, int)
mov ecx, 6
call dbg.foreColor(int)
lea rdx, str.Student_is_updated_successfully_
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 ecx, 0x190
call dbg.delay(int)
call dbg.cls()
mov edx, 4
mov ecx, 0x2b
call dbg.gotoxy(int, int)
mov ecx, 6
call dbg.foreColor(int)
lea rdx, [0x004deca8]
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 edx, 5
mov ecx, 0x2b
call dbg.gotoxy(int, int)
mov ecx, 6
call dbg.foreColor(int)
lea rdx, str._____________________________________________________________________
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 edx, 6
mov ecx, 0x2b
call dbg.gotoxy(int, int)
mov ecx, 6
call dbg.foreColor(int)
lea rdx, [0x004ded48]
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 edx, 7
mov ecx, 0x2b
call dbg.gotoxy(int, int)
mov ecx, 6
call dbg.foreColor(int)
lea rdx, [0x004ded98]
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 edx, 8
mov ecx, 0x2b
call dbg.gotoxy(int, int)
mov ecx, 6
call dbg.foreColor(int)
lea rdx, str.__________________________________________________________________
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 edx, 9
mov ecx, 0x2b
call dbg.gotoxy(int, int)
mov ecx, 6
call dbg.foreColor(int)
lea rdx, [0x004dee38]
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 edx, 0xa
mov ecx, 0x2b
call dbg.gotoxy(int, int)
mov ecx, 6
call dbg.foreColor(int)
lea rdx, str.________________________________________________________________
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 edx, 0xb
mov ecx, 0x2b
call dbg.gotoxy(int, int)
mov ecx, 6
call dbg.foreColor(int)
lea rdx, str._____________________________________________________________
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 edx, 0xc
mov ecx, 0x2b
call dbg.gotoxy(int, int)
mov ecx, 6
call dbg.foreColor(int)
lea rdx, str.___________
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 edx, 0xd
mov ecx, 0x2b
call dbg.gotoxy(int, int)
mov ecx, 6
call dbg.foreColor(int)
lea rdx, str.___________
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 edx, 0xe
mov ecx, 0x2b
call dbg.gotoxy(int, int)
mov ecx, 6
call dbg.foreColor(int)
lea rdx, str.__________
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 rcx, [0x00513820]
call method.std::basic_fstream_char__std::char_traits_char___.close__
mov eax, dword [rbp + 0x6c]
add eax, 0x1a
mov edx, eax
mov ecx, 0x28
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 eax, dword [rbp + 0x6c]
add eax, 0x19
mov dword [rsp + 0x20], 7
mov r9d, 1
mov r8d, 0x18
mov edx, eax
mov ecx, 0x27
call dbg.DrawRectangle(int, int, int, int, int)
mov eax, dword [rbp + 0x6c]
add eax, 0x1a
mov edx, eax
mov ecx, 0x55
call dbg.gotoxy(int, int)
mov ecx, 7
call dbg.foreColor(int)
lea rdx, str.Press_Key_Enter__Do_it_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 eax, dword [rbp + 0x6c]
add eax, 0x19
mov dword [rsp + 0x20], 7
mov r9d, 1
mov r8d, 0x1e
mov edx, eax
mov ecx, 0x54
call dbg.DrawRectangle(int, int, int, int, int)
call sym.getch
mov byte [rbp + 0x64], al
cmp byte [rbp + 0x64], 0x1b
jne 0x40dacf
mov eax, dword [rbp + 0x6c]
add eax, 0x1a
mov edx, eax
mov ecx, 0x28
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 eax, dword [rbp + 0x6c]
add eax, 0x19
mov dword [rsp + 0x20], 6
mov r9d, 1
mov r8d, 0x18
mov edx, eax
mov ecx, 0x27
call dbg.DrawRectangle(int, int, int, int, int)
mov ecx, 0xc8
call dbg.delay(int)
lea rcx, [0x004de00d]
call sym.system
call dbg.studentManage()
jmp 0x40db70
cmp byte [rbp + 0x64], 0xd
jne 0x40d9a2
mov eax, dword [rbp + 0x6c]
add eax, 0x1a
mov edx, eax
mov ecx, 0x55
call dbg.gotoxy(int, int)
mov ecx, 6
call dbg.foreColor(int)
lea rdx, str.Press_Key_Enter__Do_it_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 eax, dword [rbp + 0x6c]
add eax, 0x19
mov dword [rsp + 0x20], 6
mov r9d, 1
mov r8d, 0x1e
mov edx, eax
mov ecx, 0x54
call dbg.DrawRectangle(int, int, int, int, int)
mov ecx, 0xc8
call dbg.delay(int)
call dbg.cls()
call dbg.update_stuData()
jmp 0x40db70
add rsp, 0xf8
pop rbx
pop rbp
ret