Function at 0x40628a
Capabilities:
Execute command

Disassembly:
push rbp
push rbx
sub rsp, 0x258
lea rbp, [rsp + 0x80]
mov byte [rbp + 0x1cf], 0
mov dword [rbp + 0x1c8], 1
mov byte [rbp + 0x1c3], 0
mov byte [rbp + 0x1c2], 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, [0x00513040]
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, [0x00513118]
call method.std::basic_ios_char__std::char_traits_char___.bad___const
test al, al
je 0x406311
lea rdx, str._nThis_file_cannot_be_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, [0x00513040]
call method.std::istream.peek__
mov ebx, eax
call dbg.std::char_traits<char>::eof()
cmp ebx, eax
sete al
test al, al
je 0x4063e1
lea rdx, str._nNo_Student_Data_yet____Please_contact_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__
lea rcx, [0x00513040]
call method.std::basic_fstream_char__std::char_traits_char___.close__
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 0x40635f
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.examinationResult()
lea rcx, [0x00513420]
call dbg.Student::Headerinfo()
mov r8d, 0x18c
lea rdx, [0x00513420]
lea rcx, [0x00513040]
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 0x406445
mov eax, dword [rbp + 0x1c8]
lea edx, [rax + 1]
mov dword [rbp + 0x1c8], edx
mov edx, eax
lea rcx, [0x00513420]
call dbg.Student::ShowInfo(int)
mov byte [rbp + 0x1c2], 1
jmp 0x4063ed
lea rcx, [0x00513420]
call dbg.Student::FooterInfo()
lea rcx, [0x00513040]
call method.std::basic_fstream_char__std::char_traits_char___.close__
movzx eax, byte [rbp + 0x1c2]
xor eax, 1
test al, al
jne 0x406ac3
mov dword [rbp + 0x1bc], 0
mov byte [rbp + 0x1bb], 0
mov edx, 4
mov ecx, 8
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 eax, dword [rbp + 0x1c8]
add eax, 0xf
mov dword [rsp + 0x20], 6
mov r9d, 1
mov r8d, 0x32
mov edx, eax
mov ecx, 0x2d
call dbg.DrawRectangle(int, int, int, int, int)
mov eax, dword [rbp + 0x1c8]
add eax, 0x10
mov edx, eax
mov ecx, 0x2e
call dbg.gotoxy(int, int)
mov ecx, 6
call dbg.foreColor(int)
lea rdx, str.Enter_ID_for_Insert_Score:
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 + 0x1c8]
add eax, 0x10
mov edx, eax
mov ecx, 0x49
call dbg.gotoxy(int, int)
mov ecx, 6
call dbg.foreColor(int)
lea rax, [rbp + 0x151]
mov rcx, rax
call dbg.inputNumber(char*)
lea rax, [rbp + 0x151]
movzx eax, byte [rax]
test al, al
je 0x4065b0
mov byte [rbp + 0x1bb], 1
lea rax, [rbp + 0x18f]
mov rcx, rax
call fcn.00485c10
lea rcx, [rbp + 0x18f]
lea rdx, [rbp + 0x151]
lea rax, [rbp + 0x160]
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 + 0x160]
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 + 0x1c4], eax
lea rax, [rbp + 0x160]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x18f]
mov rcx, rax
call sym.std::allocator_char_::allocator__
cmp byte [rbp + 0x1bb], 0
jne 0x4065be
jmp 0x406500
mov edx, 4
mov ecx, 8
call dbg.std::operator|(std::_Ios_Openmode, std::_Ios_Openmode)
mov r8d, eax
lea rdx, [0x005135c0]
lea rcx, [0x00513040]
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, [0x00513118]
call method.std::basic_ios_char__std::char_traits_char___.good___const
xor eax, 1
test al, al
je 0x406629
lea rdx, str.Error_opening_Student_file_
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, [0x00513220]
call method.std::basic_fstream_char__std::char_traits_char___.close__
jmp 0x406ac4
mov r8d, 0x18c
lea rdx, [0x00513420]
lea rcx, [0x00513040]
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 0x4066ad
lea rcx, [0x00513420]
call dbg.Student::getId()
cmp dword [rbp + 0x1c4], eax
sete al
test al, al
je 0x40667d
mov byte [rbp + 0x1c3], 1
jmp 0x4066ad
lea rax, [rbp + 0x190]
lea rdx, [0x00513040]
mov rcx, rax
call method.std::istream.tellg__
lea rax, [rbp + 0x190]
mov rcx, rax
call dbg.std::fpos<int>::operator long long() const
mov dword [rbp + 0x1bc], eax
jmp 0x406629
lea rcx, [0x00513040]
call method.std::basic_fstream_char__std::char_traits_char___.close__
movzx eax, byte [rbp + 0x1c3]
xor eax, 1
test al, al
je 0x406728
mov eax, dword [rbp + 0x1c8]
add eax, 0x13
mov edx, eax
mov ecx, 0x3c
call dbg.gotoxy(int, int)
mov ecx, 4
call dbg.foreColor(int)
lea rdx, str.No_such_ID_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, [0x00513220]
call method.std::basic_fstream_char__std::char_traits_char___.close__
mov ecx, 0x12c
call dbg.delay(int)
call dbg.cls()
call dbg.insertToresults()
mov dword [rbp + 0x1b4], 1
lea rax, [rbp - 0x40]
mov r8d, 0x18c
mov rdx, rax
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 0x40678b
add dword [rbp + 0x1b4], 1
lea rax, [rbp - 0x40]
mov rcx, rax
call dbg.Student::getId()
cmp dword [rbp + 0x1c4], eax
sete al
test al, al
je 0x406732
mov byte [rbp + 0x1cf], 1
lea rcx, [0x00513220]
call method.std::basic_fstream_char__std::char_traits_char___.close__
movzx eax, byte [rbp + 0x1cf]
xor eax, 1
test al, al
je 0x40688e
call dbg.cls()
mov edx, 1
mov ecx, 0x10
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 eax, dword [rbp + 0x1bc]
movsxd rdx, eax
lea rax, [rbp + 0x1a0]
mov rcx, rax
call dbg.std::fpos<int>::fpos(long long)
mov rax, qword [rbp + 0x1a0]
mov rdx, qword [rbp + 0x1a8]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rdx
lea rax, [rbp - 0x50]
mov rdx, rax
lea rcx, [0x00513230]
call method.std::ostream.seekp_std::fpos_int__
lea rcx, [0x00513420]
call dbg.Student::inputScore()
mov r8d, 0x18c
lea rdx, [0x00513420]
lea rcx, [0x00513230]
call method.std::ostream.write_char_const__long_long_
mov edx, 0x1a
mov ecx, 0x3a
call dbg.gotoxy(int, int)
mov ecx, 6
call dbg.foreColor(int)
lea rdx, str.Insert_Score_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__
lea rcx, [0x00513220]
call method.std::basic_fstream_char__std::char_traits_char___.close__
jmp 0x4068cf
mov eax, dword [rbp + 0x1c8]
add eax, 0x13
mov edx, eax
mov ecx, 0x37
call dbg.gotoxy(int, int)
mov ecx, 4
call dbg.foreColor(int)
lea rdx, str.Duplicate_ID_found_in_Score_file_
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 eax, dword [rbp + 0x1c8]
add eax, 0x19
mov edx, eax
mov ecx, 0x21
call dbg.gotoxy(int, int)
mov ecx, 4
call dbg.foreColor(int)
lea rdx, [0x004deb4a]
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 + 0x1c8]
add eax, 0x18
mov dword [rsp + 0x20], 4
mov r9d, 1
mov r8d, 0x1d
mov edx, eax
mov ecx, 0x20
call dbg.DrawRectangle(int, int, int, int, int)
mov eax, dword [rbp + 0x1c8]
add eax, 0x19
mov edx, eax
mov ecx, 0x53
call dbg.gotoxy(int, int)
mov ecx, 4
call dbg.foreColor(int)
lea rdx, str.Press_Key_Enter__insert_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 + 0x1c8]
add eax, 0x18
mov dword [rsp + 0x20], 4
mov r9d, 1
mov r8d, 0x1f
mov edx, eax
mov ecx, 0x52
call dbg.DrawRectangle(int, int, int, int, int)
call sym.getch
mov byte [rbp + 0x1b3], al
cmp byte [rbp + 0x1b3], 0x1b
jne 0x406a14
mov eax, dword [rbp + 0x1c8]
add eax, 0x19
mov edx, eax
mov ecx, 0x21
call dbg.gotoxy(int, int)
mov ecx, 6
call dbg.foreColor(int)
lea rdx, [0x004deb4a]
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 + 0x1c8]
add eax, 0x18
mov dword [rsp + 0x20], 6
mov r9d, 1
mov r8d, 0x1d
mov edx, eax
mov ecx, 0x20
call dbg.DrawRectangle(int, int, int, int, int)
mov ecx, 0xc8
call dbg.delay(int)
lea rcx, [0x004de00d]
call sym.system
call dbg.examinationResult()
jmp 0x406ac4
cmp byte [rbp + 0x1b3], 0xd
jne 0x4068cf
mov eax, dword [rbp + 0x1c8]
add eax, 0x19
mov edx, eax
mov ecx, 0x53
call dbg.gotoxy(int, int)
mov ecx, 6
call dbg.foreColor(int)
lea rdx, str.Press_Key_Enter__insert_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 + 0x1c8]
add eax, 0x18
mov dword [rsp + 0x20], 6
mov r9d, 1
mov r8d, 0x1f
mov edx, eax
mov ecx, 0x52
call dbg.DrawRectangle(int, int, int, int, int)
mov ecx, 0xc8
call dbg.delay(int)
call dbg.cls()
call dbg.insertToresults()
jmp 0x406ac4
nop
add rsp, 0x258
pop rbx
pop rbp
ret