Function at 0x45ebd8
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.00407fcf
mov eax, dword [ebp + 8]
cmp word [eax], 0x3f
pop ecx
jne 0x45ec31
and dword [ebp - 8], 0
push 1
push 0
lea ecx, [ebp - 8]
push ecx
push eax
mov ecx, edi
call fcn.0044c04c
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.00453fd1
lea ecx, [ebp - 8]
mov esi, eax
call fcn.00437884
jmp 0x45f066
lea eax, [ebp + 8]
push ebx
push eax
call fcn.004378b6
pop ecx
lea ecx, [ebp - 0x10]
call fcn.0043d3a5
lea ecx, [ebp - 4]
call fcn.0043d3a5
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.00432fb5
mov ebx, dword [ebp - 0x10]
mov dword [ebp + 8], eax
cmp word [eax], si
jne 0x45ec86
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.00432fb5
mov dword [ebp + 8], eax
xor edi, edi
cmp word [ebx], di
je 0x45f050
mov eax, dword [ebp - 4]
cmp word [eax], di
je 0x45f050
push 6
push ebx
push str.touch
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x45ef1d
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.0043d3a5
mov eax, dword [ebp + 8]
cmp word [eax], si
jne 0x45ece4
add dword [ebp + 8], 2
push esi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0043fd51
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 0x45ed7a
cmp ax, 0x3a
jne 0x45eea7
inc esi
inc esi
mov dword [ebp + 8], esi
mov ax, word [esi]
or ax, 0x20
cmp ax, 0x63
je 0x45ed49
cmp ax, 0x72
jne 0x45ed4e
inc esi
inc esi
mov dword [ebp + 8], esi
cmp ax, 0x63
jne 0x45ed5c
lea eax, [ebp - 0x30]
mov dword [ebp - 0x1c], eax
jmp 0x45ed6d
cmp ax, 0x72
lea eax, [ebp - 0x30]
jne 0x45ed6a
mov dword [ebp - 0x18], eax
jmp 0x45ed6d
mov dword [ebp - 0x14], eax
lea eax, [ebp + 8]
push eax
call fcn.004378b6
mov esi, dword [ebp + 8]
pop ecx
push 5
push esi
push str.utc:
call fcn.00438aa1
add esp, 0xc
test al, al
je 0x45edc8
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.00439fd3
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 0x45eea7
push 8
push esi
push str.local0:
call fcn.00438aa1
add esp, 0xc
test al, al
je 0x45ede4
xor eax, eax
inc eax
jmp 0x45ee6f
push 7
push esi
push str.local:
call fcn.00438aa1
add esp, 0xc
test al, al
je 0x45edfc
xor eax, eax
jmp 0x45ee6f
push 6
push esi
push str.sys0:
call fcn.00438aa1
add esp, 0xc
test al, al
je 0x45ee15
xor eax, eax
inc eax
jmp 0x45ee2b
push 5
push esi
push str.sys:
call fcn.00438aa1
add esp, 0xc
test al, al
je 0x45ee63
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.0044342e
add esp, 0xc
test eax, eax
jg 0x45ee53
mov dword [ebp - 8], 0x80070057
jmp 0x45eefe
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.DLL_SystemTimeToFileTime]
jmp 0x45eea7
cmp word [esi], 0
je 0x45eea7
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.0044342e
add esp, 0xc
test eax, eax
jle 0x45ee47
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 pe_nt_image_headers32
push dword [ebp - 0x24]
lea ecx, [ebp + 0xc]
mov dword [ebp + 0xc], esi
call fcn.004050ca
cmp dword [ebp + 0xc], esi
je 0x45eee1
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.00402b8a
cmp dword [ebp - 0x20], esi
jne 0x45eefe
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, esi
jne 0x45eefb
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.0043f71c
add esp, 0xc
lea ecx, [ebp - 0xc]
call fcn.00437884
jmp 0x45f055
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 0x45f042
push 4
pop esi
push 2
pop edi
push edi
push dword [ebp + 8]
push 0x4ad3f4
call fcn.00438aa1
add esp, 0xc
test al, al
je 0x45ef5c
add dword [ebp + 8], esi
or dword [ebp - 0x74], 0x20
jmp 0x45ef78
push edi
push dword [ebp + 8]
push 0x4ad3f0
call fcn.00438aa1
add esp, 0xc
test al, al
je 0x45ef78
add dword [ebp + 8], esi
and dword [ebp - 0x74], 0xffffffdf
push edi
push dword [ebp + 8]
push 0x4ad3ec
call fcn.00438aa1
add esp, 0xc
test al, al
je 0x45ef95
add dword [ebp + 8], esi
or dword [ebp - 0x74], edi
jmp 0x45efb1
push edi
push dword [ebp + 8]
push 0x4ad3e8
call fcn.00438aa1
add esp, 0xc
test al, al
je 0x45efb1
add dword [ebp + 8], esi
and dword [ebp - 0x74], 0xfffffffd
push edi
push dword [ebp + 8]
push 0x4ad3e4
call fcn.00438aa1
add esp, 0xc
test al, al
je 0x45efcf
add dword [ebp + 8], esi
or dword [ebp - 0x74], 1
jmp 0x45efeb
push edi
push dword [ebp + 8]
push 0x4ad3e0
call fcn.00438aa1
add esp, 0xc
test al, al
je 0x45efeb
add dword [ebp + 8], esi
and dword [ebp - 0x74], 0xfffffffe
push edi
push dword [ebp + 8]
push 0x4ad3dc
call fcn.00438aa1
add esp, 0xc
test al, al
je 0x45f008
add dword [ebp + 8], esi
or dword [ebp - 0x74], esi
jmp 0x45f029
push edi
push dword [ebp + 8]
push 0x4ad3d8
call fcn.00438aa1
add esp, 0xc
test al, al
je 0x45f026
add dword [ebp + 8], esi
and dword [ebp - 0x74], 0xfffffffb
jmp 0x45f029
add dword [ebp + 8], edi
lea eax, [ebp + 8]
push eax
call fcn.004378b6
mov eax, dword [ebp + 8]
cmp word [eax], 0
pop ecx
jne 0x45ef3b
xor edi, edi
push dword [ebp - 0x74]
push ebx
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
xor esi, esi
jmp 0x45f055
mov esi, 0x80070057
lea ecx, [ebp - 4]
call fcn.00437884
lea ecx, [ebp - 0x10]
call fcn.00437884
pop ebx
pop edi
mov eax, esi
pop esi
leave
ret 8