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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push edi
mov bl, 1
call fcn.00406075
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
test al, al
jne 0x49aeec
xor bl, bl
call fcn.00405df9
cmp byte [eax + 0x4c], 0
jne 0x49aefe
mov byte [0x95f2f6], 1
push dword [0x95f2e8]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x49af10
xor bl, bl
push dword [0x95f2e8]
mov edi, dword [sym.imp.USER32.dll_IsWindowVisible]
call edi
test eax, eax
jne 0x49af24
xor bl, bl
mov al, byte [0x6a5334]
test al, al
jne 0x49af2f
xor bl, bl
cmp byte [0x95f2f6], 0
jne 0x49af3a
xor bl, bl
test bl, bl
jne 0x49af4d
push 5
call dword [sym.imp.KERNEL32.dll_Sleep]
xor al, al
jmp 0x49b2a9
test al, al
jne 0x49af59
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x6a5340], 0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
je 0x49af96
push 0x95f310
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
jne 0x49af88
push str.No_Performance_Counter_
call fcn.004500b3
pop ecx
jmp 0x6040ab
push 0x95f308
call esi
mov byte [0x6a5340], 0
lea eax, [ebp - 0x14]
push eax
call esi
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov eax, ecx
sub eax, dword [0x95f308]
mov ebx, edx
sbb ebx, dword [0x95f30c]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ebx
fild qword [ebp - 0xc]
fild qword [0x95f310]
fdivp st(1)
fcom qword [0x645238]
fst dword [ebp - 4]
fnstsw ax
test ah, 5
jp 0x49afda
fstp st(0)
jmp 0x49b2a6
fcom qword [0x6484c0]
fnstsw ax
test ah, 0x41
jne 0x49aff2
fstp st(0)
fld dword [0x643214]
fst dword [ebp - 4]
fst dword [0x95f2f0]
mov dword [0x95f308], ecx
fld qword [0x641c08]
mov dword [0x95f30c], edx
fdiv st(1)
fstp dword [0x95f2ec]
fld dword [0x95f304]
fadd st(1)
fst dword [0x95f304]
fcomp qword [0x641c08]
fnstsw ax
test ah, 1
jne 0x49b05b
cmp dword [0x95f300], 0
fldz
fstp dword [0x95f304]
je 0x49b050
fild dword [0x95f300]
fdivr dword [0x95f2fc]
fstp dword [0x95f2f8]
and dword [0x95f300], 0
fldz
jmp 0x49b069
fld dword [0x95f2fc]
inc dword [0x95f300]
fadd st(1)
fstp dword [0x95f2fc]
fstp dword [0x95eef4]
call fcn.00416509
cmp byte [eax + 0x14], 0
je 0x49b093
fld dword [ebp - 4]
push ecx
fstp dword [esp]
call fcn.00416509
mov ecx, eax
call fcn.004b058f
fld dword [ebp - 4]
push ecx
fstp dword [esp]
call fcn.004061e8
mov ecx, eax
call fcn.00494635
call fcn.00464891
cmp byte [eax + 0x38], 0
je 0x49b0cf
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push 0xffffffffffffffff
push dword [ebp - 8]
push dword [ebp - 0xc]
call fcn.00464891
mov ecx, eax
call fcn.00467411
fld dword [ebp - 4]
push ecx
fstp dword [esp]
call fcn.00405e98
mov ecx, eax
call fcn.00485317
fld dword [ebp - 4]
push ecx
fstp dword [esp]
call fcn.0046485c
mov ecx, eax
call fcn.00466bb6
fld dword [ebp - 4]
push ecx
fstp dword [esp]
call fcn.00464891
mov ecx, eax
call fcn.004673b9
fld dword [ebp - 4]
push ecx
fstp dword [esp]
call fcn.0046474a
mov ecx, eax
call fcn.00464419
fld dword [ebp - 4]
push ecx
fstp dword [esp]
call fcn.004060aa
mov ecx, eax
call fcn.00463e32
call fcn.00464891
cmp byte [eax + 0x38], 0
je 0x49b193
lea eax, [ebp - 0x24]
push eax
push dword [0x95f2e8]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push dword [0x95f2e8]
call dword [sym.imp.USER32.dll_ClientToScreen]
push dword [ebp - 8]
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_SetCursorPos]
push dword [ebp - 8]
push dword [ebp - 0xc]
call fcn.00464891
mov ecx, eax
call fcn.00467442
cmp dword [0x6a533c], 0
jg 0x49b1ed
lea ecx, [ebp - 0x2c]
call fcn.004066ad
lea eax, [ebp - 0x2c]
push eax
call esi
cmp byte [0x95eef8], 0
je 0x49b1b7
fldz
jmp 0x49b1d1
cmp byte [0x95eef9], 0
je 0x49b1c8
fld dword [0x6a51d0]
jmp 0x49b1d1
fld dword [0x6a51c8]
fmul dword [ebp - 4]
push ecx
fstp dword [esp]
call fcn.00406075
mov ecx, eax
call fcn.00469b33
lea ecx, [ebp - 0x2c]
call fcn.004066cd
fstp st(0)
jmp 0x49b1f3
dec dword [0x6a533c]
fld dword [ebp - 4]
push ecx
fstp dword [esp]
call fcn.00405e98
mov ecx, eax
call fcn.00484e76
mov bl, 1
call fcn.00406075
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
test al, al
jne 0x49b21a
xor bl, bl
cmp byte [0x6a5334], 0
jne 0x49b225
xor bl, bl
push dword [0x95f2e8]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x49b237
xor bl, bl
push dword [0x95f2e8]
call edi
test eax, eax
jne 0x49b245
xor bl, bl
cmp byte [0x95f2f6], 0
jne 0x49b250
xor bl, bl
test bl, bl
jne 0x49b26a
mov dword [0x6a5338], 0xa
mov dword [0x6a533c], 5
jmp 0x49b2a6
cmp dword [0x6a5338], 0
jle 0x49b282
dec dword [0x6a5338]
cmp dword [0x6a5338], 0
jg 0x49b2a6
lea ecx, [ebp - 0x2c]
call fcn.004066ad
lea eax, [ebp - 0x2c]
push eax
call esi
call fcn.00406075
mov ecx, eax
call fcn.004697bf
lea ecx, [ebp - 0x2c]
call fcn.004066cd
fstp st(0)
mov al, 1
pop esi
pop edi
pop ebx
leave
ret