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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
cmp dword [ebp + 0xc], 1
jne 0x41fdd2
call fcn.0040c919
push 0x400
push 0xfffffff8
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetWindowLongA]
nop
nop
nop
nop
push dword [ebp + 8]
call fcn.004072c4
mov dword [0x712e47], 0x320
mov dword [0x712e4b], 0x152
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
push 0x10
call fcn.004740eb
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
push 0
lea eax, [ebp - 8]
push eax
push 1
push 0
push 1
push 0
push 1
push 1
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
push 1
push 1
push 1
push 1
push 1
push 0
push 1
push 0xdc
push 1
push 0
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
mov dword [ebp - 0x14], 0
push 0
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
push 0x712e4f
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x34]
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x41fb92
push ebx
call fcn.004740f1
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
call fcn.004740f1
add esp, 4
fild dword [0x712e47]
fstp qword [ebp - 8]
fld qword [ebp - 8]
fsub qword [0x513702]
fstp qword [ebp - 0x10]
fild dword [0x712e4b]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fsub qword [0x513702]
fstp qword [ebp - 0x20]
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
push 0x10
call fcn.004740eb
add esp, 4
mov dword [ebp - 0x2c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
push 0
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
mov eax, 0x6ab06d
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push eax
fld qword [ebp - 0x20]
call fcn.00401055
push eax
fld qword [ebp - 0x10]
call fcn.00401055
push eax
push 5
push 5
push dword [ebp + 8]
push 0x712e53
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xa4]
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x41fc90
push ebx
call fcn.004740f1
add esp, 4
mov ebx, dword [ebp - 0x2c]
push ebx
call fcn.004740f1
add esp, 4
push 0x420586
push dword [ebp + 8]
push 0x712e57
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xa4]
push 0x4205c2
mov eax, str.Sleep
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
mov eax, str.kernel32.dll
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 0x712c8f
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41fcf2
push ebx
call fcn.004740f1
add esp, 4
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41fd02
push ebx
call fcn.004740f1
add esp, 4
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
push 4
push 0x712e4f
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x54]
push 4
push 0x712e4f
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x58]
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [0x712e5b], eax
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [ebp - 0xc], eax
fild dword [ebp - 0xc]
fstp qword [ebp - 0xc]
fld qword [ebp - 0xc]
fild dword [0x712e5b]
fstp qword [ebp - 0x14]
fsub qword [ebp - 0x14]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fsub qword [0x70b061]
fcomp qword [0x512457]
fnstsw ax
test ah, 1
je 0x41fdb6
add dword [0x712e5f], 4
push 0x712e57
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x34]
push 3
call fcn.00416c4b
jmp 0x41fd4d
push 0
push 0
push 0x10
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_PostMessageA]
nop
nop
nop
nop
cmp dword [ebp + 0xc], 0x10
jne 0x41fdeb
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
nop
nop
nop
nop
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_DefWindowProcA]
nop
nop
nop
nop
jmp 0x41fe06
mov esp, ebp
pop ebp
ret 0x10