Function at 0x10a0583
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [0x10b24cc], 0
push ebx
push esi
push edi
mov edi, ecx
je 0x10a05f4
mov al, byte [0x10b24d0]
cmp al, 4
jae 0x10a05a6
test al, al
jne 0x10a05f4
mov eax, dword [0x10b24b8]
mov ecx, dword [0x10b24bc]
mov edx, 0x10000
mov esi, SHChangeNotifyRegister
and eax, edx
and ecx, esi
or eax, ecx
je 0x10a05f4
mov eax, dword [0x10b24c0]
mov ebx, dword [0x10b24c4]
mov ecx, eax
and ecx, edx
mov edx, ebx
and edx, esi
cmp ecx, eax
jne 0x10a05f4
cmp edx, ebx
jne 0x10a05f4
push 0x10a0778
push dword [0x10b247c]
push dword [0x10b2478]
call fcn.0100e7c9
mov eax, dword [edi + 0x150]
or dword [ebp - 4], 0xffffffff
cmp eax, 2
jne 0x10a060c
mov ecx, edi
call fcn.0109f1b2
jmp 0x10a0618
cmp eax, 1
jne 0x10a0618
mov ecx, edi
call fcn.010a050e
cmp dword [ebp + 0x10], 0
je 0x10a068d
mov esi, dword [edi + 0xa8]
mov ebx, dword [edi + 0xb0]
test esi, esi
jne 0x10a0659
lea eax, [edi + 0x90]
mov ecx, dword [eax]
test ecx, ecx
je 0x10a063e
mov ecx, dword [ecx]
jmp 0x10a0640
xor ecx, ecx
test ecx, ecx
jle 0x10a0770
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov esi, dword [eax]
xor ebx, ebx
test esi, esi
je 0x10a0770
cmp ebx, 0xfffffffe
jl 0x10a06be
mov eax, dword [esi]
lea ecx, [ebp - 0x1c]
push ecx
push ebx
push esi
call dword [eax + 0x30]
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x18]
mov dword [ebp - 8], eax
jmp 0x10a06be
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ScreenToClient]
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
mov ecx, edi
push dword [ebp - 0xc]
call fcn.0104fc5b
mov ebx, dword [ebp - 4]
mov esi, eax
test esi, esi
je 0x10a0770
cmp ebx, 0xffffffff
je 0x10a0770
mov eax, dword [esi]
and dword [ebp + 0x10], 0
push esi
call dword [eax + 0xc]
cmp eax, 1
jne 0x10a06ef
test ebx, ebx
jl 0x10a06ef
mov eax, dword [esi]
push ebx
push esi
call dword [eax + 0xac]
mov dword [ebp + 0x10], eax
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x10a0741
mov eax, dword [ebp + 0x10]
and dword [ebp + 8], 0
test eax, eax
je 0x10a0710
mov ecx, dword [eax]
push eax
call dword [ecx + 0x4c]
mov dword [ebp + 8], eax
lea eax, [ebp - 0xc]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ClientToScreen]
lea ebx, [edi + 0x18]
mov eax, dword [ebx]
mov dword [ebp + 0x10], eax
mov eax, dword [esi]
push esi
call dword [eax + 0x14]
push eax
push dword [ebp + 8]
mov eax, dword [ebp + 0x10]
push dword [edi + 4]
push dword [ebp - 8]
push dword [ebp - 0xc]
push ebx
call dword [eax + 0x1c]
jmp 0x10a0770
cmp esi, dword [edi + 0xe0]
jne 0x10a0759
cmp esi, dword [edi + 0xb4]
jne 0x10a0770
cmp dword [edi + 0xb8], ebx
je 0x10a0770
mov eax, dword [esi]
push 0
push 0
push dword [ebp + 0x10]
add edi, 0x14
mov ebx, dword [edi]
push esi
call dword [eax + 0x14]
push eax
push edi
call dword [ebx + 0x78]
pop edi
pop esi
pop ebx
leave
ret 0xc