Function at 0x45a242
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.0040459d
mov eax, dword [ebp + 8]
cmp word [eax], 0x3f
pop ecx
jne 0x45a274
mov ecx, dword [ebp - 0x20]
push 2
push dword [ebp + 0xc]
add eax, 2
push eax
call fcn.0044f1f6
jmp 0x45a644
push ebx
push esi
lea eax, [ebp + 8]
push edi
push eax
call fcn.00430961
pop ecx
lea ecx, [ebp - 0xc]
call fcn.00435d62
lea ecx, [ebp - 8]
call fcn.00435d62
push 0x2c
pop edi
push edi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp + 8]
push eax
call fcn.004386e6
push dword [ebp - 0xc]
call fcn.0040eec0
mov ebx, eax
mov eax, dword [ebp + 8]
add esp, 0x10
cmp word [eax], di
jne 0x45a2cc
add dword [ebp + 8], 2
push edi
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 8]
push eax
call fcn.004386e6
add esp, 0xc
cmp word [ebx], 0
je 0x45a62a
mov esi, dword [ebp - 8]
cmp word [esi], 0
je 0x45a62a
push 6
push ebx
push 0x49ca58
call dword [sym.imp.SHLWAPI.DLL_StrCmpNIW]
test eax, eax
jne 0x45a50d
and dword [ebp - 0x1c], eax
and dword [ebp + 0xc], eax
push esi
call fcn.0040eec0
pop ecx
lea ecx, [ebp - 4]
mov dword [ebp - 0x24], eax
call fcn.00435d62
mov eax, dword [ebp + 8]
cmp word [eax], di
jne 0x45a32e
add dword [ebp + 8], 2
push edi
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 8]
push eax
call fcn.004386e6
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 0x45a3be
cmp ax, 0x3a
jne 0x45a497
inc esi
inc esi
mov ax, word [esi]
or ax, 0x20
cmp ax, 0x63
mov dword [ebp + 8], esi
je 0x45a38d
cmp ax, 0x72
jne 0x45a392
inc esi
inc esi
mov dword [ebp + 8], esi
cmp ax, 0x63
jne 0x45a3a0
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x18], eax
jmp 0x45a3b1
cmp ax, 0x72
lea eax, [ebp - 0x2c]
jne 0x45a3ae
mov dword [ebp - 0x14], eax
jmp 0x45a3b1
mov dword [ebp - 0x10], eax
lea eax, [ebp + 8]
push eax
call fcn.00430961
mov esi, dword [ebp + 8]
pop ecx
push 8
push esi
push 0x49ca4c
call fcn.004318b1
add esp, 0xc
test al, al
je 0x45a3da
xor eax, eax
inc eax
jmp 0x45a45f
push 7
push esi
push 0x49ca44
call fcn.004318b1
add esp, 0xc
test al, al
je 0x45a3f2
xor eax, eax
jmp 0x45a45f
push 6
push esi
push 0x49ca3c
call fcn.004318b1
add esp, 0xc
test al, al
je 0x45a40b
xor eax, eax
inc eax
jmp 0x45a421
push 5
push esi
push 0x49ca34
call fcn.004318b1
add esp, 0xc
test al, al
je 0x45a459
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.0043caf1
add esp, 0xc
test eax, eax
jg 0x45a449
mov dword [ebp + 0xc], 0x80070057
jmp 0x45a4ee
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.DLL_SystemTimeToFileTime]
jmp 0x45a497
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.0043caf1
add esp, 0xc
test eax, eax
jle 0x45a43d
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.004045f9
cmp dword [ebp + 8], esi
je 0x45a4d1
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.00402b27
cmp dword [ebp - 0x1c], esi
jne 0x45a4ee
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, esi
jne 0x45a4eb
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.004380d1
add esp, 0xc
lea ecx, [ebp - 4]
call fcn.0043092f
jmp 0x45a62f
lea eax, [ebp - 0x68]
push eax
push 0
push ebx
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesExW]
cmp word [esi], 0
je 0x45a61c
push 4
pop edi
push 2
push esi
push 0x49ca30
call fcn.004318b1
add esp, 0xc
test al, al
je 0x45a543
add esi, edi
or dword [ebp - 0x68], 0x20
jmp 0x45a55d
push 2
push esi
push 0x49ca2c
call fcn.004318b1
add esp, 0xc
test al, al
je 0x45a55d
add esi, edi
and dword [ebp - 0x68], 0xffffffdf
push 2
push esi
push 0x49ca28
call fcn.004318b1
add esp, 0xc
test al, al
je 0x45a579
add esi, edi
or dword [ebp - 0x68], 2
jmp 0x45a593
push 2
push esi
push 0x49ca24
call fcn.004318b1
add esp, 0xc
test al, al
je 0x45a593
add esi, edi
and dword [ebp - 0x68], 0xfffffffd
push 2
push esi
push 0x49ca20
call fcn.004318b1
add esp, 0xc
test al, al
je 0x45a5af
add esi, edi
or dword [ebp - 0x68], 1
jmp 0x45a5c9
push 2
push esi
push 0x49ca1c
call fcn.004318b1
add esp, 0xc
test al, al
je 0x45a5c9
add esi, edi
and dword [ebp - 0x68], 0xfffffffe
push 2
push esi
push 0x49ca18
call fcn.004318b1
add esp, 0xc
test al, al
je 0x45a5e4
add esi, edi
or dword [ebp - 0x68], edi
jmp 0x45a602
push 2
push esi
push 0x49ca14
call fcn.004318b1
add esp, 0xc
test al, al
je 0x45a600
add esi, edi
and dword [ebp - 0x68], 0xfffffffb
jmp 0x45a602
inc esi
inc esi
lea eax, [ebp + 8]
push eax
mov dword [ebp + 8], esi
call fcn.00430961
mov esi, dword [ebp + 8]
cmp word [esi], 0
pop ecx
jne 0x45a527
push dword [ebp - 0x68]
push ebx
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
xor esi, esi
jmp 0x45a62f
mov esi, 0x80070057
lea ecx, [ebp - 8]
call fcn.0043092f
lea ecx, [ebp - 0xc]
call fcn.0043092f
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8