Function at 0x4030e7
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 0x40316e
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 0x40323e
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 0x4031bc
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.MenuOption()
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 0x4032a2
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 0x40324a
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 0x403951
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 0x40340d
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 0x40341b
jmp 0x40335d
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 0x403486
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 0x403952
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 0x40350a
lea rcx, [0x00513420]
call dbg.Student::getId()
cmp dword [rbp + 0x1c4], eax
sete al
test al, al
je 0x4034da
mov byte [rbp + 0x1c3], 1
jmp 0x40350a
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 0x403486
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 0x403585
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.Search_for_Insert()
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 0x4035e8
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 0x40358f
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 0x40371c
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, 0x17
mov ecx, 0x64
call dbg.gotoxy(int, int)
lea rdx, [0x004de3a8]
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, 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 0x40375d
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 0x4038a2
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.MenuOption()
jmp 0x403952
cmp byte [rbp + 0x1b3], 0xd
jne 0x40375d
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.Search_for_Insert()
jmp 0x403952
nop
add rsp, 0x258
pop rbx
pop rbp
ret