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

Disassembly:
push 0xffffffffffffffff
push 0x1017bd60
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x101cc114]
xor eax, esp
mov dword [esp + 0x74], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101cc114]
xor eax, esp
push eax
lea eax, [esp + 0x8c]
mov dword fs:[0], eax
mov ecx, dword [esp + 0xa0]
mov eax, dword [esp + 0x9c]
mov edx, dword [esp + 0xa4]
mov edi, dword [esp + 0xac]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0xb0]
push 5
push eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], ecx
call fcn.100688d0
add esp, 8
mov ebp, ebp
test eax, eax
je 0x100a2d06
push 0
push eax
call fcn.100688d0
add esp, 8
mov esi, eax
mov ah, ah
mov ebx, esi
push ecx
pop ecx
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [esp + 0x2c], eax
mov bh, bh
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100a2d06
jmp 0x100a2a20
mov ebp, ebx
mov bh, bh
mov dword [esp + 0x28], ebx
mov ch, ch
test ebx, ebx
je 0x100a2bc4
test byte [esp + 0xa8], 1
je 0x100a2ad4
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x100a2ad4
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100a2a50
sub eax, edx
je 0x100a2ad4
push 1
mov esi, ebx
lea edi, [esp + 0x34]
call fcn.100a23d0
add esp, 4
xor esi, esi
mov dword [esp + 0x94], esi
xchg ebx, eax
xchg ebx, eax
mov eax, dword [esp + 0x34]
mov edi, 0x10
cmp dword [esp + 0x48], edi
jae 0x100a2a8b
lea eax, [esp + 0x34]
mov edx, dword [esp + 0x1c]
push edx
push eax
call fcn.10057340
add esp, 8
test eax, eax
jne 0x100a2aa1
xor ebp, ebp
push ebx
pop ebx
mov dword [esp + 0x94], 0xffffffff
cmp dword [esp + 0x48], edi
jb 0x100a2abf
mov eax, dword [esp + 0x34]
push eax
call fcn.1010959d
add esp, 4
mov edi, dword [esp + 0x20]
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], esi
mov byte [esp + 0x34], 0
test ebp, ebp
je 0x100a2bc4
test byte [esp + 0xa8], 2
je 0x100a2b8a
mov eax, dword [esp + 0x18]
test eax, eax
je 0x100a2b8a
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100a2b00
sub eax, edx
je 0x100a2b8a
push 1
mov edi, ebp
lea esi, [esp + 0x50]
call fcn.100a2540
add esp, 4
mov dword [esp + 0x94], 1
mov dl, dl
mov eax, dword [esp + 0x50]
mov esi, 0x10
cmp dword [esp + 0x64], esi
jae 0x100a2b3d
lea eax, [esp + 0x50]
mov ecx, dword [esp + 0x18]
push ecx
push eax
call fcn.10118100
add esp, 8
test eax, eax
jne 0x100a2b53
xor ebp, ebp
push ecx
pop ecx
mov dword [esp + 0x94], 0xffffffff
cmp dword [esp + 0x64], esi
jb 0x100a2b71
mov edx, dword [esp + 0x50]
push edx
call fcn.1010959d
add esp, 4
mov edi, dword [esp + 0x20]
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], 0
mov byte [esp + 0x50], 0
test ebp, ebp
je 0x100a2bc4
test byte [esp + 0xa8], 0x10
je 0x100a2ba9
push ebp
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x100a2ba9
xor ebp, ebp
mov dh, dh
jmp 0x100a2bc4
test byte [esp + 0xa8], 8
je 0x100a2bc4
push ebp
call dword [sym.imp.USER32.dll_GetParent]
mov al, al
test eax, eax
je 0x100a2bc4
xor ebp, ebp
mov edi, edi
mov esi, dword [esp + 0x24]
test esi, esi
je 0x100a2c15
test ebp, ebp
je 0x100a2caf
mov dword [esp + 0x14], 0
mov bl, bl
lea eax, [esp + 0x14]
push eax
push ebp
call fcn.10068890
add esp, 8
mov al, al
nop
mov ebp, ebp
mov edx, dword [esp + 0x14]
xor eax, eax
mov ecx, dword [esi + eax*4]
test ecx, ecx
je 0x100a2c0c
cmp edx, ecx
je 0x100a2c13
add eax, 1
cmp eax, 0x400
jl 0x100a2bf7
mov al, al
jmp 0x100a2caf
mov dl, dl
test ebp, ebp
je 0x100a2caf
push ebp
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100a2caf
xor eax, eax
mov byte [esp + 0x68], 0
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 dword [esp + 0x81], eax
mov word [esp + 0x85], ax
mov byte [esp + 0x87], al
push ecx
pop ecx
push ebp
lea ecx, [esp + 0x6c]
push 0x10181588
push ecx
call fcn.101191d0
add esp, 0xc
mov edx, edx
cmp dword [edi + 0x14], 0
jbe 0x100a2c8e
push 1
push 0x101814a4
mov ecx, edi
call fcn.1000a0d0
mov ah, ah
lea eax, [esp + 0x68]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100a2c95
sub eax, edx
push eax
lea edx, [esp + 0x6c]
push edx
mov ecx, edi
call fcn.1000a0d0
mov eax, eax
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
push esi
push edi
push eax
push ecx
push edx
push ebx
call fcn.100a2970
add esp, 0x18
mov ch, ch
push 2
push ebx
call fcn.100688d0
add esp, 8
mov ebx, eax
mov bl, bl
cmp dword [esp + 0x28], ebx
je 0x100a2d06
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov ah, ah
sub eax, dword [esp + 0x2c]
cmp eax, dword [0x101b7908]
jae 0x100a2d06
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x100a2a20
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.10117937
add esp, 0x84
ret