Function at 0x6713ef70
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6727cb6d
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x674c412c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov ecx, dword [ebp + 0xc]
xor edi, edi
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x40], ebx
sub eax, ebx
je 0x6713efe3
sub eax, 1
je 0x6713efdb
sub eax, 2
je 0x6713efd6
mov dword [esi], 0x57
mov dword [esi + 4], 2
xor al, al
jmp 0x6713f169
lea edi, [ebp - 0x5c]
jmp 0x6713efe6
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x40], eax
jmp 0x6713efe6
lea ebx, [ebp - 0x5c]
call sym.Qt5Core.dll_public:_enum_Qt::TimeSpec___thiscall_QDateTime::timeSpec_void_
mov ecx, dword [ebp - 0x34]
test eax, eax
jne 0x6713f092
lea eax, [ebp - 0x48]
push eax
call sym.Qt5Core.dll_public:_class_QDate___thiscall_QDateTime::date_void_
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x38]
push eax
call sym.Qt5Core.dll_public:_class_QTime___thiscall_QDateTime::time_void_
lea ecx, [ebp - 0x48]
call sym.Qt5Core.dll_public:_int___thiscall_QDate::year_void_const
lea ecx, [ebp - 0x48]
mov word [ebp - 0x30], ax
call sym.Qt5Core.dll_public:_int___thiscall_QDate::month_void_const
lea ecx, [ebp - 0x48]
mov word [ebp - 0x2e], ax
call sym.Qt5Core.dll_public:_int___thiscall_QDate::day_void_const
lea ecx, [ebp - 0x38]
mov word [ebp - 0x2a], ax
call sym.Qt5Core.dll_public:_int___thiscall_QTime::hour_void_const
lea ecx, [ebp - 0x38]
mov word [ebp - 0x28], ax
call sym.Qt5Core.dll_public:_int___thiscall_QTime::minute_void_const
lea ecx, [ebp - 0x38]
mov word [ebp - 0x26], ax
call sym.Qt5Core.dll_public:_int___thiscall_QTime::second_void_const
lea ecx, [ebp - 0x38]
mov word [ebp - 0x24], ax
call sym.Qt5Core.dll_public:_int___thiscall_QTime::msec_void_const
lea ecx, [ebp - 0x48]
mov word [ebp - 0x22], ax
call sym.Qt5Core.dll_public:_int___thiscall_QDate::dayOfWeek_void_const
cdq
mov ecx, 7
idiv ecx
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x30]
mov word [ebp - 0x2c], dx
push eax
push 0
call dword [sym.imp.KERNEL32.dll_TzSpecificLocalTimeToSystemTime]
test eax, eax
jne 0x6713f12c
xor al, al
jmp 0x6713f169
push 1
lea eax, [ebp - 0x3c]
push eax
call sym.Qt5Core.dll_public:_class_QDateTime___thiscall_QDateTime::toTimeSpec_enum_Qt::TimeSpec_
lea eax, [ebp - 0x50]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x3c]
call sym.Qt5Core.dll_public:_class_QDate___thiscall_QDateTime::date_void_
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x3c]
call sym.Qt5Core.dll_public:_class_QTime___thiscall_QDateTime::time_void_
lea ecx, [ebp - 0x50]
call sym.Qt5Core.dll_public:_int___thiscall_QDate::year_void_const
lea ecx, [ebp - 0x50]
mov word [ebp - 0x20], ax
call sym.Qt5Core.dll_public:_int___thiscall_QDate::month_void_const
lea ecx, [ebp - 0x50]
mov word [ebp - 0x1e], ax
call sym.Qt5Core.dll_public:_int___thiscall_QDate::day_void_const
lea ecx, [ebp - 0x34]
mov word [ebp - 0x1a], ax
call sym.Qt5Core.dll_public:_int___thiscall_QTime::hour_void_const
lea ecx, [ebp - 0x34]
mov word [ebp - 0x18], ax
call sym.Qt5Core.dll_public:_int___thiscall_QTime::minute_void_const
lea ecx, [ebp - 0x34]
mov word [ebp - 0x16], ax
call sym.Qt5Core.dll_public:_int___thiscall_QTime::second_void_const
lea ecx, [ebp - 0x34]
mov word [ebp - 0x14], ax
call sym.Qt5Core.dll_public:_int___thiscall_QTime::msec_void_const
lea ecx, [ebp - 0x50]
mov word [ebp - 0x12], ax
call sym.Qt5Core.dll_public:_int___thiscall_QDate::dayOfWeek_void_const
cdq
mov ecx, 7
idiv ecx
lea ecx, [ebp - 0x3c]
mov word [ebp - 0x1c], dx
call sym.Qt5Core.dll_public:_void___thiscall_QDateTime::destructor_void_
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
test eax, eax
je 0x6713efcf
push edi
push ebx
push dword [ebp - 0x40]
push dword [ebp - 0x54]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
jne 0x6713f167
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
xor al, al
mov dword [esi + 4], 2
jmp 0x6713f169
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.67267c3b
mov esp, ebp
pop ebp
ret