Function at 0x4a4b30
Capabilities:
Check for time delay via gettickcount
Check for time delay via queryperformancecounter

Disassembly:
mov eax, dword [0x7dce2c]
sub esp, 0x1c
push ebx
push ebp
xor ebp, ebp
cmp eax, ebp
jne 0x4a4b8d
mov eax, dword [0x7dcde8]
push ebp
push eax
mov ecx, dword [eax]
call dword [ecx + 0x4c]
mov ebx, eax
cmp ebx, 0x887601c2
je 0x4a4b5e
cmp ebx, 0x887601ae
jne 0x4a4b8f
mov eax, dword [0x7dcdec]
push eax
mov edx, dword [eax]
call dword [edx + 0x68]
mov ebx, eax
cmp ebx, ebp
jl 0x4a4b8f
mov eax, dword [0x7dcde8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
test eax, eax
setge bl
and ebx, 0xff
jl 0x4a4d6d
jmp 0x4a4b8f
xor ebx, ebx
fld dword [0x597444]
fcomp dword [0x4c336c]
mov edx, dword [0x597444]
mov dword [esp + 0x10], edx
fnstsw ax
test ah, 0x40
jne 0x4a4d6d
push esi
mov esi, dword [0x7dce44]
inc esi
push edi
mov dword [0x7dce44], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov edx, dword [0x7dce40]
mov ecx, dword [0x597454]
sub eax, edx
cmp eax, ecx
jb 0x4a4c45
call esi
mov ecx, dword [0x7dce44]
mov dword [0x7dce40], eax
mov eax, dword [0x597450]
cmp eax, ecx
je 0x4a4c3f
fld dword [0x59743c]
jb 0x4a4bf9
fchs
fadd dword [0x7dce30]
fst dword [0x7dce30]
fcomp dword [0x597440]
fnstsw ax
test ah, 0x41
jne 0x4a4c1e
mov eax, dword [0x597440]
mov dword [0x7dce30], eax
jmp 0x4a4c3f
fld dword [0x597440]
fchs
fld dword [0x7dce30]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x4a4c3d
fstp dword [0x7dce30]
jmp 0x4a4c3f
fstp st(0)
mov dword [0x7dce44], ebp
fld dword [0x7dce3c]
fcomp dword [0x4c336c]
fnstsw ax
test ah, 0x40
je 0x4a4c79
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], edx
fild qword [esp + 0x10]
fstp dword [0x7dce3c]
mov edi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [esp + 0x1c]
push eax
call edi
mov eax, dword [esp + 0x1c]
mov ecx, dword [0x7dce38]
mov esi, eax
sub eax, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebp
fild qword [esp + 0x10]
fmul dword [0x4c39c4]
fdiv dword [0x7dce3c]
fst dword [esp + 0x10]
fsub dword [esp + 0x18]
fcomp dword [0x7dce30]
fnstsw ax
test ah, 0x41
mov eax, dword [0x7dce2c]
jne 0x4a4cf4
cmp eax, ebp
jne 0x4a4cf8
fld dword [0x7dce30]
fadd dword [esp + 0x18]
fdivr dword [esp + 0x10]
call fcn.004ac370
mov ecx, dword [0x597438]
mov dword [0x7dce2c], eax
cmp eax, ecx
jbe 0x4a4d65
mov dword [0x7dce2c], ecx
jmp 0x4a4d65
cmp eax, ebp
je 0x4a4d00
dec dword [0x7dce2c]
jmp 0x4a4d65
fld dword [esp + 0x10]
fcomp dword [esp + 0x18]
fnstsw ax
test ah, 1
je 0x4a4d65
mov eax, dword [0x7dcdfc]
cmp eax, ebp
je 0x4a4d29
fld dword [esp + 0x18]
fsub dword [esp + 0x10]
push ecx
fstp dword [esp]
call eax
add esp, 4
lea ecx, [esp + 0x24]
push ecx
call edi
mov eax, dword [esp + 0x24]
mov ecx, dword [0x7dce38]
mov esi, eax
sub eax, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebp
fild qword [esp + 0x1c]
fmul dword [0x4c39c4]
fdiv dword [0x7dce3c]
fst dword [esp + 0x10]
fcomp dword [esp + 0x18]
fnstsw ax
test ah, 1
jne 0x4a4d0f
mov dword [0x7dce38], esi
pop edi
pop esi
xor eax, eax
cmp ebx, ebp
pop ebp
pop ebx
setge al
add esp, 0x1c
ret