Function at 0x6607ae9e
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
mov edi, dword [ebp + 0xc]
push 9
pop ecx
xor edx, edx
lea eax, [edi - 0x200]
mov ebx, 0xff
cmp eax, ecx
mov dword [ebp - 4], edx
mov dword [ebp - 8], ebx
ja case.default.0x6607aeca
jmp dword [eax*4 + 0x6607b1c3]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
lea eax, [edi - 0x1ff]
shr eax, 1
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 4]
mov eax, dword [eax + 0x28]
movzx edx, byte [edx + eax + 0xec]
mov dword [ebp + 0xc], edx
mov edx, dword [ebp - 8]
cmp edx, ebx
je 0x6607af08
movzx edx, byte [edx + eax + 0xec]
mov dword [ebp - 8], edx
cmp dword [ebp + 0xc], ebx
jne 0x6607afec
cmp dword [ebp - 4], 1
jne 0x6607af47
test byte [eax + 0x2a], 0x40
jne 0x6607af47
mov edx, dword [eax]
cmp edx, 0x6610efe0
je 0x6607af47
cmp edx, 0x6610ef08
je 0x6607af47
add edi, 0xfffffdff
mov dword [ebp - 4], ecx
shr edi, 1
mov dword [ebp - 0xc], edi
movzx eax, byte [eax + 0xf5]
mov dword [ebp + 0xc], eax
cmp dword [ebp + 0xc], ebx
jne 0x6607afec
cmp dword [ebp - 8], ebx
jne 0x6607afec
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10
mov dword [ebp - 4], 0xb
mov dword [ebp - 8], edx
jmp 0x6607aedd
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x28]
mov ecx, dword [ecx]
mov cl, byte [ecx + 0x37]
cmp cl, 0x1d
jb 0x6607af86
cmp cl, 0x1f
jbe 0x6607af90
push edx
push eax
push dword [eax + 0x3c]
call fcn.66056e85
push 2
mov dword [ebp - 4], 0xa
call esi
test ax, ax
jge 0x6607afd4
mov dword [ebp - 0x10], 2
push 4
call esi
test ax, ax
jge 0x6607afda
mov dword [ebp + 0xc], 4
push 1
call esi
xor ecx, ecx
push 9
test ax, ax
setl cl
or ecx, dword [ebp + 0xc]
or ecx, dword [ebp - 0x10]
mov dword [ebp - 0xc], ecx
pop ecx
jmp case.default.0x6607aeca
and dword [ebp - 0x10], 0
jmp 0x6607afa7
and dword [ebp + 0xc], 0
jmp 0x6607afb7
mov dword [ebp - 4], 1
jmp case.default.0x6607aeca
mov eax, dword [ebp - 4]
and dword [ebp - 0x10], 0
sub eax, ecx
je 0x6607b189
dec eax
dec eax
jne 0x6607b0a9
mov eax, dword [ebp + 8]
push dword [eax + 0x30]
call fcn.660226cf
cmp eax, dword [ebp + 8]
jne 0x6607b0a9
push 1
call esi
test ax, ax
jl 0x6607b03d
push 4
call esi
test ax, ax
jl 0x6607b03d
push 2
call esi
test ax, ax
jl 0x6607b03d
mov eax, dword [ebp + 8]
push dword [eax + 0x30]
call fcn.6606f6c4
cmp dword [ebp - 8], ebx
je 0x6607b0a9
movsx eax, word [ebp + 0x14]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x14]
shr eax, 0x10
movsx eax, ax
mov dword [ebp - 0x18], eax
mov eax, dword [edi + 0x28]
mov eax, dword [eax]
cmp byte [eax + 0x37], 0x11
jne 0x6607b082
push edi
call fcn.6606ec3f
test eax, eax
je 0x6607b082
mov ecx, dword [edi + 0x3c]
test ecx, ecx
je 0x6607b082
lea edx, [ebp - 0x1c]
push 1
push edx
push ecx
push eax
call dword [sym.imp.USER32.dll_MapWindowPoints]
lea eax, [ebp - 0x1c]
push eax
push edi
call fcn.6606f3d8
push 1
push 1
push dword [edi + 0x30]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call fcn.6606f6fe
cmp edi, eax
jne 0x6607b0a9
mov dword [ebp - 0x10], 1
xor eax, eax
cmp dword [ebp + 0xc], ebx
je 0x6607b164
cmp dword [ebp - 4], 1
je 0x6607b155
push 0x11
call esi
test ax, ax
jge 0x6607b1b5
push 2
pop ebx
push 0x12
call esi
test ax, ax
jge 0x6607b1bc
push 4
pop edi
push 0x10
call esi
push dword [ebp + 8]
xor ecx, ecx
test ax, ax
setl cl
or ecx, edi
or ecx, ebx
mov dword [ebp - 4], ecx
call fcn.6602aa57
mov esi, dword [ebp + 0x14]
mov ecx, dword [0x6610f700]
mov edi, eax
movsx eax, si
imul ecx, eax
mov dword [ebp + 0x14], ecx
push ecx
fild dword [ebp + 0x14]
fstp dword [esp]
push edi
call fcn.6602aa75
shr esi, 0x10
movsx eax, si
fstp dword [ebp - 0x14]
imul eax, dword [0x6610f6fc]
mov dword [ebp + 0x14], eax
push ecx
fild dword [ebp + 0x14]
fstp dword [esp]
push edi
call fcn.6602aac4
lea eax, [ebp - 0xc]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 4]
fstp dword [ebp - 0x18]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.66022e97
test eax, eax
jne 0x6607af5b
cmp dword [ebp - 0x10], eax
je 0x6607af5b
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.66022e97
jmp 0x6607af5b
push 1
call esi
test ax, ax
jl 0x6607b1a8
push 4
call esi
test ax, ax
jl 0x6607b1a8
push 2
call esi
test ax, ax
jge 0x6607b0a9
push dword [ebp + 8]
call fcn.6606f606
jmp 0x6607b0a9
xor ebx, ebx
jmp 0x6607b0ce
xor edi, edi
jmp 0x6607b0de