Function at 0x45c62f
Capabilities:
Set file attributes
Timestomp file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
push edi
lea eax, [ebp + 8]
mov edi, ecx
push eax
mov dword [ebp - 0x28], edi
call fcn.00404807
mov eax, dword [ebp + 8]
cmp word [eax], 0x3f
pop ecx
jne 0x45c663
push 2
push dword [ebp + 0xc]
add eax, 2
push eax
mov ecx, edi
call fcn.00450f4f
jmp 0x45ca48
push ebx
lea eax, [ebp + 8]
push esi
push eax
call fcn.00431c97
pop ecx
lea ecx, [ebp - 0x10]
call fcn.0043717e
lea ecx, [ebp + 0xc]
call fcn.0043717e
push 0
push 0x2c
pop esi
push esi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 8]
push eax
mov ecx, edi
call fcn.0042d8a6
mov ebx, dword [ebp - 0x10]
mov dword [ebp + 8], eax
cmp word [eax], si
jne 0x45c6b9
inc eax
inc eax
push 0
mov dword [ebp + 8], eax
push esi
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push eax
mov ecx, edi
call fcn.0042d8a6
mov dword [ebp + 8], eax
xor edi, edi
cmp word [ebx], di
je 0x45ca2f
mov eax, dword [ebp + 0xc]
cmp word [eax], di
je 0x45ca2f
push 6
push ebx
push str.touch
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x45c8fc
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x20], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0x24], eax
call fcn.0043717e
mov eax, dword [ebp + 8]
cmp word [eax], si
jne 0x45c717
add dword [ebp + 8], 2
push esi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00439b04
add esp, 0xc
mov dword [ebp - 0x30], edi
xor eax, eax
xor ecx, ecx
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
mov dword [ebp - 0x38], ecx
lea edi, [ebp - 0x34]
stosd dword es:[edi], eax
mov word [ebp - 0x48], cx
lea edi, [ebp - 0x46]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x30]
add ebx, 0xc
push eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp + 8], ebx
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov esi, dword [ebp + 8]
mov ax, word [esi]
cmp ax, 0x2a
je 0x45c7ad
cmp ax, 0x3a
jne 0x45c886
inc esi
inc esi
mov dword [ebp + 8], esi
mov ax, word [esi]
or ax, 0x20
cmp ax, 0x63
je 0x45c77c
cmp ax, 0x72
jne 0x45c781
inc esi
inc esi
mov dword [ebp + 8], esi
cmp ax, 0x63
jne 0x45c78f
lea eax, [ebp - 0x30]
mov dword [ebp - 0x1c], eax
jmp 0x45c7a0
cmp ax, 0x72
lea eax, [ebp - 0x30]
jne 0x45c79d
mov dword [ebp - 0x18], eax
jmp 0x45c7a0
mov dword [ebp - 0x14], eax
lea eax, [ebp + 8]
push eax
call fcn.00431c97
mov esi, dword [ebp + 8]
pop ecx
push 8
push esi
push str.local0:
call fcn.00432c59
add esp, 0xc
test al, al
je 0x45c7c9
xor eax, eax
inc eax
jmp 0x45c84e
push 7
push esi
push str.local:
call fcn.00432c59
add esp, 0xc
test al, al
je 0x45c7e1
xor eax, eax
jmp 0x45c84e
push 6
push esi
push str.sys0:
call fcn.00432c59
add esp, 0xc
test al, al
je 0x45c7fa
xor eax, eax
inc eax
jmp 0x45c810
push 5
push esi
push str.sys:
call fcn.00432c59
add esp, 0xc
test al, al
je 0x45c848
xor eax, eax
push eax
lea ecx, [esi + eax*2 + 0xa]
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp + 8]
push eax
mov dword [ebp + 8], ecx
call fcn.0043e0cb
add esp, 0xc
test eax, eax
jg 0x45c838
mov dword [ebp - 8], 0x80070057
jmp 0x45c8dd
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
jmp 0x45c886
xor eax, eax
inc eax
sub esi, 0x10
push eax
lea ecx, [esi + eax*2 + 0xe]
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp + 8]
push eax
mov dword [ebp + 8], ecx
call fcn.0043e0cb
add esp, 0xc
test eax, eax
jle 0x45c82c
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
xor esi, esi
push esi
push 0x80
push 3
push esi
push 7
push 0x100
push dword [ebp - 0x24]
lea ecx, [ebp - 4]
mov dword [ebp - 4], esi
call fcn.00404863
cmp dword [ebp - 4], esi
je 0x45c8c0
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 4]
call fcn.00402b75
cmp dword [ebp - 0x20], esi
jne 0x45c8dd
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
jne 0x45c8da
xor eax, eax
inc eax
mov dword [ebp - 8], eax
push dword [ebp - 0xc]
mov esi, dword [ebp - 8]
push esi
push dword [ebp - 0x28]
call fcn.004394ef
add esp, 0xc
lea ecx, [ebp - 0xc]
call fcn.00431c4c
jmp 0x45ca34
lea eax, [ebp - 0x6c]
push eax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
mov eax, dword [ebp + 0xc]
mov dword [ebp + 8], eax
cmp word [eax], di
je 0x45ca21
push 4
pop esi
push 2
pop edi
push edi
push dword [ebp + 8]
push 0x4a0054
call fcn.00432c59
add esp, 0xc
test al, al
je 0x45c93b
add dword [ebp + 8], esi
or dword [ebp - 0x6c], 0x20
jmp 0x45c957
push edi
push dword [ebp + 8]
push 0x4a0050
call fcn.00432c59
add esp, 0xc
test al, al
je 0x45c957
add dword [ebp + 8], esi
and dword [ebp - 0x6c], 0xffffffdf
push edi
push dword [ebp + 8]
push 0x4a004c
call fcn.00432c59
add esp, 0xc
test al, al
je 0x45c974
add dword [ebp + 8], esi
or dword [ebp - 0x6c], edi
jmp 0x45c990
push edi
push dword [ebp + 8]
push 0x4a0048
call fcn.00432c59
add esp, 0xc
test al, al
je 0x45c990
add dword [ebp + 8], esi
and dword [ebp - 0x6c], 0xfffffffd
push edi
push dword [ebp + 8]
push 0x4a0044
call fcn.00432c59
add esp, 0xc
test al, al
je 0x45c9ae
add dword [ebp + 8], esi
or dword [ebp - 0x6c], 1
jmp 0x45c9ca
push edi
push dword [ebp + 8]
push 0x4a0040
call fcn.00432c59
add esp, 0xc
test al, al
je 0x45c9ca
add dword [ebp + 8], esi
and dword [ebp - 0x6c], 0xfffffffe
push edi
push dword [ebp + 8]
push 0x4a003c
call fcn.00432c59
add esp, 0xc
test al, al
je 0x45c9e7
add dword [ebp + 8], esi
or dword [ebp - 0x6c], esi
jmp 0x45ca08
push edi
push dword [ebp + 8]
push 0x4a0038
call fcn.00432c59
add esp, 0xc
test al, al
je 0x45ca05
add dword [ebp + 8], esi
and dword [ebp - 0x6c], 0xfffffffb
jmp 0x45ca08
add dword [ebp + 8], edi
lea eax, [ebp + 8]
push eax
call fcn.00431c97
mov eax, dword [ebp + 8]
cmp word [eax], 0
pop ecx
jne 0x45c91a
xor edi, edi
push dword [ebp - 0x6c]
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor esi, esi
jmp 0x45ca34
mov esi, 0x80070057
lea ecx, [ebp + 0xc]
call fcn.00431c4c
lea ecx, [ebp - 0x10]
call fcn.00431c4c
mov eax, esi
pop esi
pop ebx
pop edi
leave
ret 8