Function at 0x1000f1d0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002ab48
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x1004f970]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
call sym.log4cplusU.dll_class_log4cplus::helpers::LogLog____cdecl_log4cplus::helpers::getLogLog_void_
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x34], eax
lea edi, [esi + 0x4c]
mov ecx, edi
mov dword [ebp - 4], eax
mov dword [ebp - 0x38], edi
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_ofstream_wchar_t__struct_std::char_traits_wchar_t__::close_void_]
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push 0
push 0
lea ecx, [ecx + esi + 0x4c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::clear_int__bool_]
cmp byte [esi + 0x38], 0
je 0x1000f2af
cmp byte [ebp + 8], 0
jne 0x1000f24f
mov eax, dword [esi + 0x34]
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.10004da0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
call sym.log4cplusU.dll_public:_void___thiscall_log4cplus::helpers::Time::constructor_void_
lea edi, [esi + 0xd4]
lea edx, [ebp - 0x2c]
push edi
push edx
call sym.log4cplusU.dll_int___cdecl_log4cplus::helpers::getFileInfo_struct_log4cplus::helpers::FileInfo___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
add esp, 8
cmp eax, 0xffffffff
je 0x1000f281
mov eax, dword [ebp - 0x18]
cmp eax, dword [esi + 0x120]
jge 0x1000f2ac
cmp dword [edi + 0x18], 8
jb 0x1000f292
mov eax, dword [edi + 4]
jmp 0x1000f295
lea eax, [edi + 4]
mov esi, dword [ebp - 0x38]
push 0x40
push 6
push eax
mov ecx, esi
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_ofstream_wchar_t__struct_std::char_traits_wchar_t__::open_wchar_t_const___int__int_]
push edi
push esi
jmp 0x1000f410
mov edi, dword [ebp - 0x38]
mov ecx, dword [esi + 0x124]
add esi, 0xd4
test ecx, ecx
jle 0x1000f3c7
push esi
call fcn.1000ea80
mov edi, dword [sym.imp.MSVCP90.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___wchar_t_const__]
push 0x1003114c
lea ecx, [ebp - 0x30]
push esi
push ecx
call edi
add esp, 0x10
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 3
jae 0x1000f2ee
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.MSVCR90.dll__wremove]
add esp, 4
test eax, eax
je 0x1000f302
call dword [sym.imp.MSVCR90.dll__errno]
push esi
lea edx, [ebp - 0x54]
push str.Renaming_file
push edx
call dword [sym.imp.MSVCP90.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___wchar_t_const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
push str._to
push eax
lea eax, [ebp - 0x8c]
push eax
mov byte [ebp - 4], 4
call edi
lea ecx, [ebp - 0x30]
push ecx
push eax
lea edx, [ebp - 0x70]
push edx
mov byte [ebp - 4], 5
call dword [sym.imp.MSVCP90.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
add esp, 0x24
push eax
mov ecx, ebx
mov byte [ebp - 4], 6
call sym.log4cplusU.dll_public:_void___thiscall_log4cplus::helpers::LogLog::debug_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__const
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 5
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 4
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 3
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [ebp - 0x2c]
mov eax, 8
cmp dword [ebp - 0x18], eax
jae 0x1000f381
lea ecx, [ebp - 0x2c]
cmp dword [esi + 0x18], eax
jb 0x1000f38b
mov eax, dword [esi + 4]
jmp 0x1000f38e
lea eax, [esi + 4]
push ecx
push eax
call dword [sym.imp.MSVCR90.dll__wrename]
add esp, 8
test eax, eax
jne 0x1000f3a1
xor ecx, ecx
jmp 0x1000f3a9
call dword [sym.imp.MSVCR90.dll__errno]
mov ecx, dword [eax]
push esi
push ebx
lea edi, [ebp - 0x30]
call fcn.1000e8d0
add esp, 8
mov ecx, edi
mov byte [ebp - 4], 0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov edi, dword [ebp - 0x38]
jmp 0x1000f3f3
push str._has_no_backups_specified
lea eax, [ebp - 0x54]
push esi
push eax
call dword [sym.imp.MSVCP90.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___wchar_t_const__]
add esp, 0xc
push eax
mov ecx, ebx
mov byte [ebp - 4], 7
call sym.log4cplusU.dll_public:_void___thiscall_log4cplus::helpers::LogLog::debug_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__const
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
cmp dword [esi + 0x18], 8
jb 0x1000f3fe
mov eax, dword [esi + 4]
jmp 0x1000f401
lea eax, [esi + 4]
push 0x40
push 0x12
push eax
mov ecx, edi
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_ofstream_wchar_t__struct_std::char_traits_wchar_t__::open_wchar_t_const___int__int_]
push esi
push edi
push ebx
call fcn.1000db80
add esp, 0xc
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x1000f42c
call sym.log4cplusU.dll_public:_void___thiscall_log4cplus::helpers::LockFile::unlock_void_const
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10027f6a
mov esp, ebp
pop ebp
ret 4