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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1b4], 0xb
je 0x4e53f9
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1b4], 9
je 0x4e53f9
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1b4], 0xd
je 0x4e53f9
mov eax, dword [ebp - 4]
mov byte [eax + 0x258], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x294]
cmp dword [eax + 8], 2
jl 0x4e5225
mov eax, dword [ebp - 4]
mov byte [eax + 0x258], 1
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x220]
mov eax, dword [ebp - 4]
sub edx, dword [eax + 0x218]
mov eax, dword [ebp - 4]
mov si, 0xfff8
call fcn.00404400
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x220]
mov eax, dword [ebp - 4]
sub edx, dword [eax + 0x218]
mov eax, dword [ebp - 4]
mov si, 0xfff7
call fcn.00404400
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x220]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1b4], 0
je 0x4e5365
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x220]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x218]
jl 0x4e52a5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x220]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x21c]
jle 0x4e52b7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x218]
mov edx, dword [ebp - 4]
mov dword [edx + 0x220], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x258], 0
je 0x4e52e9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x244]
add eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x10], eax
fild qword [ebp - 0x14]
fdiv dword [0x4e5400]
call fcn.00403404
mov dword [ebp - 0xc], eax
jmp 0x4e52f5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x244]
mov dword [ebp - 0xc], eax
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x248]
cmp eax, dword [ebp - 0xc]
jbe 0x4e534a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x220]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x21c]
jge 0x4e5335
mov eax, dword [ebp - 4]
inc dword [eax + 0x220]
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x248], eax
jmp 0x4e534a
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x1b4], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0x156], 0
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x260], edx
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x264], eax
jmp 0x4e53d1
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x270]
cmp eax, 0xc8
jbe 0x4e53d1
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x264]
cmp eax, 0x1f4
jbe 0x4e53c5
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x264], eax
mov eax, dword [ebp - 4]
inc dword [eax + 0x260]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x260]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x268]
jl 0x4e53c5
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x260], edx
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00404400
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x220]
je 0x4e53f9
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x278], eax
mov eax, dword [ebp - 4]
mov si, 0xfff3
call fcn.00404400
pop esi
mov esp, ebp
pop ebp
ret