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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe0
mov ebx, eax
mov esi, dword [ebx + 0x3f4]
mov eax, dword [ebx + 0x3d8]
test eax, eax
jne 0x4cfd31
mov edx, dword [ebx + 0x48]
mov eax, esi
call fcn.0043a238
jmp 0x4cfd3a
mov edx, eax
mov eax, esi
call fcn.0043a238
mov edx, dword [ebx + 0x4c]
mov eax, esi
call fcn.004a30f4
mov edx, dword [ebx + 0x3dc]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xd0]
mov edx, dword [ebx + 0x2d8]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xd4]
mov edx, dword [ebx + 0x3e4]
mov eax, esi
call fcn.004b0ad0
mov edx, dword [ebx + 0x3e8]
mov eax, esi
call fcn.004b0af0
mov edx, dword [ebx + 0x3ec]
mov eax, esi
call fcn.004b0b10
cmp byte [ebx + 0x3d5], 0
je 0x4cfda2
mov eax, dword [ebx + 0x3f4]
mov eax, dword [eax + 0x48]
cmp eax, dword [ebx + 0x48]
jne 0x4cfdc1
lea ecx, [esp + 0x18]
mov edx, dword [ebx + 0x44]
mov eax, dword [ebx + 0x40]
call fcn.0041625c
lea edx, [esp + 0x18]
mov ecx, esp
mov eax, dword [ebx + 0x30]
call fcn.0043a594
jmp 0x4cfdea
mov eax, dword [ebx + 0x40]
add eax, dword [ebx + 0x48]
mov edx, dword [ebx + 0x3f4]
sub eax, dword [edx + 0x48]
lea ecx, [esp + 0x18]
mov edx, dword [ebx + 0x44]
call fcn.0041625c
lea edx, [esp + 0x18]
mov ecx, esp
mov eax, dword [ebx + 0x30]
call fcn.0043a594
mov esi, dword [esp + 4]
add esi, dword [ebx + 0x4c]
mov eax, ebx
call fcn.00441264
lea ecx, [esp + 8]
mov dl, 1
call fcn.004da250
mov edx, dword [ebx + 0x3f4]
mov eax, dword [edx + 0x48]
mov ebp, dword [esp]
add eax, ebp
mov edi, dword [esp + 0x10]
cmp eax, edi
jle 0x4cfe20
sub eax, edi
sub dword [esp], eax
jmp 0x4cfe2b
mov eax, dword [esp + 8]
cmp ebp, eax
jge 0x4cfe2b
mov dword [esp], eax
mov eax, dword [edx + 0x4c]
mov edx, eax
add edx, esi
cmp edx, dword [esp + 0x14]
jle 0x4cfe3e
mov esi, dword [esp + 4]
sub esi, eax
call fcn.004d4e1c
test al, al
je 0x4cfeab
cmp byte [ebx + 0x3f0], 0
je 0x4cfeab
push 0xffffffffffffffec
mov eax, ebx
call fcn.00441264
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
push eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x3f4]
call fcn.00441264
push eax
call sub.user32.dll_SetWindowLongA
cmp byte [ebx + 0x3f2], 0
je 0x4cfe95
mov eax, dword [ebx + 0x3f4]
call fcn.00441264
xor edx, edx
call fcn.004d4e58
jmp 0x4cfeab
mov eax, dword [ebx + 0x3f4]
call fcn.00441264
mov dl, byte [ebx + 0x3f1]
call fcn.004d4e58
push 0x51
push 0
push 0
push esi
mov eax, dword [esp + 0x10]
push eax
push 0
mov eax, dword [ebx + 0x3f4]
call fcn.00441264
push eax
call sub.user32.dll_SetWindowPos
mov dl, 1
mov eax, dword [ebx + 0x3f4]
call fcn.0043a99c
cmp byte [ebx + 0x3f2], 0
je 0x4cff5f
cmp byte [ebx + 0x3f0], 0
je 0x4cff5f
call fcn.004d4e1c
test al, al
je 0x4cff5f
mov eax, dword [0x51e3f4]
mov eax, dword [eax]
call fcn.0045a728
xor esi, esi
xor edi, edi
xor eax, eax
mov al, byte [ebx + 0x3f1]
mov ecx, 0xf
xor edx, edx
div ecx
mov ebp, eax
test ebp, ebp
jne 0x4cff1e
mov ebp, 1
call sub.kernel32.dll_GetTickCount
sub eax, edi
cmp eax, 5
jbe 0x4cff53
call sub.kernel32.dll_GetTickCount
mov edi, eax
add esi, ebp
xor eax, eax
mov al, byte [ebx + 0x3f1]
cmp esi, eax
jle 0x4cff41
mov esi, eax
mov eax, dword [ebx + 0x3f4]
call fcn.00441264
mov edx, esi
call fcn.004d4e58
xor eax, eax
mov al, byte [ebx + 0x3f1]
cmp esi, eax
jl 0x4cff1e
add esp, 0x20
pop ebp
pop edi
pop esi
pop ebx
ret