Function at 0x494a60
Capabilities:
Timestomp file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10688
call fcn.0063c0c0
mov eax, dword [0x7f3784]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
cmp dword [esi + 8], 0
je 0x494ab7
test edi, edi
jne 0x494a8f
lea edi, [esi + 0x28]
push edi
call fcn.00494fd0
test al, al
jne 0x494acc
mov ecx, dword [esi + 0x238]
test ecx, ecx
je 0x494ab7
mov eax, dword [ecx]
push edi
push str.Failed_to_create_destinationFolder:
push 0x7778dc
push ecx
call dword [eax + 0x24]
add esp, 0x10
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0063bad7
mov esp, ebp
pop ebp
ret 0xc
lea eax, [ebp - 0x1065c]
mov ecx, esi
push eax
call fcn.00494ec0
cmp byte [ebp - 0x1042c], 0
je 0x494af8
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0063bad7
mov esp, ebp
pop ebp
ret 0xc
push edi
lea eax, [ebp - 0x214]
push 0x104
push eax
call fcn.00665315
add esp, 0xc
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [ebp + eax*2 - 0x216], 0x5c
je 0x494b37
push 0x77a6a4
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
cmp byte [ebp + 0xc], 0
je 0x494b68
lea eax, [ebp - 0x1065c]
push 0x5c
push eax
call fcn.00651a90
add esp, 8
test eax, eax
je 0x494b68
inc eax
push eax
lea eax, [ebp - 0x1065c]
push 0x105
push eax
call fcn.0066a230
add esp, 0xc
push 0x105
lea eax, [ebp - 0x424]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x1065c]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x214]
push 0x104
push eax
call fcn.0066dd20
add esp, 0xc
lea eax, [ebp - 0x214]
push eax
call fcn.006713c5
add esp, 4
mov edi, eax
push 0x5c
push edi
call fcn.006babf2
add esp, 8
mov byte [ebp - 0x1065d], 0
test eax, eax
je 0x494bdf
xor ecx, ecx
mov word [eax], cx
mov ecx, esi
push edi
call fcn.00494fd0
mov byte [ebp - 0x1065d], al
push edi
call fcn.00665390
add esp, 4
cmp byte [ebp - 0x1065d], 0
jne 0x494c12
mov ecx, dword [esi + 0x238]
test ecx, ecx
je 0x494ab7
mov eax, dword [ecx]
lea edx, [ebp - 0x214]
push edx
push 0x77a6a8
jmp 0x494aab
lea eax, [ebp - 0x214]
push 0
cmp ebx, 0xffffffff
jne 0x494c27
push dword [ebp - 0x10430]
jmp 0x494c28
push ebx
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x494c62
mov ecx, dword [esi + 0x238]
test ecx, ecx
je 0x494ab7
mov eax, dword [ecx]
lea edx, [ebp - 0x214]
push edx
push str.Invalid_file_handle:
jmp 0x494aab
push dword [esi + 0x234]
mov ecx, dword [esi + 8]
sub esp, 8
call fcn.00495b00
add esp, 0xc
test eax, eax
je 0x494c9b
mov ecx, dword [esi + 0x238]
test ecx, ecx
je 0x494ab7
mov eax, dword [ecx]
lea edx, [ebp - 0x214]
push edx
push str.Failed_to_unzOpenCurrentFilePassword:
jmp 0x494aab
mov dword [esi + 0x18], 2
push ecx
mov ecx, dword [esi + 8]
lea edx, [ebp - 0x10424]
call fcn.00495e60
mov edi, eax
add esp, 4
test edi, edi
jle 0x494cfc
push 0
lea eax, [ebp - 0x10664]
mov dword [ebp - 0x10664], edi
push eax
push edi
lea eax, [ebp - 0x10424]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x494cf9
mov eax, dword [ebp - 0x10664]
cmp eax, edi
jne 0x494cf9
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x18]
push eax
mov eax, dword [esi + 0x24]
call eax
add esp, 4
test eax, eax
je 0x494ca2
or edi, 0xffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esi + 8]
call fcn.00496140
test edi, edi
jne 0x494db3
mov ebx, dword [ebp - 0x10444]
lea eax, [ebp - 0x214]
push edi
push edi
push 3
push edi
push edi
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
test esi, esi
je 0x494db1
lea eax, [ebp - 0x10680]
push eax
lea eax, [ebp - 0x10678]
push eax
lea eax, [ebp - 0x10688]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
cmp eax, 1
sete cl
jne 0x494d72
lea eax, [ebp - 0x10670]
push eax
push ebx
shr ebx, 0x10
push ebx
call dword [sym.imp.KERNEL32.dll_DosDateTimeToFileTime]
test eax, eax
setne cl
test cl, cl
je 0x494daa
lea eax, [ebp - 0x10668]
push eax
lea eax, [ebp - 0x10670]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
test eax, eax
je 0x494daa
lea eax, [ebp - 0x10668]
push eax
lea eax, [ebp - 0x10678]
push eax
lea eax, [ebp - 0x10668]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
mov ecx, dword [ebp - 8]
sete al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0063bad7
mov esp, ebp
pop ebp
ret 0xc