Function at 0x45ec6c
Capabilities:
Set file attributes
Timestomp file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
push esi
push edi
lea eax, [ebp + 8]
mov edi, ecx
push eax
mov dword [ebp - 0x28], edi
call fcn.0040507c
mov eax, dword [ebp + 8]
cmp word [eax], 0x3f
pop ecx
jne 0x45ecc5
and dword [ebp - 8], 0
push 1
push 0
lea ecx, [ebp - 8]
push ecx
push eax
mov ecx, edi
call fcn.0044c0fc
mov eax, dword [ebp - 8]
push 2
push dword [ebp + 0xc]
mov dword [ebp + 8], eax
add eax, 2
push eax
mov ecx, edi
call fcn.00454045
lea ecx, [ebp - 8]
mov esi, eax
call fcn.00437960
jmp 0x45f0fa
lea eax, [ebp + 8]
push ebx
push eax
call fcn.004379a9
pop ecx
lea ecx, [ebp - 0x10]
call fcn.0043d47d
lea ecx, [ebp - 4]
call fcn.0043d47d
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.00433065
mov ebx, dword [ebp - 0x10]
mov dword [ebp + 8], eax
cmp word [eax], si
jne 0x45ed1a
inc eax
inc eax
push 0
mov dword [ebp + 8], eax
push esi
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 8]
push eax
mov ecx, edi
call fcn.00433065
mov dword [ebp + 8], eax
xor edi, edi
cmp word [ebx], di
je 0x45f0e4
mov eax, dword [ebp - 4]
cmp word [eax], di
je 0x45f0e4
push 6
push ebx
push str.touch
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x45efb1
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x20], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0x24], eax
call fcn.0043d47d
mov eax, dword [ebp + 8]
cmp word [eax], si
jne 0x45ed78
add dword [ebp + 8], 2
push esi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0043fe29
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 - 0x40], ecx
lea edi, [ebp - 0x3c]
stosd dword es:[edi], eax
mov word [ebp - 0x50], cx
lea edi, [ebp - 0x4e]
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 0x45ee0e
cmp ax, 0x3a
jne 0x45ef3b
inc esi
inc esi
mov dword [ebp + 8], esi
mov ax, word [esi]
or ax, 0x20
cmp ax, 0x63
je 0x45eddd
cmp ax, 0x72
jne 0x45ede2
inc esi
inc esi
mov dword [ebp + 8], esi
cmp ax, 0x63
jne 0x45edf0
lea eax, [ebp - 0x30]
mov dword [ebp - 0x1c], eax
jmp 0x45ee01
cmp ax, 0x72
lea eax, [ebp - 0x30]
jne 0x45edfe
mov dword [ebp - 0x18], eax
jmp 0x45ee01
mov dword [ebp - 0x14], eax
lea eax, [ebp + 8]
push eax
call fcn.004379a9
mov esi, dword [ebp + 8]
pop ecx
push 5
push esi
push str.utc:
call fcn.00438b8f
add esp, 0xc
test al, al
je 0x45ee5c
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
xor eax, eax
or eax, edx
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
xor edi, edi
lea eax, [ebp + 8]
or ecx, edi
add esi, 0xa
push eax
mov dword [ebp - 0x34], ecx
mov dword [ebp + 8], esi
call fcn.0043a0c1
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x34]
pop ecx
pop ecx
mov dword [ebp - 0x2c], eax
jmp 0x45ef3b
push 8
push esi
push str.local0:
call fcn.00438b8f
add esp, 0xc
test al, al
je 0x45ee78
xor eax, eax
inc eax
jmp 0x45ef03
push 7
push esi
push str.local:
call fcn.00438b8f
add esp, 0xc
test al, al
je 0x45ee90
xor eax, eax
jmp 0x45ef03
push 6
push esi
push str.sys0:
call fcn.00438b8f
add esp, 0xc
test al, al
je 0x45eea9
xor eax, eax
inc eax
jmp 0x45eebf
push 5
push esi
push str.sys:
call fcn.00438b8f
add esp, 0xc
test al, al
je 0x45eef7
xor eax, eax
push eax
lea ecx, [esi + eax*2 + 0xa]
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp + 8]
push eax
mov dword [ebp + 8], ecx
call fcn.00443506
add esp, 0xc
test eax, eax
jg 0x45eee7
mov dword [ebp - 8], 0x80070057
jmp 0x45ef92
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.DLL_SystemTimeToFileTime]
jmp 0x45ef3b
cmp word [esi], 0
je 0x45ef3b
xor eax, eax
inc eax
sub esi, 0x10
push eax
lea ecx, [esi + eax*2 + 0xe]
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp + 8]
push eax
mov dword [ebp + 8], ecx
call fcn.00443506
add esp, 0xc
test eax, eax
jle 0x45eedb
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.DLL_SystemTimeToFileTime]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.DLL_LocalFileTimeToFileTime]
xor esi, esi
push esi
push 0x2000080
push 3
push esi
push 7
push 0x100
push dword [ebp - 0x24]
lea ecx, [ebp + 0xc]
mov dword [ebp + 0xc], esi
call fcn.0040511c
cmp dword [ebp + 0xc], esi
je 0x45ef75
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_SetFileTime]
mov dword [ebp - 0x20], eax
lea ecx, [ebp + 0xc]
call fcn.00402b5a
cmp dword [ebp - 0x20], esi
jne 0x45ef92
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, esi
jne 0x45ef8f
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.0043f7f4
add esp, 0xc
lea ecx, [ebp - 0xc]
call fcn.00437960
jmp 0x45f0e9
lea eax, [ebp - 0x74]
push eax
push edi
push ebx
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesExW]
mov eax, dword [ebp - 4]
mov dword [ebp + 8], eax
cmp word [eax], di
je 0x45f0d6
push 4
pop esi
push 2
pop edi
push edi
push dword [ebp + 8]
push 0x4ad444
call fcn.00438b8f
add esp, 0xc
test al, al
je 0x45eff0
add dword [ebp + 8], esi
or dword [ebp - 0x74], 0x20
jmp 0x45f00c
push edi
push dword [ebp + 8]
push 0x4ad440
call fcn.00438b8f
add esp, 0xc
test al, al
je 0x45f00c
add dword [ebp + 8], esi
and dword [ebp - 0x74], 0xffffffdf
push edi
push dword [ebp + 8]
push 0x4ad43c
call fcn.00438b8f
add esp, 0xc
test al, al
je 0x45f029
add dword [ebp + 8], esi
or dword [ebp - 0x74], edi
jmp 0x45f045
push edi
push dword [ebp + 8]
push 0x4ad438
call fcn.00438b8f
add esp, 0xc
test al, al
je 0x45f045
add dword [ebp + 8], esi
and dword [ebp - 0x74], 0xfffffffd
push edi
push dword [ebp + 8]
push 0x4ad434
call fcn.00438b8f
add esp, 0xc
test al, al
je 0x45f063
add dword [ebp + 8], esi
or dword [ebp - 0x74], 1
jmp 0x45f07f
push edi
push dword [ebp + 8]
push 0x4ad430
call fcn.00438b8f
add esp, 0xc
test al, al
je 0x45f07f
add dword [ebp + 8], esi
and dword [ebp - 0x74], 0xfffffffe
push edi
push dword [ebp + 8]
push 0x4ad42c
call fcn.00438b8f
add esp, 0xc
test al, al
je 0x45f09c
add dword [ebp + 8], esi
or dword [ebp - 0x74], esi
jmp 0x45f0bd
push edi
push dword [ebp + 8]
push 0x4ad428
call fcn.00438b8f
add esp, 0xc
test al, al
je 0x45f0ba
add dword [ebp + 8], esi
and dword [ebp - 0x74], 0xfffffffb
jmp 0x45f0bd
add dword [ebp + 8], edi
lea eax, [ebp + 8]
push eax
call fcn.004379a9
mov eax, dword [ebp + 8]
cmp word [eax], 0
pop ecx
jne 0x45efcf
xor edi, edi
push dword [ebp - 0x74]
push ebx
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
xor esi, esi
jmp 0x45f0e9
mov esi, 0x80070057
lea ecx, [ebp - 4]
call fcn.00437960
lea ecx, [ebp - 0x10]
call fcn.00437960
pop ebx
pop edi
mov eax, esi
pop esi
leave
ret 8