Function at 0x460896
Capabilities:
Set file attributes
Timestomp file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
push esi
push edi
lea eax, [ebp + 8]
mov edi, ecx
push eax
mov dword [ebp - 0x24], edi
call fcn.00405196
mov eax, dword [ebp + 8]
cmp word [eax], 0x3f
pop ecx
jne 0x4608ef
and dword [ebp - 8], 0
push 1
push 0
lea ecx, [ebp - 8]
push ecx
push eax
mov ecx, edi
call fcn.0044c8eb
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.004549dc
lea ecx, [ebp - 8]
mov esi, eax
call fcn.00437e1a
jmp 0x460d29
lea eax, [ebp + 8]
push ebx
push eax
call fcn.00437e65
pop ecx
lea ecx, [ebp - 0x10]
call fcn.0043dd7e
lea ecx, [ebp - 4]
call fcn.0043dd7e
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.0043359b
mov ebx, dword [ebp - 0x10]
mov dword [ebp + 8], eax
cmp word [eax], si
jne 0x460944
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.0043359b
mov dword [ebp + 8], eax
xor edi, edi
cmp word [ebx], di
je 0x460d13
mov eax, dword [ebp - 4]
cmp word [eax], di
je 0x460d13
push 6
push ebx
push str.touch
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x460be0
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0xc]
add ebx, 0xc
mov dword [ebp - 0x1c], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0x20], eax
call fcn.0043dd7e
mov eax, dword [ebp + 8]
cmp word [eax], si
jne 0x4609a5
add dword [ebp + 8], 2
push esi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp + 8]
push eax
call fcn.004408ab
add esp, 0xc
mov dword [ebp - 0x2c], edi
xor eax, eax
xor ecx, ecx
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
mov dword [ebp - 0x3c], ecx
lea edi, [ebp - 0x38]
stosd dword es:[edi], eax
mov word [ebp - 0x4c], cx
lea edi, [ebp - 0x4a]
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 + 0xc], ecx
mov dword [ebp + 8], ebx
call dword [sym.imp.KERNEL32.DLL_GetSystemTimeAsFileTime]
mov esi, dword [ebp + 8]
mov ax, word [esi]
cmp ax, 0x3a
je 0x4609f3
cmp ax, 0x2a
lea edi, [ebp - 0x2c]
je 0x460a3f
jmp 0x460b6c
inc esi
inc esi
mov dword [ebp + 8], esi
mov ax, word [esi]
or ax, 0x20
cmp ax, 0x63
je 0x460a0b
cmp ax, 0x72
jne 0x460a10
inc esi
inc esi
mov dword [ebp + 8], esi
cmp ax, 0x63
jne 0x460a1e
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x18], eax
jmp 0x460a2f
cmp ax, 0x72
lea eax, [ebp - 0x2c]
jne 0x460a2c
mov dword [ebp - 0x14], eax
jmp 0x460a2f
mov dword [ebp + 0xc], eax
lea eax, [ebp + 8]
push eax
call fcn.00437e65
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
pop ecx
push 5
push esi
push str.utc:
call fcn.0043917b
add esp, 0xc
test al, al
je 0x460a8d
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
xor eax, eax
or eax, edx
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
xor ebx, ebx
lea eax, [ebp + 8]
or ecx, ebx
add esi, 0xa
push eax
mov dword [ebp - 0x30], ecx
mov dword [ebp + 8], esi
call fcn.0043a760
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x30]
pop ecx
pop ecx
mov dword [ebp - 0x28], eax
jmp 0x460b6c
push 8
push esi
push str.local0:
call fcn.0043917b
add esp, 0xc
test al, al
je 0x460aa9
xor eax, eax
inc eax
jmp 0x460b34
push 7
push esi
push str.local:
call fcn.0043917b
add esp, 0xc
test al, al
je 0x460ac1
xor eax, eax
jmp 0x460b34
push 6
push esi
push str.sys0:
call fcn.0043917b
add esp, 0xc
test al, al
je 0x460ada
xor eax, eax
inc eax
jmp 0x460af0
push 5
push esi
push str.sys:
call fcn.0043917b
add esp, 0xc
test al, al
je 0x460b28
xor eax, eax
push eax
lea ecx, [esi + eax*2 + 0xa]
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp + 8]
push eax
mov dword [ebp + 8], ecx
call fcn.00444102
add esp, 0xc
test eax, eax
jg 0x460b18
mov dword [ebp - 8], 0x80070057
jmp 0x460bc1
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.DLL_SystemTimeToFileTime]
jmp 0x460b6c
cmp word [esi], 0
je 0x460b6c
xor eax, eax
inc eax
sub esi, 0x10
push eax
lea ecx, [esi + eax*2 + 0xe]
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp + 8]
push eax
mov dword [ebp + 8], ecx
call fcn.00444102
add esp, 0xc
test eax, eax
jle 0x460b0c
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.DLL_SystemTimeToFileTime]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x3c]
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 - 0x20]
lea ecx, [ebp + 0xc]
mov dword [ebp + 0xc], esi
call fcn.004051d2
cmp dword [ebp + 0xc], esi
je 0x460ba4
push edi
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_SetFileTime]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp + 0xc]
call fcn.00402b5a
cmp dword [ebp - 0x1c], esi
jne 0x460bc1
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, esi
jne 0x460bbe
xor eax, eax
inc eax
mov dword [ebp - 8], eax
push dword [ebp - 0xc]
mov esi, dword [ebp - 8]
push esi
push dword [ebp - 0x24]
call fcn.00440266
add esp, 0xc
lea ecx, [ebp - 0xc]
call fcn.00437e1a
jmp 0x460d18
lea eax, [ebp - 0x70]
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 0x460d05
push 4
pop esi
push 2
pop edi
push edi
push dword [ebp + 8]
push 0x4afe4c
call fcn.0043917b
add esp, 0xc
test al, al
je 0x460c1f
add dword [ebp + 8], esi
or dword [ebp - 0x70], 0x20
jmp 0x460c3b
push edi
push dword [ebp + 8]
push 0x4afe48
call fcn.0043917b
add esp, 0xc
test al, al
je 0x460c3b
add dword [ebp + 8], esi
and dword [ebp - 0x70], 0xffffffdf
push edi
push dword [ebp + 8]
push 0x4afe44
call fcn.0043917b
add esp, 0xc
test al, al
je 0x460c58
add dword [ebp + 8], esi
or dword [ebp - 0x70], edi
jmp 0x460c74
push edi
push dword [ebp + 8]
push 0x4afe40
call fcn.0043917b
add esp, 0xc
test al, al
je 0x460c74
add dword [ebp + 8], esi
and dword [ebp - 0x70], 0xfffffffd
push edi
push dword [ebp + 8]
push 0x4afe3c
call fcn.0043917b
add esp, 0xc
test al, al
je 0x460c92
add dword [ebp + 8], esi
or dword [ebp - 0x70], 1
jmp 0x460cae
push edi
push dword [ebp + 8]
push 0x4afe38
call fcn.0043917b
add esp, 0xc
test al, al
je 0x460cae
add dword [ebp + 8], esi
and dword [ebp - 0x70], 0xfffffffe
push edi
push dword [ebp + 8]
push 0x4afe34
call fcn.0043917b
add esp, 0xc
test al, al
je 0x460ccb
add dword [ebp + 8], esi
or dword [ebp - 0x70], esi
jmp 0x460cec
push edi
push dword [ebp + 8]
push 0x4afe30
call fcn.0043917b
add esp, 0xc
test al, al
je 0x460ce9
add dword [ebp + 8], esi
and dword [ebp - 0x70], 0xfffffffb
jmp 0x460cec
add dword [ebp + 8], edi
lea eax, [ebp + 8]
push eax
call fcn.00437e65
mov eax, dword [ebp + 8]
cmp word [eax], 0
pop ecx
jne 0x460bfe
xor edi, edi
push dword [ebp - 0x70]
push ebx
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
xor esi, esi
jmp 0x460d18
mov esi, 0x80070057
lea ecx, [ebp - 4]
call fcn.00437e1a
lea ecx, [ebp - 0x10]
call fcn.00437e1a
pop ebx
pop edi
mov eax, esi
pop esi
leave
ret 8