Function at 0x49e240
Capabilities:
Check for unmoving mouse cursor
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x527bb9
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x56f28c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x138], ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0xa1
jne 0x49e962
mov ecx, dword [ebp - 0x138]
cmp dword [ecx + 0x38], 0
je 0x49e717
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x138]
add ecx, 0x28
call fcn.004dab10
movzx edx, al
test edx, edx
je 0x49e2c2
mov ecx, dword [ebp - 0x138]
add ecx, 0x28
call fcn.004a1f10
mov ecx, eax
call fcn.004a08d0
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
and eax, 0x10000000
je 0x49e717
lea ecx, [ebp - 0x18]
call fcn.00439b90
lea ecx, [ebp - 0x18]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
lea edx, [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x138]
sub ecx, 0x30
call fcn.00426790
lea eax, [ebp - 0x94]
push eax
mov ecx, dword [ebp - 0x138]
add ecx, 0x28
call fcn.004a1f10
mov ecx, eax
call fcn.0049c7a0
push eax
lea ecx, [ebp - 0x28]
call fcn.00434380
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x9c], ecx
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x98], edx
mov eax, dword [ebp - 0x98]
push eax
mov ecx, dword [ebp - 0x9c]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00417e60
test eax, eax
je 0x49e6e0
lea ecx, [ebp - 0x2c]
call fcn.004457d0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x138]
add ecx, 0x2c
call fcn.004dab10
movzx edx, al
test edx, edx
je 0x49e43e
lea eax, [ebp - 0xac]
push eax
mov ecx, dword [ebp - 0x138]
add ecx, 0x2c
call fcn.004a1f10
mov ecx, eax
call fcn.0049c7a0
push eax
lea ecx, [ebp - 0x3c]
call fcn.00434380
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0xb4], ecx
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0xb0], edx
mov eax, dword [ebp - 0xb0]
push eax
mov ecx, dword [ebp - 0xb4]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.00417e60
test eax, eax
je 0x49e43e
mov edx, dword [ebp - 0x138]
add edx, 0x2c
push edx
lea ecx, [ebp - 0xb8]
call fcn.00498e80
mov byte [ebp - 4], 1
push 0xaad
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp - 0xbc]
push ecx
call fcn.004d9c20
add esp, 0xc
mov dword [ebp - 0x13c], eax
mov edx, dword [ebp - 0x13c]
mov dword [ebp - 0x140], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x140]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00418990
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xbc]
call fcn.004458f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb8]
call fcn.004bfa60
jmp 0x49e60f
mov ecx, dword [ebp - 0x138]
add ecx, 0x30
call fcn.004dab10
movzx ecx, al
test ecx, ecx
je 0x49e524
lea edx, [ebp - 0xcc]
push edx
mov ecx, dword [ebp - 0x138]
add ecx, 0x30
call fcn.004a1f10
mov ecx, eax
call fcn.0049c7a0
push eax
lea ecx, [ebp - 0x4c]
call fcn.00434380
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xd4], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xd0], ecx
mov edx, dword [ebp - 0xd0]
push edx
mov eax, dword [ebp - 0xd4]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00417e60
test eax, eax
je 0x49e524
mov ecx, dword [ebp - 0x138]
add ecx, 0x30
push ecx
lea ecx, [ebp - 0xd8]
call fcn.00498e80
mov byte [ebp - 4], 3
push 0xaaf
lea edx, [ebp - 0xd8]
push edx
lea eax, [ebp - 0xdc]
push eax
call fcn.004d9c20
add esp, 0xc
mov dword [ebp - 0x144], eax
mov ecx, dword [ebp - 0x144]
mov dword [ebp - 0x148], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x148]
push edx
lea ecx, [ebp - 0x2c]
call fcn.00418990
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xdc]
call fcn.004458f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xd8]
call fcn.004bfa60
jmp 0x49e60f
mov ecx, dword [ebp - 0x138]
add ecx, 0x34
call fcn.004dab10
movzx eax, al
test eax, eax
je 0x49e607
lea ecx, [ebp - 0xec]
push ecx
mov ecx, dword [ebp - 0x138]
add ecx, 0x34
call fcn.004a1f10
mov ecx, eax
call fcn.0049c7a0
push eax
lea ecx, [ebp - 0x5c]
call fcn.00434380
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0xf4], edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xf0], eax
mov ecx, dword [ebp - 0xf0]
push ecx
mov edx, dword [ebp - 0xf4]
push edx
lea ecx, [ebp - 0x5c]
call fcn.00417e60
test eax, eax
je 0x49e607
mov eax, dword [ebp - 0x138]
add eax, 0x34
push eax
lea ecx, [ebp - 0xf8]
call fcn.00498e80
mov byte [ebp - 4], 5
push 0xab5
lea ecx, [ebp - 0xf8]
push ecx
lea edx, [ebp - 0xfc]
push edx
call fcn.004d9c20
add esp, 0xc
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x150], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x150]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00418990
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xfc]
call fcn.004458f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xf8]
call fcn.004bfa60
jmp 0x49e60f
xor edx, edx
jne 0x49e358
lea ecx, [ebp - 0x2c]
call fcn.0046ade0
push eax
call fcn.00427d00
add esp, 4
test eax, eax
je 0x49e6bc
lea ecx, [ebp - 0x2c]
call fcn.0046ade0
push eax
mov ecx, dword [ebp - 0x138]
add ecx, 0x68
call fcn.00426770
push 0
lea ecx, [ebp - 0x2c]
call fcn.00418bd0
push eax
lea ecx, [ebp - 0x2c]
call fcn.00418bd0
push eax
mov ecx, dword [ebp - 0x138]
add ecx, 0x68
call fcn.004a0a60
mov eax, dword [ebp - 0x138]
mov dword [eax + 0x38], 0
push 0
mov ecx, dword [ebp - 0x138]
add ecx, 0x28
push ecx
mov edx, esp
mov dword [ebp - 0x100], esp
push ecx
mov ecx, edx
call fcn.004a7bf0
mov dword [ebp - 0x154], eax
call fcn.004d8c80
add esp, 8
mov dword [ebp - 0x104], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.004458f0
mov eax, dword [ebp - 0x104]
jmp 0x49ea06
mov dword [ebp - 0x108], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.004458f0
mov eax, dword [ebp - 0x108]
jmp 0x49ea06
mov eax, dword [ebp - 0x138]
mov dword [eax + 0x38], 0
push 0
mov ecx, dword [ebp - 0x138]
add ecx, 0x28
push ecx
mov edx, esp
mov dword [ebp - 0x10c], esp
push ecx
mov ecx, edx
call fcn.004a7bf0
mov dword [ebp - 0x158], eax
call fcn.004d8c80
add esp, 8
mov eax, dword [ebp - 0x138]
cmp dword [eax + 0x48], 0
jne 0x49e95d
mov ecx, dword [ebp - 0x138]
mov edx, dword [ecx + 0x68]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x49e95d
lea ecx, [ebp - 0x64]
call fcn.00439b90
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea ecx, [ebp - 0x64]
push ecx
mov ecx, dword [ebp - 0x138]
sub ecx, 0x30
call fcn.00426790
lea edx, [ebp - 0x11c]
push edx
mov ecx, dword [ebp - 0x138]
add ecx, 0x1c
call fcn.004a1f10
mov ecx, eax
call fcn.0049c7a0
push eax
lea ecx, [ebp - 0x74]
call fcn.00434380
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x124], eax
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x120], ecx
mov edx, dword [ebp - 0x120]
push edx
mov eax, dword [ebp - 0x124]
push eax
lea ecx, [ebp - 0x74]
call fcn.00417e60
test eax, eax
je 0x49e95d
call fcn.004ca3e0
neg eax
sbb eax, eax
add eax, 1
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x78]
push ecx
call fcn.004ca460
add esp, 4
lea ecx, [ebp - 0x80]
call fcn.004457d0
mov dword [ebp - 4], 7
lea edx, [ebp - 0x80]
push edx
mov ecx, dword [ebp - 0x138]
add ecx, 0x68
call fcn.004a06c0
cmp dword [ebp - 0x78], 0
je 0x49e851
push ecx
mov ecx, esp
mov dword [ebp - 0x128], esp
push 0x53e4dc
call fcn.0048bc20
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x160], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x138]
add ecx, 0x1c
call fcn.004a1f10
mov byte [ebp - 4], 7
mov ecx, eax
call fcn.004a0840
push 0x25cf
mov ecx, dword [ebp - 0x138]
add ecx, 0x68
call fcn.0049fa60
jmp 0x49e8a3
push 0
mov ecx, dword [ebp - 0x138]
add ecx, 0x68
call fcn.0049fa60
push ecx
mov ecx, esp
mov dword [ebp - 0x12c], esp
push 0x53e4e8
call fcn.0048bc20
mov dword [ebp - 0x164], eax
mov ecx, dword [ebp - 0x164]
mov dword [ebp - 0x168], ecx
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x138]
add ecx, 0x1c
call fcn.004a1f10
mov byte [ebp - 4], 7
mov ecx, eax
call fcn.004a0840
push 0
push 0
push 0x2a1
mov ecx, dword [ebp - 0x138]
add ecx, 0x1c
call fcn.004a1f10
mov ecx, eax
call fcn.0049c8c0
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
lea ecx, [ebp - 0x80]
call fcn.0046ade0
push eax
mov ecx, dword [ebp - 0x138]
add ecx, 0x68
call fcn.00426770
push 0
lea ecx, [ebp - 0x80]
call fcn.00418bd0
push eax
lea ecx, [ebp - 0x80]
call fcn.00418bd0
push eax
mov ecx, dword [ebp - 0x138]
add ecx, 0x68
call fcn.004a0a60
lea edx, [ebp - 0x130]
push edx
mov ecx, dword [ebp - 0x138]
sub ecx, 0x30
call fcn.004a0810
mov ecx, eax
call fcn.0046ade0
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0
je 0x49e939
push 0
push 0
push 0x1453
mov eax, dword [ebp - 0x7c]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [ebp - 0x134], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x80]
call fcn.004458f0
mov eax, dword [ebp - 0x134]
jmp 0x49ea06
jmp 0x49ea04
mov ecx, dword [ebp + 8]
cmp dword [ecx + 4], 0x100
jne 0x49ea04
mov edx, dword [ebp + 8]
cmp dword [edx + 8], 0x1b
jne 0x49e993
push 0
push 0
push 0x10
mov ecx, dword [ebp - 0x138]
sub ecx, 0x30
call fcn.00417f90
xor eax, eax
jmp 0x49ea06
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x49e9aa
mov eax, 1
jmp 0x49ea06
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
and edx, 0x8000
mov dword [ebp - 0x84], edx
je 0x49e9d6
mov eax, dword [ebp - 0x138]
cmp dword [eax + 0x48], 0
jne 0x49e9d6
mov eax, 1
jmp 0x49ea06
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x138]
mov eax, dword [ecx]
cmp eax, dword [edx + 0x68]
jne 0x49ea04
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 0xd
jne 0x49ea04
mov ecx, dword [ebp - 0x138]
sub ecx, 0x60
call fcn.0049ed80
mov eax, 1
jmp 0x49ea06
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4