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

Disassembly:
push 0xffffffffffffffff
push 0x101656b0
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.10054360
add esp, 8
test eax, eax
je 0x1008b919
push 0
push eax
call fcn.10054360
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 0x1008b919
test ebx, ebx
mov ebp, ebx
mov dword [esp + 0x28], ebx
je 0x1008b7ea
test byte [esp + 0xa8], 1
je 0x1008b704
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x1008b704
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1008b680
sub eax, edx
je 0x1008b704
push 1
mov esi, ebx
lea edi, [esp + 0x34]
call fcn.1008b090
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 0x1008b6b9
lea eax, [esp + 0x34]
mov ecx, dword [esp + 0x1c]
push ecx
push eax
call fcn.100439b0
add esp, 8
test eax, eax
jne 0x1008b6cd
xor ebp, ebp
mov dword [esp + 0x94], 0xffffffff
cmp dword [esp + 0x48], edi
jb 0x1008b6eb
mov edx, dword [esp + 0x34]
push edx
call fcn.100ee4bd
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 0x1008b7ea
test byte [esp + 0xa8], 2
je 0x1008b7ba
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1008b7ba
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1008b730
sub eax, edx
je 0x1008b7ba
push 1
mov edi, ebp
lea esi, [esp + 0x50]
call fcn.1008b1c0
add esp, 4
mov dword [esp + 0x94], 1
mov eax, dword [esp + 0x50]
mov esi, 0x10
cmp dword [esp + 0x64], esi
jae 0x1008b76b
lea eax, [esp + 0x50]
mov ecx, dword [esp + 0x18]
push ecx
push eax
call fcn.10102370
add esp, 8
test eax, eax
jne 0x1008b77f
xor ebp, ebp
mov dword [esp + 0x94], 0xffffffff
cmp dword [esp + 0x64], esi
jb 0x1008b79d
mov edx, dword [esp + 0x50]
push edx
call fcn.100ee4bd
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 0x1008b7ea
test byte [esp + 0xa8], 0x10
je 0x1008b7d3
push ebp
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1008b7e8
test byte [esp + 0xa8], 8
je 0x1008b7ea
push ebp
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
je 0x1008b7ea
xor ebp, ebp
test edi, edi
je 0x1008b830
test ebp, ebp
je 0x1008b8cb
lea eax, [esp + 0x14]
push eax
push ebp
mov dword [esp + 0x1c], 0
call fcn.10054320
mov edx, dword [esp + 0x1c]
add esp, 8
xor eax, eax
mov ecx, dword [edi + eax*4]
test ecx, ecx
je 0x1008b8cb
cmp edx, ecx
je 0x1008b830
add eax, 1
cmp eax, 0x400
jl 0x1008b812
jmp 0x1008b8cb
test ebp, ebp
je 0x1008b8cb
push ebp
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1008b8cb
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.10101330
add esp, 0xc
cmp dword [esi + 0x14], 0
jbe 0x1008b8ac
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 0x1008b8b3
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.1008b5b0
push 2
push ebx
call fcn.10054360
mov ebx, eax
add esp, 0x20
cmp dword [esp + 0x28], ebx
je 0x1008b919
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
sub eax, dword [esp + 0x2c]
cmp eax, dword [0x101a28e8]
jae 0x1008b919
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x1008b651
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.100ffae6
add esp, 0x84
ret