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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x49c00c]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
cmp byte [edi + 0x9e], bl
je 0x445b5f
mov eax, dword [edi + 0xf4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov ebx, eax
test ebx, ebx
jns 0x445b58
cmp ebx, 0x88760868
je 0x445e7b
cmp ebx, 0x88760869
jne 0x445b44
cmp byte [edi + 0x9c], 0
je 0x445b3b
cmp byte [edi + 0x30], 0
je 0x445b1d
mov ecx, dword [edi + 0x34]
jmp 0x445b20
mov ecx, dword [edi + 0x6c]
mov edx, dword [edi + 0xf0]
lea eax, [edi + 0x40]
push eax
push dword [ecx]
mov esi, dword [edx]
push edx
call dword [esi + 0x20]
mov eax, dword [edi + 0x4c]
mov dword [edi + 0xb0], eax
mov ecx, edi
call fcn.00445310
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0046c079
mov esp, ebp
pop ebp
ret
mov byte [edi + 0x9e], 0
cmp dword [0x49fd28], 0
jne 0x445bac
lea eax, [esp + 0x18]
mov dword [0x49fd28], 1
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
add dword [ebx + 0x49fd38], esp
test eax, eax
je 0x445c43
mov edx, dword [esp + 0x18]
mov eax, edx
mov esi, dword [esp + 0x1c]
mov ecx, esi
shld ecx, eax, 1
add eax, eax
add edx, eax
mov dword [0x49fd00], edx
adc esi, ecx
mov dword [0x49fd04], esi
mov esi, dword [0x49fd38]
test esi, esi
je 0x445c49
mov ecx, dword [0x49fd20]
mov eax, ecx
mov edx, dword [0x49fd24]
or eax, edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x10], edx
jne 0x445bff
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [0x49fd24]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov esi, dword [0x49fd38]
mov dword [esp + 0x10], eax
mov eax, dword [0x49fd20]
mov dword [esp + 0x20], eax
sub ecx, dword [0x49fd18]
sbb edx, dword [0x49fd1c]
call fcn.0046df10
mov edx, dword [0x49fd04]
mov ecx, dword [0x49fd00]
movsd qword [esp + 0x18], xmm0
call fcn.0046df10
movsd xmm1, qword [esp + 0x18]
divsd xmm1, xmm0
mov ecx, dword [0x49fd20]
mov edx, dword [0x49fd24]
cvtpd2ps xmm0, xmm1
jmp 0x445ca6
mov esi, dword [0x49fd38]
movsd xmm0, qword [0x49fd30]
xorps xmm1, xmm1
ucomisd xmm0, xmm1
lahf
test ah, 0x44
jp 0x445c86
call dword [sym.imp.WINMM.dll_timeGetTime]
mov esi, dword [0x49fd38]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x486a90]
mulsd xmm0, qword [0x486840]
subsd xmm0, qword [0x49fd40]
mov edx, dword [0x49fd24]
mov ecx, dword [0x49fd20]
mov dword [esp + 0x10], edx
mov dword [esp + 0x20], ecx
cvtpd2ps xmm0, xmm0
cmp dword [0x49fd28], 0
movss dword [esp + 0x18], xmm0
jne 0x445d13
lea eax, [esp + 0x10]
mov dword [0x49fd28], 1
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov dword [0x49fd38], eax
test eax, eax
je 0x445d7e
mov edx, dword [esp + 0x10]
mov eax, edx
mov esi, dword [esp + 0x14]
mov ecx, esi
shld ecx, eax, 1
add eax, eax
add edx, eax
mov dword [0x49fd00], edx
mov edx, dword [0x49fd24]
adc esi, ecx
mov ecx, dword [0x49fd20]
mov dword [0x49fd04], esi
mov esi, dword [0x49fd38]
mov dword [esp + 0x10], edx
mov dword [esp + 0x20], ecx
test esi, esi
je 0x445d7e
mov eax, ecx
or eax, edx
jne 0x445d38
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], edx
mov dword [esp + 0x20], ecx
sub ecx, dword [0x49fd10]
mov eax, dword [esp + 0x20]
sbb edx, dword [0x49fd14]
mov dword [0x49fd10], eax
mov eax, dword [esp + 0x10]
mov dword [0x49fd14], eax
call fcn.0046df10
mov edx, dword [0x49fd04]
mov ecx, dword [0x49fd00]
movsd qword [esp + 0x10], xmm0
call fcn.0046df10
movsd xmm1, qword [esp + 0x10]
divsd xmm1, xmm0
jmp 0x445dc8
movsd xmm0, qword [0x49fd30]
xorps xmm1, xmm1
ucomisd xmm0, xmm1
lahf
test ah, 0x44
jp 0x445db5
call dword [sym.imp.WINMM.dll_timeGetTime]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x486a90]
mulsd xmm0, qword [0x486840]
movaps xmm1, xmm0
subsd xmm1, qword [0x49fd08]
movsd qword [0x49fd08], xmm0
cvtpd2ps xmm1, xmm1
xorps xmm0, xmm0
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x445de5
cmp byte [edi + 0xa4], 0
jne 0x445e7b
cmp byte [edi + 0xa4], 0
jne 0x445df7
cmp byte [edi + 0xa5], 0
je 0x445e25
mov eax, dword [edi]
mov ecx, edi
movss xmm0, dword [esp + 0x18]
movss dword [edi + 0x270], xmm0
movss dword [edi + 0x274], xmm1
call dword [eax + 0x18]
mov ebx, eax
test ebx, ebx
js 0x445b44
mov byte [edi + 0xa5], 0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov eax, dword [0x49fcec]
mov ecx, edi
mov edx, dword [edi]
cmp eax, 2
jne 0x445e63
mov dword [0x49fcec], 0
call dword [edx + 0x1c]
test eax, eax
js 0x445e7d
mov ecx, dword [edi + 0xf4]
push 0
push 0
push 0
mov eax, dword [ecx]
push 0
push ecx
call dword [eax + 0x44]
mov ebx, eax
jmp 0x445e6c
inc eax
mov dword [0x49fcec], eax
call dword [edx + 0x20]
cmp ebx, 0x88760868
jne 0x445e7b
mov byte [edi + 0x9e], 1
xor eax, eax
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0046c079
mov esp, ebp
pop ebp
ret