Function at 0x4012d0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40b352
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x570
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ebx
call fcn.004031b0
mov ecx, 8
xor eax, eax
lea edi, [ebp - 0x53]
mov byte [ebp - 0x54], 0
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [ebp - 0x17b]
mov byte [ebp - 0x17c], al
mov esi, dword [sym.imp.KERNEL32.dll_ResetEvent]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 8
xor eax, eax
lea edi, [ebp - 0x77]
mov byte [ebp - 0x78], 0
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x3c]
push eax
call esi
mov ecx, dword [ebx + 0x38]
push ecx
call esi
push 0
call fcn.00405991
add esp, 4
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x18], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
sub ebx, 0xa4cb800
mov dword [ebp - 0x24], ebx
mov esi, dword [ebp - 0x20]
neg esi
sbb esi, esi
and esi, 0x83d60
add esi, 0xea60
call fcn.004031b0
mov eax, 0x10624dd3
imul esi
sar edx, 6
mov eax, edx
xor esi, esi
shr eax, 0x1f
add edx, eax
mov edi, edx
test edi, edi
jle 0x401400
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x3c]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
mov dword [ebp - 0x2c], eax
jne 0x4013d8
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, edi
jl 0x4013a9
cmp dword [ebp - 0x2c], 0x102
je 0x401400
call fcn.004031b0
call fcn.004031b0
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x20]
xor eax, eax
cmp ecx, eax
mov dword [ebp - 4], eax
je 0x40140f
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x18]
push 0xffffffffffffffff
push ecx
push 0x40e040
push str.SoftwareWinsManager
push 0x80000002
call fcn.00402f60
mov eax, dword [ebp - 0x18]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esp, 0x14
cmp eax, 0xffffffff
jne 0x401460
call edi
xor edx, edx
mov ecx, 0x5460
div ecx
push edx
push str.ts_shift2
push str.SoftwareWinsManager
push 0x80000002
mov dword [ebp - 0x18], edx
call fcn.00402e40
add esp, 0x10
push 0
call fcn.00405991
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x30]
add eax, ecx
push edx
mov dword [ebp - 0x30], eax
call fcn.00405831
push eax
push str._Y__m__d
lea eax, [ebp - 0x54]
push 0x64
push eax
call fcn.00404f8a
add esp, 0x18
xor esi, esi
call edi
sub eax, ebx
cmp eax, 0x36ee80
jb 0x40149e
mov esi, 1
call edi
call fcn.004031b0
test esi, esi
jne 0x4014b5
mov dword [ebp - 4], 0xffffffff
jmp 0x40136f
call edi
lea ecx, [ebp - 0x78]
push 0x21
push ecx
push 0x40e064
mov ebx, eax
push str.SoftwareWinsManagerStatus
push 0x80000002
mov dword [ebp - 0x24], ebx
call fcn.00402fb0
add esp, 0x14
lea edx, [ebp - 0x78]
lea eax, [ebp - 0x54]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x401566
lea ecx, [ebp - 0x54]
push ecx
push str.drlast
push str.SoftwareWinsManagerStatus
push 0x80000002
call fcn.00402ec0
add esp, 0x10
lea edx, [ebp - 0x54]
lea eax, [ebp - 0x78]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x57b]
mov byte [ebp - 0x57c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.drwinlog
lea ecx, [ebp - 0x57c]
push str.f956a7f40f55a63b8fcde983c61c72bd0260a4fb4aa8b53b98e7fa8ee22c828f157181145db6d647a9f3188ede3183d5f173c4e43b86092a7ccd4d70c51295b63759a8fc7a9f1d6abfe260b0d35474c017
push ecx
stosb byte es:[edi], al
call fcn.00402000
mov esi, dword [ebp - 0x14]
add esp, 0xc
lea eax, [ebp - 0x57c]
lea edx, [esi + 0x44]
push edx
push 0x7530
push eax
call fcn.00402b60
add esp, 0xc
mov byte [ebp - 0x19], al
jmp 0x401569
mov esi, dword [ebp - 0x14]
mov ecx, esi
call fcn.00401990
test eax, eax
jne 0x4015b7
lea ecx, [ebp - 0x17c]
push ecx
call fcn.00403200
add esp, 4
lea edx, [ebp - 0x17c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x4015b7
lea eax, [ebp - 0x17c]
mov ecx, esi
push eax
call fcn.004015d0
mov dword [ebp - 4], 0xffffffff
jmp 0x40136f
mov dword [ebp - 4], 0xffffffff
jmp 0x40136f