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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
cmp dword [ebp + 8], 0x1bb
jne 0x1002e81d
cmp dword [ebp + 0xc], 0x1f7
jne 0x1002e81d
push 0x101e48f2
push dword [0x1023bf33]
call fcn.10001112
add esp, 8
cmp eax, 0
jne 0x1002e81d
mov eax, 1
jmp 0x1002e81f
xor eax, eax
test eax, eax
je 0x1002e85e
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
mov eax, 0x101e48fb
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.1001da13
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x1002e854
push ebx
call fcn.101b4af1
add esp, 4
mov eax, 0
jmp 0x1002efd6
cmp dword [ebp + 0x10], 0x3e7
jne 0x1002e8a9
mov eax, dword [ebp + 8]
cmp dword [0x1023c19f], eax
jne 0x1002e890
mov eax, dword [ebp + 0xc]
cmp dword [0x1023c1a3], eax
jne 0x1002e890
mov eax, 1
jmp 0x1002e892
xor eax, eax
test eax, eax
je 0x1002e8a4
mov eax, 1
jmp 0x1002efd6
jmp 0x1002e8de
cmp dword [ebp + 0x10], 0
jne 0x1002e8ba
mov dword [ebp + 0x10], 3
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1002e6be
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
cmp dword [ebp - 0x10], eax
jge 0x1002e8de
mov eax, 1
jmp 0x1002efd6
push 0x1023c11b
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x88]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x1002ea66
mov eax, dword [0x1023c19f]
cmp dword [0x1023c263], eax
jne 0x1002e926
mov eax, dword [0x1023c1a3]
cmp dword [0x1023c267], eax
jne 0x1002e926
mov eax, 1
jmp 0x1002e928
xor eax, eax
test eax, eax
je 0x1002ea2c
mov dword [0x1023c263], 0
mov dword [0x1023c267], 0
inc dword [0x1023c26b]
cmp dword [0x1023c26b], 0xf
jle 0x1002ea1d
push 0x101e031a
push dword [0x1023bf17]
mov ecx, 2
call fcn.10001233
add esp, 8
mov dword [ebp - 0xc], eax
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x168
call fcn.101b5220
add esp, 0x10
mov dword [ebp - 0x14], eax
push OleUIBusyA
push 0
push 0x101e4902
push OleUIBusyA
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x1002e9c0
mov eax, 0x101e0319
push eax
push OleUIBusyA
push 0
push 0x101e0327
push OleUIBusyA
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x1002e9e0
mov eax, 0x101e0319
push eax
push 4
mov ebx, 0x8cc
call fcn.101b56e0
add esp, 0x34
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x1002ea03
push ebx
call fcn.101b4af1
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x1002ea13
push ebx
call fcn.101b4af1
add esp, 4
push 0
call fcn.101b4b1b
add esp, 4
call fcn.1002efdc
mov eax, 0
jmp 0x1002efd6
mov dword [0x1023c26b], 0
mov eax, dword [0x1023c19f]
mov dword [0x1023c263], eax
mov eax, dword [0x1023c1a3]
mov dword [0x1023c267], eax
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1002f09b
jmp 0x1002efcc
mov eax, dword [0x1023c19f]
cmp dword [0x1023c263], eax
jne 0x1002ea8f
mov eax, dword [0x1023c1a3]
cmp dword [0x1023c267], eax
jne 0x1002ea8f
mov eax, 1
jmp 0x1002ea91
xor eax, eax
test eax, eax
je 0x1002eee2
inc dword [0x1023c26f]
cmp dword [0x1023c26f], 0xa
jle 0x1002eedd
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
mov eax, 0x101e4905
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.1001da13
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x1002ead9
push ebx
call fcn.101b4af1
add esp, 4
cmp dword [0x1023c273], 0
jne 0x1002eb2f
fild dword [0x1023c1a3]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fsub qword [0x101e2694]
fstp qword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
fld qword [ebp - 0x18]
call fcn.100012af
push eax
push dword [0x1023c19f]
call fcn.1002f09b
mov dword [0x1023c273], 1
mov eax, 0
jmp 0x1002efd6
cmp dword [0x1023c273], 1
jne 0x1002eb9d
fild dword [0x1023c19f]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fadd qword [0x101e2694]
fstp qword [ebp - 0x18]
fild dword [0x1023c1a3]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fsub qword [0x101e2694]
fstp qword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
fld qword [ebp - 0x28]
call fcn.100012af
push eax
fld qword [ebp - 0x18]
call fcn.100012af
push eax
call fcn.1002f09b
mov dword [0x1023c273], 2
mov eax, 0
jmp 0x1002efd6
cmp dword [0x1023c273], 2
jne 0x1002ebf3
fild dword [0x1023c19f]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fadd qword [0x101e2694]
fstp qword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
push dword [0x1023c1a3]
fld qword [ebp - 0x18]
call fcn.100012af
push eax
call fcn.1002f09b
mov dword [0x1023c273], 3
mov eax, 0
jmp 0x1002efd6
cmp dword [0x1023c273], 3
jne 0x1002ec61
fild dword [0x1023c19f]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fadd qword [0x101e2694]
fstp qword [ebp - 0x18]
fild dword [0x1023c1a3]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fadd qword [0x101e2694]
fstp qword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
fld qword [ebp - 0x28]
call fcn.100012af
push eax
fld qword [ebp - 0x18]
call fcn.100012af
push eax
call fcn.1002f09b
mov dword [0x1023c273], 4
mov eax, 0
jmp 0x1002efd6
cmp dword [0x1023c273], 4
jne 0x1002ecb7
fild dword [0x1023c1a3]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fadd qword [0x101e2694]
fstp qword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
fld qword [ebp - 0x18]
call fcn.100012af
push eax
push dword [0x1023c19f]
call fcn.1002f09b
mov dword [0x1023c273], 5
mov eax, 0
jmp 0x1002efd6
cmp dword [0x1023c273], 5
jne 0x1002ed25
fild dword [0x1023c19f]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fsub qword [0x101e2694]
fstp qword [ebp - 0x18]
fild dword [0x1023c1a3]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fadd qword [0x101e2694]
fstp qword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
fld qword [ebp - 0x28]
call fcn.100012af
push eax
fld qword [ebp - 0x18]
call fcn.100012af
push eax
call fcn.1002f09b
mov dword [0x1023c273], 6
mov eax, 0
jmp 0x1002efd6
cmp dword [0x1023c273], 6
jne 0x1002ed7b
fild dword [0x1023c19f]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fsub qword [0x101e2694]
fstp qword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
push dword [0x1023c1a3]
fld qword [ebp - 0x18]
call fcn.100012af
push eax
call fcn.1002f09b
mov dword [0x1023c273], 7
mov eax, 0
jmp 0x1002efd6
cmp dword [0x1023c273], 7
jne 0x1002ede9
fild dword [0x1023c19f]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fsub qword [0x101e2694]
fstp qword [ebp - 0x18]
fild dword [0x1023c1a3]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fsub qword [0x101e2694]
fstp qword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
fld qword [ebp - 0x28]
call fcn.100012af
push eax
fld qword [ebp - 0x18]
call fcn.100012af
push eax
call fcn.1002f09b
mov dword [0x1023c273], 8
mov eax, 0
jmp 0x1002efd6
cmp dword [0x1023c273], 8
jne 0x1002ee17
call fcn.1002f116
test eax, eax
je 0x1002ee0d
mov dword [0x1023c273], 9
mov eax, 0
jmp 0x1002efd6
push 0x101e031a
push dword [0x1023bf17]
mov ecx, 2
call fcn.10001233
add esp, 8
mov dword [ebp - 0xc], eax
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x168
call fcn.101b5220
add esp, 0x10
mov dword [ebp - 0x14], eax
push OleUIBusyA
push 0
push 0x101e297d
push OleUIBusyA
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x1002ee80
mov eax, 0x101e0319
push eax
push OleUIBusyA
push 0
push 0x101e0327
push OleUIBusyA
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x1002eea0
mov eax, 0x101e0319
push eax
push 4
mov ebx, 0x8cc
call fcn.101b56e0
add esp, 0x34
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x1002eec3
push ebx
call fcn.101b4af1
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x1002eed3
push ebx
call fcn.101b4af1
add esp, 4
push 0
call fcn.101b4b1b
add esp, 4
jmp 0x1002ef0a
mov dword [0x1023c273], 0
mov dword [0x1023c26f], 0
mov eax, dword [0x1023c19f]
mov dword [0x1023c263], eax
mov eax, dword [0x1023c1a3]
mov dword [0x1023c267], eax
push 0x14fad70
call fcn.1001dd54
mov dword [ebp - 4], eax
push 4
push 0x14fad70
call fcn.100066e3
push eax
call fcn.1001dd54
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
cmp dword [ebp - 4], eax
jne 0x1002ef4b
mov eax, dword [ebp + 0xc]
cmp dword [ebp - 8], eax
jne 0x1002ef4b
xor eax, eax
jmp 0x1002ef50
mov eax, 1
test eax, eax
je 0x1002ef79
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1002f09b
mov eax, 0
jmp 0x1002efd6
cmp dword [0x1023c17b], 0xe
jle 0x1002efcc
push 0x1023c11b
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x8c]
test eax, eax
je 0x1002efaf
mov dword [0x1023c277], 0
jmp 0x1002efcc
cmp dword [0x1023c277], 3
jle 0x1002efc6
call fcn.1002efdc
jmp 0x1002efcc
inc dword [0x1023c277]
mov eax, 0
jmp 0x1002efd6
mov esp, ebp
pop ebp
ret 0x10