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

Disassembly:
push 0xffffffffffffffff
push 0x101655b0
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x101b7324]
xor eax, esp
mov dword [esp + 0x74], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101b7324]
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.10054300
add esp, 8
test eax, eax
je 0x1008b8b9
push 0
push eax
call fcn.10054300
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 0x1008b8b9
test ebx, ebx
mov ebp, ebx
mov dword [esp + 0x28], ebx
je 0x1008b78a
test byte [esp + 0xa8], 1
je 0x1008b6a4
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x1008b6a4
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1008b620
sub eax, edx
je 0x1008b6a4
push 1
mov esi, ebx
lea edi, [esp + 0x34]
call fcn.1008b030
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 0x1008b659
lea eax, [esp + 0x34]
mov ecx, dword [esp + 0x1c]
push ecx
push eax
call fcn.10043980
add esp, 8
test eax, eax
jne 0x1008b66d
xor ebp, ebp
mov dword [esp + 0x94], 0xffffffff
cmp dword [esp + 0x48], edi
jb 0x1008b68b
mov edx, dword [esp + 0x34]
push edx
call fcn.100ee438
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 0x1008b78a
test byte [esp + 0xa8], 2
je 0x1008b75a
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1008b75a
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1008b6d0
sub eax, edx
je 0x1008b75a
push 1
mov edi, ebp
lea esi, [esp + 0x50]
call fcn.1008b160
add esp, 4
mov dword [esp + 0x94], 1
mov eax, dword [esp + 0x50]
mov esi, 0x10
cmp dword [esp + 0x64], esi
jae 0x1008b70b
lea eax, [esp + 0x50]
mov ecx, dword [esp + 0x18]
push ecx
push eax
call fcn.101022f0
add esp, 8
test eax, eax
jne 0x1008b71f
xor ebp, ebp
mov dword [esp + 0x94], 0xffffffff
cmp dword [esp + 0x64], esi
jb 0x1008b73d
mov edx, dword [esp + 0x50]
push edx
call fcn.100ee438
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 0x1008b78a
test byte [esp + 0xa8], 0x10
je 0x1008b773
push ebp
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1008b788
test byte [esp + 0xa8], 8
je 0x1008b78a
push ebp
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
je 0x1008b78a
xor ebp, ebp
test edi, edi
je 0x1008b7d0
test ebp, ebp
je 0x1008b86b
lea eax, [esp + 0x14]
push eax
push ebp
mov dword [esp + 0x1c], 0
call fcn.100542c0
mov edx, dword [esp + 0x1c]
add esp, 8
xor eax, eax
mov ecx, dword [edi + eax*4]
test ecx, ecx
je 0x1008b86b
cmp edx, ecx
je 0x1008b7d0
add eax, 1
cmp eax, 0x400
jl 0x1008b7b2
jmp 0x1008b86b
test ebp, ebp
je 0x1008b86b
push ebp
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1008b86b
xor eax, eax
push ebp
lea ecx, [esp + 0x6c]
push 0x1016b6b8
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.101012b0
add esp, 0xc
cmp dword [esi + 0x14], 0
jbe 0x1008b84c
push 1
push 0x1016b5d0
mov ecx, esi
call fcn.100098b0
lea eax, [esp + 0x68]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1008b853
sub eax, edx
push eax
lea edx, [esp + 0x6c]
push edx
mov ecx, esi
call fcn.100098b0
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.1008b550
push 2
push ebx
call fcn.10054300
mov ebx, eax
add esp, 0x20
cmp dword [esp + 0x28], ebx
je 0x1008b8b9
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
sub eax, dword [esp + 0x2c]
cmp eax, dword [0x101a28e8]
jae 0x1008b8b9
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x1008b5f1
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.100ffa66
add esp, 0x84
ret