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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x4b4200]
xor eax, esp
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, ecx
mov dword [esp + 0xc], edi
test edi, edi
jne 0x440711
lea edi, [esi + 0x150]
mov dword [esp + 0xc], edi
mov ebx, dword [ebp + 0x14]
lea ecx, [esi + 0x3f8]
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebx
push dword [ebp + 0x18]
push dword [ebp + 0x1c]
push dword [ebp + 0xc]
push eax
push edi
call fcn.0041b5b0
cmp dword [ebp + 0xc], 4
jne 0x44074e
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.00469dc5
mov esp, ebp
pop ebp
ret 0x20
push dword [esi + 0x658]
mov eax, dword [sym.imp.USER32.dll_BringWindowToTop]
mov dword [esp + 0x20], eax
call eax
mov ecx, dword [esi + 0x400]
mov eax, dword [esi + 0x3fc]
mov dword [esp + 0x14], ecx
mov ecx, dword [esi + 0x404]
push 0x80
mov dword [esp + 0x1c], ecx
lea ecx, [esi + 0x428]
push eax
mov dword [esp + 0x18], eax
call fcn.00417cb0
test edi, edi
jne 0x4407b5
lea ecx, [esi + 0xd8]
mov eax, 0xd8
test ecx, ecx
mov edx, 0x428
cmove eax, edx
add eax, esi
mov dword [esi + 0x5e8], eax
mov dword [esi + 0x424], ecx
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
push 0
push 0x3e8
push dword [esp + 0x34]
push dword [esp + 0x34]
call fcn.0047af30
mov ecx, eax
call fcn.0047b110
movsd qword [esp + 0x38], xmm0
test ebx, ebx
je 0x440805
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
call fcn.0047b110
divsd xmm0, qword [esp + 0x38]
jmp 0x440808
xorps xmm0, xmm0
push 0
mov ecx, esi
movsd qword [esp + 0x34], xmm0
mov edi, 0xfffffc18
call fcn.0043f210
test eax, eax
je 0x4408e2
test ebx, ebx
je 0x44088c
movsd xmm0, qword [esp + 0x30]
xorps xmm1, xmm1
ucomisd xmm0, xmm1
movsd qword [esp + 0x20], xmm0
lahf
test ah, 0x44
jnp 0x440868
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
call fcn.0047b110
movaps xmm1, xmm0
divsd xmm1, qword [esp + 0x38]
subsd xmm1, qword [esp + 0x20]
divsd xmm1, qword [0x4aa480]
mov eax, ebx
shr eax, 0x1f
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [eax*8 + 0x4aa860]
comisd xmm1, xmm0
jae 0x4408e2
mov eax, dword [esi + 0xd8]
cmp eax, 0xfffffffa
je 0x4408e0
lea ecx, [esi + 0x428]
cmp dword [esi + 0x108], ecx
jne 0x4408b7
cmp eax, dword [esp + 0x10]
je 0x4408d9
cmp eax, dword [esp + 0x14]
je 0x4408cf
cmp eax, dword [esp + 0x18]
je 0x4408ca
push 0
mov ecx, esi
call fcn.0043f210
test eax, eax
jne 0x440824
jmp 0x4408e2
or edi, 0xffffffff
jmp 0x4408e2
mov edi, dword [ebp + 0xc]
dec edi
neg edi
sbb edi, edi
jmp 0x4408e2
mov edi, 1
jmp 0x4408e2
xor edi, edi
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4408f4
push dword [eax + 0x230]
call dword [esp + 0x20]
lea ecx, [esi + 0x3f8]
call fcn.0041c540
mov ecx, dword [esp + 0x44]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00469dc5
mov esp, ebp
pop ebp
ret 0x20