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

Disassembly:
push 0xffffffffffffffff
push 0x566517
mov eax, dword fs:[0]
push eax
sub esp, 0x144
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5f168c]
xor eax, esp
push eax
lea eax, [esp + 0x158]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx + 0x28]
mov ecx, dword [0x5f9694]
push eax
push ecx
lea ecx, [esp + 0x50]
call fcn.004ec790
mov eax, dword [ebx + 0x114]
mov ebp, dword [0x5f9694]
push 0
push 0
push 0x101f
push eax
mov dword [esp + 0x170], 0
mov dword [esp + 0x60], ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x16c]
mov esi, eax
mov eax, dword [ecx]
or edi, 0xffffffff
cmp eax, esi
jne 0x4ee24e
mov eax, dword [ecx + 8]
mov edx, dword [0x5f9694]
mov dword [esp + 0x8c], edi
cmp eax, 0xfffffecc
ja 0x4ee109
je case.0x4ee0eb.328
add eax, 0x149
cmp eax, 3
ja case.default.0x4ee0eb
jmp dword [eax*4 + 0x4eeac8]
lea ecx, [esp + 0x48]
mov dword [esp + 0x160], edi
call fcn.004ec810
mov al, 1
jmp 0x4ee5f8
cmp eax, 0xfffffecd
je case.0x4ee0eb.327
cmp eax, 0xfffffece
je case.0x4ee0eb.326
cmp eax, 0xfffffffb
je 0x4ee155
mov edx, dword [esp + 0x170]
mov eax, dword [esp + 0x168]
push edx
push ecx
push eax
mov ecx, ebx
call fcn.004bf4c0
lea ecx, [esp + 0x48]
mov bl, al
mov dword [esp + 0x160], edi
call fcn.004ec810
mov al, bl
jmp 0x4ee5f8
mov ebp, dword [0x5fe554]
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x94], edi
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov edi, dword [sym.imp.USER32.dll_ScreenToClient]
lea ecx, [esp + 0x28]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0x114]
push ecx
push eax
mov dword [esp + 0x30], edx
call edi
test eax, eax
je 0x4ee1ab
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], eax
lea ecx, [esp + 0x20]
push ecx
push esi
call edi
push 0
push 0
push 0x1200
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
xor edi, edi
mov dword [esp + 0x18], eax
test eax, eax
jle 0x4ee37d
lea edx, [esp + 0x30]
push edx
push edi
push 0x1207
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x4ee200
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push eax
push ecx
lea edx, [esp + 0x38]
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x4ee20c
inc edi
cmp edi, dword [esp + 0x18]
jl 0x4ee1d1
jmp 0x4ee37d
mov dword [esp + 0x90], edi
jmp 0x4ee37d
mov ebp, dword [0x5fe558]
cmp ebp, edx
jne 0x4ee232
mov ebp, dword [0x5fe55c]
cmp ebp, edx
jne 0x4ee232
mov ebp, dword [0x5fe560]
mov eax, dword [ecx + 0x14]
mov edx, dword [eax + 4]
mov eax, dword [ecx + 0xc]
mov dword [esp + 0xc8], edx
mov dword [esp + 0x90], eax
jmp 0x4ee37d
cmp eax, dword [ebx + 0x114]
jne 0x4ee5e2
cmp byte [ebx + 0x16c], 0
mov edx, ecx
mov edi, dword [edx + 0xc]
lea esi, [edx + 0xc]
je 0x4ee280
mov eax, dword [edx + 8]
cmp eax, 0xffffff9b
je 0x4eea1b
cmp eax, 0xffffff9c
je 0x4eea1b
test edi, edi
jl 0x4ee2b1
mov ecx, ebx
call fcn.004eb4c0
cmp edi, eax
jge 0x4ee2b1
mov edx, dword [ebx + 0x114]
mov eax, edi
call fcn.004eb590
mov edx, dword [esp + 0x16c]
test eax, eax
je 0x4ee2b1
mov ecx, dword [eax + 4]
mov dword [esp + 0xc0], ecx
mov eax, dword [edx + 8]
lea ecx, [eax + 0xb3]
cmp ecx, 0xb0
ja case.0x4ee2cd.178
movzx ecx, byte [ecx + 0x4eeb1c]
jmp dword [ecx*4 + 0x4eead8]
mov ebp, dword [0x5fe52c]
cmp ebp, dword [0x5f9694]
jne 0x4ee2e8
mov ebp, dword [0x5fe528]
mov eax, dword [edx + 0x20]
mov ecx, dword [edx + 0x24]
mov dword [esp + 0x8c], edi
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
jmp 0x4ee37d
xor ecx, ecx
mov dword [esp + 0xd8], ecx
mov dword [esp + 0xdc], ecx
mov byte [esp + 0x160], 1
cmp eax, 0xffffff97
jne 0x4ee331
push esi
lea ecx, [esp + 0xdc]
call fcn.004eb620
jmp 0x4ee338
mov dword [esp + 0xdc], esi
mov eax, dword [ebx + 0x114]
mov edi, dword [esp + 0xdc]
mov ebp, dword [0x5fe530]
push eax
lea esi, [esp + 0xa0]
call fcn.004ec2b0
mov edx, dword [esp + 0xac]
add esp, 4
mov dword [esp + 0x8c], edx
lea ecx, [esp + 0xd8]
mov byte [esp + 0x160], 0
call fcn.004ec870
mov ecx, dword [ebx + 0x5c]
mov dword [esp + 0x54], ebp
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
lea edx, [esp + 0x48]
push edx
call eax
mov ecx, dword [esp + 0x16c]
mov byte [esp + 0x17], al
mov eax, dword [ecx + 8]
cmp eax, 0xffffff50
je 0x4eea7c
cmp eax, 0xffffff96
je 0x4eea7c
cmp eax, 0xffffff98
je 0x4eea5c
cmp byte [esp + 0x17], 0
je 0x4ee3d7
mov eax, dword [esp + 0x170]
xor edx, edx
cmp byte [esp + 0x80], dl
sete dl
mov dword [eax], edx
lea ecx, [esp + 0x48]
mov dword [esp + 0x160], 0xffffffff
call fcn.004ec810
mov al, byte [esp + 0x17]
jmp 0x4ee5f8
xor ecx, ecx
mov dword [esp + 0xd8], ecx
mov dword [esp + 0xdc], ecx
mov byte [esp + 0x160], 2
cmp eax, 0xffffff96
jne 0x4ee420
push esi
lea ecx, [esp + 0xdc]
call fcn.004eb620
jmp 0x4ee427
mov dword [esp + 0xdc], esi
mov esi, dword [esp + 0xdc]
mov ecx, 0xf
lea edi, [esp + 0x11c]
rep movsd dword es:[edi], dword [esi]
xor esi, esi
cmp dword [esp + 0x130], esi
je 0x4ee451
cmp dword [esp + 0x120], 0xffffffff
jne 0x4ee48d
mov ecx, dword [ebx + 0x150]
cmp ecx, esi
je 0x4ee485
call fcn.004a2130
mov eax, dword [ebx + 0x150]
mov dword [eax + 0x114], esi
mov ecx, dword [ebx + 0x150]
cmp ecx, esi
je 0x4ee47f
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 1
call edx
mov dword [ebx + 0x150], esi
mov byte [esp + 0xd0], 1
mov edi, dword [esp + 0xdc]
mov ebp, dword [0x5fe534]
push 0
lea esi, [esp + 0xa0]
call fcn.004ec2b0
mov eax, dword [esp + 0xac]
add esp, 4
mov dword [esp + 0x8c], eax
jmp 0x4ee369
mov ecx, dword [edx + 0x10]
mov ebp, dword [0x5fe550]
mov dword [esp + 0x8c], 0xffffffff
mov dword [esp + 0x90], ecx
jmp 0x4ee37d
mov ebp, dword [0x5fe53c]
mov dword [esp + 0x8c], 0xffffffff
jmp 0x4ee37d
cmp dword [ebx + 0x168], 0
je 0x4ee5e2
mov ebp, dword [0x5fe538]
mov eax, edi
mov dword [esp + 0x8c], edi
call fcn.004ed840
jmp 0x4ee37d
mov ebp, dword [0x5fe54c]
mov dword [esp + 0x8c], edi
jmp 0x4ee37d
test byte [edx + 0x1c], 8
je 0x4ee5d6
cmp edi, 0xffffffff
je 0x4ee5d6
mov eax, dword [esp + 0x16c]
mov edx, dword [eax + 0x18]
mov eax, dword [eax + 0x14]
lea ecx, [esp + 0x9c]
push ecx
mov ecx, ebx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
mov dword [esp + 0xac], edi
mov dword [esp + 0xa8], 0xe
call fcn.004eca50
mov al, 1
test byte [esp + 0x18], al
jne 0x4ee590
test byte [esp + 0x1c], al
je 0x4ee590
mov ebp, dword [0x5fe570]
mov dword [esp + 0x8c], edi
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
and esi, 2
and eax, 2
cmp esi, eax
je 0x4ee5d6
cmp ebp, dword [0x5f9694]
je 0x4ee5bf
mov ecx, dword [ebx + 0x5c]
mov dword [esp + 0x54], ebp
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0x48]
push eax
call edx
jmp 0x4ee5c6
mov dword [esp + 0x8c], edi
mov ebp, dword [0x5fe540]
test esi, esi
jne 0x4ee5d6
mov ebp, dword [0x5fe544]
cmp ebp, dword [0x5f9694]
jne 0x4ee37d
mov dword [esp + 0x160], 0xffffffff
lea ecx, [esp + 0x48]
call fcn.004ec810
xor al, al
mov ecx, dword [esp + 0x158]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x150
ret 0xc
movzx edi, word [esi]
push 4
push 1
push 0xffffffffffffffff
mov ecx, ebx
call fcn.004ebc60
mov esi, eax
cmp esi, 0xffffffff
je 0x4ee65e
cmp di, 0xd
je 0x4ee637
cmp di, 0x20
jne 0x4ee65e
call fcn.0049dcc0
test al, al
jne 0x4ee65e
call fcn.0049dce0
test al, al
jne 0x4ee65e
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x4ee65e
mov ebp, dword [0x5fe56c]
jmp 0x4ee684
mov ebp, dword [0x5fe548]
movzx edi, di
push 0
push edi
call fcn.0049d660
add esp, 8
mov dword [esp + 0x84], eax
test eax, eax
jne 0x4ee684
mov dword [esp + 0x84], edi
mov dword [esp + 0xa8], esi
mov dword [esp + 0x8c], esi
cmp esi, 0xffffffff
je 0x4ee37d
push esi
lea eax, [esp + 0xd8]
push eax
mov ecx, ebx
call fcn.004ecc40
push eax
lea ecx, [esp + 0xbc]
mov byte [esp + 0x164], 3
call fcn.0045f4a0
lea ecx, [esp + 0xd4]
mov byte [esp + 0x160], 0
call fcn.00401017
push esi
mov ecx, ebx
call fcn.004ecd40
mov dword [esp + 0xc0], eax
jmp 0x4ee37d
mov ecx, dword [esp + 0x170]
mov edx, dword [esp + 0x16c]
mov eax, dword [esp + 0x168]
push ecx
push edx
push eax
mov ecx, ebx
call fcn.004bf4c0
test al, al
jne 0x4eea1b
cmp edi, 0xffffffff
je 0x4ee5e2
mov ebp, dword [0x5fe56c]
push edi
lea ecx, [esp + 0x2c]
push ecx
mov ecx, ebx
mov dword [esp + 0x94], edi
call fcn.004ecc40
push eax
lea ecx, [esp + 0xbc]
mov byte [esp + 0x164], 4
call fcn.0045f4a0
lea ecx, [esp + 0x28]
mov byte [esp + 0x160], 0
call fcn.00401017
push edi
mov ecx, ebx
call fcn.004ecd40
mov dword [esp + 0xc0], eax
jmp 0x4ee37d
mov edx, dword [esp + 0x170]
mov eax, dword [esp + 0x16c]
mov ecx, dword [esp + 0x168]
push edx
push eax
push ecx
mov ecx, ebx
call fcn.004bf4c0
test al, al
jne 0x4eea1b
xor eax, eax
lea edx, [esp + 0x30]
push edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [ebx + 0x114]
lea ecx, [esp + 0x30]
push ecx
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebx + 0x114]
lea edx, [esp + 0x30]
push edx
push 0
push 0x1012
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x4ee37d
test byte [esp + 0x38], 0xe
je 0x4ee37d
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov ebp, dword [0x5fe564]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], edx
jmp 0x4ee37d
mov eax, dword [esp + 0x16c]
push eax
mov ecx, ebx
call fcn.004edf60
mov ecx, dword [esp + 0x170]
test eax, eax
mov dword [ecx], eax
setne bl
lea ecx, [esp + 0x48]
mov dword [esp + 0x160], 0xffffffff
call fcn.004ec810
mov al, bl
jmp 0x4ee5f8
mov esi, dword [esi]
mov edx, dword [edx + 0x10]
cmp esi, edx
mov ebp, dword [0x5fe574]
jg 0x4ee5e2
mov ecx, ebx
mov dword [esp + 0x88], esi
call fcn.004eb4c0
cmp edx, eax
jge 0x4ee88c
mov dword [esp + 0x8c], edx
jmp 0x4ee37d
dec eax
mov dword [esp + 0x8c], eax
jmp 0x4ee37d
mov eax, dword [ebx + 0xcc]
shr eax, 9
test al, 1
je case.0x4ee2cd.178
mov ecx, ebx
call fcn.004eb4c0
cmp eax, 0x3e8
jg case.0x4ee2cd.178
mov ecx, dword [esp + 0x170]
mov dword [ecx], 0xffffffff
test byte [edx + 0x10], 2
je 0x4ee5e2
mov edx, dword [esp + 0x16c]
mov ebp, dword [edx + 0x14]
push ebp
call fcn.0045eac0
mov esi, dword [esi]
add esp, 4
mov ecx, ebx
mov dword [esp + 0x18], eax
call fcn.004eb4c0
cmp esi, eax
mov dword [esp + 0x1c], eax
jg 0x4ee5e2
mov edi, esi
cmp edi, eax
jne 0x4ee907
xor edi, edi
push edi
lea eax, [esp + 0x24]
push eax
mov ecx, ebx
call fcn.004ecc40
mov ecx, dword [esp + 0x18]
mov eax, dword [eax]
push ecx
push eax
push ebp
call fcn.00508111
add esp, 0xc
test eax, eax
lea ecx, [esp + 0x20]
sete byte [esp + 0x17]
call fcn.00401017
cmp byte [esp + 0x17], 0
jne 0x4ee947
inc edi
cmp edi, esi
je 0x4ee952
mov eax, dword [esp + 0x1c]
jmp 0x4ee901
mov esi, dword [esp + 0x170]
mov dword [esi], edi
jmp 0x4ee959
mov esi, dword [esp + 0x170]
mov eax, dword [esi]
or edi, 0xffffffff
cmp eax, edi
jne 0x4ee96e
mov dword [esp + 0x160], edi
jmp 0x4ee5ed
push 6
push 6
push eax
mov ecx, ebx
call fcn.004edeb0
mov edx, dword [esi]
push edx
mov ecx, ebx
call fcn.004ebdb0
lea ecx, [esp + 0x48]
mov dword [esp + 0x160], edi
call fcn.004ec810
mov al, 1
jmp 0x4ee5f8
mov eax, dword [ebx + 0xcc]
shr eax, 9
test al, 1
je case.0x4ee2cd.178
test byte [esi], 1
mov edi, dword [esi + 4]
je 0x4ee9f6
mov eax, dword [esi + 8]
mov edx, dword [ebx]
mov edx, dword [edx + 0x2c4]
push eax
push edi
lea ecx, [esp + 0x20]
push ecx
mov ecx, ebx
call edx
mov eax, dword [esi + 0x18]
mov ecx, dword [esp + 0x18]
mov edx, dword [esi + 0x14]
dec eax
push eax
push ecx
push edx
call fcn.0050f890
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x18]
xor edx, edx
mov word [ecx + eax*2 - 2], dx
add esp, 0xc
lea ecx, [esp + 0x18]
call fcn.00401017
test byte [esi], 2
je 0x4eea0f
mov ecx, dword [esi + 8]
mov eax, dword [ebx]
mov edx, dword [eax + 0x2cc]
push ecx
push edi
mov ecx, ebx
call edx
mov dword [esi + 0x1c], eax
test byte [esi], 8
je 0x4eea1b
mov dword [esi + 0x10], 0
lea ecx, [esp + 0x48]
mov dword [esp + 0x160], 0xffffffff
call fcn.004ec810
mov al, 1
jmp 0x4ee5f8
mov eax, dword [esp + 0x170]
mov ecx, dword [esp + 0x16c]
mov edx, dword [esp + 0x168]
push eax
push ecx
push edx
mov ecx, ebx
call fcn.004bf4c0
mov bl, al
jmp 0x4ee840
mov ecx, dword [esp + 0x170]
mov dword [ecx], 1
mov ecx, ebx
call fcn.004edae0
mov dword [ebx + 0x168], 0
jmp 0x4eea1b
movzx edx, byte [esp + 0x80]
mov eax, dword [esp + 0x170]
mov dword [eax], edx
mov ecx, dword [ebx + 0x150]
xor esi, esi
cmp ecx, esi
je 0x4eea1b
call fcn.004a2130
mov eax, dword [ebx + 0x150]
mov dword [eax + 0x114], esi
mov ecx, dword [ebx + 0x150]
cmp ecx, esi
je 0x4eeabd
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov dword [ebx + 0x150], esi
jmp 0x4eea1b