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

Disassembly:
push 0xffffffffffffffff
push 0x10165ff0
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x101b734c]
xor eax, esp
mov dword [esp + 0x74], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101b734c]
xor eax, esp
push eax
lea eax, [esp + 0x8c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0xa4]
mov esi, dword [esp + 0xac]
mov edi, dword [esp + 0xb0]
push 5
push eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], edi
call fcn.10054e40
add esp, 8
test eax, eax
je 0x1008c5e9
push 0
push eax
call fcn.10054e40
add esp, 8
mov ebx, eax
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
push ebx
mov dword [esp + 0x30], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1008c5e9
test ebx, ebx
mov ebp, ebx
mov dword [esp + 0x28], ebx
je 0x1008c4ba
test byte [esp + 0xa8], 1
je 0x1008c3d4
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x1008c3d4
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1008c350
sub eax, edx
je 0x1008c3d4
push 1
mov esi, ebx
lea edi, [esp + 0x34]
call fcn.1008bd60
add esp, 4
xor esi, esi
mov dword [esp + 0x94], esi
mov eax, dword [esp + 0x34]
mov edi, 0x10
cmp dword [esp + 0x48], edi
jae 0x1008c389
lea eax, [esp + 0x34]
mov ecx, dword [esp + 0x1c]
push ecx
push eax
call fcn.100443c0
add esp, 8
test eax, eax
jne 0x1008c39d
xor ebp, ebp
mov dword [esp + 0x94], 0xffffffff
cmp dword [esp + 0x48], edi
jb 0x1008c3bb
mov edx, dword [esp + 0x34]
push edx
call fcn.100eedad
add esp, 4
mov edi, dword [esp + 0x24]
mov dword [esp + 0x44], esi
mov esi, dword [esp + 0x20]
mov dword [esp + 0x48], 0xf
mov byte [esp + 0x34], 0
test ebp, ebp
je 0x1008c4ba
test byte [esp + 0xa8], 2
je 0x1008c48a
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1008c48a
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1008c400
sub eax, edx
je 0x1008c48a
push 1
mov edi, ebp
lea esi, [esp + 0x50]
call fcn.1008be90
add esp, 4
mov dword [esp + 0x94], 1
mov eax, dword [esp + 0x50]
mov esi, 0x10
cmp dword [esp + 0x64], esi
jae 0x1008c43b
lea eax, [esp + 0x50]
mov ecx, dword [esp + 0x18]
push ecx
push eax
call fcn.10102c50
add esp, 8
test eax, eax
jne 0x1008c44f
xor ebp, ebp
mov dword [esp + 0x94], 0xffffffff
cmp dword [esp + 0x64], esi
jb 0x1008c46d
mov edx, dword [esp + 0x50]
push edx
call fcn.100eedad
add esp, 4
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], 0
mov byte [esp + 0x50], 0
test ebp, ebp
je 0x1008c4ba
test byte [esp + 0xa8], 0x10
je 0x1008c4a3
push ebp
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1008c4b8
test byte [esp + 0xa8], 8
je 0x1008c4ba
push ebp
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
je 0x1008c4ba
xor ebp, ebp
test edi, edi
je 0x1008c500
test ebp, ebp
je 0x1008c59b
lea eax, [esp + 0x14]
push eax
push ebp
mov dword [esp + 0x1c], 0
call fcn.10054e00
mov edx, dword [esp + 0x1c]
add esp, 8
xor eax, eax
mov ecx, dword [edi + eax*4]
test ecx, ecx
je 0x1008c59b
cmp edx, ecx
je 0x1008c500
add eax, 1
cmp eax, 0x400
jl 0x1008c4e2
jmp 0x1008c59b
test ebp, ebp
je 0x1008c59b
push ebp
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1008c59b
xor eax, eax
push ebp
lea ecx, [esp + 0x6c]
push 0x1016b6c8
push ecx
mov byte [esp + 0x74], 0
mov dword [esp + 0x75], eax
mov dword [esp + 0x79], eax
mov dword [esp + 0x7d], eax
mov dword [esp + 0x81], eax
mov dword [esp + 0x85], eax
mov dword [esp + 0x89], eax
mov dword [esp + 0x8d], eax
mov word [esp + 0x91], ax
mov byte [esp + 0x93], al
call fcn.10101c10
add esp, 0xc
cmp dword [esi + 0x14], 0
jbe 0x1008c57c
push 1
push 0x1016b5e4
mov ecx, esi
call fcn.10009ca0
lea eax, [esp + 0x68]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1008c583
sub eax, edx
push eax
lea edx, [esp + 0x6c]
push edx
mov ecx, esi
call fcn.10009ca0
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
push edi
push esi
push eax
push ecx
push edx
push ebx
call fcn.1008c280
push 2
push ebx
call fcn.10054e40
mov ebx, eax
add esp, 0x20
cmp dword [esp + 0x28], ebx
je 0x1008c5e9
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
sub eax, dword [esp + 0x2c]
cmp eax, dword [0x101a28e8]
jae 0x1008c5e9
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x1008c321
mov ecx, dword [esp + 0x8c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.101003d3
add esp, 0x84
ret