Function at 0x40bc40
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
sub esp, 0x320
mov eax, dword [0x446050]
xor eax, esp
mov dword [esp + 0x31c], eax
cmp byte [esp + 0x324], 0
push ebx
push ebp
push esi
push edi
jne 0x40bc98
push 0x448c60
mov esi, str..url
call fcn.0040b400
add esp, 4
push 0x448b58
call fcn.0040b400
add esp, 4
push 0x448b58
mov esi, str..lnk
call fcn.0040b400
add esp, 4
jmp 0x40bf08
push str.mailto:techsupport_greyware.com_subjectCustomer_Question
mov ecx, str.Support
call fcn.0040b610
add esp, 4
push str.https:__www.greyware.com_software_domaintime_productindex.asp
mov ecx, str.Documentation
call fcn.0040b610
add esp, 4
push str.https:__www.greyware.com_download_
mov ecx, str.Upgrade
call fcn.0040b610
add esp, 4
push 0x449080
lea eax, [esp + 0x224]
push str._scontrol.exe
push eax
call fcn.0041fa79
add esp, 0xc
push str.Control_Panel_Applet
push 0x448b58
lea ecx, [esp + 0x120]
push str._s_s.lnk
push ecx
call fcn.0041fa79
push str.domtimec.cpl
push 0x449080
lea edx, [esp + 0x28]
push 0x436a34
push edx
call fcn.0041fa79
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
add esp, 0x20
lea eax, [esp + 0x10]
push eax
call edi
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40bd7e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jne 0x40bd4a
test bl, 0x10
je 0x40bd4a
mov esi, 2
mov ebp, dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
call ebp
test esi, esi
jne 0x40bd82
push 0x80
lea ecx, [esp + 0x11c]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 1
lea edx, [esp + 0x11c]
push edx
lea eax, [esp + 0x228]
push eax
jmp 0x40bdee
xor esi, esi
jmp 0x40bd40
push str.domtimes.cpl
push 0x449080
lea ecx, [esp + 0x18]
push 0x436a34
push ecx
call fcn.0041fa79
add esp, 0x10
lea edx, [esp + 0x10]
push edx
call edi
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40be03
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jne 0x40bdc2
test bl, 0x10
je 0x40bdc2
mov esi, 2
push esi
call ebp
push 0x80
lea eax, [esp + 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [esp + 0x118]
test esi, esi
jne 0x40be07
push 1
push ecx
lea edx, [esp + 0x228]
push edx
lea edx, [esp + 0x1c]
mov edi, edx
mov ecx, str.Control_Panel_Applet
call fcn.0040b920
add esp, 0xc
jmp 0x40be0e
xor esi, esi
jmp 0x40bdb8
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push 0x438b18
push str.faq.txt
mov ecx, 0x448b58
call fcn.0040bb30
add esp, 0xc
push 0
push 0x438b1c
push str.license.txt
mov ecx, 0x448b58
call fcn.0040bb30
add esp, 0xc
push 0
push str.LMCheck
push str.lmcheck.exe
mov ecx, 0x448b58
call fcn.0040bb30
add esp, 0xc
push 0
push str.Readme
push str.readme.txt
mov ecx, 0x448b58
call fcn.0040bb30
add esp, 0xc
push 0
push str.Register
push str.register.txt
mov ecx, 0x448b58
call fcn.0040bb30
add esp, 0xc
push 1
push 0x438b50
push 0x436154
mov ecx, 0x448b58
call fcn.0040bb30
add esp, 0xc
push 1
push str.Uninstall
push str.dtclean.exe
mov ecx, 0x448b58
call fcn.0040bb30
add esp, 0xc
push 0
push str.Version
push str.version.txt
mov ecx, 0x448b58
call fcn.0040bb30
add esp, 0xc
push 1
push str.Domain_Time_II_Manager
push str.dtman.exe
mov ecx, 0x448a50
call fcn.0040bb30
add esp, 0xc
push 1
push str.Manager
push str.dtman.exe
mov ecx, 0x448b58
call fcn.0040bb30
add esp, 0xc
mov ecx, dword [esp + 0x32c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0041f826
add esp, 0x320
ret