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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xec
mov eax, dword [0x73c280]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
mov dword [ebp - 0xb4], ebx
mov dword [ebp - 0xb8], edi
mov dword [ebp - 0xc0], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
mov dword [ebp - 0xec], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
movd xmm1, esi
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm0, xmm1
movd xmm1, dword [ebp + 0xc]
cvtdq2ps xmm1, xmm1
divss xmm0, xmm1
movss xmm1, dword [0x6b3288]
comiss xmm1, xmm0
movss dword [ebp - 0xcc], xmm0
jbe 0x4ed4fc
lea eax, [ebx + 0xc]
mov dword [ebp - 0xc8], eax
lea eax, [ebx + 8]
mov dword [ebp - 0xe8], eax
nop
mov ebx, dword [ebp - 0xc8]
push 0x68
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0xac]
push 0
push eax
mov dword [ebp - 0xd8], ebx
mov dword [ebp - 0xc8], ebx
call fcn.006430f0
mov eax, dword [edi]
lea ecx, [ebp - 0xb0]
add esp, 0xc
mov dword [ebp - 0xb0], 0x6c
push 0
push 0x811
push ecx
push 0
push edi
call dword [eax + 0x64]
test eax, eax
js 0x4ed525
mov eax, dword [ebp - 0xc0]
test eax, eax
jne 0x4ed14a
mov eax, dword [ebx]
imul eax, dword [ebp - 0xa0]
push eax
call fcn.0065d7d0
add esp, 4
mov dword [ebp - 0xc0], eax
test eax, eax
je 0x4ed4d5
mov ecx, dword [ebx]
imul ecx, dword [ebp - 0xa0]
push ecx
push dword [ebp - 0x8c]
push eax
call fcn.00643a30
mov ecx, dword [ebp - 0xe8]
add esp, 0xc
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xbc], ecx
jmp 0x4ed150
mov ecx, dword [ebp - 0xbc]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp + 0x10]
shr eax, 0x10
movzx eax, al
movss xmm2, dword [ebp - 0xcc]
mov edi, dword [ebp - 0x8c]
mov dword [ebp - 0xd0], 0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x6b3600]
mov eax, dword [ebp + 0x10]
shr eax, 8
movzx eax, al
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm2
cvttss2si ebx, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
mov dword [ebp - 0xd4], ebx
addsd xmm0, qword [eax*8 + 0x6b3600]
mov eax, dword [ebp + 0x10]
movzx eax, al
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm2
cvttss2si edx, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
mov dword [ebp - 0xe0], edx
addsd xmm0, qword [eax*8 + 0x6b3600]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm2
cvttss2si eax, xmm0
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xc8]
cmp dword [eax], 0
jle 0x4ed356
mov ecx, dword [ecx]
mov esi, dword [ebp - 0xc4]
nop
mov dword [ebp - 0xc4], 0
mov ebx, ecx
test ecx, ecx
jle 0x4ed30b
movss xmm1, dword [0x6b3288]
movd xmm3, dword [ebp - 0xd4]
subss xmm1, xmm2
movd xmm5, dword [ebp - 0xe4]
movd xmm4, edx
cvtdq2ps xmm3, xmm3
cvtdq2ps xmm4, xmm4
cvtdq2ps xmm5, xmm5
nop dword [eax]
mov edx, dword [esi]
mov eax, edx
shr eax, 0x10
add esi, 4
movzx eax, al
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x6b3600]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
addss xmm0, xmm3
cvttss2si eax, xmm0
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
shl ecx, 8
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x6b3600]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
addss xmm0, xmm4
cvttss2si eax, xmm0
movzx eax, al
or ecx, eax
movzx eax, dl
shl ecx, 8
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x6b3600]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
addss xmm0, xmm5
cvttss2si eax, xmm0
movzx eax, al
or ecx, eax
mov eax, dword [ebp - 0xc4]
mov dword [edi], ecx
inc eax
mov ecx, dword [ebp - 0xbc]
add edi, 4
mov dword [ebp - 0xc4], eax
mov ecx, dword [ecx]
cmp eax, ecx
jl 0x4ed250
mov ebx, ecx
mov eax, dword [ebp - 0xa0]
cdq
and edx, 3
add eax, edx
mov edx, dword [ebp - 0xd8]
sar eax, 2
sub eax, ebx
shl eax, 2
add esi, eax
add edi, eax
mov eax, dword [ebp - 0xd0]
inc eax
cmp eax, dword [edx]
mov edx, dword [ebp - 0xe0]
mov dword [ebp - 0xd0], eax
jl 0x4ed210
mov esi, dword [ebp - 0xec]
mov edi, dword [ebp - 0x8c]
mov ebx, dword [ebp - 0xd4]
mov ecx, dword [ebp - 0xb8]
push edi
mov edi, ecx
push edi
mov eax, dword [ecx]
call dword [eax + 0x80]
mov ecx, dword [ebp - 0xb4]
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xd8]
push dword [eax]
mov eax, dword [ebp - 0xbc]
push dword [eax]
call fcn.004ec690
mov eax, dword [ebp - 0xb4]
lea edx, [ebp - 0x14]
push 0
push 0x1000000
push 0
mov ecx, dword [eax + 0x20]
push edi
push edx
push ecx
mov eax, dword [ecx]
call dword [eax + 0x14]
test eax, eax
jns 0x4ed424
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
lea edx, [ebp - 0xdc]
mov eax, dword [ebp - 0xb8]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
test eax, eax
js 0x4ed415
mov eax, dword [ebp - 0xb4]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
push 0xcc0020
push dword [eax + 0xc]
push dword [eax + 8]
mov eax, dword [ebp - 8]
push 0
push 0
push dword [ebp - 0xdc]
sub eax, edx
push eax
mov eax, dword [ebp - 0xc]
sub eax, ecx
push eax
push edx
push ecx
push edi
call dword [sym.imp.GDI32.dll_StretchBlt]
mov ecx, dword [ebp - 0xb8]
push dword [ebp - 0xdc]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x68]
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edi, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0xb4]
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004ec600
mov ecx, dword [ebp - 0xb4]
lea eax, [ebp - 0x24]
shl ebx, 8
or ebx, dword [ebp - 0xe0]
shl ebx, 8
or ebx, dword [ebp - 0xe4]
push ebx
push eax
call fcn.004ec750
push ebx
mov ebx, dword [ebp - 0xb4]
lea eax, [ebp - 0x34]
push eax
mov ecx, ebx
call fcn.004ec750
mov edx, dword [ebx + 0x24]
test edx, edx
je 0x4ed491
movss xmm0, dword [ebp - 0xcc]
mulss xmm0, dword [0x6ca0f8]
mov ecx, dword [edx]
cvttss2si eax, xmm0
push eax
push edx
call dword [ecx + 0x1c]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
movd xmm1, esi
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm0, xmm1
movd xmm1, dword [ebp + 0xc]
cvtdq2ps xmm1, xmm1
divss xmm0, xmm1
movss xmm1, dword [0x6b3288]
comiss xmm1, xmm0
movss dword [ebp - 0xcc], xmm0
jbe 0x4ed4fc
mov eax, dword [ebp - 0xbc]
jmp 0x4ed0a0
push dword [ebp - 0x8c]
mov eax, dword [edi]
push edi
call dword [eax + 0x80]
pop edi
pop esi
mov eax, 0x8007000e
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c8a4d
mov esp, ebp
pop ebp
ret 0xc
push dword [ebp - 0xc0]
call fcn.00658410
add esp, 4
lea eax, [ebp - 0x44]
mov ecx, ebx
push eax
call fcn.004ec7f0
push dword [ebp + 0x10]
lea eax, [ebp - 0x44]
mov ecx, ebx
push eax
call fcn.004ec750
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005c8a4d
mov esp, ebp
pop ebp
ret 0xc