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

Disassembly:
push 0xffffffffffffffff
push 0x1015c498
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x101ad3b4]
xor eax, esp
mov dword [esp + 0x84], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101ad3b4]
xor eax, esp
push eax
lea eax, [esp + 0x9c]
mov dword fs:[0], eax
mov eax, dword [esp + 0xac]
mov ebp, dword [esp + 0xb8]
mov ebx, dword [esp + 0xbc]
lea ecx, [esp + 0x30]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x24], 0
mov edx, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0xa4], 1
mov ecx, dword [esp + 0x40]
mov byte [ecx], 0
mov ecx, 2
mov dword [esp + 0xa4], ecx
mov edi, 0x1016158c
mov esi, ebp
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x1008a6a5
mov ebp, 0x10160a44
mov edi, 0x1016158c
mov esi, ebx
mov ecx, 2
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x1008a6bc
mov ebx, 0x10160a44
test eax, eax
jne 0x1008a6ca
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov dword [esp + 0x1c], eax
mov edi, dword [sym.imp.USER32.dll_IsWindow]
push eax
call edi
test eax, eax
jne 0x1008a6f4
mov esi, dword [esp + 0x20]
lea eax, [esp + 0x30]
push eax
mov ecx, esi
call fcn.10009b80
mov dword [esp + 0x24], 1
jmp 0x1008aa0d
lea ecx, [esp + 0x18]
call fcn.1001ce60
mov byte [esp + 0xa4], 3
lea ecx, [esp + 0x14]
call fcn.1001ce60
mov byte [esp + 0xa4], 4
test ebp, ebp
jne 0x1008a71e
xor eax, eax
jmp 0x1008a72e
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1008a723
sub eax, edx
push eax
push ebp
lea ecx, [esp + 0x20]
call fcn.1002f2e0
test ebx, ebx
jne 0x1008a741
xor eax, eax
jmp 0x1008a751
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1008a746
sub eax, edx
push eax
push ebx
lea ecx, [esp + 0x1c]
call fcn.1002f2e0
lea ecx, [esp + 0x18]
call fcn.1005e580
lea ecx, [esp + 0x14]
call fcn.1005e580
mov eax, dword [esp + 0xc0]
test al, 4
je 0x1008a997
mov ecx, dword [esp + 0x1c]
push 5
push ecx
call fcn.100515a0
add esp, 8
test eax, eax
je 0x1008a9d3
push 0
push eax
call fcn.100515a0
add esp, 8
mov ebx, eax
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
push ebx
mov dword [esp + 0x2c], eax
call edi
test eax, eax
je 0x1008a9b6
test ebx, ebx
mov ebp, ebx
mov dword [esp + 0x1c], ebx
je 0x1008a965
test byte [esp + 0xc0], 1
je 0x1008a826
mov eax, dword [esp + 0x18]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1008a7d5
sub eax, edx
je 0x1008a826
push 1
mov esi, ebx
lea edi, [esp + 0x4c]
call fcn.100845e0
mov byte [esp + 0xa8], 5
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x60]
push eax
push ecx
call fcn.10041010
add esp, 0xc
test eax, eax
jne 0x1008a80f
xor ebp, ebp
mov byte [esp + 0xa4], 4
lea ecx, [esp + 0x48]
call fcn.10006310
mov edi, dword [sym.imp.USER32.dll_IsWindow]
test ebp, ebp
je 0x1008a965
test byte [esp + 0xc0], 2
je 0x1008a88c
mov eax, dword [esp + 0x14]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1008a840
sub eax, edx
je 0x1008a88c
lea edx, [esp + 0x60]
push 1
push edx
mov esi, ebp
call fcn.10084700
mov byte [esp + 0xac], 6
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x7c]
push eax
push ecx
call fcn.100f8c40
add esp, 0x10
test eax, eax
jne 0x1008a87b
xor ebp, ebp
mov byte [esp + 0xa4], 4
lea ecx, [esp + 0x60]
call fcn.10006310
test ebp, ebp
je 0x1008a965
test byte [esp + 0xc0], 0x10
je 0x1008a8ad
push ebp
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1008a965
test byte [esp + 0xc0], 8
je 0x1008a8c6
push ebp
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
jne 0x1008a965
xor eax, eax
push ebp
lea edx, [esp + 0x7c]
push 0x101616c0
push edx
mov byte [esp + 0x84], 0
mov dword [esp + 0x85], eax
mov dword [esp + 0x89], eax
mov dword [esp + 0x8d], eax
mov dword [esp + 0x91], eax
mov dword [esp + 0x95], eax
mov dword [esp + 0x99], eax
mov dword [esp + 0x9d], eax
mov word [esp + 0xa1], ax
mov byte [esp + 0xa3], al
call fcn.100f7960
mov eax, dword [esp + 0x4c]
add esp, 0xc
sub eax, dword [esp + 0x44]
je 0x1008a940
push 0x101615d9
push 0x101615d8
lea ecx, [esp + 0x38]
call fcn.10009bf0
lea eax, [esp + 0x78]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1008a947
sub eax, edx
lea ecx, [esp + eax + 0x78]
push ecx
lea edx, [esp + 0x7c]
push edx
lea ecx, [esp + 0x38]
call fcn.10009bf0
push 2
push ebx
call fcn.100515a0
mov ebx, eax
add esp, 8
cmp dword [esp + 0x1c], ebx
je 0x1008a9b6
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
sub eax, dword [esp + 0x28]
cmp eax, dword [0x101988a4]
jae 0x1008a9b6
push ebx
call edi
test eax, eax
jne 0x1008a7b6
jmp 0x1008a9b6
mov edx, dword [esp + 0x14]
push 0
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x24]
push edx
push eax
push ecx
call fcn.100864e0
add esp, 0x18
test byte [esp + 0xc0], 0x20
je 0x1008a9d3
mov esi, dword [esp + 0x20]
push esi
lea ecx, [esp + 0x34]
call fcn.10089860
add esp, 4
jmp 0x1008a9e3
mov esi, dword [esp + 0x20]
lea edx, [esp + 0x30]
push edx
mov ecx, esi
call fcn.10009b80
mov dword [esp + 0x24], 1
mov byte [esp + 0xa4], 3
lea ecx, [esp + 0x14]
call fcn.1001ced0
mov byte [esp + 0xa4], 2
lea ecx, [esp + 0x18]
call fcn.1001ced0
mov byte [esp + 0xa4], 0
lea ecx, [esp + 0x30]
call fcn.10006310
mov eax, esi
mov ecx, dword [esp + 0x9c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.100f611a
add esp, 0x94
ret