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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x4b5200]
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 0x441cc1
lea edi, [esi + 0x148]
mov dword [esp + 0xc], edi
mov ebx, dword [ebp + 0x14]
lea ecx, [esi + 0x3e8]
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebx
push dword [ebp + 0x18]
push dword [ebp + 0x1c]
push dword [ebp + 0xc]
push eax
push edi
call fcn.0041b420
cmp dword [ebp + 0xc], 4
jne 0x441cfe
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0046b2f5
mov esp, ebp
pop ebp
ret 0x20
push dword [esi + 0x648]
mov eax, dword [sym.imp.USER32.dll_BringWindowToTop]
mov dword [esp + 0x20], eax
call eax
mov ecx, dword [esi + 0x3f0]
mov eax, dword [esi + 0x3ec]
mov dword [esp + 0x14], ecx
mov ecx, dword [esi + 0x3f4]
push 0x80
mov dword [esp + 0x1c], ecx
lea ecx, [esi + 0x418]
push eax
mov dword [esp + 0x18], eax
call fcn.00417af0
test edi, edi
jne 0x441d65
lea ecx, [esi + 0xd0]
mov eax, 0xd0
test ecx, ecx
mov edx, 0x418
cmove eax, edx
add eax, esi
mov dword [esi + 0x5d8], eax
mov dword [esi + 0x414], 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.0047bef0
mov ecx, eax
call fcn.0047c0c0
movsd qword [esp + 0x38], xmm0
test ebx, ebx
je 0x441db5
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.0047c0c0
divsd xmm0, qword [esp + 0x38]
jmp 0x441db8
xorps xmm0, xmm0
push 0
mov ecx, esi
movsd qword [esp + 0x34], xmm0
mov edi, 0xfffffc18
call fcn.004409d0
test eax, eax
je 0x441e92
test ebx, ebx
je 0x441e3c
movsd xmm0, qword [esp + 0x30]
xorps xmm1, xmm1
ucomisd xmm0, xmm1
movsd qword [esp + 0x20], xmm0
lahf
test ah, 0x44
jnp 0x441e18
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.0047c0c0
movaps xmm1, xmm0
divsd xmm1, qword [esp + 0x38]
subsd xmm1, qword [esp + 0x20]
divsd xmm1, qword [0x4ab3d8]
mov eax, ebx
shr eax, 0x1f
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [eax*8 + 0x4ab7a0]
comisd xmm1, xmm0
jae 0x441e92
mov eax, dword [esi + 0xd0]
cmp eax, 0xfffffffa
je 0x441e90
lea ecx, [esi + 0x418]
cmp dword [esi + 0x100], ecx
jne 0x441e67
cmp eax, dword [esp + 0x10]
je 0x441e89
cmp eax, dword [esp + 0x14]
je 0x441e7f
cmp eax, dword [esp + 0x18]
je 0x441e7a
push 0
mov ecx, esi
call fcn.004409d0
test eax, eax
jne 0x441dd4
jmp 0x441e92
or edi, 0xffffffff
jmp 0x441e92
mov edi, dword [ebp + 0xc]
dec edi
neg edi
sbb edi, edi
jmp 0x441e92
mov edi, 1
jmp 0x441e92
xor edi, edi
mov eax, dword [esp + 0xc]
test eax, eax
je 0x441ea4
push dword [eax + 0x230]
call dword [esp + 0x20]
lea ecx, [esi + 0x3e8]
call fcn.0041c390
mov ecx, dword [esp + 0x44]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0046b2f5
mov esp, ebp
pop ebp
ret 0x20