Function at 0x4a6c01
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0xc]
cmp eax, 0x44f
push ebx
push esi
push edi
jne 0x4a6d74
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x18]
xor ebx, ebx
push eax
push dword [esi + 0x18]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
cmp dword [ebp + 0x14], ebx
je 0x4a6c4b
movzx edi, byte [ebp + 0x14]
jmp 0x4a6c5e
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
xor edi, edi
mov di, ax
and edi, 0x8000
push dword [ebp - 4]
lea eax, [ebp - 0x18]
push dword [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x4a6cb0
mov al, byte [esi + 0x75]
cmp al, bl
jle 0x4a6c8d
push 1
push ebx
push dword [esi + 0x18]
mov byte [esi + 0x75], bl
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x4a6d9e
dec al
cmp al, 0x9c
mov byte [esi + 0x75], al
jge 0x4a6d9e
push 0x2713
push dword [esi + 0x18]
mov byte [esi + 0x75], bl
call dword [sym.imp.USER32.dll_KillTimer]
jmp 0x4a6d9e
cmp edi, ebx
je 0x4a6ce7
cmp byte [esi + 0x75], bl
jg 0x4a6d9e
push 1
push ebx
push dword [esi + 0x18]
mov byte [esi + 0x75], 1
call dword [sym.imp.USER32.dll_InvalidateRect]
push ebx
push 0xa
push 0x2713
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [ebp + 0x14], 0x201
jmp 0x4a6d54
cmp byte [esi + 0x75], bl
jle 0x4a6d9e
push 1
push ebx
push dword [esi + 0x18]
mov byte [esi + 0x75], bl
call dword [sym.imp.USER32.dll_InvalidateRect]
push 0x2713
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_KillTimer]
test byte [esi + 0x81], 0x40
jne 0x4a6d9e
push dword [esi + 0x18]
mov edi, dword [sym.imp.USER32.dll_GetDlgCtrlID]
call edi
push dword [esi + 0x18]
mov dword [ebp + 0x14], 0x202
call edi
movzx eax, ax
push 0x202
or eax, 0x2020000
push eax
push 0x441
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
call fcn.004404d3
mov ecx, dword [esi + 0x84]
push ebx
push 0x80
push dword [esi + 0x18]
push ebx
push ebx
push dword [ebp + 0x14]
call fcn.0049ef9e
jmp 0x4a6d9e
cmp eax, 0x44e
jne 0x4a6d8b
mov ecx, dword [ebp + 8]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x70]
jmp 0x4a6efa
cmp eax, 0x462
jne 0x4a6e2e
mov esi, dword [ebp + 8]
cmp dword [ebp + 0x14], esi
je 0x4a6da5
xor eax, eax
jmp 0x4a6efa
mov eax, dword [ebp + 0x10]
mov dword [ebp + 0x10], eax
cmp word [eax], 0x3f
jne 0x4a6dc9
xor ecx, ecx
mov cl, byte [esi + 0x81]
shr cl, 6
not cl
and ecx, 1
mov word [eax], cx
jmp 0x4a6e5e
xor ebx, ebx
mov dword [ebp + 0x14], ebx
cmp word [eax], 0x23
jne 0x4a6dda
add eax, 2
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0x10]
push eax
call fcn.00447492
cmp dword [ebp + 0x14], ebx
pop ecx
pop ecx
jle 0x4a6df7
and byte [esi + 0x81], 0xbf
jmp 0x4a6e0f
push 0x2713
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_KillTimer]
or byte [esi + 0x81], 0x40
mov byte [esi + 0x75], bl
cmp dword [ebp + 0x14], ebx
push 1
jg 0x4a6e22
push ebx
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x4a6e5e
push dword [esi + 0x18]
call fcn.004a684c
pop ecx
pop ecx
jmp 0x4a6e5e
cmp eax, 0x45a
jne 0x4a6e66
mov eax, dword [ebp + 8]
mov cl, byte [eax + 0x6c]
test cl, 0x10
jne 0x4a6e4a
test cl, 3
je 0x4a6e4a
xor ecx, ecx
inc ecx
jmp 0x4a6e4c
xor ecx, ecx
push ecx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [eax + 0x18]
call fcn.0047ab27
add esp, 0x10
xor eax, eax
inc eax
jmp 0x4a6efa
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x84]
mov edi, dword [eax + 8]
xor ebx, ebx
cmp edi, ebx
jle 0x4a6e83
push dword [esi + 0x18]
call fcn.00496f81
pop ecx
jmp 0x4a6e85
xor eax, eax
push ebx
push ebx
push eax
lea ecx, [ebp - 0x18]
call fcn.0043e220
cmp edi, ebx
jle 0x4a6ebd
mov ecx, dword [esi + 0x84]
lea eax, [ebp + 8]
push eax
push 1
push dword [esi + 0x18]
mov dword [ebp + 8], ebx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.0049ef9e
test al, 4
je 0x4a6ebd
mov esi, dword [ebp + 8]
jmp 0x4a6ef0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call fcn.004971ef
cmp edi, ebx
mov dword [ebp - 4], eax
jle 0x4a6eed
mov ecx, dword [esi + 0x84]
push ebx
push 2
push dword [esi + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.0049ef9e
mov esi, dword [ebp - 4]
lea ecx, [ebp - 0x18]
call fcn.0043e27f
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0x10