Function at 0x4eaec0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ea85e
mov eax, dword fs:[0]
push eax
sub esp, 0x358
mov eax, dword [0x65d4e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x33c], ecx
mov dword [ebp - 0x18], 0x1e
mov dword [ebp - 0x20], 0x258
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x33c]
mov dword [eax + 0x3c], 0
push 0
mov ecx, dword [ebp - 0x33c]
call fcn.004eb450
mov dword [ebp - 0x1c], 0x7ffe02e4
mov ecx, 1
test ecx, ecx
je 0x4eb43a
call fcn.004ff460
test eax, eax
je 0x4eb201
mov dword [ebp - 0x28], 8
lea edx, [ebp - 0x28]
push edx
call dword [sym.imp.USER32.dll_GetLastInputInfo]
test eax, eax
je 0x4eb160
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x24]
xor edx, edx
mov ecx, 0x3e8
div ecx
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x33c]
mov eax, dword [ebp - 0x14]
mov dword [edx + 0x3c], eax
cmp dword [ebp - 0x10], 0x3c
jne 0x4eb05e
push 1
push 2
lea ecx, [ebp - 0xac]
call fcn.0040b040
mov dword [ebp - 4], 0
push 0x60c4fc
mov ecx, dword [ebp - 0x14]
push ecx
push 0x60c504
mov edx, dword [ebp - 0x24]
push edx
push str.plii.dwTime
lea eax, [ebp - 0xac]
push eax
call fcn.00409b60
add esp, 8
mov ecx, eax
call fcn.004024e0
push eax
call fcn.00409b60
add esp, 8
mov ecx, eax
call fcn.004024e0
push eax
call fcn.00409b60
add esp, 8
lea ecx, [ebp - 0x2c8]
push ecx
lea ecx, [ebp - 0xac]
call fcn.004094f0
mov dword [ebp - 0x340], eax
mov edx, dword [ebp - 0x340]
mov dword [ebp - 0x344], edx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x344]
call fcn.0040be10
push eax
push 0x60c524
push 0x36
push 0x60c548
push 0x1067
call fcn.00409860
mov ecx, eax
call fcn.004fb930
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c8]
call fcn.0040bf30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xac]
call fcn.00409dd0
mov dword [ebp - 0x10], 0
cmp dword [ebp - 0x24], 0
jbe 0x4eb140
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x20]
jb 0x4eb140
cmp dword [ebp - 0x10], 0
jne 0x4eb133
push 1
push 2
lea ecx, [ebp - 0x12c]
call fcn.0040b040
mov dword [ebp - 4], 2
push 0x60c564
mov ecx, dword [ebp - 0x20]
push ecx
push 0x60c574
lea edx, [ebp - 0x12c]
push edx
call fcn.00409b60
add esp, 8
mov ecx, eax
call fcn.0041ca40
push eax
call fcn.00409b60
add esp, 8
lea eax, [ebp - 0x2e4]
push eax
lea ecx, [ebp - 0x12c]
call fcn.004094f0
mov dword [ebp - 0x348], eax
mov ecx, dword [ebp - 0x348]
mov dword [ebp - 0x34c], ecx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x34c]
call fcn.0040be10
push eax
push 0x60c58c
push 0x3e
push 0x60c5b0
push 0x1067
call fcn.00409860
mov ecx, eax
call fcn.004fb930
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2e4]
call fcn.0040bf30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x12c]
call fcn.00409dd0
push 1
mov ecx, dword [ebp - 0x33c]
call fcn.004eb450
cmp dword [ebp - 0x24], 0
jbe 0x4eb15b
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x20]
jae 0x4eb15b
push 0
mov ecx, dword [ebp - 0x33c]
call fcn.004eb450
jmp 0x4eb1fc
push 1
push 2
lea ecx, [ebp - 0x1ac]
call fcn.0040b040
mov dword [ebp - 4], 4
push str.GetLastInputInfo_plii_
lea eax, [ebp - 0x1ac]
push eax
call fcn.00409b60
add esp, 8
lea ecx, [ebp - 0x300]
push ecx
lea ecx, [ebp - 0x1ac]
call fcn.004094f0
mov dword [ebp - 0x350], eax
mov edx, dword [ebp - 0x350]
mov dword [ebp - 0x354], edx
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x354]
call fcn.0040be10
push eax
push 0x60c5f8
push 0x4d
push 0x60c61c
push 0x1067
call fcn.00409860
mov ecx, eax
call fcn.004fb930
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x300]
call fcn.0040bf30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1ac]
call fcn.00409dd0
jmp 0x4eb422
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x1c]
sub eax, dword [ecx]
xor edx, edx
mov ecx, 0x3e8
div ecx
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x33c]
mov eax, dword [ebp - 0x14]
mov dword [edx + 0x3c], eax
cmp dword [ebp - 0x10], 0x3c
jne 0x4eb321
push 1
push 2
lea ecx, [ebp - 0x22c]
call fcn.0040b040
mov dword [ebp - 4], 6
push 0x60c638
mov ecx, dword [ebp - 0x14]
push ecx
push str._dwIdleTime
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push str.__GetTickCount
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
push eax
push str.plLastSysRITEventTickCount
lea ecx, [ebp - 0x22c]
push ecx
call fcn.00409b60
add esp, 8
mov ecx, eax
call fcn.004024e0
push eax
call fcn.00409b60
add esp, 8
mov ecx, eax
call fcn.004024e0
push eax
call fcn.00409b60
add esp, 8
mov ecx, eax
call fcn.004024e0
push eax
call fcn.00409b60
add esp, 8
lea edx, [ebp - 0x31c]
push edx
lea ecx, [ebp - 0x22c]
call fcn.004094f0
mov dword [ebp - 0x358], eax
mov eax, dword [ebp - 0x358]
mov dword [ebp - 0x35c], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x35c]
call fcn.0040be10
push eax
push 0x60c678
push 0x57
push 0x60c69c
push 0x1067
call fcn.00409860
mov ecx, eax
call fcn.004fb930
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x31c]
call fcn.0040bf30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.00409dd0
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx], 0
jbe 0x4eb405
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x20]
jb 0x4eb405
cmp dword [ebp - 0x10], 0
jne 0x4eb3f8
push 1
push 2
lea ecx, [ebp - 0x2ac]
call fcn.0040b040
mov dword [ebp - 4], 8
push 0x60c6b8
mov eax, dword [ebp - 0x20]
push eax
push 0x60c6c8
lea ecx, [ebp - 0x2ac]
push ecx
call fcn.00409b60
add esp, 8
mov ecx, eax
call fcn.0041ca40
push eax
call fcn.00409b60
add esp, 8
lea edx, [ebp - 0x338]
push edx
lea ecx, [ebp - 0x2ac]
call fcn.004094f0
mov dword [ebp - 0x360], eax
mov eax, dword [ebp - 0x360]
mov dword [ebp - 0x364], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x364]
call fcn.0040be10
push eax
push str.CIdleStateDetection::CheckIdleTime
push 0x5f
push 0x60c704
push 0x1067
call fcn.00409860
mov ecx, eax
call fcn.004fb930
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x338]
call fcn.0040bf30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2ac]
call fcn.00409dd0
push 1
mov ecx, dword [ebp - 0x33c]
call fcn.004eb450
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx], 0
jbe 0x4eb422
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x20]
jae 0x4eb422
push 0
mov ecx, dword [ebp - 0x33c]
call fcn.004eb450
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
push 1
call fcn.00507ae0
add esp, 4
jmp 0x4eaf2b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret