Function at 0x100a8e5f
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0xc], edi
test eax, eax
je 0x100a8e7a
mov dword [eax], 1
call fcn.10056e21
mov ebx, eax
test ebx, ebx
je 0x100a8f62
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.10019512
mov edi, eax
mov eax, dword [ebx]
mov esi, dword [eax + 0x208]
mov ecx, esi
call dword [0x10190a00]
mov ecx, ebx
call esi
test eax, eax
je 0x100a8ee7
test edi, edi
je 0x100a8ed1
cmp dword [edi + 0x20], 0
je 0x100a8ed1
push dword [edi + 0x20]
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
jne 0x100a8ee0
mov eax, dword [edi + 0x20]
cmp eax, dword [ebx + 0x20]
je 0x100a8ee0
xor edi, edi
push edi
push edi
push 0x10
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
jmp 0x100a90ec
test edi, edi
je 0x100a8f01
cmp dword [edi + 0x20], 0
je 0x100a8f01
push dword [edi + 0x20]
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
jne 0x100a8ee0
mov eax, dword [ebx]
mov esi, dword [eax + 0x1c8]
mov ecx, esi
call dword [0x10190a00]
mov ecx, ebx
call esi
xor edi, edi
push edi
push dword [ebp + 8]
mov esi, dword [eax + 0xd80]
push 0x100
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
test esi, esi
je 0x100a90e9
call fcn.10056e21
push eax
push 0x101b74f8
call fcn.10030e13
pop ecx
pop ecx
test eax, eax
je 0x100a8f58
mov ecx, eax
call fcn.100a798d
test eax, eax
jne 0x100a8f5b
xor edi, edi
inc edi
mov eax, edi
jmp 0x100a90ec
mov eax, dword [edi + 0xb0]
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x100a90e9
cmp dword [0x101ede44], eax
jne 0x100a8ee0
mov ecx, dword [0x101ede84]
xor esi, esi
mov edi, esi
mov dword [ebp - 8], edi
test ecx, ecx
je 0x100a9007
mov ebx, dword [ecx + 8]
mov ecx, dword [ecx]
mov dword [ebp - 4], ecx
test ebx, ebx
je 0x100a9124
push dword [ebx + 0x20]
call fcn.1001953c
mov ecx, dword [ebp - 4]
test eax, eax
je 0x100a8f8d
mov ecx, ebx
mov dword [ebp - 8], esi
call fcn.1004890b
mov ecx, dword [ebp - 4]
test eax, eax
jle 0x100a8f8d
push edi
mov ecx, ebx
call fcn.10048708
mov edi, eax
mov eax, dword [edi]
mov esi, dword [eax + 0xa4]
mov ecx, esi
call dword [0x10190a00]
mov ecx, edi
call esi
test eax, eax
jne 0x100a8fff
mov edi, dword [ebp - 8]
mov ecx, ebx
inc edi
mov dword [ebp - 8], edi
call fcn.1004890b
cmp edi, eax
jl 0x100a8fc6
mov ecx, dword [ebp - 4]
jmp 0x100a8f8b
xor edi, edi
inc edi
xor esi, esi
mov dword [ebp - 8], edi
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
push 0x12
setns bl
dec bl
and bl, 8
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov cl, bl
or cl, 0x10
test ax, ax
movzx edx, cl
movzx ecx, bl
cmovns edx, ecx
push 0x10
mov dword [ebp - 4], edx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov edx, dword [ebp - 4]
mov cl, dl
or cl, 4
test ax, ax
movzx ebx, cl
movzx ecx, dl
cmovns ebx, ecx
mov dword [ebp - 0x10], ebx
test edi, edi
jne 0x100a90af
mov edi, dword [ebp - 0xc]
or ebx, 1
mov eax, dword [ebp + 8]
push 1
movzx eax, ax
push dword [edi + 0xb0]
mov dword [ebp - 4], eax
push ebx
push eax
call fcn.10067848
test eax, eax
jne 0x100a8ee0
mov edi, dword [edi + 0xb0]
push esi
mov eax, dword [edi]
mov esi, dword [eax + 0x170]
mov ecx, esi
call dword [0x10190a00]
mov ecx, edi
call esi
push eax
push ebx
push dword [ebp - 4]
call fcn.10067848
test eax, eax
jne 0x100a8ee0
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
mov eax, dword [esi + 0xfc]
test eax, eax
je 0x100a90f3
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x100a90f3
cmp bl, 8
jne 0x100a90f3
xor edi, edi
cmp dword [ebp + 8], 0x70
jne 0x100a9108
mov ecx, dword [esi + 0xfc]
cmp dword [ecx + 0x7a8], edi
je 0x100a9108
call fcn.1010efb1
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 8
cmp bl, 0x10
jne 0x100a9106
push dword [ebp + 8]
mov ecx, esi
call fcn.100a82e2
test eax, eax
jne 0x100a90e9
xor edi, edi
cmp dword [ebp - 8], 0
je 0x100a8ee0
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x100a8ee0
mov dword [eax], edi
jmp 0x100a8ee0
call fcn.10023201
int3