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

Disassembly:
push 0xffffffffffffffff
push 0x100833bd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push ebp
push esi
mov esi, ecx
call fcn.1007c998
mov ecx, dword [eax + 4]
call fcn.10061e87
mov ebx, dword [esp + 0x58]
xor ebp, ebp
cmp ebx, ebp
mov dword [esp + 0x3c], ebp
mov dword [esi + 0x14], 2
mov dword [esi + 0x34], ebp
je 0x1000e625
mov dword [esi + 0x34], ebx
mov eax, dword [esi + 0x34]
mov dword [esp + 0x10], ebp
cmp eax, ebp
jne 0x1000e634
xor eax, eax
jmp 0x1000e637
mov eax, dword [eax + 0x1c]
lea ecx, [esp + 0x10]
push edi
push ecx
push eax
call fcn.1006ec2f
mov edi, eax
mov dword [esp + 0x10], ebp
cmp edi, ebp
mov dword [esp + 0x18], edi
je 0x1000e66c
push edi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x1000e66c
push ebp
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [esp + 0x10], 1
mov ecx, dword [esi + 0x38]
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x58]
push ecx
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0x190
call fcn.1006217f
add esp, 4
mov dword [esp + 0x5c], eax
cmp eax, ebp
mov byte [esp + 0x40], 1
je 0x1000e6a9
push ebx
push esi
mov ecx, eax
call fcn.1000dae0
jmp 0x1000e6ab
xor eax, eax
mov edx, dword [esp + 0x4c]
lea ecx, [eax + 0x180]
push edx
mov byte [esp + 0x44], 0
mov dword [esi + 0x30], eax
call fcn.10066c8d
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x30]
push eax
call fcn.1000e180
mov eax, dword [esi + 8]
cmp eax, ebp
jbe 0x1000e6df
mov ecx, dword [esi + 0x30]
push eax
call fcn.1000e190
mov eax, dword [esp + 0x50]
mov dword [esp + 0x5c], 1
cmp eax, 0xffffffff
jne 0x1000e6f4
or edi, eax
jmp 0x1000e6f9
sub eax, dword [esi + 0x10]
mov edi, eax
push 0x34
call fcn.1006217f
add esp, 4
mov dword [esp + 0x54], eax
cmp eax, ebp
mov byte [esp + 0x40], 2
je 0x1000e720
mov ecx, dword [esp + 0x48]
push edi
push ecx
push esi
mov ecx, eax
call fcn.1000d940
jmp 0x1000e722
xor eax, eax
mov byte [esp + 0x40], 0
mov dword [esi + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebp, dword [sym.imp.USER32.dll_PeekMessageW]
mov ebx, dword [sym.imp.USER32.dll_TranslateMessage]
mov dword [esp + 0x54], eax
mov edx, dword [esp + 0x48]
push 5
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, eax
cmp edi, 0x102
mov dword [esp + 0x58], edi
jne 0x1000e7bc
xor eax, eax
push 1
mov ecx, 6
lea edi, [esp + 0x24]
push eax
mov dword [esp + 0x24], 0
push eax
push eax
rep stosd dword es:[edi], eax
lea eax, [esp + 0x2c]
push eax
call ebp
test eax, eax
je 0x1000e7a5
lea ecx, [esp + 0x1c]
push ecx
call ebx
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 1
push 0
push 0
lea eax, [esp + 0x28]
push 0
push eax
call ebp
test eax, eax
jne 0x1000e780
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [esp + 0x54]
mov ecx, dword [esi + 0x10]
sub eax, edx
cmp eax, ecx
jb 0x1000e740
mov edi, dword [esp + 0x58]
mov eax, dword [esp + 0x10]
xor ebx, ebx
cmp eax, ebx
je 0x1000e7d3
mov ecx, dword [esp + 0x18]
push 1
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x1000e7e4
push 1
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
cmp edi, 0x102
pop edi
jne 0x1000e81e
mov ecx, dword [esi + 0x2c]
call fcn.1003c180
mov ecx, dword [esi + 0x30]
mov edx, dword [ecx]
call dword [edx + 0xb8]
cmp eax, 2
mov dword [esp + 0x58], eax
jne 0x1000e81e
mov ecx, dword [esi + 0x2c]
call fcn.1003c320
cmp eax, 2
jne 0x1000e81e
mov dword [esp + 0x58], 3
mov ecx, dword [esi + 0x2c]
cmp ecx, ebx
je 0x1000e82b
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [esi + 0x30]
mov dword [esi + 0x2c], ebx
cmp ecx, ebx
je 0x1000e83c
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov dword [esi + 0x30], ebx
mov dword [esp + 0x3c], 0xffffffff
call fcn.1007c998
mov ecx, dword [eax + 4]
call fcn.10061e9c
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x58]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret 0x18