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

Disassembly:
push 0xffffffffffffffff
push 0x1017677b
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x101c8fb4]
xor eax, esp
mov dword [esp + 0x24c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101c8fb4]
xor eax, esp
push eax
lea eax, [esp + 0x264]
mov dword fs:[0], eax
mov eax, dword [esp + 0x288]
mov esi, dword [esp + 0x274]
push eax
lea eax, [esp + 0x64]
push eax
push esi
call fcn.10057990
xor ebx, ebx
add esp, 0xc
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x26c], ebx
mov edi, dword [esp + 0x28c]
cmp edi, ebx
jle 0x1008ffbe
mov ebp, dword [esp + 0x290]
cmp ebp, ebx
jle 0x1008ffbe
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov ebx, eax
call edi
sub eax, ebx
cmp eax, ebp
jae 0x1008ff9d
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x290]
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x290]
lea edx, [esp + 0x48]
push edx
mov edx, dword [esp + 0x290]
push eax
mov eax, dword [esp + 0x290]
push ecx
push edx
push eax
push esi
mov dword [esp + 0x3c], 0
call fcn.10057d00
add esp, 0x28
test eax, eax
je 0x1008ff9d
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x14]
push ecx
push edx
push eax
push esi
call fcn.100608f0
mov ecx, dword [esp + 0x24]
push ecx
mov dword [esp + 0x3c], eax
call fcn.1011163c
add esp, 0x14
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x1c]
call fcn.1007d7d0
mov eax, dword [esp + 0x28c]
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
call edi
sub eax, ebx
cmp eax, ebp
jb 0x1008ff01
mov ecx, dword [esp + 0x28c]
push ecx
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0x20]
push eax
call fcn.10068780
add esp, 0xc
xor ebx, ebx
jmp 0x10090072
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x290]
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x290]
lea edx, [esp + 0x48]
push edx
mov edx, dword [esp + 0x290]
push eax
mov eax, dword [esp + 0x290]
push ecx
push edx
push eax
push esi
mov dword [esp + 0x3c], ebx
call fcn.10057d00
add esp, 0x28
test eax, eax
jne 0x1009002b
mov dword [esp + 0x26c], 0xffffffff
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x10090024
push eax
call fcn.10100548
add esp, 4
xor eax, eax
jmp 0x100900be
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x14]
push ecx
push edx
push eax
push esi
call fcn.100608f0
mov ecx, dword [esp + 0x24]
push ecx
mov dword [esp + 0x3c], eax
call fcn.1011163c
add esp, 0x14
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x1c]
call fcn.1007d7d0
push edi
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.10068780
add esp, 0xc
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
mov ebp, eax
xor esi, esi
lea esp, [esp]
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
je 0x100900a0
mov eax, dword [esp + 0x20]
sub eax, ecx
sar eax, 2
cmp esi, eax
jae 0x100900a0
mov edx, dword [ecx + esi*4]
push edx
call edi
add esi, 1
jmp 0x10090080
mov dword [esp + 0x26c], 0xffffffff
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x100900bc
push eax
call fcn.10100548
add esp, 4
mov eax, ebp
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x264]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24c]
xor ecx, esp
call fcn.10111b17
add esp, 0x25c
ret