Function at 0x48cf42
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.00408ddd
mov eax, dword [ebp + 8]
cmp word [eax], 0x3f
pop ecx
jne 0x48cf9b
and dword [ebp - 8], 0
push 1
push 0
lea ecx, [ebp - 8]
push ecx
push eax
mov ecx, edi
call fcn.00454bdd
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.0048bb0b
lea ecx, [ebp - 8]
mov esi, eax
call fcn.0043db4f
jmp 0x48d3ea
lea eax, [ebp + 8]
push ebx
push eax
call fcn.0043dae7
pop ecx
lea ecx, [ebp - 0x10]
call fcn.00443f5b
lea ecx, [ebp - 4]
call fcn.00443f5b
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.00438c4b
mov ebx, dword [ebp - 0x10]
mov dword [ebp + 8], eax
cmp word [eax], si
jne 0x48cff0
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.00438c4b
mov dword [ebp + 8], eax
xor edi, edi
cmp word [ebx], di
je 0x48d3d4
mov eax, dword [ebp - 4]
cmp word [eax], di
je 0x48d3d4
push 6
push ebx
push str.touch
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x48d28c
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.00443f5b
mov eax, dword [ebp + 8]
cmp word [eax], si
jne 0x48d051
add dword [ebp + 8], 2
push esi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00446d58
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 0x48d09f
cmp ax, 0x2a
lea edi, [ebp - 0x2c]
je 0x48d0eb
jmp 0x48d218
inc esi
inc esi
mov dword [ebp + 8], esi
mov ax, word [esi]
or ax, 0x20
cmp ax, 0x63
je 0x48d0b7
cmp ax, 0x72
jne 0x48d0bc
inc esi
inc esi
mov dword [ebp + 8], esi
cmp ax, 0x63
jne 0x48d0ca
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x18], eax
jmp 0x48d0db
cmp ax, 0x72
lea eax, [ebp - 0x2c]
jne 0x48d0d8
mov dword [ebp - 0x14], eax
jmp 0x48d0db
mov dword [ebp + 0xc], eax
lea eax, [ebp + 8]
push eax
call fcn.0043dae7
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
pop ecx
push 5
push esi
push str.utc:
call fcn.0043eeea
add esp, 0xc
test al, al
je 0x48d139
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.004404cb
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 0x48d218
push 8
push esi
push str.local0:
call fcn.0043eeea
add esp, 0xc
test al, al
je 0x48d155
xor eax, eax
inc eax
jmp 0x48d1e0
push 7
push esi
push str.local:
call fcn.0043eeea
add esp, 0xc
test al, al
je 0x48d16d
xor eax, eax
jmp 0x48d1e0
push 6
push esi
push str.sys0:
call fcn.0043eeea
add esp, 0xc
test al, al
je 0x48d186
xor eax, eax
inc eax
jmp 0x48d19c
push 5
push esi
push str.sys:
call fcn.0043eeea
add esp, 0xc
test al, al
je 0x48d1d4
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.0044ab09
add esp, 0xc
test eax, eax
jg 0x48d1c4
mov dword [ebp - 8], 0x80070057
jmp 0x48d26d
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
jmp 0x48d218
cmp word [esi], 0
je 0x48d218
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.0044ab09
add esp, 0xc
test eax, eax
jle 0x48d1b8
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 pe_nt_image_headers32
push dword [ebp - 0x20]
lea ecx, [ebp + 0xc]
mov dword [ebp + 0xc], esi
call fcn.0040569f
cmp dword [ebp + 0xc], esi
je 0x48d250
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.00402cb5
cmp dword [ebp - 0x1c], esi
jne 0x48d26d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
jne 0x48d26a
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.004465af
add esp, 0xc
lea ecx, [ebp - 0xc]
call fcn.0043db4f
jmp 0x48d3d9
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 0x48d3b1
push 4
pop esi
push 2
pop edi
push edi
push dword [ebp + 8]
push 0x4c84c4
call fcn.0043eeea
add esp, 0xc
test al, al
je 0x48d2cb
add dword [ebp + 8], esi
or dword [ebp - 0x70], 0x20
jmp 0x48d2e7
push edi
push dword [ebp + 8]
push 0x4c84c0
call fcn.0043eeea
add esp, 0xc
test al, al
je 0x48d2e7
add dword [ebp + 8], esi
and dword [ebp - 0x70], 0xffffffdf
push edi
push dword [ebp + 8]
push 0x4c84bc
call fcn.0043eeea
add esp, 0xc
test al, al
je 0x48d304
add dword [ebp + 8], esi
or dword [ebp - 0x70], edi
jmp 0x48d320
push edi
push dword [ebp + 8]
push 0x4c84b8
call fcn.0043eeea
add esp, 0xc
test al, al
je 0x48d320
add dword [ebp + 8], esi
and dword [ebp - 0x70], 0xfffffffd
push edi
push dword [ebp + 8]
push 0x4c84b4
call fcn.0043eeea
add esp, 0xc
test al, al
je 0x48d33e
add dword [ebp + 8], esi
or dword [ebp - 0x70], 1
jmp 0x48d35a
push edi
push dword [ebp + 8]
push 0x4c84b0
call fcn.0043eeea
add esp, 0xc
test al, al
je 0x48d35a
add dword [ebp + 8], esi
and dword [ebp - 0x70], 0xfffffffe
push edi
push dword [ebp + 8]
push 0x4c84ac
call fcn.0043eeea
add esp, 0xc
test al, al
je 0x48d377
add dword [ebp + 8], esi
or dword [ebp - 0x70], esi
jmp 0x48d398
push edi
push dword [ebp + 8]
push 0x4c84a8
call fcn.0043eeea
add esp, 0xc
test al, al
je 0x48d395
add dword [ebp + 8], esi
and dword [ebp - 0x70], 0xfffffffb
jmp 0x48d398
add dword [ebp + 8], edi
lea eax, [ebp + 8]
push eax
call fcn.0043dae7
mov eax, dword [ebp + 8]
cmp word [eax], 0
pop ecx
jne 0x48d2aa
xor edi, edi
push dword [ebp - 0x70]
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x48d3c3
xor eax, eax
jmp 0x48d3d0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jne 0x48d3d0
xor eax, eax
inc eax
mov esi, eax
jmp 0x48d3d9
mov esi, 0x80070057
lea ecx, [ebp - 4]
call fcn.0043db4f
lea ecx, [ebp - 0x10]
call fcn.0043db4f
pop ebx
pop edi
mov eax, esi
pop esi
leave
ret 8