Function at 0x405b10
Capabilities:
Execute command

Disassembly:
push rbp
push rbx
sub rsp, 0xc8
lea rbp, [rsp + 0x80]
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_
lea rcx, [0x005132f8]
call method.std::basic_ios_char__std::char_traits_char___.fail___const
test al, al
je 0x405c28
lea rdx, str._n_nNo_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, 4
mov ecx, 0xa
call dbg.gotoxy(int, int)
mov ecx, 7
call dbg.foreColor(int)
lea rdx, str.Pls_Press_Enter__back_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 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__
call sym.getch
mov byte [rbp + 0x33], al
movsx eax, byte [rbp + 0x33]
cmp eax, 0xd
jne 0x405b88
mov edx, 4
mov ecx, 0xa
call dbg.gotoxy(int, int)
mov ecx, 6
call dbg.foreColor(int)
lea rdx, str.Pls_Press_Enter__back_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 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, 0xc8
call dbg.delay(int)
call dbg.cls()
call dbg.examinationResult()
jmp 0x4060be
mov byte [rbp + 0x3b], 0
mov byte [rbp + 0x3a], 0
mov dword [rsp + 0x20], 6
mov r9d, 0xa
mov r8d, 0x38
mov edx, 3
mov ecx, 0xf
call dbg.DrawRectangle(int, int, int, int, int)
mov dword [rsp + 0x20], 6
mov r9d, 1
mov r8d, 0x32
mov edx, 4
mov ecx, 0x12
call dbg.DrawRectangle(int, int, int, int, int)
mov edx, 5
mov ecx, 0x13
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 edx, 5
mov ecx, 0x30
call dbg.gotoxy(int, int)
mov ecx, 7
call dbg.foreColor(int)
lea rax, [rbp - 0x40]
mov rcx, rax
call dbg.inputNumber(char*)
mov ecx, 0
mov rax, qword [dbg.__acrt_iob_func]
call rax
mov rcx, rax
call sym.fflush
mov edx, 0
mov rax, qword [0x004e8140]
lea rcx, [rax + 0x10]
call method.std::basic_ios_char__std::char_traits_char___.clear_std::_Ios_Iostate_
lea rax, [rbp - 0x40]
movzx eax, byte [rax]
test al, al
je 0x405d4c
mov byte [rbp + 0x3a], 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 + 0x3c], 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 + 0x3a], 0
jne 0x405d57
jmp 0x405c98
mov r8d, 0x18c
lea rdx, [0x00513420]
lea rcx, [0x00513220]
call method.std::istream.read_char__long_long_
lea rcx, [0x005132f8]
call method.std::basic_ios_char__std::char_traits_char___.eof___const
movzx eax, al
cmp eax, 1
setne al
test al, al
je 0x405e52
lea rcx, [0x00513420]
call dbg.Student::getId()
cmp dword [rbp + 0x3c], eax
sete al
test al, al
je 0x405e34
call dbg.cls()
lea rax, [rbp + 0x10]
lea rdx, [0x00513220]
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 + 0x34], eax
mov eax, dword [rbp + 0x34]
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, [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 byte [rbp + 0x3b], 1
mov r8d, 0x18c
lea rdx, [0x00513420]
lea rcx, [0x00513220]
call method.std::istream.read_char__long_long_
jmp 0x405d70
movzx eax, byte [rbp + 0x3b]
test eax, eax
jne 0x405e90
mov edx, 8
mov ecx, 0x22
call dbg.gotoxy(int, 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 0x4060be
mov edx, 0x1a
mov ecx, 0x38
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, 3
mov ecx, 6
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, 4
mov ecx, 6
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, 5
mov ecx, 6
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, 6
mov ecx, 6
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, 7
mov ecx, 6
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, 8
mov ecx, 6
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, 9
mov ecx, 6
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, 0xa
mov ecx, 6
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, 6
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, 6
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, 6
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, [0x00513220]
call method.std::basic_fstream_char__std::char_traits_char___.close__
mov edx, 0x12
mov ecx, 5
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 dword [rsp + 0x20], 4
mov r9d, 1
mov r8d, 0x1d
mov edx, 0x11
mov ecx, 4
call dbg.DrawRectangle(int, int, int, int, int)
mov edx, 0x12
mov ecx, 0x37
call dbg.gotoxy(int, int)
mov ecx, 4
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], 4
mov r9d, 1
mov r8d, 0x1f
mov edx, 0x11
mov ecx, 0x36
call dbg.DrawRectangle(int, int, int, int, int)
call sym.getch
mov byte [rbp + 0x32], al
cmp byte [rbp + 0x32], 0x1b
jne 0x4061e5
mov edx, 0x12
mov ecx, 5
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 dword [rsp + 0x20], 6
mov r9d, 1
mov r8d, 0x1d
mov edx, 0x11
mov ecx, 4
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 0x406280
cmp byte [rbp + 0x32], 0xd
jne 0x4060ca
mov edx, 0x12
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, 0x11
mov ecx, 0x36
call dbg.DrawRectangle(int, int, int, int, int)
mov ecx, 0xc8
call dbg.delay(int)
call dbg.cls()
call dbg.updateResults()
jmp 0x406280
add rsp, 0xc8
pop rbx
pop rbp
ret