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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e96ae
mov eax, dword fs:[0]
push eax
sub esp, 0x358
mov eax, dword [0x65b4e4]
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.004ea350
mov dword [ebp - 0x1c], 0x7ffe02e4
mov ecx, 1
test ecx, ecx
je 0x4ea33a
call fcn.004fe440
test eax, eax
je 0x4ea101
mov dword [ebp - 0x28], 8
lea edx, [ebp - 0x28]
push edx
call dword [sym.imp.USER32.dll_GetLastInputInfo]
test eax, eax
je 0x4ea060
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 0x4e9f5e
push 1
push 2
lea ecx, [ebp - 0xac]
call fcn.0040b160
mov dword [ebp - 4], 0
push 0x60b4fc
mov ecx, dword [ebp - 0x14]
push ecx
push 0x60b504
mov edx, dword [ebp - 0x24]
push edx
push str.plii.dwTime
lea eax, [ebp - 0xac]
push eax
call fcn.00409c80
add esp, 8
mov ecx, eax
call fcn.004024e0
push eax
call fcn.00409c80
add esp, 8
mov ecx, eax
call fcn.004024e0
push eax
call fcn.00409c80
add esp, 8
lea ecx, [ebp - 0x2c8]
push ecx
lea ecx, [ebp - 0xac]
call fcn.00409610
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.0040bf30
push eax
push 0x60b524
push 0x36
push 0x60b548
push 0x1067
call fcn.00409980
mov ecx, eax
call fcn.004fa910
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c8]
call fcn.0040c050
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xac]
call fcn.00409ef0
mov dword [ebp - 0x10], 0
cmp dword [ebp - 0x24], 0
jbe 0x4ea040
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x20]
jb 0x4ea040
cmp dword [ebp - 0x10], 0
jne 0x4ea033
push 1
push 2
lea ecx, [ebp - 0x12c]
call fcn.0040b160
mov dword [ebp - 4], 2
push 0x60b564
mov ecx, dword [ebp - 0x20]
push ecx
push 0x60b574
lea edx, [ebp - 0x12c]
push edx
call fcn.00409c80
add esp, 8
mov ecx, eax
call fcn.0041c060
push eax
call fcn.00409c80
add esp, 8
lea eax, [ebp - 0x2e4]
push eax
lea ecx, [ebp - 0x12c]
call fcn.00409610
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.0040bf30
push eax
push 0x60b58c
push 0x3e
push 0x60b5b0
push 0x1067
call fcn.00409980
mov ecx, eax
call fcn.004fa910
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2e4]
call fcn.0040c050
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x12c]
call fcn.00409ef0
push 1
mov ecx, dword [ebp - 0x33c]
call fcn.004ea350
cmp dword [ebp - 0x24], 0
jbe 0x4ea05b
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x20]
jae 0x4ea05b
push 0
mov ecx, dword [ebp - 0x33c]
call fcn.004ea350
jmp 0x4ea0fc
push 1
push 2
lea ecx, [ebp - 0x1ac]
call fcn.0040b160
mov dword [ebp - 4], 4
push str.GetLastInputInfo_plii_
lea eax, [ebp - 0x1ac]
push eax
call fcn.00409c80
add esp, 8
lea ecx, [ebp - 0x300]
push ecx
lea ecx, [ebp - 0x1ac]
call fcn.00409610
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.0040bf30
push eax
push 0x60b5f8
push 0x4d
push 0x60b61c
push 0x1067
call fcn.00409980
mov ecx, eax
call fcn.004fa910
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x300]
call fcn.0040c050
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1ac]
call fcn.00409ef0
jmp 0x4ea322
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 0x4ea221
push 1
push 2
lea ecx, [ebp - 0x22c]
call fcn.0040b160
mov dword [ebp - 4], 6
push 0x60b638
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.00409c80
add esp, 8
mov ecx, eax
call fcn.004024e0
push eax
call fcn.00409c80
add esp, 8
mov ecx, eax
call fcn.004024e0
push eax
call fcn.00409c80
add esp, 8
mov ecx, eax
call fcn.004024e0
push eax
call fcn.00409c80
add esp, 8
lea edx, [ebp - 0x31c]
push edx
lea ecx, [ebp - 0x22c]
call fcn.00409610
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.0040bf30
push eax
push 0x60b678
push 0x57
push 0x60b69c
push 0x1067
call fcn.00409980
mov ecx, eax
call fcn.004fa910
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x31c]
call fcn.0040c050
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.00409ef0
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx], 0
jbe 0x4ea305
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x20]
jb 0x4ea305
cmp dword [ebp - 0x10], 0
jne 0x4ea2f8
push 1
push 2
lea ecx, [ebp - 0x2ac]
call fcn.0040b160
mov dword [ebp - 4], 8
push 0x60b6b8
mov eax, dword [ebp - 0x20]
push eax
push 0x60b6c8
lea ecx, [ebp - 0x2ac]
push ecx
call fcn.00409c80
add esp, 8
mov ecx, eax
call fcn.0041c060
push eax
call fcn.00409c80
add esp, 8
lea edx, [ebp - 0x338]
push edx
lea ecx, [ebp - 0x2ac]
call fcn.00409610
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.0040bf30
push eax
push str.CIdleStateDetection::CheckIdleTime
push 0x5f
push 0x60b704
push 0x1067
call fcn.00409980
mov ecx, eax
call fcn.004fa910
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x338]
call fcn.0040c050
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2ac]
call fcn.00409ef0
push 1
mov ecx, dword [ebp - 0x33c]
call fcn.004ea350
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx], 0
jbe 0x4ea322
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x20]
jae 0x4ea322
push 0
mov ecx, dword [ebp - 0x33c]
call fcn.004ea350
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
push 1
call fcn.00506ac0
add esp, 4
jmp 0x4e9e2b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret