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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
mov eax, dword [0x735300]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0xc0], ebx
mov dword [ebp - 0xbc], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
mov dword [ebp - 0xd8], 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 [0x697f50]
comiss xmm1, xmm0
movss dword [ebp - 0xc4], xmm0
jbe 0x4b0a68
push 0x6c
lea eax, [ebp - 0xb0]
push 0
push eax
call fcn.00569490
mov eax, dword [ebx]
lea ecx, [ebp - 0xb0]
add esp, 0xc
mov dword [ebp - 0xb0], 0x6c
push 0
push 0x811
push ecx
push 0
push ebx
call dword [eax + 0x64]
test eax, eax
js 0x4b0a91
mov eax, dword [ebp - 0xbc]
test eax, eax
jne 0x4b06f2
mov ebx, dword [edi + 0xc]
imul ebx, dword [ebp - 0xa0]
push ebx
call fcn.0056ddf3
add esp, 4
mov dword [ebp - 0xbc], eax
test eax, eax
je 0x4b0a3b
push ebx
push dword [ebp - 0x8c]
push eax
call fcn.00568e40
mov eax, dword [ebp - 0xbc]
add esp, 0xc
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0xb8], eax
mov eax, ecx
shr eax, 0x10
and eax, 0xff
movss xmm2, dword [ebp - 0xc4]
mov ebx, dword [ebp - 0x8c]
mov dword [ebp - 0xb4], 0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x697fb0]
mov eax, ecx
shr eax, 8
and eax, 0xff
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm2
cvttss2si edx, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
mov dword [ebp - 0xd0], edx
addsd xmm0, qword [eax*8 + 0x697fb0]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm2
cvttss2si eax, xmm0
mov dword [ebp - 0xc8], eax
movzx eax, cl
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
cmp dword [edi + 0xc], 0
addsd xmm0, qword [eax*8 + 0x697fb0]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm2
cvttss2si eax, xmm0
mov dword [ebp - 0xcc], eax
jle 0x4b08e6
mov ecx, dword [edi + 8]
mov esi, dword [ebp - 0xb8]
nop
mov dword [ebp - 0xb8], 0
test ecx, ecx
jle 0x4b089d
movd xmm4, dword [ebp - 0xc8]
movss xmm1, dword [0x697f50]
movd xmm3, edx
subss xmm1, xmm2
movd xmm5, eax
cvtdq2ps xmm3, xmm3
cvtdq2ps xmm4, xmm4
cvtdq2ps xmm5, xmm5
mov edx, dword [esi]
mov eax, edx
shr eax, 0x10
add esi, 4
and eax, 0xff
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x697fb0]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
addss xmm0, xmm3
cvttss2si eax, xmm0
movzx ecx, al
mov eax, edx
shr eax, 8
and eax, 0xff
shl ecx, 8
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x697fb0]
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 + 0x697fb0]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
addss xmm0, xmm5
cvttss2si eax, xmm0
movzx eax, al
or ecx, eax
mov eax, dword [ebp - 0xb8]
mov dword [ebx], ecx
inc eax
add ebx, 4
mov dword [ebp - 0xb8], eax
cmp eax, dword [edi + 8]
jl 0x4b07e7
mov eax, dword [ebp - 0xa0]
mov ecx, dword [edi + 8]
cdq
and edx, 3
add eax, edx
mov edx, dword [ebp - 0xd0]
sar eax, 2
sub eax, ecx
shl eax, 2
add esi, eax
add ebx, eax
mov eax, dword [ebp - 0xb4]
inc eax
cmp eax, dword [edi + 0xc]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xcc]
jl 0x4b07b0
mov esi, dword [ebp - 0xd8]
mov ebx, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0xc0]
push ebx
mov ebx, ecx
push ebx
mov eax, dword [ecx]
call dword [eax + 0x80]
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
push dword [edi + 0xc]
push dword [edi + 8]
call fcn.004afd40
mov eax, dword [edi + 0x20]
lea edx, [ebp - 0x14]
push 0
push 0x1000000
push 0
mov ecx, dword [eax]
push ebx
push edx
push eax
call dword [ecx + 0x14]
test eax, eax
jns 0x4b0992
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [ebx]
mov dword [ebp - 0xb4], eax
lea eax, [ebp - 0xd4]
push eax
push ebx
call dword [ecx + 0x44]
test eax, eax
js 0x4b0984
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
sub eax, edx
mov ecx, dword [ebp - 0x14]
push 0xcc0020
push dword [edi + 0xc]
push dword [edi + 8]
push 0
push 0
push dword [ebp - 0xd4]
push eax
mov eax, dword [ebp - 0xc]
sub eax, ecx
push eax
push edx
push ecx
push dword [ebp - 0xb4]
call dword [sym.imp.GDI32.dll_StretchBlt]
push dword [ebp - 0xd4]
mov eax, dword [ebx]
push ebx
call dword [eax + 0x68]
push dword [ebp - 0xb4]
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
lea eax, [ebp - 0x44]
mov ecx, edi
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004afcb0
mov ebx, dword [ebp - 0xd0]
lea eax, [ebp - 0x34]
shl ebx, 8
mov ecx, edi
or ebx, dword [ebp - 0xc8]
shl ebx, 8
or ebx, dword [ebp - 0xcc]
push ebx
push eax
call fcn.004afdf0
push ebx
lea eax, [ebp - 0x44]
mov ecx, edi
push eax
call fcn.004afdf0
mov edx, dword [edi + 0x24]
test edx, edx
je 0x4b09f7
movss xmm0, dword [ebp - 0xc4]
mulss xmm0, dword [0x6a7a10]
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 [0x697f50]
comiss xmm1, xmm0
movss dword [ebp - 0xc4], xmm0
jbe 0x4b0a68
mov ebx, dword [ebp - 0xc0]
jmp 0x4b0676
mov ecx, dword [ebp - 0xc0]
push dword [ebp - 0x8c]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x80]
pop edi
pop esi
mov eax, 0x8007000e
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005688a8
mov esp, ebp
pop ebp
ret 0xc
push dword [ebp - 0xbc]
call fcn.0056ddbb
add esp, 4
lea eax, [ebp - 0x24]
mov ecx, edi
push eax
call fcn.004afe90
push dword [ebp + 0x10]
lea eax, [ebp - 0x24]
mov ecx, edi
push eax
call fcn.004afdf0
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005688a8
mov esp, ebp
pop ebp
ret 0xc