Function at 0x414697
Capabilities:
Delete file
Move file

Disassembly:
push rbp
push rbx
sub rsp, 0x218
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x1b0], rcx
lea rax, [rbp - 0x60]
mov rcx, rax
call fcn.0049ef20
mov edx, 4
mov ecx, 8
call dbg.std::operator|(std::_Ios_Openmode, std::_Ios_Openmode)
mov r8d, eax
lea rdx, [0x00513cc0]
lea rcx, [0x00513ae0]
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 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 edx, eax
lea rax, [rbp - 0x60]
mov r8d, edx
lea rdx, [0x00513ce0]
mov rcx, rax
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 byte [rbp + 0x18f], 0
mov r8d, 0xdc
lea rdx, [0x00513a00]
lea rcx, [0x00513ae0]
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 0x41478b
lea rdx, [0x00513a00]
mov rcx, qword [rbp + 0x1b0]
call sym.strcmp
test eax, eax
je 0x414782
lea rax, [rbp - 0x60]
add rax, 0x10
mov r8d, 0xdc
lea rdx, [0x00513a00]
mov rcx, rax
call method.std::ostream.write_char_const__long_long_
jmp 0x414789
mov byte [rbp + 0x18f], 1
jmp 0x41471a
movzx eax, byte [rbp + 0x18f]
cmp eax, 1
jne 0x4147d2
mov edx, 0x11
mov ecx, 0x82
call dbg.gotoxy(int, int)
mov ecx, 6
call dbg.foreColor(int)
lea rdx, str.Deleted_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, [0x00513ae0]
call method.std::basic_fstream_char__std::char_traits_char___.close__
lea rax, [rbp - 0x60]
mov rcx, rax
call method.std::basic_fstream_char__std::char_traits_char___.close__
lea rcx, [0x00513cc0]
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.c_str___const
mov rcx, rax
call sym.remove
lea rcx, [0x00513cc0]
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.c_str___const
mov rbx, rax
lea rcx, [0x00513ce0]
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.c_str___const
mov rdx, rbx
mov rcx, rax
call sym.rename
mov dword [rbp + 0x188], 0xa
cmp dword [rbp + 0x188], 0
js 0x41488b
mov edx, 0x12
mov ecx, 0x8c
call dbg.gotoxy(int, int)
mov eax, dword [rbp + 0x188]
mov edx, eax
mov rcx, qword [0x004e8170]
call method.std::ostream.operator___int_
lea rdx, [0x004de017]
mov rcx, rax
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, 0x64
call dbg.delay(int)
sub dword [rbp + 0x188], 1
jmp 0x41482e
call dbg.cls()
call dbg.Searchtool()
lea rax, [rbp - 0x60]
mov rcx, rax
call fcn.0049f7c0
jmp 0x4148be
add rsp, 0x218
pop rbx
pop rbp
ret