Function at 0x1000f450
Capabilities:
Delete file
Move file

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x70
push 0xffffffffffffffff
push 0x1002abb1
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x1004f970]
xor eax, ebp
mov dword [ebp + 0x6c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor edi, edi
mov ebx, ecx
mov dword [ebp + 0x48], edi
cmp byte [ebx + 0x38], 0
mov dword [ebp - 4], edi
je 0x1000f4ac
cmp byte [ebp + 0x78], 0
jne 0x1000f4ac
mov eax, dword [ebx + 0x34]
push eax
lea ecx, [ebp + 0x48]
mov byte [ebp - 4], 1
call fcn.10004da0
lea esi, [ebx + 0x4c]
mov ecx, esi
mov dword [ebp - 4], 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 [esi]
mov ecx, dword [eax + 4]
push edi
push edi
lea ecx, [ecx + ebx + 0x4c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::clear_int__bool_]
mov ecx, dword [ebx + 0x150]
lea esi, [ebx + 0x124]
push esi
call fcn.1000ea80
add esp, 4
push 1
push 2
lea ecx, [ebp - 0xac]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_int_]
push 1
push 0x1002fba8
lea edx, [ebp - 0xac]
push esi
push edx
mov byte [ebp - 4], 3
call dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______cdecl_std::operator___wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
add esp, 8
push eax
call fcn.1000e5c0
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___int_]
lea eax, [ebp + 0x50]
push eax
lea ecx, [ebp - 0xac]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::str_void_]
mov byte [ebp - 4], 4
call sym.log4cplusU.dll_class_log4cplus::helpers::LogLog____cdecl_log4cplus::helpers::getLogLog_void_
mov edi, 8
mov dword [ebp + 0x4c], eax
mov eax, dword [ebp + 0x54]
cmp dword [ebp + 0x68], edi
jae 0x1000f549
lea eax, [ebp + 0x54]
push eax
call dword [sym.imp.MSVCR90.dll__wremove]
add esp, 4
test eax, eax
je 0x1000f55d
call dword [sym.imp.MSVCR90.dll__errno]
mov ecx, dword [ebp + 0x54]
cmp dword [ebp + 0x68], edi
jae 0x1000f568
lea ecx, [ebp + 0x54]
cmp dword [esi + 0x18], edi
jb 0x1000f578
mov eax, dword [esi + 4]
jmp 0x1000f57b
lea eax, [esi + 4]
push ecx
push eax
call dword [sym.imp.MSVCR90.dll__wrename]
add esp, 8
test eax, eax
jne 0x1000f58e
xor ecx, ecx
jmp 0x1000f596
call dword [sym.imp.MSVCR90.dll__errno]
mov ecx, dword [eax]
mov edx, dword [ebp + 0x4c]
push esi
push edx
lea edi, [ebp + 0x50]
call fcn.1000e8d0
add esp, 8
cmp dword [esi + 0x18], 8
jb 0x1000f5b1
mov eax, dword [esi + 4]
jmp 0x1000f5b4
lea eax, [esi + 4]
push eax
call dword [sym.imp.MSVCR90.dll__wremove]
add esp, 4
test eax, eax
je 0x1000f5c8
call dword [sym.imp.MSVCR90.dll__errno]
lea edi, [ebx + 0xd4]
push edi
lea eax, [ebp + 0x1c]
push str.Renaming_file
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___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 ecx, [ebp - 0x2c]
push ecx
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___wchar_t_const__]
push esi
push eax
lea edx, [ebp]
push edx
mov byte [ebp - 4], 6
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
mov ecx, dword [ebp + 0x4c]
push eax
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]
mov byte [ebp - 4], 6
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 - 0x2c]
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 + 0x1c]
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_]
mov eax, 8
cmp dword [esi + 0x18], eax
jb 0x1000f648
mov ecx, dword [esi + 4]
jmp 0x1000f64b
lea ecx, [esi + 4]
cmp dword [edi + 0x18], eax
jb 0x1000f655
mov eax, dword [edi + 4]
jmp 0x1000f658
lea eax, [edi + 4]
push ecx
push eax
call dword [sym.imp.MSVCR90.dll__wrename]
add esp, 8
test eax, eax
jne 0x1000f66b
xor ecx, ecx
jmp 0x1000f673
call dword [sym.imp.MSVCR90.dll__errno]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x4c]
push edi
push eax
mov edi, esi
call fcn.1000e8d0
lea edi, [ebx + 0xd4]
add esp, 8
cmp dword [edi + 0x18], 8
jb 0x1000f693
mov eax, dword [edi + 4]
jmp 0x1000f696
lea eax, [edi + 4]
push 0x40
push 0x12
push eax
lea ecx, [ebx + 0x4c]
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_]
mov ecx, dword [ebp + 0x4c]
push edi
lea eax, [ebx + 0x4c]
push eax
push ecx
call fcn.1000db80
lea edx, [ebp + 0x38]
push edx
call sym.log4cplusU.dll_public:_static_class_log4cplus::helpers::Time___cdecl_log4cplus::helpers::Time::gettimeofday_void_
lea edi, [ebx + 0x140]
lea eax, [ebp + 0x38]
push edi
push eax
call sym.log4cplusU.dll_bool___cdecl_log4cplus::helpers::operator__class_log4cplus::helpers::Time_const___class_log4cplus::helpers::Time_const__
add esp, 0x18
test al, al
je 0x1000f720
lea ecx, [ebp + 0x38]
push ecx
lea edx, [ebp + 0x1c]
push edx
mov ecx, ebx
call sym.log4cplusU.dll_protected:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_log4cplus::DailyRollingFileAppender::getFilename_class_log4cplus::helpers::Time_const__
push eax
mov ecx, esi
mov byte [ebp - 4], 8
call dword [0x1002f140]
lea ecx, [ebp + 0x1c]
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 eax, [ebp + 0x38]
push eax
lea ecx, [ebp + 0xc]
push ecx
mov ecx, ebx
call sym.log4cplusU.dll_protected:_class_log4cplus::helpers::Time___thiscall_log4cplus::DailyRollingFileAppender::calculateNextRolloverTime_class_log4cplus::helpers::Time_const__
mov edx, dword [eax]
mov dword [edi], edx
mov ecx, dword [eax + 4]
mov dword [edi + 4], ecx
mov edx, dword [eax + 8]
mov dword [edi + 8], edx
mov eax, dword [eax + 0xc]
mov dword [edi + 0xc], eax
lea ecx, [ebp + 0x50]
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_]
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::vbase_dtor_void_]
mov ecx, dword [ebp + 0x48]
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x1000f750
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 + 0x6c]
xor ecx, ebp
call fcn.10027f6a
add ebp, 0x70
mov esp, ebp
pop ebp
ret 4