Function at 0x456cc7
Capabilities:
Set file attributes
Timestomp file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
lea eax, [ebp + 8]
push eax
mov dword [ebp - 0x20], ecx
call fcn.0040418b
mov eax, dword [ebp + 8]
cmp word [eax], 0x3f
pop ecx
jne 0x456cf9
mov ecx, dword [ebp - 0x20]
push 2
push dword [ebp + 0xc]
add eax, 2
push eax
call fcn.0044c5ad
jmp 0x4570c9
push ebx
push esi
lea eax, [ebp + 8]
push edi
push eax
call fcn.0042ebab
pop ecx
lea ecx, [ebp - 0xc]
call fcn.00433c24
lea ecx, [ebp - 8]
call fcn.00433c24
push 0x2c
pop edi
push edi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp + 8]
push eax
call fcn.004364f8
push dword [ebp - 0xc]
call fcn.0040ec9c
mov ebx, eax
mov eax, dword [ebp + 8]
add esp, 0x10
cmp word [eax], di
jne 0x456d51
add dword [ebp + 8], 2
push edi
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 8]
push eax
call fcn.004364f8
add esp, 0xc
cmp word [ebx], 0
je 0x4570af
mov esi, dword [ebp - 8]
cmp word [esi], 0
je 0x4570af
push 6
push ebx
push str.touch
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x456f92
and dword [ebp - 0x1c], eax
and dword [ebp + 0xc], eax
push esi
call fcn.0040ec9c
pop ecx
lea ecx, [ebp - 4]
mov dword [ebp - 0x24], eax
call fcn.00433c24
mov eax, dword [ebp + 8]
cmp word [eax], di
jne 0x456db3
add dword [ebp + 8], 2
push edi
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 8]
push eax
call fcn.004364f8
add esp, 0xc
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x2c], ecx
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
mov dword [ebp - 0x34], ecx
lea edi, [ebp - 0x30]
stosd dword es:[edi], eax
mov word [ebp - 0x44], cx
lea edi, [ebp - 0x42]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
lea esi, [ebx + 0xc]
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov ax, word [esi]
cmp ax, 0x2a
je 0x456e43
cmp ax, 0x3a
jne 0x456f1c
inc esi
inc esi
mov ax, word [esi]
or ax, 0x20
cmp ax, 0x63
mov dword [ebp + 8], esi
je 0x456e12
cmp ax, 0x72
jne 0x456e17
inc esi
inc esi
mov dword [ebp + 8], esi
cmp ax, 0x63
jne 0x456e25
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x18], eax
jmp 0x456e36
cmp ax, 0x72
lea eax, [ebp - 0x2c]
jne 0x456e33
mov dword [ebp - 0x14], eax
jmp 0x456e36
mov dword [ebp - 0x10], eax
lea eax, [ebp + 8]
push eax
call fcn.0042ebab
mov esi, dword [ebp + 8]
pop ecx
push 8
push esi
push str.local0:
call fcn.0042fae7
add esp, 0xc
test al, al
je 0x456e5f
xor eax, eax
inc eax
jmp 0x456ee4
push 7
push esi
push str.local:
call fcn.0042fae7
add esp, 0xc
test al, al
je 0x456e77
xor eax, eax
jmp 0x456ee4
push 6
push esi
push str.sys0:
call fcn.0042fae7
add esp, 0xc
test al, al
je 0x456e90
xor eax, eax
inc eax
jmp 0x456ea6
push 5
push esi
push str.sys:
call fcn.0042fae7
add esp, 0xc
test al, al
je 0x456ede
xor eax, eax
push eax
lea ecx, [esi + eax*2 + 0xa]
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp + 8]
push eax
mov dword [ebp + 8], ecx
call fcn.0043a54f
add esp, 0xc
test eax, eax
jg 0x456ece
mov dword [ebp + 0xc], 0x80070057
jmp 0x456f73
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
jmp 0x456f1c
xor eax, eax
inc eax
sub esi, 0x10
push eax
lea ecx, [esi + eax*2 + 0xe]
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp + 8]
push eax
mov dword [ebp + 8], ecx
call fcn.0043a54f
add esp, 0xc
test eax, eax
jle 0x456ec2
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x34]
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 + 8]
mov dword [ebp + 8], esi
call fcn.004041e7
cmp dword [ebp + 8], esi
je 0x456f56
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp + 8]
call fcn.00402ac9
cmp dword [ebp - 0x1c], esi
jne 0x456f73
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
jne 0x456f70
xor eax, eax
inc eax
mov dword [ebp + 0xc], eax
push dword [ebp - 4]
mov esi, dword [ebp + 0xc]
push esi
push dword [ebp - 0x20]
call fcn.00435ee3
add esp, 0xc
lea ecx, [ebp - 4]
call fcn.0042eb98
jmp 0x4570b4
lea eax, [ebp - 0x68]
push eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
cmp word [esi], 0
je 0x4570a1
push 4
pop edi
push 2
push esi
push 0x49738c
call fcn.0042fae7
add esp, 0xc
test al, al
je 0x456fc8
add esi, edi
or dword [ebp - 0x68], 0x20
jmp 0x456fe2
push 2
push esi
push 0x497388
call fcn.0042fae7
add esp, 0xc
test al, al
je 0x456fe2
add esi, edi
and dword [ebp - 0x68], 0xffffffdf
push 2
push esi
push 0x497384
call fcn.0042fae7
add esp, 0xc
test al, al
je 0x456ffe
add esi, edi
or dword [ebp - 0x68], 2
jmp 0x457018
push 2
push esi
push 0x497380
call fcn.0042fae7
add esp, 0xc
test al, al
je 0x457018
add esi, edi
and dword [ebp - 0x68], 0xfffffffd
push 2
push esi
push 0x49737c
call fcn.0042fae7
add esp, 0xc
test al, al
je 0x457034
add esi, edi
or dword [ebp - 0x68], 1
jmp 0x45704e
push 2
push esi
push 0x497378
call fcn.0042fae7
add esp, 0xc
test al, al
je 0x45704e
add esi, edi
and dword [ebp - 0x68], 0xfffffffe
push 2
push esi
push 0x497374
call fcn.0042fae7
add esp, 0xc
test al, al
je 0x457069
add esi, edi
or dword [ebp - 0x68], edi
jmp 0x457087
push 2
push esi
push 0x497370
call fcn.0042fae7
add esp, 0xc
test al, al
je 0x457085
add esi, edi
and dword [ebp - 0x68], 0xfffffffb
jmp 0x457087
inc esi
inc esi
lea eax, [ebp + 8]
push eax
mov dword [ebp + 8], esi
call fcn.0042ebab
mov esi, dword [ebp + 8]
cmp word [esi], 0
pop ecx
jne 0x456fac
push dword [ebp - 0x68]
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor esi, esi
jmp 0x4570b4
mov esi, 0x80070057
lea ecx, [ebp - 8]
call fcn.0042eb98
lea ecx, [ebp - 0xc]
call fcn.0042eb98
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8