Function at 0x1024a31
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push dword [ebp + 8]
and dword [ebp - 0xc], 0
and dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x1024a5c
xor eax, eax
jmp 0x1024c92
call fcn.01011dce
push dword [ebp + 8]
mov dword [ebp - 0x10], eax
call fcn.01011d48
test eax, eax
je 0x1024a55
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x10
call esi
shr eax, 0xf
and eax, 1
shl eax, 8
or eax, dword [ebp + 0xc]
movzx eax, ax
mov dword [ebp - 8], eax
call fcn.01011d7f
cmp dword [ebp + 0x10], 0
mov ebx, eax
mov edi, 0x8000
je 0x1024b48
movzx eax, word [ebp - 8]
xor ecx, ecx
inc ecx
add eax, 0xffffffdf
mov dword [ebp - 0xc], ecx
cmp eax, 7
ja case.default.0x1024abb
jmp dword [eax*4 + 0x1024c99]
mov dword [ebp - 4], 4
mov dword [ebp + 0xc], ecx
jmp 0x1024b48
mov dword [ebp - 4], 3
jmp 0x1024ac9
mov dword [ebp - 4], 4
mov dword [ebp + 0xc], 2
jmp 0x1024b48
mov dword [ebp - 4], 3
jmp 0x1024ade
mov dword [ebp - 4], 2
push 0x11
call esi
mov ecx, edi
test cx, ax
push 0
pop eax
sete al
inc eax
mov dword [ebp + 0xc], eax
jmp 0x1024b48
mov dword [ebp - 4], ecx
jmp 0x1024af7
mov dword [ebp - 4], 5
push 0x11
call esi
mov ecx, edi
test cx, ax
jne 0x1024b32
cmp dword [ebx + 0x70], 0
je 0x1024b32
mov dword [ebp + 0xc], 1
jmp 0x1024b48
mov dword [ebp + 0xc], 3
jmp 0x1024b48
mov dword [ebp - 4], 6
jmp 0x1024b18
and dword [ebp - 0xc], 0
mov eax, dword [ebp + 8]
cmp eax, dword [0x10438a0]
je 0x1024b7d
xor ecx, ecx
cmp dword [ebp + 0x10], ecx
setne cl
push ecx
push eax
call fcn.010281ae
push eax
push dword [ebp - 8]
call fcn.0100fdf8
test eax, eax
je 0x1024c18
push dword [ebp - 0x10]
call fcn.01011d48
jmp 0x1024b93
cmp dword [ebp + 0x10], 0
jne 0x1024b9b
push 0
push 0xffffffffffffffff
push dword [ebp - 8]
call fcn.0100fdf8
test eax, eax
je 0x1024b9b
xor eax, eax
inc eax
jmp 0x1024c8f
movzx eax, word [ebp - 8]
cmp eax, 9
je 0x1024bc9
cmp eax, 0xd
jne 0x1024c18
cmp dword [ebp + 0x10], 0
je 0x1024c18
push ebx
push dword [ebp + 8]
call fcn.01023f0f
mov esi, eax
test esi, esi
je 0x1024c18
push 2
push ebx
call fcn.0102c745
push esi
jmp 0x1024c0f
push 0x12
call esi
test di, ax
jne 0x1024c18
cmp dword [ebp + 0x10], 0
je 0x1024c18
push ebx
push dword [ebp + 8]
call fcn.01023f0f
mov edi, eax
test edi, edi
je 0x1024c18
push 0x10
call esi
shr eax, 0xf
and eax, 1
push eax
push ebx
call fcn.0102c745
cmp eax, 3
jne 0x1024c0e
push 0x10
call esi
shr eax, 0xf
and eax, 1
push eax
push ebx
call fcn.0102c745
push edi
push ebx
push dword [ebp + 8]
call fcn.01023f35
cmp dword [ebp - 4], 0
je 0x1024c84
push ebx
push dword [ebp + 8]
call fcn.01023f0f
mov esi, eax
test esi, esi
je 0x1024c7d
push 1
push dword [ebp + 0xc]
push dword [ebp - 4]
push ebx
call fcn.0102bfa8
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ax, word [ebp - 0x18]
mov word [ebp + 0x10], ax
mov ax, word [ebp - 0x14]
push 0
mov word [ebp + 0x12], ax
push 0x200
lea eax, [ebp + 0x10]
push eax
push ebx
call fcn.0102c224
push esi
push ebx
push dword [ebp + 8]
call fcn.01023f35
mov dword [ebp - 0xc], 1
push dword [ebp - 0x10]
call fcn.01011d48
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc