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

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0xbda890], 0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
mov esi, dword [ebp + 8]
push edi
je 0x4d78f3
call ebx
sub eax, dword [esi + 0x710]
cmp eax, dword [0xbda894]
jae 0x4d78f3
xor al, al
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8
call ebx
mov dword [esi + 0x710], eax
xor ebx, ebx
mov eax, dword [ebp + 0xc]
xor edi, edi
mov dword [ebp + 8], ebx
movsx eax, word [eax + 4]
add eax, 0xffffe400
cmp eax, 0x85
ja case.0x4d7920.7175
movzx eax, byte [eax + 0x4d7c34]
jmp dword [eax*4 + 0x4d7bf0]
movd xmm0, dword [0xbdad08]
movd xmm1, dword [esi + 0x14c]
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm0, xmm0
addss xmm1, dword [esi + 0x100]
mulss xmm1, xmm0
divss xmm1, dword [0x56a810]
cvttss2si ebx, xmm1
jmp case.0x4d7920.7175
movd xmm0, dword [0xbdad0c]
jmp 0x4d792f
movd xmm0, dword [0xbdad10]
jmp 0x4d792f
movd xmm0, dword [0xbdad14]
jmp 0x4d792f
movd xmm0, dword [0xbdad18]
movd xmm1, dword [esi + 0x150]
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm0, xmm0
addss xmm1, dword [esi + 0x10c]
mulss xmm1, xmm0
divss xmm1, dword [0x56a810]
cvttss2si eax, xmm1
mov dword [ebp + 8], eax
jmp case.0x4d7920.7175
movd xmm0, dword [0xbdad1c]
jmp 0x4d7980
movd xmm0, dword [0xbdad20]
jmp 0x4d7980
mov ecx, dword [esi + 0x15c]
add ecx, dword [esi + 0x158]
imul ecx, dword [0xbdad24]
jmp 0x4d7b03
mov ecx, dword [esi + 0x15c]
add ecx, dword [esi + 0x158]
imul ecx, dword [0xbdad28]
jmp 0x4d7b03
mov ecx, dword [esi + 0x15c]
add ecx, dword [esi + 0x158]
imul ecx, dword [0xbdad2c]
jmp 0x4d7b03
movd xmm1, dword [esi + 0x14c]
movd xmm0, dword [0xbdad30]
cvtdq2ps xmm1, xmm1
mov ecx, dword [esi + 0x15c]
add ecx, dword [esi + 0x158]
cvtdq2ps xmm0, xmm0
addss xmm1, dword [esi + 0x100]
imul ecx, dword [0xbdad34]
mulss xmm1, xmm0
divss xmm1, dword [0x56a810]
cvttss2si ebx, xmm1
jmp 0x4d7b03
movd xmm1, dword [esi + 0x14c]
movd xmm0, dword [0xbdad38]
cvtdq2ps xmm1, xmm1
mov ecx, dword [esi + 0x15c]
add ecx, dword [esi + 0x158]
cvtdq2ps xmm0, xmm0
addss xmm1, dword [esi + 0x100]
imul ecx, dword [0xbdad3c]
mulss xmm1, xmm0
divss xmm1, dword [0x56a810]
cvttss2si ebx, xmm1
jmp 0x4d7b03
movd xmm1, dword [esi + 0x14c]
movd xmm0, dword [0xbdad40]
cvtdq2ps xmm1, xmm1
mov ecx, dword [esi + 0x15c]
add ecx, dword [esi + 0x158]
cvtdq2ps xmm0, xmm0
addss xmm1, dword [esi + 0x100]
imul ecx, dword [0xbdad44]
mulss xmm1, xmm0
divss xmm1, dword [0x56a810]
cvttss2si ebx, xmm1
jmp 0x4d7b03
movd xmm0, dword [0xbdad48]
jmp 0x4d792f
movd xmm0, dword [0xbdad4c]
jmp 0x4d7980
mov ecx, dword [esi + 0x15c]
add ecx, dword [esi + 0x158]
imul ecx, dword [0xbdad50]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov edi, edx
shr edi, 0x1f
add edi, edx
movd xmm1, dword [esi + 0x14c]
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
addss xmm0, dword [esi + 0xfc]
addss xmm1, dword [esi + 0x100]
comiss xmm0, xmm1
jbe 0x4d7b40
movaps xmm0, xmm1
jmp 0x4d7b43
movaps xmm1, xmm0
movss dword [esi + 0xfc], xmm0
lea edx, [esi + 0x154]
mov ecx, dword [esi + 0x15c]
mov eax, dword [edx]
add ecx, dword [esi + 0x158]
add eax, edi
cmp eax, ecx
jle 0x4d7b69
mov eax, ecx
jmp 0x4d7b6b
mov ecx, eax
mov dword [edx], eax
or dl, 0xff
cvttss2si eax, xmm1
push ecx
mov ecx, dword [esi]
push eax
call fcn.004e96c0
movd xmm1, dword [ebp + 8]
add esp, 8
movd xmm0, dword [esi + 0x150]
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm0, xmm0
addss xmm1, dword [esi + 0x108]
addss xmm0, dword [esi + 0x10c]
comiss xmm1, xmm0
jbe 0x4d7bad
movaps xmm1, xmm0
jmp 0x4d7bb0
movaps xmm0, xmm1
movss dword [esi + 0x108], xmm1
mov edx, dword [esi + 0x130]
add edx, dword [esi + 0x12c]
mov eax, dword [esi + 0x128]
cmp eax, edx
cmovle edx, eax
cvttss2si eax, xmm0
push edx
mov dword [esi + 0x128], edx
mov ecx, dword [esi]
push eax
call fcn.004e9750
add esp, 8
mov al, 1
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8