Function at 0x47eb98
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
cmp edi, 0x44f
jne 0x47ed0b
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 0x47ebe3
movzx edi, byte [ebp + 0x14]
jmp 0x47ebf6
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 0x47ec48
mov al, byte [esi + 0x7b]
cmp al, bl
jle 0x47ec25
push 1
push ebx
push dword [esi + 0x18]
mov byte [esi + 0x7b], bl
call dword [sym.imp.USER32.DLL_InvalidateRect]
jmp 0x47ed37
dec al
cmp al, 0x9c
mov byte [esi + 0x7b], al
jge 0x47ed37
push 0x2713
push dword [esi + 0x18]
mov byte [esi + 0x7b], bl
call dword [sym.imp.USER32.DLL_KillTimer]
jmp 0x47ed37
cmp edi, ebx
je 0x47ec7f
cmp byte [esi + 0x7b], bl
jg 0x47ed37
push 1
push ebx
push dword [esi + 0x18]
mov byte [esi + 0x7b], 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 0x47ecee
cmp byte [esi + 0x7b], bl
jle 0x47ed37
push 1
push ebx
push dword [esi + 0x18]
mov byte [esi + 0x7b], bl
call dword [sym.imp.USER32.DLL_InvalidateRect]
push 0x2713
push dword [esi + 0x18]
call dword [sym.imp.USER32.DLL_KillTimer]
test byte [esi + 0x7c], 0x40
jne 0x47ed37
push dword [esi + 0x18]
mov edi, dword [sym.imp.USER32.DLL_GetDlgCtrlID]
call edi
push dword [esi + 0x18]
mov dword [ebp + 0x14], 0x202
call dword [sym.imp.USER32.DLL_GetParent]
push 0x202
push dword [esi + 0x18]
mov dword [ebp + 0x10], eax
call edi
movzx eax, ax
or eax, 0x2020000
push eax
push 0x441
push dword [ebp + 0x10]
call dword [sym.imp.USER32.DLL_PostMessageW]
call fcn.00432b74
mov ecx, dword [esi + 0x4c]
push ebx
push 0x80
push dword [esi + 0x18]
push ebx
push ebx
push dword [ebp + 0x14]
call fcn.0047a64d
jmp 0x47ed37
cmp edi, 0x44e
jne 0x47ed23
mov ecx, dword [ebp + 8]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x70]
jmp 0x47ee2d
cmp edi, 0x462
jne 0x47edbb
mov esi, dword [ebp + 8]
cmp dword [ebp + 0x14], esi
je 0x47ed3e
xor eax, eax
jmp 0x47ee2d
mov eax, dword [ebp + 0x10]
mov dword [ebp + 0x10], eax
cmp word [eax], 0x3f
jne 0x47ed5c
xor ecx, ecx
mov cl, byte [esi + 0x7c]
shr cl, 6
not cl
and ecx, 1
mov word [eax], cx
jmp 0x47edd7
xor ebx, ebx
mov dword [ebp + 0x14], ebx
cmp word [eax], 0x23
jne 0x47ed6d
add eax, 2
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0x10]
push eax
call fcn.00438b8e
cmp dword [ebp + 0x14], ebx
pop ecx
pop ecx
jle 0x47ed87
and byte [esi + 0x7c], 0xbf
jmp 0x47ed9c
push 0x2713
push dword [esi + 0x18]
call dword [sym.imp.USER32.DLL_KillTimer]
or byte [esi + 0x7c], 0x40
mov byte [esi + 0x7b], bl
cmp dword [ebp + 0x14], ebx
push 1
jg 0x47edaf
push ebx
push dword [esi + 0x18]
call dword [sym.imp.USER32.DLL_InvalidateRect]
jmp 0x47edd7
push dword [esi + 0x18]
call fcn.0047eb1d
pop ecx
pop ecx
jmp 0x47edd7
cmp edi, 0x45a
jne 0x47eddc
push dword [ebp + 0x14]
mov eax, dword [ebp + 8]
push dword [ebp + 0x10]
push dword [eax + 0x18]
call fcn.004649fb
add esp, 0xc
xor eax, eax
inc eax
jmp 0x47ee2d
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x4c]
lea eax, [ebp + 0xc]
push eax
push 1
push dword [esi + 0x18]
xor ebx, ebx
push dword [ebp + 0x14]
mov dword [ebp + 0xc], ebx
push dword [ebp + 0x10]
push edi
call fcn.0047a64d
test al, 4
je 0x47ee05
mov eax, dword [ebp + 0xc]
jmp 0x47ee2d
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push edi
push esi
call fcn.0047481b
mov ecx, dword [esi + 0x4c]
push ebx
push 2
push dword [esi + 0x18]
mov dword [ebp + 8], eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push edi
call fcn.0047a64d
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret 0x10