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

Disassembly:
push 0xffffffffffffffff
push 0x1017c9e0
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x101ce2f4]
xor eax, esp
mov dword [esp + 0x6c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101ce2f4]
xor eax, esp
push eax
lea eax, [esp + 0x84]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x98]
mov eax, dword [esp + 0x94]
mov edx, dword [esp + 0x9c]
mov edi, dword [esp + 0xa4]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0xa8]
push 5
push eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x34], edi
mov dword [esp + 0x28], ecx
call fcn.10069c60
add esp, 8
test eax, 0x380f
test eax, eax
je 0x100a3a75
push 0
push eax
call fcn.10069c60
add esp, 8
mov esi, eax
push edx
pop edx
mov ebx, esi
mov ebx, ebx
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [esp + 0x24], eax
test eax, 0x30e8
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100a3a75
mov ebp, ebx
test dh, dh
mov dword [esp + 0x28], ebx
mov ebp, ebp
test ebx, ebx
je 0x100a3927
test byte [esp + 0xa0], 1
je 0x100a3874
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x100a3874
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100a3818
sub eax, edx
je 0x100a3874
push 1
mov esi, ebx
lea edi, [esp + 0x34]
call fcn.100a16a0
add esp, 4
mov dword [esp + 0x8c], 0
test bh, bh
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x44]
push edx
push eax
call fcn.10058470
add esp, 8
test eax, eax
jne 0x100a385c
xor ebp, ebp
xchg ebx, eax
xchg ebx, eax
mov dword [esp + 0x8c], 0xffffffff
lea ecx, [esp + 0x30]
call fcn.10006e20
mov edi, dword [esp + 0x2c]
test ebp, ebp
je 0x100a3927
test byte [esp + 0xa0], 2
je 0x100a38ed
mov eax, dword [esp + 0x18]
test eax, eax
je 0x100a38ed
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100a3891
sub eax, edx
je 0x100a38ed
lea ecx, [esp + 0x48]
push 1
push ecx
mov esi, ebp
call fcn.100a17f0
add esp, 8
mov dword [esp + 0x8c], 1
mov bl, bl
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x5c]
push edx
push eax
call fcn.10117980
add esp, 8
test eax, eax
jne 0x100a38d9
xor ebp, ebp
test eax, 0x3fd6
mov dword [esp + 0x8c], 0xffffffff
lea ecx, [esp + 0x48]
call fcn.10006e20
test ebp, ebp
je 0x100a3927
test byte [esp + 0xa0], 0x10
je 0x100a390c
push ebp
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x100a390c
xor ebp, ebp
test ah, ah
jmp 0x100a3927
test byte [esp + 0xa0], 8
je 0x100a3927
push ebp
call dword [sym.imp.USER32.dll_GetParent]
test ecx, ecx
test eax, eax
je 0x100a3927
xor ebp, ebp
mov cl, cl
mov esi, dword [esp + 0x20]
test esi, esi
je 0x100a3981
test ebp, ebp
je 0x100a3a1e
mov dword [esp + 0x14], 0
test cl, cl
lea ecx, [esp + 0x14]
push ecx
push ebp
call fcn.10069c20
add esp, 8
mov bl, bl
test edi, edi
xchg ebx, eax
xchg ebx, eax
mov edx, dword [esp + 0x14]
xor eax, eax
jmp 0x100a3960
mov ecx, dword [esi + eax*4]
test ecx, ecx
je 0x100a3975
cmp edx, ecx
je 0x100a397f
add eax, 1
cmp eax, 0x400
jl 0x100a3960
test eax, 0x2509
jmp 0x100a3a1e
mov dl, dl
test ebp, ebp
je 0x100a3a1e
push ebp
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100a3a1e
xor eax, eax
mov byte [esp + 0x60], 0
mov dword [esp + 0x61], eax
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 word [esp + 0x7d], ax
mov byte [esp + 0x7f], al
test edi, edi
push ebp
lea edx, [esp + 0x64]
push 0x10182608
push edx
call fcn.10119209
add esp, 0xc
test ecx, ecx
mov eax, dword [edi + 0x10]
sub eax, dword [edi + 0x14]
je 0x100a39f6
push 0x1018290d
push 0x1018290c
mov ecx, edi
call fcn.1000cfa0
mov bh, bh
lea eax, [esp + 0x60]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100a3a00
sub eax, edx
lea ecx, [esp + eax + 0x60]
push ecx
lea edx, [esp + 0x64]
push edx
mov ecx, edi
call fcn.1000cfa0
mov dl, dl
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
push esi
push edi
push eax
push ecx
push edx
push ebx
call fcn.100a3740
add esp, 0x18
mov al, al
push 2
push ebx
call fcn.10069c60
add esp, 8
mov ebx, eax
test bh, bh
cmp dword [esp + 0x28], ebx
je 0x100a3a75
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
test cl, cl
sub eax, dword [esp + 0x24]
cmp eax, dword [0x101b98c0]
jae 0x100a3a75
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x100a37f1
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.1011717a
add esp, 0x7c
ret