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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x12
push 0
push 0
dec ecx
jne 0x4ce8c0
push ecx
push ebx
push esi
push edi
mov eax, 0x4cd630
call fcn.004072bc
xor eax, eax
push ebp
push 0x4cebda
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4d9654]
mov eax, dword [eax]
call fcn.0045d954
lea edx, [ebp - 0x14]
mov eax, 1
call fcn.00403350
cmp dword [ebp - 0x14], 0
je 0x4cebaf
lea edx, [ebp - 0x18]
mov eax, 1
call fcn.00403350
mov eax, dword [ebp - 0x18]
mov edx, 0x4cebf4
call fcn.00405098
jne 0x4cea3b
lea edx, [ebp - 0x1c]
mov eax, 2
call fcn.00403350
cmp dword [ebp - 0x1c], 0
je 0x4cea3b
lea edx, [ebp - 0x20]
mov eax, 6
call fcn.00403350
cmp dword [ebp - 0x20], 0
je 0x4ce99a
lea edx, [ebp - 0x28]
mov eax, 6
call fcn.00403350
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x24]
call fcn.0040a028
mov edx, dword [ebp - 0x24]
mov eax, 0x4dee58
call fcn.00404cc4
lea edx, [ebp - 0x30]
mov eax, 6
call fcn.00403350
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
call fcn.00409ff4
mov edx, dword [ebp - 0x2c]
mov eax, 0x4dee5c
call fcn.00404cc4
lea edx, [ebp - 0x54]
mov eax, 3
call fcn.00403350
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x50], eax
lea edx, [ebp - 0x58]
mov eax, 4
call fcn.00403350
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x4c], eax
lea edx, [ebp - 0x5c]
mov eax, 5
call fcn.00403350
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x48], eax
mov eax, dword [0x4dee5c]
mov dword [ebp - 0x44], eax
mov eax, dword [0x4dee58]
mov dword [ebp - 0x40], eax
lea edx, [ebp - 0x60]
mov eax, 7
call fcn.00403350
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x3c], eax
lea edx, [ebp - 0x64]
mov eax, 8
call fcn.00403350
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x38], eax
lea edx, [ebp - 0x68]
mov eax, 9
call fcn.00403350
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, 2
call fcn.00403350
mov eax, dword [ebp - 0x6c]
mov ecx, 7
pop edx
call fcn.004ccc50
lea edx, [ebp - 0x70]
mov eax, 1
call fcn.00403350
mov eax, dword [ebp - 0x70]
mov edx, 0x4cec00
call fcn.00405098
jne 0x4ceb16
lea edx, [ebp - 0x74]
mov eax, 2
call fcn.00403350
cmp dword [ebp - 0x74], 0
je 0x4ceb16
lea edx, [ebp - 0x78]
mov eax, 3
call fcn.00403350
cmp dword [ebp - 0x78], 0
je 0x4ceb16
lea edx, [ebp - 0x7c]
mov eax, 4
call fcn.00403350
cmp dword [ebp - 0x7c], 0
jne 0x4ceacb
lea edx, [ebp - 0x80]
mov eax, 3
call fcn.00403350
mov eax, dword [ebp - 0x80]
push eax
lea edx, [ebp - 0x84]
mov eax, 2
call fcn.00403350
mov eax, dword [ebp - 0x84]
pop edx
call fcn.004cd0ac
jmp 0x4ceb16
lea edx, [ebp - 0x88]
mov eax, 4
call fcn.00403350
mov eax, dword [ebp - 0x88]
push eax
lea edx, [ebp - 0x8c]
mov eax, 3
call fcn.00403350
mov eax, dword [ebp - 0x8c]
push eax
lea edx, [ebp - 0x90]
mov eax, 2
call fcn.00403350
mov eax, dword [ebp - 0x90]
pop edx
pop ecx
call fcn.004ccf68
lea edx, [ebp - 0x94]
mov eax, 1
call fcn.00403350
mov eax, dword [ebp - 0x94]
mov edx, 0x4cec0c
call fcn.00405098
jne 0x4cebaf
call fcn.004cd3d8
call sub.kernel32.dll_GetTickCount_1
mov dword [0x4d9234], eax
xor eax, eax
push ebp
push 0x4ceb9b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4d9654]
mov eax, dword [eax]
call fcn.0045d840
call sub.kernel32.dll_GetTickCount_1
xor edx, edx
push edx
push eax
mov eax, dword [0x4d9234]
cdq
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
cmp edx, 0
jne 0x4ceb87
cmp eax, 0x3a98
jbe 0x4ceb91
jmp 0x4ceb89
jle 0x4ceb91
mov eax, dword [0x4d975c]
mov byte [eax], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ceba5
mov eax, dword [0x4d975c]
cmp byte [eax], 0
je 0x4ceb47
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cebe1
lea eax, [ebp - 0x94]
mov edx, 0x11
call fcn.00404c94
lea eax, [ebp - 0x30]
mov edx, 8
call fcn.00404c94
ret