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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [0x1023c014]
xor eax, esp
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x18], ecx
mov dword [edi + 0x1f0], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov ebx, dword [ebp + 0x20]
mov esi, dword [edi + 0x2c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], esi
test bl, 2
je 0x10155775
mov eax, 0x66666667
imul esi
sar edx, 2
mov esi, edx
shr esi, 0x1f
add esi, edx
mov dword [esp + 0x28], esi
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10155a60
cmp dword [esp + 0x14], 0
je 0x10155a60
test ebx, 0xf004
jne 0x101557ae
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0xff00
test cx, ax
jne 0x1015598b
mov eax, dword [esp + 0x18]
push dword [eax + 4]
push dword [eax]
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x1015598b
lea eax, [esp + 0x2c]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0x28]
call sym.HncOfficeFramework.dll_void___cdecl_ScreenToClient_struct_HWND_____struct_tagRECT__
add esp, 8
lea eax, [esp + 0x1c]
xorps xmm0, xmm0
movlpd qword [esp + 0x1c], xmm0
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
cmp dword [edi + 0x34], 0
jne 0x10155966
mov eax, dword [esp + 0x24]
lea ecx, [edi + 0x68]
cmp eax, dword [edi + 0x54]
jne 0x10155837
push ecx
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
je 0x10155837
mov eax, dword [ebp + 0x14]
cmp dword [edi + 0x164], eax
jne 0x10155837
mov eax, dword [ebp + 0x18]
cmp dword [edi + 0x1f8], eax
je 0x10155966
mov ecx, dword [esp + 0x18]
lea esi, [edi + 0x58]
push esi
mov eax, dword [ecx]
mov dword [edi + 0x78], eax
mov eax, dword [ecx + 4]
mov dword [edi + 0x7c], eax
mov eax, dword [esp + 0x28]
push eax
mov dword [edi + 0x54], eax
call dword [sym.imp.USER32.dll_GetClientRect]
push esi
push dword [edi + 0x54]
call sym.HncOfficeFramework.dll_void___cdecl_ClientToScreen_struct_HWND_____struct_tagRECT__
mov esi, dword [esp + 0x1c]
lea eax, [edi + 0x68]
add esp, 8
push esi
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [ebp + 0x14]
lea ecx, [edi + 0x3c]
mov dword [edi + 0x164], eax
mov edx, esi
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x1f8], eax
mov eax, dword [esp + 0x10]
sub eax, dword [edi + 0x38]
mov dword [edi + 0x208], ebx
mov dword [edi + 0x34], 0
mov dword [esp + 0x10], eax
call fcn.10017640
mov esi, dword [esp + 0x28]
test eax, eax
mov eax, dword [esp + 0x10]
je 0x101558ed
cmp eax, esi
jge 0x101558ed
mov eax, dword [esp + 0x1c]
sub eax, dword [edi + 0x4c]
cdq
xor eax, edx
sub eax, edx
cmp eax, 2
jge 0x101558e9
mov eax, dword [esp + 0x20]
sub eax, dword [edi + 0x50]
cdq
xor eax, edx
sub eax, edx
cmp eax, 2
jge 0x101558e9
push 1
push dword [edi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
jmp 0x10155b0a
mov eax, dword [esp + 0x10]
test bl, 4
jne 0x10155938
test eax, eax
js 0x101558fb
cmp eax, dword [edi + 0x30]
jl 0x10155938
cmp dword [edi + 0x204], 0
je 0x1015591f
push 0
mov ecx, edi
call fcn.10154920
mov eax, dword [ebp + 0x14]
mov dword [edi + 0x164], eax
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x1f8], eax
push 0
push esi
push 1
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [edi + 0x200], eax
jmp 0x10155b0a
test bl, 8
jne 0x10155958
push 2
push dword [edi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push dword [edi + 0x28]
push 2
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
push 1
mov ecx, edi
call fcn.10154920
jmp 0x10155b0a
mov eax, dword [esp + 0x18]
push dword [eax + 4]
push dword [eax]
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
cmp eax, 1
jne 0x10155999
test ebx, 0x3000
jne 0x10155b0a
push 0
mov ecx, edi
call fcn.10154920
jmp 0x10155b0a
cmp dword [edi + 0x34], 0
je 0x101559aa
push 0
mov ecx, edi
call fcn.10154920
jmp 0x10155a08
cmp dword [edi + 0x204], 0
jne 0x10155a08
mov edx, dword [esp + 0x14]
lea ecx, [edi + 0x3c]
call fcn.10017640
test eax, eax
je 0x101559f4
mov eax, dword [esp + 0x10]
sub eax, dword [edi + 0x38]
cmp eax, esi
jge 0x101559f4
mov eax, dword [esp + 0x1c]
sub eax, dword [edi + 0x4c]
cdq
xor eax, edx
sub eax, edx
cmp eax, 2
jge 0x101559f4
mov eax, dword [esp + 0x20]
sub eax, dword [edi + 0x50]
cdq
xor eax, edx
sub eax, edx
cmp eax, 2
jl 0x101558d9
push 0
push esi
push 1
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [edi + 0x200], eax
mov edx, dword [edi + 0x204]
test edx, edx
je 0x10155a19
mov eax, dword [esp + 0x10]
mov dword [edi + 0x38], eax
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov dword [edi + 0x78], eax
mov eax, dword [ecx + 4]
mov dword [edi + 0x7c], eax
mov eax, dword [edi + 0x208]
test eax, 0x8000
je 0x10155a46
test edx, edx
je 0x10155a46
mov ecx, edi
call fcn.10152800
mov eax, dword [edi + 0x208]
cmp eax, ebx
je 0x10155b0a
mov ecx, edi
mov dword [edi + 0x208], ebx
call fcn.10152800
jmp 0x10155b0a
test ebx, 0x3000
je 0x10155a98
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [esp + 0x2c]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [esp + 0x20]
lea eax, [esp + 0x30]
push dword [esp + 0x20]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x10155b0a
mov eax, dword [edi + 0x200]
test eax, eax
je 0x10155ab6
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov dword [edi + 0x200], 0
cmp dword [edi + 0x204], 0
je 0x10155ac8
push 0
mov ecx, edi
call fcn.10154920
mov esi, dword [sym.imp.USER32.dll_SetRectEmpty]
lea eax, [edi + 0x68]
push eax
mov dword [edi + 0x54], 0
call esi
lea eax, [edi + 0x78]
test eax, eax
je 0x10155aef
mov dword [eax], 0xffffffff
mov dword [eax + 4], 0xffffffff
lea eax, [edi + 0x3c]
mov dword [edi + 0x34], 0
push eax
call esi
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov ecx, dword [esp + 0x3c]
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1008548c
mov esp, ebp
pop ebp
ret 0x1c