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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffff6c4
push ebx
push esi
push edi
mov esi, ecx
lea edi, [ebp - 0x18cc]
mov ecx, 0x626
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov esi, edx
lea edi, [ebp - 0x32]
mov ecx, 0xc
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ebx, eax
lea eax, [ebp - 0x32]
mov edx, dword [0x4be580]
call fcn.004052b4
lea eax, [ebp - 0x18cc]
mov edx, dword [0x4be690]
call fcn.004052b4
lea eax, [ebp - 0x18fe]
mov edx, dword [0x4be580]
call fcn.004050a0
lea eax, [ebp - 0x1930]
mov edx, dword [0x4be580]
call fcn.004050a0
mov edi, 0x504144
xor eax, eax
push ebp
push 0x4d6ba5
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4d6b3d
push dword fs:[eax]
mov dword fs:[eax], esp
fld dword [ebp - 0x2a]
fsub dword [ebp - 0x1890]
fmul st(0)
fstp xword [ebp - 0x193c]
wait
fld dword [ebp - 0x26]
fsub dword [ebp - 0x1888]
fmul st(0)
fld xword [ebp - 0x193c]
faddp st(1)
fsqrt
fld dword [ebp - 0x2a]
fsub dword [ebp - 0x1890]
fmul dword [ebp + 0xc]
fdivrp st(1)
fsubr dword [ebp - 0x1890]
fstp dword [ebp - 0x18f6]
wait
fld dword [ebp - 0x2a]
fsub dword [ebp - 0x1890]
fmul st(0)
fstp xword [ebp - 0x193c]
wait
fld dword [ebp - 0x26]
fsub dword [ebp - 0x1888]
fmul st(0)
fld xword [ebp - 0x193c]
faddp st(1)
fsqrt
fld dword [ebp - 0x26]
fsub dword [ebp - 0x1888]
fmul dword [ebp + 0xc]
fdivrp st(1)
fsubr dword [ebp - 0x1888]
fstp dword [ebp - 0x18f2]
wait
fld dword [ebp - 0x188c]
fadd dword [0x4d6bb8]
fstp dword [ebp - 0x18ee]
wait
fld dword [ebp - 0x1888]
fsub dword [ebp - 0x18f2]
fmul dword [ebp + 8]
fdiv dword [ebp + 0xc]
fadd dword [ebp - 0x18f6]
fstp dword [ebp - 0x1928]
wait
fld dword [ebp - 0x1890]
fsub dword [ebp - 0x18f6]
fmul dword [ebp + 8]
fdiv dword [ebp + 0xc]
fsubr dword [ebp - 0x18f2]
fstp dword [ebp - 0x1924]
wait
mov eax, dword [ebp - 0x18ee]
mov dword [ebp - 0x1920], eax
push ebx
mov eax, dword [edi]
push eax
call fcn.004c0180
test al, al
je 0x4d6abb
call sub.kernel32.dll_GetTickCount_1
mov esi, eax
jmp 0x4d6a8b
call sub.kernel32.dll_GetTickCount_1
sub eax, esi
cmp eax, 0x7530
ja 0x4d6abb
lea edx, [ebp - 0x18fe]
mov eax, ebx
call fcn.004bf19c
mov eax, 0x7d0
call fcn.004d6bd8
push ebx
mov eax, dword [edi]
push eax
call fcn.004c0180
test al, al
jne 0x4d6abb
mov eax, dword [edi]
fld dword [eax + 0x44]
fsub dword [ebp - 0x18f6]
fabs
fcomp dword [0x4d6bbc]
fnstsw ax
sahf
ja 0x4d6a59
mov eax, dword [edi]
fld dword [eax + 0x4c]
fsub dword [ebp - 0x18f2]
fabs
fcomp dword [0x4d6bbc]
fnstsw ax
sahf
ja 0x4d6a59
push ebx
mov eax, dword [edi]
push eax
call fcn.004c0180
test al, al
je 0x4d6b33
call sub.kernel32.dll_GetTickCount_1
mov esi, eax
jmp 0x4d6b03
call sub.kernel32.dll_GetTickCount_1
sub eax, esi
cmp eax, 0x7530
ja 0x4d6b33
lea edx, [ebp - 0x1930]
mov eax, ebx
call fcn.004bf19c
mov eax, 0xbb8
call fcn.004d6bd8
push ebx
mov eax, dword [edi]
push eax
call fcn.004c0180
test al, al
jne 0x4d6b33
mov eax, dword [edi]
fld dword [eax + 0x44]
fsub dword [ebp - 0x1928]
fabs
fcomp dword [0x4d6bbc]
fnstsw ax
sahf
ja 0x4d6ad1
mov eax, dword [edi]
fld dword [eax + 0x4c]
fsub dword [ebp - 0x1924]
fabs
fcomp dword [0x4d6bbc]
fnstsw ax
sahf
ja 0x4d6ad1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4d6b62
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d6bac
lea eax, [ebp - 0x1930]
mov edx, dword [0x4be580]
mov ecx, 2
call fcn.004051bc
lea eax, [ebp - 0x18cc]
mov edx, dword [0x4be690]
call fcn.00405170
lea eax, [ebp - 0x32]
mov edx, dword [0x4be580]
call fcn.00405170
ret