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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x39], 2
jne 0x494018
xor eax, eax
push ebp
push 0x494009
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
jl 0x493f2c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
cmp eax, dword [ebp - 8]
jg 0x493f39
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49411b
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x70]
cmp eax, 0x2710
jbe 0x493f5e
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x70], eax
mov eax, dword [ebp - 4]
call fcn.00493e58
mov eax, dword [ebp - 8]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
cmp dword [edx + eax*4 + 4], 0
jne 0x493fd4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 8]
cmp eax, dword [ebp - 8]
jle 0x493ffc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
mov edx, dword [ebp - 8]
call fcn.0041b11c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
lea ecx, [edx + eax*4]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.00493024
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 8]
lea edx, [edx + edx*2]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x4c]
mov dword [ecx + edx*4 + 8], eax
mov eax, dword [ebp - 8]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
mov eax, dword [edx + eax*4 + 4]
mov dword [ebp - 0xc], eax
jmp 0x493ffc
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 8]
lea edx, [edx + edx*2]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x4c]
mov dword [ecx + edx*4 + 8], eax
mov eax, dword [ebp - 8]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
mov eax, dword [edx + eax*4 + 4]
mov dword [ebp - 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49411b
xor eax, eax
push ebp
push 0x494111
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
jl 0x494037
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
cmp eax, dword [ebp - 8]
jg 0x494044
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49411b
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x70]
cmp eax, 0x2710
jbe 0x494069
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x70], eax
mov eax, dword [ebp - 4]
call fcn.00493e58
mov eax, dword [ebp - 8]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
cmp dword [edx + eax*4 + 4], 0
jne 0x4940df
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + 8]
cmp eax, dword [ebp - 8]
jle 0x494107
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
mov edx, dword [ebp - 8]
call fcn.0041b11c
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
lea ecx, [edx + eax*4]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00493390
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 8]
lea edx, [edx + edx*2]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x4c]
mov dword [ecx + edx*4 + 8], eax
mov eax, dword [ebp - 8]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
mov eax, dword [edx + eax*4 + 4]
mov dword [ebp - 0xc], eax
jmp 0x494107
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 8]
lea edx, [edx + edx*2]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x4c]
mov dword [ecx + edx*4 + 8], eax
mov eax, dword [ebp - 8]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
mov eax, dword [edx + eax*4 + 4]
mov dword [ebp - 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49411b
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret