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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4cc1d3
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
mov eax, dword [ebp - 4]
cmp word [eax + 0x6a], 0
jne 0x4cc1b5
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x600]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x604]
jbe 0x4cbd4a
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x618], edx
jmp 0x4cbd53
mov eax, dword [ebp - 4]
inc dword [eax + 0x618]
mov eax, dword [ebp - 4]
cmp dword [eax + 0x618], 1
jge 0x4cc0d8
xor eax, eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
sub dword [eax + 0x374], 0x1c2
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x374]
xor eax, eax
call fcn.004545a8
mov edx, dword [ebp - 4]
mov dword [edx + 0x374], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004cbc7c
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4cc1b5
mov eax, dword [ebp - 0x20]
movzx edx, word [eax + 4]
mov eax, dword [0x4ea674]
mov eax, dword [eax]
call fcn.00492190
test al, al
je 0x4cbdca
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x604], edx
jmp 0x4cbde0
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
add eax, 0x320
mov edx, dword [ebp - 4]
mov dword [edx + 0x604], eax
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
mov dword [edx + 0x600], eax
mov eax, dword [ebp - 0x20]
mov ax, word [eax + 4]
sub ax, 0xc
je 0x4cbe18
sub ax, 0xd
je 0x4cbe6d
dec ax
je 0x4cbec2
dec ax
je 0x4cbf2c
jmp 0x4cc043
mov eax, dword [ebp - 4]
cmp dword [eax + 0x520], 0
je 0x4cbe64
mov eax, dword [ebp - 4]
cmp byte [eax + 0x52d], 0
jne 0x4cbe4b
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.004bc900
mov ecx, 0x4cc1ec
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004cab38
jmp 0x4cbe64
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004bc900
mov ecx, 0x4cc1fc
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004cab38
mov byte [ebp - 0xd], 1
jmp 0x4cc1b5
mov eax, dword [ebp - 4]
cmp dword [eax + 0x524], 0
je 0x4cbeb9
mov eax, dword [ebp - 4]
cmp byte [eax + 0x52e], 0
jne 0x4cbea0
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.004bc980
mov ecx, 0x4cc20c
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004cab38
jmp 0x4cbeb9
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004bc980
mov ecx, 0x4cc21c
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004cab38
mov byte [ebp - 0xd], 1
jmp 0x4cc1b5
mov eax, dword [ebp - 4]
cmp dword [eax + 0x528], 0
je 0x4cc1b5
mov eax, dword [ebp - 4]
call fcn.004bca00
test al, al
je 0x4cbf23
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.004c6910
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x1a6]
cmp eax, dword [ebp - 0x18]
jl 0x4cbf23
cmp dword [ebp - 0x18], 0
jle 0x4cbf14
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.004be50c
mov eax, dword [ebp - 4]
call fcn.004c4a24
mov ecx, 0x4cc22c
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004cab38
mov byte [ebp - 0xd], 1
jmp 0x4cc1b5
mov byte [ebp - 0xd], 1
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x534]
cmp eax, 0xbb8
jbe 0x4cc1b5
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
mov dword [edx + 0x534], eax
mov al, byte [ebp - 0xc]
mov edx, dword [ebp - 4]
mov byte [edx + 0x2c], al
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.004c6910
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jle 0x4cbf9a
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x1a6]
cmp eax, dword [ebp - 0x18]
jl 0x4cc1b5
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.004be50c
mov eax, dword [ebp - 4]
call fcn.004c4a24
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov cl, byte [eax + 6]
mov eax, dword [ebp - 4]
xor edx, edx
mov dl, byte [eax + 0x2c]
mov eax, dword [ebp - 4]
call fcn.004c3130
test al, al
je 0x4cc1b5
mov eax, dword [ebp - 0x20]
cmp byte [eax + 6], 3
jae 0x4cc1b5
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax + 6]
mov edx, dword [ebp - 0x20]
mov edx, dword [edx]
mov al, byte [edx + eax + 0x16]
mov edx, dword [ebp - 4]
cmp al, byte [edx + 0x34]
ja 0x4cc1b5
mov eax, 3
call fcn.00402b78
mov ecx, eax
inc ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.004c1268
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.004c7054
test al, al
jne 0x4cc1b5
push 0
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
movzx eax, word [eax]
push eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax + 6]
push eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 8]
push eax
push 0
push 0x3e8
mov cx, 0x278b
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
call fcn.004b87c4
jmp 0x4cc1b5
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x28]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.004b2c38
and eax, 0xff
mov dword [ebp - 0x14], eax
mov al, byte [ebp - 0x14]
mov edx, dword [ebp - 4]
mov byte [edx + 0x2c], al
xor eax, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.004c36cc
test al, al
je 0x4cc09f
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x28]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.004c6968
test al, al
jne 0x4cc0cf
push 0
push 0
push 0
push 0
xor ecx, ecx
mov dx, 0x2789
mov eax, dword [ebp - 4]
call fcn.004b8ebc
mov byte [ebp - 0xd], 1
jmp 0x4cc1b5
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004cbc7c
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4cc113
mov eax, dword [ebp - 0x20]
movzx edx, word [eax + 4]
mov eax, dword [0x4ea674]
mov eax, dword [eax]
call fcn.00492190
test al, al
je 0x4cc113
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x618], edx
jmp 0x4cc1b5
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
mov dword [edx + 0x600], eax
mov eax, dword [ebp - 4]
inc dword [eax + 0x624]
mov eax, dword [ebp - 4]
cmp dword [eax + 0x624], 8
jle 0x4cc140
mov eax, dword [ebp - 4]
mov byte [eax + 0x5d4], 0
mov eax, dword [0x4ea04c]
cmp byte [eax], 0
jmp 0x4cc1b5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cc1da
lea eax, [ebp - 0x6c]
call fcn.00403c4c
lea eax, [ebp - 0x30]
call fcn.00403c4c
ret