Function at 0x408ed7
Capabilities:
Execute command

Disassembly:
push rbp
push rbx
sub rsp, 0x268
lea rbp, [rsp + 0x80]
mov byte [rbp + 0x1df], 0
mov byte [rbp + 0x1de], 0
lea rax, [rbp - 0x50]
mov rcx, rax
call dbg.Student::RegisterDesign()
mov edx, 0xd
mov ecx, 0x48
call dbg.gotoxy(int, int)
lea rax, [rbp + 0x140]
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 + 0x140]
movzx eax, byte [rax]
test al, al
je 0x408fe3
lea rax, [rbp + 0x1d6]
mov rcx, rax
call fcn.00485c10
lea rcx, [rbp + 0x1d6]
lea rdx, [rbp + 0x140]
lea rax, [rbp + 0x1b0]
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 + 0x1b0]
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 + 0x1d8], eax
lea rax, [rbp + 0x1b0]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x1d6]
mov rcx, rax
call sym.std::allocator_char_::allocator__
mov edx, dword [rbp + 0x1d8]
lea rax, [rbp - 0x50]
mov rcx, rax
call dbg.Student::setId(int)
mov byte [rbp + 0x1de], 1
cmp byte [rbp + 0x1de], 0
jne 0x408ff1
jmp 0x408f02
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 0x40905c
mov edx, 6
mov ecx, 5
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__
jmp 0x4091b5
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 0x4090b8
lea rcx, [0x00513680]
call dbg.Student::getId()
mov ebx, eax
lea rax, [rbp - 0x50]
mov rcx, rax
call dbg.Student::getId()
cmp ebx, eax
sete al
test al, al
je 0x40905c
mov byte [rbp + 0x1df], 1
lea rcx, [0x00513820]
call method.std::basic_fstream_char__std::char_traits_char___.close__
movzx eax, byte [rbp + 0x1df]
xor eax, 1
test al, al
je 0x409166
lea rax, [rbp - 0x50]
mov rcx, rax
call dbg.Student::Registering12()
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, [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 rax, [rbp - 0x50]
mov r8d, 0x18c
mov rdx, rax
lea rcx, [0x00513830]
call method.std::ostream.write_char_const__long_long_
lea rcx, [0x00513820]
call method.std::basic_fstream_char__std::char_traits_char___.close__
mov edx, 0x21
mov ecx, 0x3c
call dbg.gotoxy(int, int)
mov ecx, 4
call dbg.foreColor(int)
lea rdx, str.Registering_Succeeded_
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_
jmp 0x4091b5
mov edx, 0x20
mov ecx, 0x28
call dbg.gotoxy(int, int)
mov ecx, 4
call dbg.foreColor(int)
lea rdx, str.ID_already_exist.can_not_insert_duplicate._Pls_Other_ID___
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, 0x12c
call dbg.delay(int)
call dbg.cls()
call dbg.insertnewstuofacc()
mov edx, 0x24
mov ecx, 0x26
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, 0x23
mov ecx, 0x25
call dbg.DrawRectangle(int, int, int, int, int)
mov edx, 0x24
mov ecx, 0x4b
call dbg.gotoxy(int, int)
mov ecx, 7
call dbg.foreColor(int)
lea rdx, str.Press_Key_Enter__new_Insert
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, 0x1d
mov edx, 0x23
mov ecx, 0x4a
call dbg.DrawRectangle(int, int, int, int, int)
call sym.getch
mov byte [rbp + 0x1d7], al
cmp byte [rbp + 0x1d7], 0x1b
jne 0x4092d6
mov edx, 0x24
mov ecx, 0x26
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, 0x23
mov ecx, 0x25
call dbg.DrawRectangle(int, int, int, int, int)
mov ecx, 0xc8
call dbg.delay(int)
lea rcx, [0x004de00d]
call sym.system
call dbg.MenuAcc()
jmp 0x40937a
cmp byte [rbp + 0x1d7], 0xd
jne 0x4091b5
mov edx, 0x24
mov ecx, 0x4b
call dbg.gotoxy(int, int)
mov ecx, 6
call dbg.foreColor(int)
lea rdx, str.Press_Key_Enter__new_Insert
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, 0x23
mov ecx, 0x4a
call dbg.DrawRectangle(int, int, int, int, int)
mov ecx, 0xc8
call dbg.delay(int)
call dbg.cls()
call dbg.insertnewstuofacc()
jmp 0x40937a
add rsp, 0x268
pop rbx
pop rbp
ret