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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
push 0
mov ebx, 0x308
call sub.kernel32.dll_GetTickCount
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp + 0x20], 0
je 0x1006ef88
cmp dword [ebp + 0x1c], 0xffffffff
je 0x1006ef88
xor eax, eax
jmp 0x1006ef8d
mov eax, 1
test eax, eax
je 0x1006ef9f
mov eax, 0x1e13380
jmp 0x1006efa2
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 8], eax
push 0
mov ebx, 0x308
call sub.kernel32.dll_GetTickCount
add esp, 4
mov dword [ebp - 0x24], eax
fild dword [ebp - 0x24]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fild dword [ebp - 4]
fstp qword [ebp - 0x2c]
fsub qword [ebp - 0x2c]
fstp qword [ebp - 0x34]
fild dword [ebp - 8]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x34]
fsub qword [ebp - 0x3c]
fcomp qword [0x1024c9d2]
fnstsw ax
test ah, 1
je 0x1006f3bb
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.100d6710
add esp, 0x10
mov dword [ebp - 0x1c], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.100d6710
add esp, 0x10
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], esp
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push dword [ebp - 0xc]
push 0
call dword [0x1026d33f]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x1006f065
push 0x16b
push 0x401f780
push 6
call fcn.100d51b5
add esp, 0xc
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x1006f078
push ebx
call fcn.100d51af
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x1006f088
push ebx
call fcn.100d51af
add esp, 4
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], esp
push dword [ebp - 0xc]
call dword [0x1026d343]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x1006f0ba
push 0x19b
push 0x401f780
push 6
call fcn.100d51b5
add esp, 0xc
test eax, eax
je 0x1006f3a4
mov dword [ebp - 0x1c], esp
push dword [ebp - 0xc]
call dword [sym.imp.user32.dll_IsWindowVisible_1]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x1006f0ee
push 0x1ec
push 0x401f780
push 6
call fcn.100d51b5
add esp, 0xc
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x1006f10c
cmp dword [ebp + 0x24], 0
je 0x1006f10c
mov eax, 1
jmp 0x1006f111
mov eax, 0
test eax, eax
je 0x1006f11e
jmp 0x1006efa5
mov dword [ebp - 0x1c], esp
push dword [ebp - 0xc]
call dword [sym.imp.user32.dll_IsWindowVisible_1]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x1006f14a
push 0x260
push 0x401f780
push 6
call fcn.100d51b5
add esp, 0xc
test eax, eax
je 0x1006f3a4
push dword [ebp - 0xc]
call fcn.1006f3ed
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
cmp dword [ebp - 0x10], eax
jne 0x1006f3a4
push dword [ebp - 0xc]
call fcn.1006f46a
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x1006f188
push ebx
call fcn.100d51af
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push dword [ebp - 0xc]
call fcn.1006f520
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x1006f1ab
push ebx
call fcn.100d51af
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
cmp dword [ebp + 0x10], 0
jne 0x1006f1ca
cmp dword [ebp + 0x18], 0
jne 0x1006f1ca
mov eax, 1
jmp 0x1006f1cf
mov eax, 0
test eax, eax
je 0x1006f1e4
mov eax, dword [ebp - 0xc]
jmp 0x1006f3c5
cmp dword [ebp + 0x10], 0
jne 0x1006f256
push reloc.oleaut32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebx]
test eax, eax
jne 0x1006f215
mov eax, 0x101014b9
push eax
push VariantClear
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x1006f229
mov eax, 0x101014b9
push eax
push 4
mov ebx, 0x148
call fcn.100d5e50
add esp, 0x34
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
je 0x1006f251
mov eax, dword [ebp - 0xc]
jmp 0x1006f3c5
jmp 0x1006f39a
cmp dword [ebp + 0x18], 0
jne 0x1006f2c8
push reloc.oleaut32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x1006f287
mov eax, 0x101014b9
push eax
push VariantClear
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x1006f29b
mov eax, 0x101014b9
push eax
push 4
mov ebx, 0x148
call fcn.100d5e50
add esp, 0x34
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
je 0x1006f2c3
mov eax, dword [ebp - 0xc]
jmp 0x1006f3c5
jmp 0x1006f39a
push reloc.oleaut32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x1006f2ef
mov eax, 0x101014b9
push eax
push VariantClear
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x1006f303
mov eax, 0x101014b9
push eax
push 4
mov ebx, 0x148
call fcn.100d5e50
add esp, 0x34
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
je 0x1006f385
push reloc.oleaut32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push VariantClear
push 0
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebx]
test eax, eax
jne 0x1006f34a
mov eax, 0x101014b9
push eax
push VariantClear
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x1006f35e
mov eax, 0x101014b9
push eax
push 4
mov ebx, 0x148
call fcn.100d5e50
add esp, 0x34
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffff
je 0x1006f385
mov eax, 1
jmp 0x1006f38a
mov eax, 0
test eax, eax
je 0x1006f39a
mov eax, dword [ebp - 0xc]
jmp 0x1006f3c5
mov eax, 0
jmp 0x1006f3c5
push 0
mov ebx, 0x350
call fcn.100d7320
add esp, 4
jmp 0x1006efa5
mov eax, 0
jmp 0x1006f3c5
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x1006f3d6
push ebx
call fcn.100d51af
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x1006f3e6
push ebx
call fcn.100d51af
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x24