Function at 0x40d8da
Capabilities:
Delete file
Move file

Disassembly:
push rbp
push rbx
sub rsp, 0x228
lea rbp, [rsp + 0x80]
mov edx, 1
mov ecx, 1
call dbg.setcursor(bool, unsigned long)
mov edx, 4
mov ecx, 8
call dbg.std::operator|(std::_Ios_Openmode, std::_Ios_Openmode)
mov r8d, eax
lea rdx, str.Files_surgical.bin
lea rcx, [0x00512620]
call method.std::basic_fstream_char__std::char_traits_char___.open_char_const__std::_Ios_Openmode_
lea rax, [rbp - 0x50]
mov rcx, rax
call fcn.0049eb00
mov edx, 4
mov ecx, 0x10
call dbg.std::operator|(std::_Ios_Openmode, std::_Ios_Openmode)
mov edx, eax
lea rax, [rbp - 0x50]
mov r8d, edx
lea rdx, str.FilesTemp.bin
mov rcx, rax
call method.std::basic_fstream_char__std::char_traits_char___.open_char_const__std::_Ios_Openmode_
mov byte [rbp + 0x19f], 0
lea rcx, [0x005126f8]
call method.std::basic_ios_char__std::char_traits_char___.fail___const
test al, al
je 0x40d9a9
mov edx, 1
mov ecx, 0
call dbg.setcursor(bool, unsigned long)
mov edx, 0xf
mov ecx, 0x4b
call dbg.gotoxy(int, int)
lea rdx, str.____File_Not_Found____
mov rcx, qword [0x004e6fd0]
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, 0x5dc
call dbg.delay(int)
jmp 0x40db0a
mov dword [rsp + 0x20], 3
mov r9d, 1
mov r8d, 0x26
mov edx, 4
mov ecx, 0x40
call dbg.drawBoxSingleLine(int, int, int, int, int)
mov edx, 5
mov ecx, 0x41
call dbg.gotoxy(int, int)
mov ecx, 0xe
call dbg.foreColor(int)
lea rdx, str.Enter_ID_You_want_to_Delete_:
mov rcx, qword [0x004e6fd0]
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, 0x5f
call dbg.gotoxy(int, int)
call dbg.inputNumber()
mov dword [rbp + 0x198], eax
mov r8d, 0xc0
lea rdx, [0x00512560]
lea rcx, [0x00512620]
call method.std::istream.read_char__long_long_
lea rcx, [0x005126f8]
call method.std::basic_ios_char__std::char_traits_char___.eof___const
xor eax, 1
test al, al
je 0x40dab2
lea rcx, [0x00512560]
call dbg.Surgical::getID()
cmp dword [rbp + 0x198], eax
sete al
test al, al
je 0x40da5e
mov byte [rbp + 0x19f], 1
lea rcx, [0x00512560]
call dbg.Surgical::getID()
cmp dword [rbp + 0x198], eax
setne al
test al, al
je 0x40da94
lea rax, [rbp - 0x50]
add rax, 0x10
mov r8d, 0xc0
lea rdx, [0x00512560]
mov rcx, rax
call method.std::ostream.write_char_const__long_long_
mov r8d, 0xc0
lea rdx, [0x00512560]
lea rcx, [0x00512620]
call method.std::istream.read_char__long_long_
jmp 0x40da2b
mov edx, 1
mov ecx, 0
call dbg.setcursor(bool, unsigned long)
movzx eax, byte [rbp + 0x19f]
test eax, eax
jne 0x40dae5
call dbg.cover()
call dbg.ClearBG()
call dbg.NotFind()
mov ecx, 0x3e8
call dbg.delay(int)
movzx eax, byte [rbp + 0x19f]
cmp eax, 1
jne 0x40db0a
call dbg.cover()
call dbg.ClearBG()
call dbg.DeleteSuccess()
mov ecx, 0x5dc
call dbg.delay(int)
lea rcx, [0x00512620]
call method.std::basic_fstream_char__std::char_traits_char___.close__
lea rax, [rbp - 0x50]
mov rcx, rax
call method.std::basic_fstream_char__std::char_traits_char___.close__
lea rcx, str.Files_surgical.bin
call sym.remove
lea rdx, str.Files_surgical.bin
lea rcx, str.FilesTemp.bin
call sym.rename
lea rax, [rbp - 0x50]
mov rcx, rax
call fcn.0049f3a0
jmp 0x40db6a
add rsp, 0x228
pop rbx
pop rbp
ret