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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x60aca0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x34], ebx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
test esi, esi
jne 0x426dec
mov dword [ebp - 0x30], eax
jmp 0x426e05
lea eax, [ebp - 0x38]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [ebp - 0x38]
xor ecx, ecx
cmp eax, dword [edi + 4]
cmove ecx, esi
mov dword [ebp - 0x30], ecx
cmp byte [edi + 0x151c], 0
mov eax, dword [ebx + 4]
je 0x427102
cmp eax, 0x105
ja 0x4270c6
je 0x4270a0
sub eax, 0xa1
cmp eax, 0x5f
ja case.0x427128.163
movzx eax, byte [eax + 0x4276f0]
jmp dword [eax*4 + 0x4276e4]
mov ebx, dword [0x6f0808]
test ebx, ebx
je case.0x427128.163
push ebx
mov ecx, edi
call fcn.00427b00
mov esi, ebx
lea ebx, [esi + 0xac]
cmp eax, 0xffffffff
jne 0x426e71
mov ebx, dword [ebx]
test ebx, ebx
jne 0x426e50
lea ebx, [esi + 0xac]
test esi, esi
je case.0x427128.163
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov ecx, eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x30], ecx
mov edx, dword [eax + 8]
add edx, 0xfffffff3
cmp edx, 0x1b
ja case.0x426ea0.14
movzx edx, byte [edx + 0x427770]
jmp dword [edx*4 + 0x427750]
mov ecx, edi
cmp esi, dword [edi + 0x1518]
je 0x426eca
push esi
call fcn.00424d90
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004dcc5c
mov esp, ebp
pop ebp
ret 4
push 2
call fcn.0042a9a0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004dcc5c
mov esp, ebp
pop ebp
ret 4
push esi
mov ecx, edi
call fcn.00427b00
cmp eax, 0xffffffff
je case.0x426ea0.14
push 0xffffffffffffffff
push 0
push 0x202
mov ecx, dword [esi + 0xc0]
mov eax, dword [ecx + eax*4]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004dcc5c
mov esp, ebp
pop ebp
ret 4
push esi
mov ecx, edi
call fcn.00427b00
push 1
push eax
push esi
mov ecx, edi
call fcn.00427e30
cmp eax, 0xffffffff
je case.0x426ea0.14
push 0xffffffffffffffff
push 0
push 0x200
jmp 0x426efe
push esi
mov ecx, edi
call fcn.00427b00
push 0xffffffffffffffff
push eax
push esi
mov ecx, edi
call fcn.00427e30
cmp eax, 0xffffffff
je case.0x426ea0.14
push 0xffffffffffffffff
push 0
push 0x200
jmp 0x426efe
cmp dword [ebx], 0
jne 0x426fd9
push esi
mov ecx, edi
call fcn.00427b00
mov dword [ebp - 0x34], eax
cmp eax, 0xffffffff
je 0x426fe4
mov ecx, dword [esi + 0xc0]
mov eax, dword [ecx + eax*4]
mov ecx, edi
mov dword [ebp - 0x38], eax
movzx eax, word [eax + 0xc]
push eax
call fcn.004280d0
imul ecx, eax, 0x11c
mov eax, dword [edi + 0x175c]
test dword [ecx + eax + 0xc], 0x1000000
je 0x426fe4
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x38]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esi + 0xc0]
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [ecx + eax*4]
call fcn.0043ce00
mov esi, dword [ebx]
push 1
push 0xffffffffffffffff
jmp 0x426f2e
cmp dword [ebp - 0x30], 0
je case.0x426ea0.14
push 1
mov ecx, edi
call fcn.0042a9a0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004dcc5c
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x50]
mov dword [ebp - 0x38], eax
test eax, eax
jne 0x427038
test ecx, ecx
je case.0x426ea0.14
push 0xffffffffffffffff
mov ecx, edi
call fcn.0042a9a0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004dcc5c
mov esp, ebp
pop ebp
ret 4
mov edx, dword [eax + 0xbc]
lea ebx, [eax + 0xc0]
xor ecx, ecx
test edx, edx
jle 0x42705f
mov eax, dword [ebx]
nop dword [eax]
cmp dword [eax], esi
je 0x42706d
inc ecx
add eax, 4
cmp ecx, edx
jl 0x427050
mov eax, dword [ebp - 0x38]
push 1
push 0
push eax
mov ecx, edi
call fcn.00427e30
mov ecx, eax
cmp ecx, 0xffffffff
je case.0x426ea0.14
mov eax, dword [ebx]
push 0xffffffffffffffff
push 0
push 0x200
mov eax, dword [eax + ecx*4]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004dcc5c
mov esp, ebp
pop ebp
ret 4
cmp dword [ebx + 8], 0x12
jne case.0x426ea0.14
push 2
mov ecx, edi
call fcn.0042a9a0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004dcc5c
mov esp, ebp
pop ebp
ret 4
sub eax, 0x201
je case.0x426e3b.161
sub eax, 3
je case.0x426e3b.161
sub eax, 3
jne case.0x427128.163
push dword [0x6f1798]
call fcn.00419e10
add esp, 4
test al, al
jne case.0x427128.163
push 0
mov ecx, 0x6ef2f0
call fcn.00424d90
jmp case.0x427128.163
cmp eax, 0x105
ja 0x4272ec
je 0x4272cc
sub eax, 0xa0
cmp eax, 0x60
ja case.0x427128.163
movzx eax, byte [eax + 0x4277a0]
jmp dword [eax*4 + 0x42778c]
mov eax, dword [ebx + 8]
cmp eax, 9
jne 0x42717c
movzx eax, word [0x6f0804]
mov ecx, edi
push eax
call fcn.0042c6f0
mov esi, eax
test esi, esi
je case.0x427128.163
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
mov ecx, esi
not eax
and eax, 1
lea eax, [eax*2 - 1]
push eax
call fcn.00430280
test eax, eax
jne case.0x426ea0.14
jmp case.0x427128.163
cmp eax, 0x10
je case.0x427128.163
cmp eax, 0x11
je case.0x427128.163
cmp eax, 0x12
je case.0x427128.163
cmp byte [edi + 0x1528], 0
je case.0x427128.163
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call esi
shr eax, 0xf
and eax, 0xffffff01
push 0x11
mov dword [ebp - 0x3c], eax
call esi
shr eax, 0xf
and eax, 0xffffff01
push 0x12
mov dword [ebp - 0x40], eax
call esi
movzx ecx, ax
xor ebx, ebx
shr ecx, 0xf
and ecx, 0xffffff01
mov dword [ebp - 0x44], ecx
cmp dword [edi + 0x176c], ebx
jle case.0x427128.163
mov eax, dword [ebp - 0x34]
mov esi, dword [edi + 0x1770]
mov dword [ebp - 0x4c], esi
add esi, 3
mov edx, dword [eax + 8]
mov dword [ebp - 0x48], edx
nop
movzx eax, word [esi - 3]
cmp edx, eax
jne 0x427254
cmp byte [esi - 1], 0
je 0x427214
cmp byte [ebp - 0x3c], 0
je 0x427254
cmp byte [esi], 0
je 0x42721f
cmp byte [ebp - 0x40], 0
je 0x427254
cmp byte [esi + 1], 0
je 0x427229
test cl, cl
je 0x427254
movzx eax, word [esi + 5]
mov ecx, 0xffff
cmp ax, cx
je 0x427265
push eax
mov ecx, edi
call fcn.0042c6f0
test eax, eax
je case.0x427128.163
mov ecx, dword [ebp - 0x30]
cmp dword [eax], ecx
je 0x427265
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x48]
inc ebx
add esi, 0xa
cmp ebx, dword [edi + 0x176c]
jl 0x427200
jmp case.0x427128.163
mov edi, dword [ebp - 0x4c]
lea esi, [ebx + ebx*4]
mov ecx, 0x6ef2f0
movzx eax, word [edi + esi*2 + 6]
push eax
call fcn.004280d0
cmp eax, 0xffffffff
je 0x427299
imul ecx, eax, 0x11c
mov eax, dword [0x6f0a4c]
test dword [ecx + eax + 0xc], 0x8000001
je case.0x426ea0.14
call dword [sym.imp.USER32.dll_GetFocus]
push eax
movzx eax, word [edi + esi*2 + 6]
or eax, 0x100000
push eax
push 0x83ed
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004dcc5c
mov esp, ebp
pop ebp
ret 4
cmp dword [ebx + 8], 0x12
jne case.0x427128.163
push 0
mov ecx, edi
call fcn.0042a9a0
test eax, eax
je case.0x426ea0.14
jmp case.0x427128.163
sub eax, 0x200
je case.0x427128.160
sub eax, 1
je case.0x427128.161
sub eax, 1
jne case.0x427128.163
cmp byte [0x6f0be8], 0
je case.0x427128.163
call dword [sym.imp.USER32.dll_ReleaseCapture]
pop edi
pop esi
mov byte [0x6f0be8], 0
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004dcc5c
mov esp, ebp
pop ebp
ret 4
mov eax, dword [0x6f0bd0]
test eax, eax
je case.0x427128.163
push dword [eax]
call dword [sym.imp.USER32.dll_SetCapture]
push dword [0x6f0be4]
mov ecx, edi
mov byte [0x6f0be8], 1
call fcn.0042b450
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004dcc5c
mov esp, ebp
pop ebp
ret 4
cmp byte [0x6f0be8], 0
je 0x4274be
push dword [0x6f0be4]
mov ecx, edi
call fcn.0042b450
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [0x6f0bd0]
mov eax, dword [0x6f0be4]
dec eax
movups xmm0, xmmword [edx + 0x28]
movups xmmword [ebp - 0x24], xmm0
cmp eax, 7
ja case.default.0x4273ab
jmp dword [eax*4 + 0x427804]
mov eax, dword [ebp - 0x2c]
sub eax, dword [0x6f0bd4]
mov dword [ebp - 0x24], eax
jmp case.0x4273ab.8
mov eax, dword [ebp - 0x2c]
mov ecx, edx
sub eax, dword [0x6f0bd4]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push 1
push eax
call fcn.00430bc0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004dcc5c
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x2c]
sub eax, dword [0x6f0bd4]
mov dword [ebp - 0x24], eax
mov eax, dword [0x6f0be0]
mov ecx, edx
add eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x24]
push 1
push eax
call fcn.00430bc0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004dcc5c
mov esp, ebp
pop ebp
ret 4
mov eax, dword [0x6f0bd8]
mov ecx, edx
add eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x6f0be0]
add eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x24]
push 1
push eax
call fcn.00430bc0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004dcc5c
mov esp, ebp
pop ebp
ret 4
mov eax, dword [0x6f0bd8]
mov ecx, edx
add eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x24]
push 1
push eax
call fcn.00430bc0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004dcc5c
mov esp, ebp
pop ebp
ret 4
mov eax, dword [0x6f0bd8]
add eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x28]
sub eax, dword [0x6f0bdc]
mov dword [ebp - 0x20], eax
push 1
lea eax, [ebp - 0x24]
mov ecx, edx
push eax
call fcn.00430bc0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004dcc5c
mov esp, ebp
pop ebp
ret 4
push dword [ebx + 0x18]
push dword [ebx + 0x14]
call dword [sym.imp.USER32.dll_WindowFromPoint]
mov edx, eax
test edx, edx
je 0x4274ff
mov esi, dword [0x6f0a0c]
xor ecx, ecx
test esi, esi
jle 0x4274f2
mov ebx, dword [0x6f0a10]
mov eax, dword [ebx + ecx*4]
cmp dword [eax], edx
je 0x427575
inc ecx
cmp ecx, esi
jl 0x4274e2
push edx
call dword [sym.imp.USER32.dll_GetParent]
mov edx, eax
test edx, edx
jne 0x4274d0
mov dword [0x6f0bd0], 0
mov ebx, dword [ebp - 0x34]
lea eax, [ebp - 0xc]
mov edi, dword [sym.imp.USER32.dll_GetClassNameA]
push 7
push eax
mov esi, dword [ebx]
push esi
call edi
lea ecx, [ebp - 0xc]
cmp dword [ecx], 0x37323323
jne 0x427697
cmp word [ecx + 4], 0x3037
jne 0x427697
movzx eax, byte [ecx + 6]
test al, al
jne 0x427697
test esi, esi
je 0x427554
push ebx
push esi
call dword [sym.imp.USER32.dll_IsDialogMessageA]
test eax, eax
jne case.0x426ea0.14
push ebx
call dword [sym.imp.USER32.dll_TranslateMessage]
push ebx
call dword [sym.imp.USER32.dll_DispatchMessageA]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004dcc5c
mov esp, ebp
pop ebp
ret 4
mov dword [0x6f0bd0], eax
test eax, eax
je 0x4274ff
mov eax, dword [eax + 0x14]
test eax, 0x800
je 0x4274ff
test eax, 0x1000
jne 0x4274ff
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [0x6f0bd0]
push dword [eax]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [0x6f0bd0]
mov ecx, dword [ebp - 0x28]
movd xmm1, dword [eax + 0x30]
movd xmm0, dword [eax + 0x28]
cvtdq2pd xmm1, xmm1
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
movd xmm0, dword [eax + 0x2c]
cvtdq2pd xmm0, xmm0
cvttsd2si ebx, xmm1
movd xmm1, dword [eax + 0x34]
mov eax, dword [ebp - 0x2c]
sub ebx, 5
cvtdq2pd xmm1, xmm1
subsd xmm1, xmm0
cvttsd2si esi, xmm1
sub esi, 5
cmp eax, 5
jl 0x42763a
cmp ecx, 5
jl 0x42760d
cmp eax, ebx
jge 0x427611
cmp ecx, esi
jl 0x4274ff
cmp eax, ebx
jl 0x427629
cmp ecx, 5
jge 0x42761d
mov eax, 7
jmp 0x427650
xor eax, eax
cmp ecx, esi
setl al
add eax, 5
jmp 0x427650
xor eax, eax
cmp ecx, 5
setl al
lea eax, [eax*4 + 4]
jmp 0x427650
cmp ecx, 5
jge 0x427646
mov eax, 1
jmp 0x427650
xor eax, eax
cmp ecx, esi
setge al
add eax, 2
push eax
mov ecx, edi
mov dword [0x6f0be4], eax
call fcn.0042b450
mov ecx, dword [ebp - 0x28]
sub esi, ecx
mov eax, dword [ebp - 0x2c]
add esi, 5
sub ebx, eax
mov dword [0x6f0bdc], ecx
mov ecx, dword [ebp - 4]
add ebx, 5
pop edi
mov dword [0x6f0be0], esi
xor ecx, ebp
pop esi
mov dword [0x6f0bd8], ebx
mov dword [0x6f0bd4], eax
pop ebx
call fcn.004dcc5c
mov esp, ebp
pop ebp
ret 4
push esi
call dword [sym.imp.USER32.dll_GetParent]
mov esi, eax
test esi, esi
je 0x427554
push 7
lea eax, [ebp - 0x14]
push eax
push esi
call edi
lea ecx, [ebp - 0x14]
cmp dword [ecx], 0x37323323
jne 0x4276d0
cmp word [ecx + 4], 0x3037
jne 0x4276d0
movzx eax, byte [ecx + 6]
test al, al
je 0x427548
push esi
call dword [sym.imp.USER32.dll_GetParent]
mov esi, eax
test esi, esi
jne 0x4276a8
jmp 0x427554