Function at 0x10030760
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 0x100308fe
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.0x100307ad.14
movzx ecx, byte [ecx + 0x10030a88]
jmp dword [ecx*4 + 0x10030a5c]
cmp eax, 0x73
je case.0x100307ad.14
mov esi, dword [ebp + 8]
test byte [esi + 0xfe4], 4
je 0x100307e3
cmp eax, 0x26
jne 0x100307e3
push edi
mov ecx, esi
call fcn.10030040
mov ecx, esi
call fcn.10032650
pop edi
pop esi
pop ebp
ret 0x10
mov ecx, esi
push edi
test edx, edx
je 0x100307fc
call fcn.100300b0
mov ecx, esi
call fcn.10032650
pop edi
pop esi
pop ebp
ret 0x10
call fcn.1002fd20
mov ecx, esi
call fcn.10032650
pop edi
pop esi
pop ebp
ret 0x10
mov esi, dword [ebp + 8]
test byte [esi + 0xfe4], 4
je 0x10030834
cmp eax, 0x28
jne 0x10030834
push edi
mov ecx, esi
call fcn.1002fd90
mov ecx, esi
call fcn.10032650
pop edi
pop esi
pop ebp
ret 0x10
mov ecx, esi
push edi
test edx, edx
je 0x1003084d
call fcn.10030150
mov ecx, esi
call fcn.10032650
pop edi
pop esi
pop ebp
ret 0x10
call fcn.1002fe80
mov ecx, esi
call fcn.10032650
pop edi
pop esi
pop ebp
ret 0x10
mov esi, dword [ebp + 8]
test edx, edx
je 0x10030889
mov eax, dword [esi]
push 0
push 0
push 0
push esi
call dword [eax + 0x190]
mov ecx, esi
call fcn.10031c70
mov ecx, esi
call fcn.10032650
pop edi
pop esi
pop ebp
ret 0x10
push edi
mov ecx, esi
call fcn.1002fef0
mov ecx, esi
call fcn.10032650
pop edi
pop esi
pop ebp
ret 0x10
mov esi, dword [ebp + 8]
test edx, edx
je 0x100308d7
mov eax, dword [esi + 0xfcc]
test eax, eax
je 0x100308d7
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.10031c70
mov ecx, esi
call fcn.10032650
pop edi
pop esi
pop ebp
ret 0x10
push edi
mov ecx, esi
call fcn.1002fe00
mov ecx, esi
call fcn.10032650
pop edi
pop esi
pop ebp
ret 0x10
mov ecx, dword [ebp + 8]
push edi
call fcn.1002ffd0
mov ecx, dword [ebp + 8]
call fcn.10032650
pop edi
pop esi
pop ebp
ret 0x10
mov ecx, dword [ebp + 8]
push edi
call fcn.1002ff60
mov ecx, dword [ebp + 8]
call fcn.10032650
pop edi
pop esi
pop ebp
ret 0x10
mov esi, dword [ebp + 8]
test dword [esi + 0xfe4], 0x800
jne case.0x100307ad.14
test edi, edi
je 0x10030931
test edx, edx
jne case.0x100307ad.14
mov eax, dword [esi + 0xffc]
cmp eax, dword [esi + 0x1000]
je 0x10030957
mov ecx, esi
test edi, edi
je 0x100309bf
call fcn.100306e0
mov ecx, esi
call fcn.10032650
pop edi
pop esi
pop ebp
ret 0x10
mov eax, dword [esi]
push 0
push 0
push 0xffffffffffffffff
push esi
test edi, edi
je 0x10030987
call dword [eax + 0x190]
push 1
mov ecx, esi
call fcn.1002fd20
mov ecx, esi
call fcn.10030400
mov ecx, esi
call fcn.10032650
pop edi
pop esi
pop ebp
ret 0x10
test edx, edx
je 0x100309ae
call dword [eax + 0x190]
push 1
mov ecx, esi
call fcn.1002fe00
mov ecx, esi
call fcn.10030400
mov ecx, esi
call fcn.10032650
pop edi
pop esi
pop ebp
ret 0x10
call dword [eax + 0x190]
push 1
mov ecx, esi
call fcn.1002fe80
mov ecx, esi
call fcn.10030400
mov ecx, esi
call fcn.10032650
pop edi
pop esi
pop ebp
ret 0x10
test edi, edi
je 0x100309fc
mov esi, dword [ebp + 8]
test dword [esi + 0xfe4], 0x800
jne case.0x100307ad.14
mov ecx, esi
call fcn.10030dc0
mov ecx, esi
call fcn.10032650
pop edi
pop esi
pop ebp
ret 0x10
test edx, edx
je case.0x100307ad.14
mov ecx, dword [ebp + 8]
call fcn.10030420
mov ecx, dword [ebp + 8]
call fcn.10032650
pop edi
pop esi
pop ebp
ret 0x10
mov eax, dword [ebp + 8]
test dword [eax + 0xfe4], 0x1000
jne case.0x100307ad.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]