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

Disassembly:
push 0xffffffffffffffff
push 0x10160aa8
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x101af0fc]
xor eax, esp
mov dword [esp + 0x84], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101af0fc]
xor eax, esp
push eax
lea eax, [esp + 0x9c]
mov dword fs:[0], eax
mov eax, dword [esp + 0xac]
mov ebp, dword [esp + 0xb8]
mov ebx, dword [esp + 0xbc]
lea ecx, [esp + 0x30]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x24], 0
mov edx, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0xa4], 1
mov ecx, dword [esp + 0x40]
mov byte [ecx], 0
mov ecx, 2
mov dword [esp + 0xa4], ecx
mov ah, ah
mov edi, 0x10165724
mov esi, ebp
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x1009b8f9
mov ebp, 0x10164994
test bh, bh
mov edi, 0x10165724
mov esi, ebx
mov ecx, 2
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x1009b912
mov ebx, 0x10164994
mov dh, dh
test eax, eax
jne 0x1009b922
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov dword [esp + 0x1c], eax
mov dh, dh
mov edi, dword [sym.imp.USER32.dll_IsWindow]
push eax
call edi
test eax, eax
jne 0x1009b94c
mov esi, dword [esp + 0x20]
lea eax, [esp + 0x30]
push eax
mov ecx, esi
call fcn.1000cef0
mov dword [esp + 0x24], 1
jmp 0x1009bcac
lea ecx, [esp + 0x18]
call fcn.1001eea0
mov byte [esp + 0xa4], 3
lea ecx, [esp + 0x14]
call fcn.1001eea0
mov byte [esp + 0xa4], 4
test bh, bh
test ebp, ebp
jne 0x1009b978
xor eax, eax
jmp 0x1009b98b
mov eax, ebp
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1009b980
sub eax, edx
push eax
push ebp
lea ecx, [esp + 0x20]
call fcn.1003ff10
mov al, al
test ebx, ebx
jne 0x1009b9a0
xor eax, eax
jmp 0x1009b9b0
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1009b9a5
sub eax, edx
push eax
push ebx
lea ecx, [esp + 0x1c]
call fcn.1003ff10
test eax, 0x234
lea ecx, [esp + 0x18]
call fcn.10007340
push ecx
pop ecx
lea ecx, [esp + 0x14]
call fcn.10007340
test dl, dl
mov eax, dword [esp + 0xc0]
test al, 4
je 0x1009bc36
mov ecx, dword [esp + 0x1c]
push 5
push ecx
call fcn.10064ef0
add esp, 8
test esi, esi
test eax, eax
je 0x1009bc72
push 0
push eax
call fcn.10064ef0
add esp, 8
mov esi, eax
xchg ebx, eax
xchg ebx, eax
mov ebx, esi
test ecx, ecx
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [esp + 0x28], eax
test dl, dl
push esi
call edi
test eax, eax
je 0x1009bc57
mov ebp, ebx
mov dh, dh
mov dword [esp + 0x1c], ebx
test ecx, ecx
test ebx, ebx
je 0x1009bc00
test byte [esp + 0xc0], 1
je 0x1009baab
mov eax, dword [esp + 0x18]
lea edx, [eax + 1]
jmp 0x1009ba50
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1009ba50
sub eax, edx
je 0x1009baab
push 1
mov esi, ebx
lea edi, [esp + 0x4c]
call fcn.10098550
add esp, 4
mov byte [esp + 0xa4], 5
test eax, 0x4eb4
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x5c]
push eax
push ecx
call fcn.10053ad0
add esp, 8
test eax, eax
jne 0x1009ba94
xor ebp, ebp
test ebx, ebx
mov byte [esp + 0xa4], 4
lea ecx, [esp + 0x48]
call fcn.10006e20
mov edi, dword [sym.imp.USER32.dll_IsWindow]
test ebp, ebp
je 0x1009bc00
test byte [esp + 0xc0], 2
je 0x1009bb1a
mov eax, dword [esp + 0x14]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1009bac4
sub eax, edx
je 0x1009bb1a
lea edx, [esp + 0x60]
push 1
push edx
mov esi, ebp
call fcn.100986a0
add esp, 8
mov byte [esp + 0xa4], 6
test eax, 0x2078
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x74]
push eax
push ecx
call fcn.101020d0
add esp, 8
test eax, eax
jne 0x1009bb09
xor ebp, ebp
push ecx
pop ecx
mov byte [esp + 0xa4], 4
lea ecx, [esp + 0x60]
call fcn.10006e20
test ebp, ebp
je 0x1009bc00
test byte [esp + 0xc0], 0x10
je 0x1009bb3e
push ebp
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x1009bb3e
test bh, bh
jmp 0x1009bc00
test byte [esp + 0xc0], 8
je 0x1009bb5c
push ebp
call dword [sym.imp.USER32.dll_GetParent]
test esi, esi
test eax, eax
je 0x1009bb5c
test edi, edi
jmp 0x1009bc00
xor eax, eax
mov byte [esp + 0x78], 0
mov dword [esp + 0x79], eax
mov dword [esp + 0x7d], eax
mov dword [esp + 0x81], eax
mov dword [esp + 0x85], eax
mov dword [esp + 0x89], eax
mov dword [esp + 0x8d], eax
mov dword [esp + 0x91], eax
mov word [esp + 0x95], ax
mov byte [esp + 0x97], al
mov ebp, ebp
push ebp
lea edx, [esp + 0x7c]
push 0x10165438
push edx
call fcn.10103959
add esp, 0xc
push ecx
pop ecx
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x44]
je 0x1009bbd3
push 0x1016573d
push 0x1016573c
lea ecx, [esp + 0x38]
call fcn.1000cf60
test edi, edi
lea eax, [esp + 0x78]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1009bbe0
sub eax, edx
lea ecx, [esp + eax + 0x78]
push ecx
lea edx, [esp + 0x7c]
push edx
lea ecx, [esp + 0x38]
call fcn.1000cf60
mov esi, esi
push 2
push ebx
call fcn.10064ef0
add esp, 8
mov ebx, eax
test ch, ch
cmp dword [esp + 0x1c], ebx
je 0x1009bc57
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov al, al
sub eax, dword [esp + 0x28]
cmp eax, dword [0x1019a8b8]
jae 0x1009bc57
push ebx
call edi
test eax, eax
jne 0x1009ba28
jmp 0x1009bc57
mov edx, dword [esp + 0x14]
push 0
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x24]
push edx
push eax
push ecx
call fcn.1009a230
add esp, 0x18
mov edi, edi
test byte [esp + 0xc0], 0x20
je 0x1009bc72
mov esi, dword [esp + 0x20]
lea edx, [esp + 0x30]
mov ecx, esi
call fcn.1009a9f0
jmp 0x1009bc82
mov esi, dword [esp + 0x20]
lea edx, [esp + 0x30]
push edx
mov ecx, esi
call fcn.1000cef0
mov dword [esp + 0x24], 1
mov byte [esp + 0xa4], 3
lea ecx, [esp + 0x14]
call fcn.10005720
mov byte [esp + 0xa4], 2
lea ecx, [esp + 0x18]
call fcn.10005720
mov byte [esp + 0xa4], 0
lea ecx, [esp + 0x30]
call fcn.10006e20
mov eax, esi
mov ecx, dword [esp + 0x9c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.1010190d
add esp, 0x94
ret