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

Disassembly:
push 0xffffffffffffffff
push 0x10174583
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x101c52b4]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101c52b4]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov eax, dword [esp + 0xb8]
mov ebp, dword [esp + 0xc4]
mov ebx, dword [esp + 0xc8]
xor ecx, ecx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], ecx
mov byte [esp + 0x34], cl
mov dword [esp + 0xb0], 1
push eax
pop eax
mov edi, 0x10179548
mov esi, ebp
mov ecx, 2
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x1009be8b
mov ebp, 0x10178a34
push edx
pop edx
mov edi, 0x10179548
mov esi, ebx
mov ecx, 2
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x1009bea4
mov ebx, 0x10178a34
mov ecx, ecx
test eax, eax
jne 0x1009beb4
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov dword [esp + 0x1c], eax
mov ch, ch
mov edi, dword [sym.imp.USER32.dll_IsWindow]
push eax
call edi
test eax, eax
jne 0x1009bf14
mov esi, dword [esp + 0x20]
xor ebx, ebx
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x38]
mov edi, 0xf
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
push eax
mov ecx, esi
mov byte [esi + 4], bl
call fcn.10009f70
mov dword [esp + 0x24], 1
mov byte [esp + 0xb0], bl
cmp dword [esp + 0x48], 0x10
jb 0x1009bf07
mov ecx, dword [esp + 0x34]
push ecx
call fcn.100fcea8
add esp, 4
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], ebx
jmp 0x1009c3d3
lea ecx, [esp + 0x18]
call fcn.1001fe10
mov byte [esp + 0xb0], 2
lea ecx, [esp + 0x14]
call fcn.1001fe10
mov byte [esp + 0xb0], 3
mov ebx, ebx
test ebp, ebp
jne 0x1009bf40
xor eax, eax
jmp 0x1009bf50
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1009bf45
sub eax, edx
push eax
push ebp
lea ecx, [esp + 0x20]
call fcn.100332c0
mov bl, bl
test ebx, ebx
jne 0x1009bf65
xor eax, eax
jmp 0x1009bf7b
mov eax, ebx
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1009bf70
sub eax, edx
push eax
push ebx
lea ecx, [esp + 0x1c]
call fcn.100332c0
mov ecx, ecx
lea ecx, [esp + 0x18]
call fcn.10063e70
push edx
pop edx
lea ecx, [esp + 0x14]
call fcn.10063e70
push ecx
pop ecx
mov eax, dword [esp + 0xcc]
test al, 4
je 0x1009c2da
mov edx, dword [esp + 0x1c]
push 5
push edx
call fcn.10059690
add esp, 8
mov ebp, ebp
test eax, eax
jne 0x1009c03b
mov esi, dword [esp + 0x20]
xor ebx, ebx
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x38]
mov edi, 0xf
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
push eax
mov ecx, esi
mov byte [esi + 4], bl
call fcn.10009f70
mov dword [esp + 0x24], 1
mov byte [esp + 0xb0], 2
lea ecx, [esp + 0x14]
call fcn.1001fe80
mov byte [esp + 0xb0], 1
lea ecx, [esp + 0x18]
call fcn.1001fe80
mov byte [esp + 0xb0], bl
cmp dword [esp + 0x48], 0x10
jb 0x1009bf07
mov ecx, dword [esp + 0x34]
push ecx
call fcn.100fcea8
add esp, 4
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], ebx
jmp 0x1009c3d3
push 0
push eax
call fcn.10059690
add esp, 8
mov esi, eax
mov ebx, ebx
mov ebx, esi
mov bh, bh
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [esp + 0x28], eax
push ecx
pop ecx
push esi
call edi
test eax, eax
je 0x1009c2fb
mov ebp, ebx
xchg ebx, eax
xchg ebx, eax
mov dword [esp + 0x1c], ebx
mov bh, bh
test ebx, ebx
je 0x1009c2a0
test byte [esp + 0xcc], 1
je 0x1009c110
mov eax, dword [esp + 0x18]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1009c090
sub eax, edx
je 0x1009c110
push 1
mov esi, ebx
lea edi, [esp + 0x50]
call fcn.10094780
add esp, 4
mov byte [esp + 0xb0], 4
push eax
pop eax
mov eax, dword [esp + 0x50]
mov esi, 0x10
cmp dword [esp + 0x64], esi
jae 0x1009c0ca
lea eax, [esp + 0x50]
mov edx, dword [esp + 0x18]
push edx
push eax
call fcn.10047d80
add esp, 8
test eax, eax
jne 0x1009c0e0
xor ebp, ebp
xchg ebx, eax
xchg ebx, eax
mov byte [esp + 0xb0], 3
cmp dword [esp + 0x64], esi
jb 0x1009c0fb
mov eax, dword [esp + 0x50]
push eax
call fcn.100fcea8
add esp, 4
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], 0
mov byte [esp + 0x50], 0
test ebp, ebp
je 0x1009c2a0
test byte [esp + 0xcc], 2
je 0x1009c1b9
mov eax, dword [esp + 0x14]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1009c130
sub eax, edx
je 0x1009c1b9
push 1
mov edi, ebp
lea esi, [esp + 0x6c]
call fcn.100948e0
add esp, 4
mov byte [esp + 0xb0], 5
mov ecx, ecx
mov eax, dword [esp + 0x6c]
mov esi, 0x10
cmp dword [esp + 0x80], esi
jae 0x1009c16d
lea eax, [esp + 0x6c]
mov ecx, dword [esp + 0x14]
push ecx
push eax
call fcn.1010ece0
add esp, 8
test eax, eax
jne 0x1009c183
xor ebp, ebp
mov eax, eax
mov byte [esp + 0xb0], 3
cmp dword [esp + 0x80], esi
jb 0x1009c1a1
mov edx, dword [esp + 0x6c]
push edx
call fcn.100fcea8
add esp, 4
mov dword [esp + 0x80], 0xf
mov dword [esp + 0x7c], 0
mov byte [esp + 0x6c], 0
test ebp, ebp
je 0x1009c2a0
test byte [esp + 0xcc], 0x10
je 0x1009c1dd
push ebp
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x1009c1dd
mov ecx, ecx
jmp 0x1009c2a0
test byte [esp + 0xcc], 8
je 0x1009c1fa
push ebp
call dword [sym.imp.USER32.dll_GetParent]
nop
test eax, eax
je 0x1009c1fa
mov edi, edi
jmp 0x1009c2a0
xor eax, eax
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
push edx
pop edx
push ebp
lea eax, [esp + 0x88]
push 0x10179678
push eax
call fcn.1010fdb0
add esp, 0xc
push ecx
pop ecx
cmp dword [esp + 0x44], 0
jbe 0x1009c277
push 1
push 0x10179594
lea ecx, [esp + 0x38]
call fcn.1000a090
mov esi, esi
lea eax, [esp + 0x84]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1009c281
sub eax, edx
push eax
lea ecx, [esp + 0x88]
push ecx
lea ecx, [esp + 0x38]
call fcn.1000a090
mov cl, cl
push 2
push ebx
call fcn.10059690
add esp, 8
mov ebx, eax
mov ebx, ebx
cmp dword [esp + 0x1c], ebx
je 0x1009c2fb
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
xchg ebx, eax
xchg ebx, eax
sub eax, dword [esp + 0x28]
cmp eax, dword [0x101b0904]
jae 0x1009c2fb
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x1009c065
jmp 0x1009c2fb
mov ecx, dword [esp + 0x18]
push 0
lea edx, [esp + 0x34]
push edx
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x20]
push eax
push ecx
push edx
call fcn.10094d10
add esp, 0x18
mov ebp, ebp
test byte [esp + 0xcc], 0x20
mov esi, dword [esp + 0x20]
lea ecx, [esp + 0x30]
je 0x1009c366
push esi
call fcn.1009ae80
add esp, 4
mov dword [esp + 0x24], 1
mov byte [esp + 0xb0], 2
lea ecx, [esp + 0x14]
call fcn.1001fe80
mov byte [esp + 0xb0], 1
lea ecx, [esp + 0x18]
call fcn.1001fe80
mov byte [esp + 0xb0], 0
cmp dword [esp + 0x48], 0x10
jb 0x1009c35c
mov eax, dword [esp + 0x34]
push eax
call fcn.100fcea8
add esp, 4
mov dword [esp + 0x44], 0
jmp 0x1009c3cb
push 0xffffffffffffffff
xor edi, edi
push edi
push ecx
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], edi
mov ecx, esi
mov byte [esi + 4], 0
call fcn.10009f70
mov dword [esp + 0x24], 1
mov byte [esp + 0xb0], 2
lea ecx, [esp + 0x14]
call fcn.1001fe80
mov byte [esp + 0xb0], 1
lea ecx, [esp + 0x18]
call fcn.1001fe80
mov byte [esp + 0xb0], 0
cmp dword [esp + 0x48], 0x10
jb 0x1009c3c7
mov edx, dword [esp + 0x34]
push edx
call fcn.100fcea8
add esp, 4
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], 0xf
mov byte [esp + 0x34], 0
mov eax, esi
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.1010e4d7
add esp, 0xa0
ret