Function at 0x450c40
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x30
mov eax, dword [0x4b000c]
xor eax, esp
mov dword [esp + 0x2c], eax
push esi
push edi
mov esi, ecx
call dword [0xbcf924]
cmp dword [0x4d3824], 0
xorps xmm1, xmm1
mov edi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
movsd qword [esp + 0x10], xmm1
jne 0x450c7b
xorps xmm0, xmm0
jmp 0x450ca9
lea eax, [esp + 0x28]
push eax
call edi
mov ecx, dword [esp + 0x28]
sub ecx, dword [0xc0da18]
mov edx, dword [esp + 0x2c]
sbb edx, dword [0xc0da1c]
call fcn.0048cd20
mulsd xmm0, qword [0xc0da08]
movsd xmm1, qword [esp + 0x10]
cmp dword [0xbcf948], 0x3c
xorps xmm3, xmm3
movsd xmm4, qword [0x4a95f8]
subsd xmm0, qword [0x77e140]
movsd qword [esp + 0x18], xmm4
jle 0x450cd1
divsd xmm0, xmm4
jmp 0x450cd9
divsd xmm0, qword [0xbcf960]
cmp dword [0xbcf96c], 0
cvtsd2ss xmm3, xmm0
movaps xmm2, xmm3
subss xmm2, dword [0xbcf930]
mulss xmm2, dword [0x4a95a0]
addss xmm2, dword [0xbcf930]
movss dword [0xbcf930], xmm2
je 0x450d14
movss dword [0xbcf930], xmm3
movaps xmm2, xmm3
movss xmm3, dword [0x4a96c8]
test esi, esi
je 0x450dc7
mulss xmm2, xmm3
mov dword [esi + 4], 1
mov dword [esp + 8], 0x47800000
movss dword [esp + 0xc], xmm2
fld dword [esp + 0xc]
fmul dword [esp + 8]
fistp dword [esp + 0x20]
mov eax, dword [esp + 0x20]
sar eax, 0x10
cmp dword [0x4d3824], 0
mov dword [esi + 8], eax
je 0x450d8d
lea eax, [esp + 0x20]
push eax
call edi
mov ecx, dword [esp + 0x20]
sub ecx, dword [0xc0da18]
mov edx, dword [esp + 0x24]
sbb edx, dword [0xc0da1c]
call fcn.0048cd20
movsd xmm4, qword [esp + 0x18]
movaps xmm1, xmm0
mulsd xmm1, qword [0xc0da08]
cmp dword [0xbcf948], 0x3c
subsd xmm1, qword [0x77e140]
jle 0x450da4
divsd xmm1, xmm4
jmp 0x450dac
divsd xmm1, qword [0xbcf960]
movd xmm0, dword [0xbcf93c]
cvtsd2ss xmm1, xmm1
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
call fcn.0048cc50
mov dword [esi + 0xc], eax
call dword [0xbcf924]
mov dword [esp + 0x20], 0x47800000
fld dword [0xbcf930]
fmul dword [esp + 0x20]
fistp dword [esp + 8]
cmp dword [0x4d3824], 0
jne 0x450df7
movsd xmm0, qword [esp + 0x10]
movaps xmm1, xmm0
jmp 0x450e28
lea eax, [esp + 0x28]
push eax
call edi
mov ecx, dword [esp + 0x28]
sub ecx, dword [0xc0da18]
mov edx, dword [esp + 0x2c]
sbb edx, dword [0xc0da1c]
call fcn.0048cd20
movaps xmm1, xmm0
movsd xmm0, qword [esp + 0x10]
mulsd xmm1, qword [0xc0da08]
cmp dword [0xbcf948], 0x3c
subsd xmm1, qword [0x77e140]
jle 0x450e41
divsd xmm1, qword [esp + 0x18]
jmp 0x450e49
divsd xmm1, qword [0xbcf960]
cvtsd2ss xmm1, xmm1
movss dword [0xbcf974], xmm1
test esi, esi
je 0x450f08
mulss xmm1, dword [0x4a96c8]
mov dword [esp + 8], 0x47800000
movss dword [esp + 0x20], xmm1
fld dword [esp + 0x20]
fmul dword [esp + 8]
fistp dword [esp + 0xc]
mov eax, dword [esp + 0xc]
sar eax, 0x10
cmp dword [0x4d3824], 0
mov dword [esi + 0x10], eax
je 0x450eba
lea eax, [esp + 0x28]
push eax
call edi
mov ecx, dword [esp + 0x28]
sub ecx, dword [0xc0da18]
mov edx, dword [esp + 0x2c]
sbb edx, dword [0xc0da1c]
call fcn.0048cd20
mulsd xmm0, qword [0xc0da08]
cmp dword [0xbcf948], 0x3c
xorps xmm1, xmm1
subsd xmm0, qword [0x77e140]
jle 0x450ed6
divsd xmm0, qword [esp + 0x18]
jmp 0x450ede
divsd xmm0, qword [0xbcf960]
cvtsd2ss xmm1, xmm0
movd xmm0, dword [0xbcf93c]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
call fcn.0048cc50
movss xmm1, dword [0xbcf974]
mov dword [esi + 0x14], eax
mov eax, dword [0xbcf948]
mov dword [esi], eax
movd xmm0, dword [0xbcf93c]
cvtdq2ps xmm0, xmm0
mov dword [esp + 8], 0x47800000
mulss xmm0, xmm1
movss dword [esp + 0x20], xmm0
fld dword [esp + 0x20]
fmul dword [esp + 8]
fistp dword [esp + 0xc]
movss xmm1, dword [0xbcf974]
comiss xmm1, dword [0xbcf930]
jbe 0x450f6b
movss xmm0, dword [0xbcf934]
comiss xmm0, xmm1
jbe 0x450f53
xor eax, eax
jmp 0x450f88
mov dword [esp + 0x20], 0x47800000
fld dword [0xbcf974]
fmul dword [esp + 0x20]
fistp dword [esp + 8]
jmp 0x450f81
mov dword [esp + 0x20], 0x47800000
fld dword [0xbcf930]
fmul dword [esp + 0x20]
fistp dword [esp + 8]
mov eax, dword [esp + 8]
sar eax, 0x10
inc eax
cmp dword [0xbcf96c], 0
je 0x450fb2
mov dword [0xbcf96c], 0
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0046ad4d
mov esp, ebp
pop ebp
ret
cmp dword [0xbcf92c], 0
mov ecx, 1
mov dword [0xbcf958], eax
cmove eax, ecx
mov dword [0xbcf970], 0
cmp eax, ecx
mov dword [0xbcf928], 0
pop edi
cmova eax, ecx
mov ecx, dword [esp + 0x30]
pop esi
xor ecx, esp
call fcn.0046ad4d
mov esp, ebp
pop ebp
ret