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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff78
push ebx
push esi
push edi
mov dword [ebp - 4], eax
lea edi, [ebp - 0x70]
mov byte [ebp - 5], 1
xor edx, edx
push ebp
push 0x4ce8c6
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0x45], 1
mov eax, dword [0x50faf8]
mov eax, dword [eax]
xor edx, edx
call fcn.004662f4
push eax
call sub.user32.dll_SetCursor
xor eax, eax
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x3c]
xor edx, edx
xor eax, eax
call fcn.00418d70
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x30], eax
push 0
push 0x32
push 0
push 0
call sub.user32.dll_SetTimer
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.004c9e98
test eax, eax
jle 0x4ce0f5
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x30]
mov eax, ebx
call fcn.004c9e98
mov edx, eax
sub edx, 1
jno 0x4ce038
call fcn.00403a78
mov eax, ebx
call fcn.004c9ea0
mov edx, dword [ebp - 4]
mov dword [edx + 0x40], eax
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x30]
mov ebx, dword [esi + 0x8c]
test ebx, ebx
jl 0x4ce0e1
mov eax, esi
call fcn.004c9e98
cmp ebx, eax
jge 0x4ce0e1
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x30]
mov edx, dword [ebx + 0x8c]
mov eax, ebx
call fcn.004c9ea0
mov edx, dword [ebp - 4]
mov dword [edx + 0x40], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
cmp byte [eax + 0x78], 0
je 0x4ce0cd
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x30]
mov eax, ebx
call fcn.004c9e98
mov edx, dword [ebx + 0x8c]
add edx, 1
jno 0x4ce0a6
call fcn.00403a78
cmp eax, edx
jle 0x4ce0cd
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x30]
mov edx, dword [ebx + 0x8c]
add edx, 1
jno 0x4ce0c0
call fcn.00403a78
mov eax, ebx
call fcn.004c9ea0
mov edx, dword [ebp - 4]
mov dword [edx + 0x40], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
test eax, eax
je 0x4ce0e1
mov edx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
lea eax, [ebp - 0xe]
push eax
call sub.user32.dll_GetCursorPos
lea edx, [ebp - 0xe]
mov eax, dword [ebp - 4]
call fcn.004cd3d0
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x3c]
test ebx, ebx
je 0x4ce10b
mov eax, ebx
call fcn.00451c68
call fcn.0046adbc
mov byte [ebp - 6], 1
jmp 0x4ce883
cmp byte [ebp - 6], 0
jne 0x4ce11f
call sub.user32.dll_WaitMessage
mov byte [ebp - 6], 0
jmp 0x4ce862
mov eax, dword [edi + 4]
cmp eax, 0x113
jg 0x4ce157
je 0x4ce272
sub eax, 0x12
je 0x4ce266
sub eax, 0x34
je 0x4ce168
add eax, 0xffffffa5
sub eax, 9
jb 0x4ce266
jmp 0x4ce315
sub eax, 0x201
je 0x4ce179
sub eax, 3
je 0x4ce179
jmp 0x4ce315
push ebp
call fcn.004cdf4c
pop ecx
call fcn.00404508
jmp 0x4ce8cd
movsx eax, word [edi + 0xc]
mov dword [ebp - 0x44], eax
movsx eax, word [edi + 0xe]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0xe], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0xa], eax
lea eax, [ebp - 0xe]
push eax
mov eax, dword [edi]
push eax
call sub.user32.dll_ClientToScreen
mov eax, dword [ebp - 0xe]
mov dword [ebp - 0x16], eax
mov eax, dword [ebp - 0xa]
mov dword [ebp - 0x12], eax
lea ecx, [ebp - 0x78]
lea edx, [ebp - 0xe]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
call fcn.00449c64
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0xe], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0xa], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x40], 0
je 0x4ce20b
push dword [ebp - 0xa]
push dword [ebp - 0xe]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
add eax, 0x95
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x4ce20b
push 0
push 0xd
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
call fcn.00451c68
push eax
call sub.user32.dll_PostMessageA
jmp 0x4ce315
mov ebx, dword [ebp - 4]
mov byte [ebp - 0x21], 0
jmp 0x4ce241
lea ecx, [ebp - 0xe]
lea edx, [ebp - 0x16]
mov eax, dword [ebx + 0x3c]
call fcn.00449c64
push dword [ebp - 0xa]
push dword [ebp - 0xe]
mov eax, dword [ebx + 0x40]
add eax, 0x95
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x4ce23e
mov byte [ebp - 0x21], 1
mov ebx, dword [ebx + 0x68]
test ebx, ebx
je 0x4ce24b
cmp byte [ebp - 0x21], 0
je 0x4ce214
cmp byte [ebp - 0x21], 0
jne 0x4ce315
push ebp
call fcn.004cdf4c
pop ecx
call fcn.00404508
jmp 0x4ce8cd
push ebp
call fcn.004cdf4c
pop ecx
jmp 0x4ce862
cmp dword [edi], 0
jne 0x4ce315
lea eax, [ebp - 0x34]
push eax
call sub.user32.dll_GetCursorPos
test eax, eax
je 0x4ce315
add dword [ebp - 0x28], 0x32
jno 0x4ce297
call fcn.00403a78
lea edx, [ebp - 0x34]
mov eax, dword [0x50faa8]
mov eax, dword [eax]
call fcn.00456f18
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x3c]
jne 0x4ce304
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x38]
jne 0x4ce304
cmp dword [ebp - 0x28], 0x1f4
jl 0x4ce309
mov ebx, dword [ebp - 4]
push dword [ebp - 0x30]
push dword [ebp - 0x34]
lea edx, [ebp - 0x88]
mov eax, dword [ebx + 0x3c]
call fcn.00449a44
lea eax, [ebp - 0x88]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x4ce2fd
push 0
push 0
push 0x46f
mov eax, dword [ebx + 0x3c]
call fcn.00451c68
push eax
call sub.user32.dll_PostMessageA
xor eax, eax
mov dword [ebp - 0x28], eax
jmp 0x4ce309
xor eax, eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
push 3
push 0
push 0
push 0
push edi
call sub.user32.dll_PeekMessageA
test eax, eax
je 0x4ce862
mov eax, dword [edi + 4]
sub eax, 0x7b
je 0x4ce862
add eax, 0xffffff7b
sub eax, 0xa
jb 0x4ce367
add eax, 0xffffff0a
sub eax, 0xb
jb 0x4ce64a
sub eax, 0x264
jne 0x4ce85c
mov eax, dword [ebp - 4]
call fcn.004cdbb4
jmp 0x4ce862
push 1
call sub.user32.dll_GetKeyState
test ax, ax
jl 0x4ce862
mov eax, dword [edi + 4]
sub eax, 0x100
je 0x4ce39d
sub eax, 2
je 0x4ce5ea
sub eax, 2
je 0x4ce39d
sub eax, 2
je 0x4ce5ea
jmp 0x4ce862
mov eax, dword [edi + 8]
cmp eax, 0x25
jg 0x4ce3e0
je 0x4ce49c
cmp eax, 0x12
jg 0x4ce3c9
je 0x4ce5d3
sub eax, 9
je 0x4ce862
sub eax, 4
je 0x4ce405
jmp 0x4ce5df
sub eax, 0x1b
je 0x4ce46f
sub eax, 5
je 0x4ce862
jmp 0x4ce5df
sub eax, 0x26
je 0x4ce596
dec eax
je 0x4ce511
dec eax
je 0x4ce5b0
sub eax, 0x51
je 0x4ce5d3
jmp 0x4ce5df
mov eax, dword [ebp - 4]
cmp dword [eax + 0x40], 0
je 0x4ce41d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
mov si, 0xffef
call fcn.00403da4
mov eax, dword [ebp - 4]
call fcn.004cdbb4
test al, al
jne 0x4ce862
mov eax, dword [ebp - 4]
cmp dword [eax + 0x40], 0
je 0x4ce862
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
mov eax, dword [eax + 0x30]
mov edx, 0x4ce8dc
call fcn.00405594
je 0x4ce862
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
cmp byte [eax + 0x35], 0
je 0x4ce862
push ebp
call fcn.004cdf4c
pop ecx
jmp 0x4ce862
mov eax, dword [ebp - 4]
cmp dword [eax + 0x68], 0
je 0x4ce482
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov byte [eax + 0x44], 0
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x40], edx
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x38]
call fcn.00404508
jmp 0x4ce8cd
mov eax, dword [ebp - 4]
cmp byte [eax + 0x34], 0
je 0x4ce4b2
mov eax, dword [ebp - 4]
call fcn.004cddec
jmp 0x4ce862
mov eax, dword [ebp - 4]
cmp dword [eax + 0x68], 0
je 0x4ce862
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
cmp byte [eax + 0x34], 0
je 0x4ce4f2
push 0
push 0x25
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0x3c]
call fcn.00451c68
push eax
call sub.user32.dll_PostMessageA
call fcn.00404508
jmp 0x4ce8cd
push 0
push 0x1b
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
call fcn.00451c68
push eax
call sub.user32.dll_PostMessageA
jmp 0x4ce862
mov eax, dword [ebp - 4]
cmp byte [eax + 0x34], 0
je 0x4ce527
mov eax, dword [ebp - 4]
call fcn.004cdc94
jmp 0x4ce862
mov eax, dword [ebp - 4]
cmp dword [eax + 0x68], 0
je 0x4ce862
mov eax, dword [ebp - 4]
call fcn.004cdbb4
test al, al
jne 0x4ce862
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
cmp byte [eax + 0x34], 0
je 0x4ce577
push 0
push 0x27
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0x3c]
call fcn.00451c68
push eax
call sub.user32.dll_PostMessageA
call fcn.00404508
jmp 0x4ce8cd
push 0
push 0x1b
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
call fcn.00451c68
push eax
call sub.user32.dll_PostMessageA
jmp 0x4ce862
mov eax, dword [ebp - 4]
cmp byte [eax + 0x34], 0
jne 0x4ce862
mov eax, dword [ebp - 4]
call fcn.004cddec
jmp 0x4ce862
mov eax, dword [ebp - 4]
cmp byte [eax + 0x34], 0
jne 0x4ce5c6
mov eax, dword [ebp - 4]
call fcn.004cdc94
jmp 0x4ce862
mov eax, dword [ebp - 4]
call fcn.004cdbb4
jmp 0x4ce862
push ebp
call fcn.004cdf4c
pop ecx
jmp 0x4ce862
push edi
call sub.user32.dll_TranslateMessage
jmp 0x4ce862
mov edx, dword [edi + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.004cc7b4
test eax, eax
je 0x4ce862
mov edx, dword [edi + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.004cc7b4
mov edx, dword [ebp - 4]
mov dword [edx + 0x40], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x40], 0
je 0x4ce62b
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x40]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
push 0
push 0xd
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
call fcn.00451c68
push eax
call sub.user32.dll_PostMessageA
jmp 0x4ce862
mov eax, dword [edi + 4]
sub eax, 0x200
je 0x4ce662
sub eax, 2
je 0x4ce77e
jmp 0x4ce862
xor eax, eax
mov dword [ebp - 0x28], eax
movsx eax, word [edi + 0xc]
mov dword [ebp - 0x4c], eax
movsx eax, word [edi + 0xe]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0xe], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0xa], eax
lea eax, [ebp - 0xe]
push eax
mov eax, dword [edi]
push eax
call sub.user32.dll_ClientToScreen
mov eax, dword [ebp - 0xe]
cmp eax, dword [0x52a6cc]
jne 0x4ce6a7
mov eax, dword [ebp - 0xa]
cmp eax, dword [0x52a6d0]
je 0x4ce862
mov ebx, dword [ebp - 4]
push dword [ebp - 0xa]
push dword [ebp - 0xe]
lea edx, [ebp - 0x88]
mov eax, dword [ebx + 0x3c]
call fcn.00449a44
lea eax, [ebp - 0x88]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x4ce6dd
lea edx, [ebp - 0xe]
mov eax, ebx
call fcn.004cd3d0
jmp 0x4ce767
mov ebx, dword [ebp - 4]
jmp 0x4ce6e5
mov ebx, dword [ebx + 0x68]
cmp dword [ebx + 0x68], 0
jne 0x4ce6e2
test ebx, ebx
je 0x4ce767
mov eax, dword [ebx + 0x40]
mov dword [ebp - 0x1c], eax
lea edx, [ebp - 0xe]
mov eax, ebx
call fcn.004cd3d0
mov eax, dword [ebx + 0x40]
cmp eax, dword [ebp - 0x1c]
je 0x4ce760
cmp ebx, dword [ebp - 4]
je 0x4ce760
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
cmp ebx, dword [ebp - 0x20]
je 0x4ce73f
push 0
push 0x1b
push pe_nt_image_headers32
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x3c]
call fcn.00451c68
push eax
call sub.user32.dll_PostMessageA
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x68]
mov dword [ebp - 0x20], eax
cmp ebx, dword [ebp - 0x20]
jne 0x4ce717
push 0
push 0
push 0x46f
mov eax, dword [ebx + 0x3c]
call fcn.00451c68
push eax
call sub.user32.dll_PostMessageA
call fcn.00404508
jmp 0x4ce8cd
mov ebx, dword [ebx + 0x6c]
test ebx, ebx
jne 0x4ce6ef
mov eax, dword [ebp - 0xe]
mov dword [0x52a6cc], eax
mov eax, dword [ebp - 0xa]
mov dword [0x52a6d0], eax
jmp 0x4ce862
movsx eax, word [edi + 0xc]
mov dword [ebp - 0x54], eax
movsx eax, word [edi + 0xe]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0xe], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0xa], eax
lea eax, [ebp - 0xe]
push eax
mov eax, dword [edi]
push eax
call sub.user32.dll_ClientToScreen
mov eax, dword [ebp - 0xe]
mov dword [ebp - 0x16], eax
mov eax, dword [ebp - 0xa]
mov dword [ebp - 0x12], eax
lea ecx, [ebp - 0x78]
lea edx, [ebp - 0xe]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
call fcn.00449c64
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0xe], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0xa], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x40], 0
je 0x4ce80d
push dword [ebp - 0xa]
push dword [ebp - 0xe]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
add eax, 0x95
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x4ce80d
push 0
push 0xd
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
call fcn.00451c68
push eax
call sub.user32.dll_PostMessageA
jmp 0x4ce862
mov ebx, dword [ebp - 4]
mov byte [ebp - 0x21], 0
jmp 0x4ce843
lea ecx, [ebp - 0xe]
lea edx, [ebp - 0x16]
mov eax, dword [ebx + 0x3c]
call fcn.00449c64
push dword [ebp - 0xa]
push dword [ebp - 0xe]
mov eax, dword [ebx + 0x40]
add eax, 0x95
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x4ce840
mov byte [ebp - 0x21], 1
mov ebx, dword [ebx + 0x68]
test ebx, ebx
je 0x4ce84d
cmp byte [ebp - 0x21], 0
je 0x4ce816
cmp byte [ebp - 0x21], 0
jne 0x4ce862
push ebp
call fcn.004cdf4c
pop ecx
jmp 0x4ce862
push edi
call sub.user32.dll_DispatchMessageA
push ebp
call fcn.004cdf78
pop ecx
test al, al
je 0x4ce883
push 0
push 0
push 0
push 0
push edi
call sub.user32.dll_PeekMessageA
test eax, eax
jne 0x4ce128
push ebp
call fcn.004cdf78
pop ecx
test al, al
jne 0x4ce114
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ce8cd
mov eax, dword [ebp - 0x2c]
push eax
push 0
call sub.user32.dll_KillTimer
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
test eax, eax
je 0x4ce8b9
mov edx, dword [eax]
call dword [edx + 0x38]
mov eax, dword [ebp - 4]
mov byte [eax + 0x45], 0
call fcn.0046ade4
ret
movzx eax, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret