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

Disassembly:
push 0xffffffffffffffff
push 0x1015c100
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x101ad3b4]
xor eax, esp
mov dword [esp + 0x6c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101ad3b4]
xor eax, esp
push eax
lea eax, [esp + 0x84]
mov dword fs:[0], eax
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x9c]
mov edi, dword [esp + 0xa4]
mov esi, dword [esp + 0xa8]
push 5
push eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], esi
call fcn.100515a0
add esp, 8
test eax, eax
je 0x100867da
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 + 0x30], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100867da
test ebx, ebx
mov ebp, ebx
mov dword [esp + 0x28], ebx
je 0x100866a6
test byte [esp + 0xa0], 1
je 0x100865fd
mov eax, dword [esp + 0x18]
test eax, eax
je 0x100865fd
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100865a4
sub eax, edx
je 0x100865fd
push 1
mov esi, ebx
lea edi, [esp + 0x34]
call fcn.100845e0
mov dword [esp + 0x90], 0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x48]
push eax
push ecx
call fcn.10041010
add esp, 0xc
test eax, eax
jne 0x100865e1
xor ebp, ebp
mov dword [esp + 0x8c], 0xffffffff
lea ecx, [esp + 0x30]
call fcn.10006310
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
test ebp, ebp
je 0x100866a6
test byte [esp + 0xa0], 2
je 0x10086676
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x10086676
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10086620
sub eax, edx
je 0x10086676
lea edx, [esp + 0x48]
push 1
push edx
mov esi, ebp
call fcn.10084700
mov dword [esp + 0x94], 1
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x64]
push eax
push ecx
call fcn.100f8c40
add esp, 0x10
test eax, eax
jne 0x1008665e
xor ebp, ebp
mov dword [esp + 0x8c], 0xffffffff
lea ecx, [esp + 0x48]
call fcn.10006310
mov esi, dword [esp + 0x20]
test ebp, ebp
je 0x100866a6
test byte [esp + 0xa0], 0x10
je 0x1008668f
push ebp
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x100866a4
test byte [esp + 0xa0], 8
je 0x100866a6
push ebp
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
je 0x100866a6
xor ebp, ebp
test esi, esi
je 0x100866ee
test ebp, ebp
je 0x1008678c
lea edx, [esp + 0x14]
push edx
push ebp
mov dword [esp + 0x1c], 0
call fcn.10051560
mov edx, dword [esp + 0x1c]
add esp, 8
xor eax, eax
mov edi, edi
mov ecx, dword [esi + eax*4]
test ecx, ecx
je 0x1008678c
cmp edx, ecx
je 0x100866ee
add eax, 1
cmp eax, 0x400
jl 0x100866d0
jmp 0x1008678c
test ebp, ebp
je 0x1008678c
push ebp
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1008678c
xor eax, eax
push ebp
mov dword [esp + 0x65], eax
mov dword [esp + 0x69], eax
mov dword [esp + 0x6d], eax
mov dword [esp + 0x71], eax
mov dword [esp + 0x75], eax
mov dword [esp + 0x79], eax
mov dword [esp + 0x7d], eax
mov word [esp + 0x81], ax
mov byte [esp + 0x83], al
lea eax, [esp + 0x64]
push 0x101616c0
push eax
mov byte [esp + 0x6c], 0
call fcn.100f7960
mov ecx, dword [edi + 0x10]
add esp, 0xc
sub ecx, dword [edi + 0x14]
je 0x10086763
push 0x101615d9
push 0x101615d8
mov ecx, edi
call fcn.10009bf0
lea eax, [esp + 0x60]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10086770
sub eax, edx
lea edx, [esp + eax + 0x60]
push edx
lea eax, [esp + 0x64]
push eax
mov ecx, edi
call fcn.10009bf0
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push esi
push edi
push ecx
push edx
push eax
push ebx
call fcn.100864e0
push 2
push ebx
call fcn.100515a0
mov ebx, eax
add esp, 0x20
cmp dword [esp + 0x28], ebx
je 0x100867da
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
sub eax, dword [esp + 0x2c]
cmp eax, dword [0x101988a4]
jae 0x100867da
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x10086581
mov ecx, dword [esp + 0x84]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.100f611a
add esp, 0x7c
ret