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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffd4
mov ebx, eax
call sub.KERNEL32.DLL_GetTickCount
mov esi, eax
sub esi, dword [ebx + 0x48]
cmp esi, dword [0x54eaa4]
jb 0x4eac44
mov ebp, dword [ebx + 0x50]
sub ebp, dword [ebx + 0x4c]
mov dword [esp + 0x10], ebp
xor eax, eax
mov dword [esp + 0x14], eax
fild qword [esp + 0x10]
mov dword [esp + 0x18], esi
xor eax, eax
mov dword [esp + 0x1c], eax
fild qword [esp + 0x18]
fdivp st(1)
fmul dword [0x4eae44]
call fcn.00403588
mov edi, eax
mov eax, dword [ebx + 0x40]
mov dword [eax + 0x30], edi
test edi, edi
jbe 0x4eac28
mov eax, dword [ebx + 0x40]
cmp edi, dword [eax + 0x68]
jae 0x4eac28
mov eax, dword [ebx + 0x40]
mov dword [eax + 0x68], edi
mov eax, dword [ebx + 0x40]
mov edx, dword [eax + 0x30]
cmp edx, dword [eax + 0x64]
jbe 0x4eac36
mov dword [eax + 0x64], edx
call sub.KERNEL32.DLL_GetTickCount
mov dword [ebx + 0x48], eax
mov eax, dword [ebx + 0x50]
mov dword [ebx + 0x4c], eax
call sub.KERNEL32.DLL_GetTickCount
mov esi, eax
mov edi, dword [ebx + 0x40]
sub esi, dword [edi + 0x4c]
test esi, esi
jbe 0x4eac84
mov eax, dword [ebx + 0x50]
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 0x14], eax
fild qword [esp + 0x10]
mov dword [esp + 0x18], esi
xor eax, eax
mov dword [esp + 0x1c], eax
fild qword [esp + 0x18]
fdivp st(1)
fmul dword [0x4eae44]
call fcn.00403588
mov dword [edi + 0x60], eax
mov eax, dword [ebx + 0x40]
mov esi, dword [eax + 0x48]
test esi, esi
jbe 0x4eacbf
mov eax, dword [ebx + 0x50]
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 0x14], eax
fild qword [esp + 0x10]
mov dword [esp + 0x18], esi
xor eax, eax
mov dword [esp + 0x1c], eax
fild qword [esp + 0x18]
fdivp st(1)
fmul dword [0x4eae48]
call fcn.00403588
jmp 0x4ead53
mov eax, dword [ebx + 0x40]
mov edx, dword [eax + 0x1c]
test edx, edx
jbe 0x4ead51
cmp dword [eax + 0x2c], 0
jbe 0x4ead51
mov ecx, dword [eax + 0x18]
mov dword [esp + 0x10], ecx
xor ecx, ecx
mov dword [esp + 0x14], ecx
fild qword [esp + 0x10]
mov dword [esp + 0x18], edx
xor edx, edx
mov dword [esp + 0x1c], edx
fild qword [esp + 0x18]
fdivp st(1)
fmul dword [0x4eae48]
fstp qword [esp]
wait
mov edx, dword [eax + 0x28]
mov dword [esp + 0x10], edx
xor edx, edx
mov dword [esp + 0x14], edx
fild qword [esp + 0x10]
mov eax, dword [eax + 0x2c]
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x1c], eax
fild qword [esp + 0x18]
fdivp st(1)
fmul dword [0x4eae48]
mov eax, dword [ebx + 0x40]
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0x24], eax
fild qword [esp + 0x20]
fdivp st(1)
fstp qword [esp + 8]
wait
fld qword [esp]
fadd qword [esp + 8]
call fcn.00403588
jmp 0x4ead53
xor eax, eax
mov edx, dword [ebx + 0x40]
cmp al, byte [edx + 0x3c]
jbe 0x4ead5e
mov byte [edx + 0x3c], al
mov eax, dword [ebx + 0x40]
cmp byte [eax + 0x3c], 0x64
jbe 0x4ead6b
mov byte [eax + 0x3c], 0x64
call sub.KERNEL32.DLL_GetTickCount
mov esi, dword [ebx + 0x40]
sub eax, dword [esi + 0x4c]
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 0x14], eax
fild qword [esp + 0x10]
fdiv dword [0x4eae44]
call fcn.00403594
mov dword [esi + 0x34], eax
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x48]
test eax, eax
jbe 0x4eadf8
mov edi, eax
sub edi, dword [ebx + 0x50]
mov eax, dword [esi + 0x30]
add eax, dword [esi + 0x60]
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 0x14], eax
fild qword [esp + 0x10]
fdiv dword [0x4eae4c]
call fcn.00403588
mov esi, eax
test esi, esi
jbe 0x4eae39
mov dword [esp + 0x10], edi
xor eax, eax
mov dword [esp + 0x14], eax
fild qword [esp + 0x10]
mov dword [esp + 0x18], esi
xor eax, eax
mov dword [esp + 0x1c], eax
fild qword [esp + 0x18]
fdivp st(1)
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.0045ab60
mov edx, dword [ebx + 0x40]
mov dword [edx + 0x38], eax
jmp 0x4eae39
movzx eax, byte [esi + 0x3c]
test al, al
jbe 0x4eae39
mov edx, dword [esi + 0x34]
mov dword [esp + 0x10], edx
xor edx, edx
mov dword [esp + 0x14], edx
fild qword [esp + 0x10]
movzx eax, al
mov dword [esp + 0x28], eax
fild dword [esp + 0x28]
fdivp st(1)
fmul dword [0x4eae48]
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.0045ab60
mov edx, dword [ebx + 0x40]
sub eax, dword [edx + 0x34]
mov dword [edx + 0x38], eax
add esp, 0x2c
pop ebp
pop edi
pop esi
pop ebx
ret