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

Disassembly:
push 0xffffffffffffffff
push 0x1017db10
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x101ce00c]
xor eax, esp
mov dword [esp + 0x6c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101ce00c]
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.1006a730
add esp, 8
push ebx
pop ebx
test eax, eax
je 0x100a4994
push 0
push eax
call fcn.1006a730
add esp, 8
mov esi, eax
mov bl, bl
mov ebx, esi
mov esi, esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x24], eax
test bl, bl
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100a4994
jmp 0x100a4700
mov ebp, ebx
test eax, 0x1052
mov dword [esp + 0x28], ebx
push eax
pop eax
test ebx, ebx
je 0x100a4843
test byte [esp + 0xa0], 1
je 0x100a478f
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x100a478f
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100a4730
sub eax, edx
je 0x100a478f
push 1
mov esi, ebx
lea edi, [esp + 0x34]
call fcn.100a2590
add esp, 4
mov dword [esp + 0x8c], 0
test eax, 0x37d5
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x44]
push edx
push eax
call fcn.10058c90
add esp, 8
test eax, eax
jne 0x100a4777
xor ebp, ebp
mov dh, dh
mov dword [esp + 0x8c], 0xffffffff
lea ecx, [esp + 0x30]
call fcn.10001dc0
mov edi, dword [esp + 0x2c]
test ebp, ebp
je 0x100a4843
test byte [esp + 0xa0], 2
je 0x100a4809
mov eax, dword [esp + 0x18]
test eax, eax
je 0x100a4809
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100a47b0
sub eax, edx
je 0x100a4809
lea ecx, [esp + 0x48]
push 1
push ecx
mov esi, ebp
call fcn.100a26e0
add esp, 8
mov dword [esp + 0x8c], 1
mov eax, eax
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x5c]
push edx
push eax
call fcn.101186e0
add esp, 8
test eax, eax
jne 0x100a47f5
xor ebp, ebp
test bh, bh
mov dword [esp + 0x8c], 0xffffffff
lea ecx, [esp + 0x48]
call fcn.10001dc0
test ebp, ebp
je 0x100a4843
test byte [esp + 0xa0], 0x10
je 0x100a4828
push ebp
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x100a4828
xor ebp, ebp
mov al, al
jmp 0x100a4843
test byte [esp + 0xa0], 8
je 0x100a4843
push ebp
call dword [sym.imp.USER32.dll_GetParent]
mov ebx, ebx
test eax, eax
je 0x100a4843
xor ebp, ebp
push ebx
pop ebx
mov esi, dword [esp + 0x20]
test esi, esi
je 0x100a489e
test ebp, ebp
je 0x100a493d
mov dword [esp + 0x14], 0
test eax, 0x5c28
lea ecx, [esp + 0x14]
push ecx
push ebp
call fcn.1006a6f0
add esp, 8
mov ebx, ebx
test ebx, ebx
mov bl, bl
mov edx, dword [esp + 0x14]
xor eax, eax
lea ebx, [ebx]
mov ecx, dword [esi + eax*4]
test ecx, ecx
je 0x100a4895
cmp edx, ecx
je 0x100a489c
add eax, 1
cmp eax, 0x400
jl 0x100a4880
mov bh, bh
jmp 0x100a493d
test ah, ah
test ebp, ebp
je 0x100a493d
push ebp
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100a493d
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 ch, ch
push ebp
lea edx, [esp + 0x64]
push 0x10181aa0
push edx
call fcn.10119287
add esp, 0xc
test eax, 0x2c4d
mov eax, dword [edi + 0x10]
sub eax, dword [edi + 0x14]
je 0x100a4916
push 0x10181a41
push 0x10181a40
mov ecx, edi
call fcn.10003e40
mov dh, dh
lea eax, [esp + 0x60]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100a4920
sub eax, edx
lea ecx, [esp + eax + 0x60]
push ecx
lea edx, [esp + 0x64]
push edx
mov ecx, edi
call fcn.10003e40
nop
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.100a4650
add esp, 0x18
mov dl, dl
push 2
push ebx
call fcn.1006a730
add esp, 8
mov ebx, eax
mov bh, bh
cmp dword [esp + 0x28], ebx
je 0x100a4994
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov al, al
sub eax, dword [esp + 0x24]
cmp eax, dword [0x101b954c]
jae 0x100a4994
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x100a4700
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.101180ca
add esp, 0x7c
ret