Function at 0x43d7b0
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
lea ebx, [ebp - 0x54]
lea edi, [ebp - 0x50]
sub esp, 0x6c
mov dword [ebp - 0x60], ecx
lea ecx, [ebp - 0x38]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 4
call dword [method.QTime.QTime_int__int__int__int_]
sub esp, 0x10
call dword [method.QDate.currentDate__]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x2c], edx
mov dword [esp + 8], 0
mov ecx, ebx
mov dword [esp + 4], eax
lea eax, [ebp - 0x30]
mov dword [esp], eax
call dword [method.QDateTime.QDateTime_QDate_const__QTime_const__Qt::TimeSpec_]
sub esp, 0xc
mov esi, dword [method.QDateTime.QDateTime__]
mov dword [esp], edi
call dword [method.QDateTime.currentDateTime__]
mov eax, dword [method.QDateTime.operator__QDateTime_const__const]
mov dword [esp], ebx
mov ecx, edi
mov dword [ebp - 0x64], eax
call eax
sub esp, 4
mov byte [ebp - 0x5c], al
mov ecx, edi
mov esi, dword [method.QDateTime.QDateTime__]
call esi
movzx eax, byte [ebp - 0x5c]
test al, al
je 0x43d87f
mov dword [esp + 4], 0xffffffff
mov dword [esp + 8], 0xffffffff
lea ecx, [ebp - 0x4c]
mov dword [esp], ebx
call dword [method.QDateTime.addDays_long_long__const]
mov eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x4c]
sub esp, 0xc
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x4c], eax
call esi
mov eax, dword [ebp - 0x60]
lea edi, [ebp - 0x44]
mov ecx, edi
add eax, 0x20
mov dword [ebp - 0x5c], eax
mov dword [esp], eax
mov eax, dword [method.QFile.fileName___const]
mov dword [ebp - 0x68], eax
call eax
sub esp, 4
lea ecx, [ebp - 0x48]
mov dword [esp], edi
call dword [method.QFileInfo.QFileInfo_QString_const_]
mov eax, dword [ebp - 0x44]
sub esp, 4
mov edx, dword [eax]
test edx, edx
je 0x43d963
cmp edx, 0xffffffff
je 0x43d8c8
lock sub dword [eax], 1
je 0x43d960
lea ecx, [ebp - 0x48]
call dword [method.QFileInfo.exists___const]
xor edi, edi
test al, al
jne 0x43d981
mov ecx, dword [ebp - 0x5c]
call dword [method.QIODevice.isOpen___const]
test al, al
je 0x43d903
mov eax, edi
test al, al
je 0x43d950
lea ecx, [ebp - 0x48]
call dword [method.QFileInfo.QFileInfo__]
mov ecx, ebx
call esi
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, edi
mov eax, 6
test dl, dl
je 0x43d950
mov dword [esp], eax
mov ecx, dword [ebp - 0x5c]
call dword [method.QFile.open_QFlags_QIODevice::OpenModeFlag__]
sub esp, 4
test al, al
je 0x43d9b0
mov eax, edi
test al, al
je 0x43dac0
mov eax, dword [ebp - 0x60]
lea ecx, [ebp - 0x48]
mov dword [eax + 0x28], 0xffffffff
call dword [method.QFileInfo.QFileInfo__]
mov ecx, ebx
call esi
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [ebp - 0x5c]
call dword [method.QFile.remove__]
mov eax, 2
jmp 0x43d90e
mov eax, dword [ebp - 0x44]
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
jmp 0x43d8c8
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x30]
mov dword [esp], eax
call dword [method.QFileInfo.created___const]
sub esp, 4
lea ecx, [ebp - 0x30]
mov dword [esp], ebx
call dword [ebp - 0x64]
xor eax, 1
sub esp, 4
lea ecx, [ebp - 0x30]
mov edi, eax
call esi
jmp 0x43d8db
mov eax, dword [ebp - 0x5c]
lea edi, [ebp - 0x3c]
mov ecx, edi
mov dword [esp], eax
call dword [ebp - 0x68]
lea eax, [ebp - 0x30]
sub esp, 4
mov dword [ebp - 0x30], 2
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0x554ff7
mov dword [esp], eax
call dword [method.QMessageLogger.warning___const]
lea eax, [ebp - 0x38]
sub esp, 4
mov dword [esp + 8], 0x23
mov dword [esp + 4], str.Performance:_error_opening_log_file
mov dword [esp], eax
call dword [method.QString.fromUtf8_helper_char_const__int_]
lea eax, [ebp - 0x38]
mov ecx, dword [ebp - 0x40]
mov dword [esp], eax
call dword [method.QTextStream.operator___QString_const_]
mov eax, dword [ebp - 0x38]
sub esp, 4
mov edx, dword [eax]
test edx, edx
je 0x43dbf1
cmp edx, 0xffffffff
je 0x43da40
lock sub dword [eax], 1
je 0x43dbee
mov ecx, dword [ebp - 0x40]
cmp byte [ecx + 0x14], 0
jne 0x43dc25
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x40]
mov edx, dword [eax + 4]
mov dword [esp + 4], edx
add eax, dword [eax + 0xc]
mov dword [esp], eax
call dword [method.QDebug.putString_QChar_const__unsigned_int_]
mov ecx, dword [ebp - 0x40]
sub esp, 8
cmp byte [ecx + 0x14], 0
jne 0x43dc10
lea ecx, [ebp - 0x40]
call dword [method.QDebug.QDebug__]
mov eax, dword [ebp - 0x3c]
mov edx, dword [eax]
test edx, edx
je 0x43daa0
cmp edx, 0xffffffff
je 0x43d92f
lock sub dword [eax], 1
jne 0x43d92f
mov eax, dword [ebp - 0x3c]
nop
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
jmp 0x43d92f
lea eax, [ebp - 0x30]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [ebp - 0x38]
sub esp, 4
mov dword [esp + 4], eax
lea eax, [ebp - 0x30]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
sub esp, 8
mov ecx, dword [ebp - 0x5c]
call dword [method.QFileDevice.handle___const]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll__get_osfhandle]
lea edi, [ebp - 0x38]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp], eax
mov dword [esp + 4], edi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
lea edi, [ebp - 0x3c]
sub esp, 0x10
mov dword [esp + 4], 0xffffffff
mov dword [esp], str.PERF1____
mov ecx, edi
call dword [method.QByteArray.QByteArray_char_const__int_]
mov edx, dword [ebp - 0x3c]
sub esp, 8
mov eax, dword [edx]
cmp eax, 1
jbe 0x43dc40
movsx eax, byte [edx + 0xb]
mov ecx, edi
shr eax, 0x1f
mov dword [esp + 4], eax
mov eax, dword [edx + 4]
add eax, 1
mov dword [esp], eax
call dword [method.QByteArray.reallocData_unsigned_int__QFlags_QArrayData::AllocationOption__]
mov eax, dword [ebp - 0x3c]
sub esp, 8
mov ecx, eax
mov eax, dword [eax + 0xc]
add eax, ecx
mov ecx, ebx
mov dword [ebp - 0x64], eax
call dword [method.QDateTime.offsetFromUtc___const]
mov edx, dword [ebp - 0x64]
bswap eax
mov ecx, dword [ebp - 0x5c]
mov dword [edx + 5], eax
mov eax, dword [ebp - 0x3c]
mov edx, dword [eax + 4]
mov dword [esp + 4], edx
sar edx, 0x1f
mov dword [esp + 8], edx
add eax, dword [eax + 0xc]
mov dword [esp], eax
call dword [method.QIODevice.write_char_const__long_long_]
sub esp, 0xc
mov ecx, dword [ebp - 0x5c]
call dword [method.QFileDevice.flush__]
mov eax, dword [ebp - 0x3c]
mov edx, dword [eax]
test edx, edx
je 0x43dbd0
cmp edx, 0xffffffff
je 0x43d92f
lock sub dword [eax], 1
jne 0x43d92f
mov eax, dword [ebp - 0x3c]
lea esi, [esi]
mov dword [esp + 8], 4
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
jmp 0x43d92f
mov eax, dword [ebp - 0x38]
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
jmp 0x43da40
mov dword [esp], 0x20
call dword [method.QTextStream.operator___char_]
sub esp, 4
jmp 0x43da76
mov dword [esp], 0x20
call dword [method.QTextStream.operator___char_]
sub esp, 4
jmp 0x43da4d
mov eax, dword [edx + 0xc]
mov ecx, edx
cmp eax, 0x10
jne 0x43db45
jmp 0x43db6c