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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
mov ebx, eax
cmp byte [ebx + 0x31c], 0
jne 0x5ecbcd
xor eax, eax
push ebp
push 0x5ecbc3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.005ec7a4
fstp qword [ebp - 8]
wait
mov eax, dword [ebx + 0x314]
call fcn.0042d71c
call fcn.00428730
mov eax, dword [ebx + 0x314]
mov dl, 6
call fcn.0042e72c
call sub.KERNEL32.dll_GetTickCount
xor edx, edx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
mov eax, dword [0x64f1bc]
mov eax, dword [eax]
call fcn.004683e4
dec eax
jne 0x5ec9fb
mov edx, dword [ebx + 0x314]
mov eax, dword [ebx + 0x2f0]
call fcn.0056fa68
mov eax, dword [0x64ed14]
mov eax, dword [eax]
mov eax, dword [eax + 0x4b8]
cmp byte [eax + 0x18c], 0
je 0x5ec9ac
mov eax, dword [ebx + 0x314]
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [ebp - 0x2c], eax
fild dword [ebp - 0x2c]
fmul qword [ebp - 8]
call fcn.00402cc0
push eax
push 9
mov eax, dword [ebx + 0x314]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [ebp - 0x30], eax
fild dword [ebp - 0x30]
fmul qword [ebp - 8]
call fcn.00402cc0
mov ecx, eax
mov eax, dword [ebx + 0x318]
mov edx, dword [eax]
mov eax, dword [ebx + 0x2f0]
call fcn.005611a8
jmp 0x5ecb9d
mov eax, dword [ebx + 0x314]
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [ebp - 0x2c], eax
fild dword [ebp - 0x2c]
fmul qword [ebp - 8]
call fcn.00402cc0
push eax
push 0
mov eax, dword [ebx + 0x314]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [ebp - 0x30], eax
fild dword [ebp - 0x30]
fmul qword [ebp - 8]
call fcn.00402cc0
mov ecx, eax
mov eax, dword [ebx + 0x318]
mov edx, dword [eax]
mov eax, dword [ebx + 0x2f0]
call fcn.005611a8
jmp 0x5ecb9d
mov eax, dword [0x64f1bc]
mov eax, dword [eax]
call fcn.004683e4
mov edi, eax
dec edi
test edi, edi
jl 0x5ecb9d
inc edi
xor esi, esi
mov dl, 1
mov eax, dword [0x426a70]
call fcn.0042d154
mov dword [ebp - 0xc], eax
mov eax, dword [0x64f1bc]
mov eax, dword [eax]
mov edx, esi
call fcn.004683d0
lea edx, [ebp - 0x28]
call fcn.00468138
mov edx, dword [ebp - 0x20]
sub edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 0xc]
call fcn.0042d71c
call fcn.00428730
push 0xcc0020
mov eax, dword [0x64f1bc]
mov eax, dword [eax]
call fcn.004683a0
mov edx, dword [ebp - 0x24]
sub edx, eax
push edx
mov eax, dword [0x64f1bc]
mov eax, dword [eax]
call fcn.004683ac
mov edx, dword [ebp - 0x28]
sub edx, eax
push edx
mov eax, dword [ebx + 0x314]
call fcn.0042d71c
call fcn.00428c44
push eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x2c]
push eax
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.0042d71c
call fcn.00428c44
push eax
call sub.GDI32.dll_BitBlt
mov eax, dword [ebp - 0xc]
call fcn.0042d71c
call fcn.00428b18
mov dl, 6
mov eax, dword [ebp - 0xc]
call fcn.0042e72c
mov eax, dword [ebx + 0x2f0]
mov edx, dword [ebp - 0xc]
call fcn.0056fa68
mov eax, dword [0x64ed14]
mov eax, dword [eax]
mov eax, dword [eax + 0x4b8]
cmp byte [eax + 0x18c], 0
je 0x5ecb48
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [ebp - 0x2c], eax
fild dword [ebp - 0x2c]
fmul qword [ebp - 8]
call fcn.00402cc0
push eax
push 9
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [ebp - 0x30], eax
fild dword [ebp - 0x30]
fmul qword [ebp - 8]
call fcn.00402cc0
mov ecx, eax
mov eax, dword [ebx + 0x318]
mov edx, dword [eax + esi*4]
mov eax, dword [ebx + 0x2f0]
call fcn.005611a8
jmp 0x5ecb8d
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [ebp - 0x2c], eax
fild dword [ebp - 0x2c]
fmul qword [ebp - 8]
call fcn.00402cc0
push eax
push 0
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [ebp - 0x30], eax
fild dword [ebp - 0x30]
fmul qword [ebp - 8]
call fcn.00402cc0
mov ecx, eax
mov eax, dword [ebx + 0x318]
mov edx, dword [eax + esi*4]
mov eax, dword [ebx + 0x2f0]
call fcn.005611a8
lea eax, [ebp - 0xc]
call fcn.0040e9f0
inc esi
dec edi
jne 0x5eca15
call sub.KERNEL32.dll_GetTickCount
mov eax, dword [ebx + 0x314]
call fcn.0042d71c
call fcn.00428b18
mov byte [ebx + 0x31c], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5ecbcd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret