Function at 0x409384
Capabilities:
Execute command

Disassembly:
push rbp
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0x80]
mov byte [rbp - 1], 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, [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 0x4093f0
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 0x4094d2
mov edx, 1
mov ecx, 0x1e
call dbg.gotoxy(int, int)
mov ecx, 1
call dbg.foreColor(int)
lea rdx, str._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, 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 0x40944b
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.MenuAcc()
jmp 0x4098c0
mov byte [rbp - 2], 0
mov r8d, 0x18c
lea rdx, [0x00513680]
lea rcx, [0x00513820]
call method.std::istream.read_char__long_long_
lea rcx, [0x00513680]
call dbg.Student::Headerinfo()
mov dword [rbp - 8], 1
lea rcx, [0x005138f8]
call method.std::basic_ios_char__std::char_traits_char___.eof___const
xor eax, 1
test al, al
je 0x409545
mov eax, dword [rbp - 8]
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 - 8], 1
jmp 0x409502
lea rcx, [0x00513680]
call dbg.Student::FooterInfo()
lea rcx, [0x00513820]
call method.std::basic_fstream_char__std::char_traits_char___.close__
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_
mov eax, dword [rbp - 8]
add eax, 0xf
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 - 8]
add eax, 0x10
mov edx, eax
mov ecx, 0x32
call dbg.gotoxy(int, int)
lea rdx, str.Enter_ID_for_Print_reciept_:
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 - 8]
add eax, 0x10
mov edx, eax
mov ecx, 0x4f
call dbg.gotoxy(int, int)
lea rax, [rbp - 0x50]
mov rcx, rax
call dbg.inputNumber(char*)
lea rax, [rbp - 0x50]
movzx eax, byte [rax]
test al, al
je 0x409652
mov byte [rbp - 2], 1
lea rax, [rbp - 0xb]
mov rcx, rax
call fcn.00485c10
lea rcx, [rbp - 0xb]
lea rdx, [rbp - 0x50]
lea rax, [rbp - 0x30]
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 - 0x30]
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 [0x00513640], eax
lea rax, [rbp - 0x30]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp - 0xb]
mov rcx, rax
call sym.std::allocator_char_::allocator__
cmp byte [rbp - 2], 0
jne 0x40965d
jmp 0x409582
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
xor eax, 1
test al, al
je 0x4096cd
lea rcx, [0x00513680]
call dbg.Student::getId()
mov edx, dword [0x00513640]
cmp eax, edx
sete al
test al, al
je 0x4096b2
call dbg.cls()
call dbg.Reciept()
mov byte [rbp - 1], 1
mov r8d, 0x18c
lea rdx, [0x00513680]
lea rcx, [0x00513820]
call method.std::istream.read_char__long_long_
jmp 0x409676
lea rcx, [0x00513820]
call method.std::basic_fstream_char__std::char_traits_char___.close__
movzx eax, byte [rbp - 1]
test eax, eax
jne 0x4098c0
mov eax, dword [rbp - 8]
add eax, 0x13
mov edx, eax
mov ecx, 0x3b
call dbg.gotoxy(int, int)
mov ecx, 4
call dbg.foreColor(int)
lea rdx, str._You_Inputed_Invalid_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 eax, dword [rbp - 8]
add eax, 0x17
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 - 8]
add eax, 0x16
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 - 8]
add eax, 0x17
mov edx, eax
mov ecx, 0x55
call dbg.gotoxy(int, int)
mov ecx, 7
call dbg.foreColor(int)
lea rdx, str.Press_Key_Enter__To_search
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 - 8]
add eax, 0x16
mov dword [rsp + 0x20], 7
mov r9d, 1
mov r8d, 0x1c
mov edx, eax
mov ecx, 0x54
call dbg.DrawRectangle(int, int, int, int, int)
call sym.getch
mov byte [rbp - 9], al
cmp byte [rbp - 9], 0x1b
jne 0x40984d
mov eax, dword [rbp - 8]
add eax, 0x17
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 - 8]
add eax, 0x16
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.MenuAcc()
jmp 0x4098c0
cmp byte [rbp - 9], 0xd
jne 0x409723
mov eax, dword [rbp - 8]
add eax, 0x17
mov edx, eax
mov ecx, 0x55
call dbg.gotoxy(int, int)
mov ecx, 6
call dbg.foreColor(int)
lea rdx, str.Press_Key_Enter__To_search
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 - 8]
add eax, 0x16
mov dword [rsp + 0x20], 6
mov r9d, 1
mov r8d, 0x1c
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.PrintRecipetacc()
movzx eax, byte [rbp - 1]
cmp eax, 1
jne 0x409a83
nop
mov edx, 0x29
mov ecx, 0x1a
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, 0x28
mov ecx, 0x19
call dbg.DrawRectangle(int, int, int, int, int)
mov edx, 0x29
mov ecx, 0x4a
call dbg.gotoxy(int, int)
mov ecx, 7
call dbg.foreColor(int)
lea rdx, str.Press_Key_Enter__Print_other_Reciept
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, 0x26
mov edx, 0x28
mov ecx, 0x49
call dbg.DrawRectangle(int, int, int, int, int)
call sym.getch
mov byte [rbp - 0xa], al
cmp byte [rbp - 0xa], 0x1b
jne 0x4099e9
mov edx, 0x29
mov ecx, 0x1a
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, 0x28
mov ecx, 0x19
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 0x409a83
cmp byte [rbp - 0xa], 0xd
jne 0x4098ce
mov edx, 0x29
mov ecx, 0x4a
call dbg.gotoxy(int, int)
mov ecx, 6
call dbg.foreColor(int)
lea rdx, str.Press_Key_Enter__Print_other_Reciept
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, 0x26
mov edx, 0x28
mov ecx, 0x49
call dbg.DrawRectangle(int, int, int, int, int)
mov ecx, 0xc8
call dbg.delay(int)
call dbg.cls()
call dbg.PrintRecipetacc()
jmp 0x409a83
nop
add rsp, 0x88
pop rbx
pop rbp
ret