Function at 0x493d40
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x12
call esi
mov ecx, 0x8000
test cx, ax
jne 0x493ede
push edi
push 0x10
call esi
movzx edi, ax
push 0x11
and edi, 0x8000
call esi
movzx edx, ax
mov eax, dword [ebp + 0xc]
and edx, 0x8000
lea ecx, [eax - 0xd]
cmp ecx, 0x66
ja case.0x493d8d.14
movzx ecx, byte [ecx + 0x494068]
jmp dword [ecx*4 + 0x49403c]
cmp eax, 0x73
je case.0x493d8d.14
mov esi, dword [ebp + 8]
test byte [esi + 0xfe4], 4
je 0x493dc3
cmp eax, 0x26
jne 0x493dc3
push edi
mov ecx, esi
call fcn.00493620
mov ecx, esi
call fcn.00495c00
pop edi
pop esi
pop ebp
ret 0x10
mov ecx, esi
push edi
test edx, edx
je 0x493ddc
call fcn.00493690
mov ecx, esi
call fcn.00495c00
pop edi
pop esi
pop ebp
ret 0x10
call fcn.00493300
mov ecx, esi
call fcn.00495c00
pop edi
pop esi
pop ebp
ret 0x10
mov esi, dword [ebp + 8]
test byte [esi + 0xfe4], 4
je 0x493e14
cmp eax, 0x28
jne 0x493e14
push edi
mov ecx, esi
call fcn.00493370
mov ecx, esi
call fcn.00495c00
pop edi
pop esi
pop ebp
ret 0x10
mov ecx, esi
push edi
test edx, edx
je 0x493e2d
call fcn.00493730
mov ecx, esi
call fcn.00495c00
pop edi
pop esi
pop ebp
ret 0x10
call fcn.00493460
mov ecx, esi
call fcn.00495c00
pop edi
pop esi
pop ebp
ret 0x10
mov esi, dword [ebp + 8]
test edx, edx
je 0x493e69
mov eax, dword [esi]
push 0
push 0
push 0
push esi
call dword [eax + 0x190]
mov ecx, esi
call fcn.00495220
mov ecx, esi
call fcn.00495c00
pop edi
pop esi
pop ebp
ret 0x10
push edi
mov ecx, esi
call fcn.004934d0
mov ecx, esi
call fcn.00495c00
pop edi
pop esi
pop ebp
ret 0x10
mov esi, dword [ebp + 8]
test edx, edx
je 0x493eb7
mov eax, dword [esi + 0xfcc]
test eax, eax
je 0x493eb7
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esi]
push 0
push eax
push eax
push esi
call dword [ecx + 0x190]
mov ecx, esi
call fcn.00495220
mov ecx, esi
call fcn.00495c00
pop edi
pop esi
pop ebp
ret 0x10
push edi
mov ecx, esi
call fcn.004933e0
mov ecx, esi
call fcn.00495c00
pop edi
pop esi
pop ebp
ret 0x10
mov ecx, dword [ebp + 8]
push edi
call fcn.004935b0
mov ecx, dword [ebp + 8]
call fcn.00495c00
pop edi
pop esi
pop ebp
ret 0x10
mov ecx, dword [ebp + 8]
push edi
call fcn.00493540
mov ecx, dword [ebp + 8]
call fcn.00495c00
pop edi
pop esi
pop ebp
ret 0x10
mov esi, dword [ebp + 8]
test dword [esi + 0xfe4], 0x800
jne case.0x493d8d.14
test edi, edi
je 0x493f11
test edx, edx
jne case.0x493d8d.14
mov eax, dword [esi + 0xffc]
cmp eax, dword [esi + 0x1000]
je 0x493f37
mov ecx, esi
test edi, edi
je 0x493f9f
call fcn.00493cc0
mov ecx, esi
call fcn.00495c00
pop edi
pop esi
pop ebp
ret 0x10
mov eax, dword [esi]
push 0
push 0
push 0xffffffffffffffff
push esi
test edi, edi
je 0x493f67
call dword [eax + 0x190]
push 1
mov ecx, esi
call fcn.00493300
mov ecx, esi
call fcn.004939e0
mov ecx, esi
call fcn.00495c00
pop edi
pop esi
pop ebp
ret 0x10
test edx, edx
je 0x493f8e
call dword [eax + 0x190]
push 1
mov ecx, esi
call fcn.004933e0
mov ecx, esi
call fcn.004939e0
mov ecx, esi
call fcn.00495c00
pop edi
pop esi
pop ebp
ret 0x10
call dword [eax + 0x190]
push 1
mov ecx, esi
call fcn.00493460
mov ecx, esi
call fcn.004939e0
mov ecx, esi
call fcn.00495c00
pop edi
pop esi
pop ebp
ret 0x10
test edi, edi
je 0x493fdc
mov esi, dword [ebp + 8]
test dword [esi + 0xfe4], 0x800
jne case.0x493d8d.14
mov ecx, esi
call fcn.004943a0
mov ecx, esi
call fcn.00495c00
pop edi
pop esi
pop ebp
ret 0x10
test edx, edx
je case.0x493d8d.14
mov ecx, dword [ebp + 8]
call fcn.00493a00
mov ecx, dword [ebp + 8]
call fcn.00495c00
pop edi
pop esi
pop ebp
ret 0x10
mov eax, dword [ebp + 8]
test dword [eax + 0xfe4], 0x1000
jne case.0x493d8d.14
push dword [eax + 0xc38]
call dword [sym.imp.USER32.dll_GetParent]
pop edi
pop esi
mov dword [ebp + 0x14], 0
mov dword [ebp + 0x10], 0
mov dword [ebp + 0xc], 0x400
mov dword [ebp + 8], eax
pop ebp
jmp dword [sym.imp.USER32.dll_SendMessageW]