Function at 0x660ab2b6
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x3c]
mov ecx, dword [edi + 0x30]
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], eax
mov esi, dword [ecx + 0x34]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
cmp dword [esi + 0xea0], eax
mov dword [ebp + 8], eax
je 0x660ab2f9
push 0x800a02a2
call fcn.6607268f
pop edi
pop esi
leave
ret 4
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push 2
call ebx
test ax, ax
jge 0x660ab410
mov dword [ebp - 0x1c], 2
push 4
call ebx
test ax, ax
jge 0x660ab419
mov dword [ebp - 0x18], 0x10
push 1
call ebx
xor ecx, ecx
push 0
test ax, ax
setl cl
or ecx, dword [ebp - 0x18]
and dword [esi + 0xea4], 0
or ecx, dword [ebp - 0x1c]
mov dword [esi + 0xeac], ecx
call fcn.6606f674
push dword [ebp - 0x20]
push edi
call fcn.66022e54
test eax, eax
je 0x660ab422
mov ebx, 0x16c
mov eax, dword [ebp - 0x14]
xor edi, edi
cmp eax, edi
je 0x660ab373
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 8]
cmp eax, edi
je 0x660ab380
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
cmp ecx, edi
je 0x660ab395
call fcn.660aa803
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp + 8]
cmp eax, edi
je 0x660ab3a2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0xea0]
cmp eax, edi
je 0x660ab3f6
push dword [esi + 0xea8]
push eax
call fcn.66022e54
test eax, eax
jne 0x660ab3f6
mov eax, dword [esi + 0xea0]
mov ecx, dword [eax + 0x28]
mov ecx, dword [ecx]
mov cl, byte [ecx + 0x37]
cmp cl, 8
jne 0x660ab59a
mov eax, dword [eax + 0xdc]
cmp eax, edi
je 0x660ab3ea
add eax, 0xfffffffc
push eax
push edi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esi + 0xea0]
mov dword [eax + 0xdc], edi
mov eax, ebx
mov dword [esi + 0xea0], edi
mov dword [esi + 0xea8], edi
mov dword [esi + 0xea4], edi
pop ebx
jmp 0x660ab2f3
and dword [ebp - 0x1c], 0
jmp 0x660ab314
and dword [ebp - 0x18], 0
jmp 0x660ab328
push edi
call fcn.660aaca1
test eax, eax
mov dword [ebp - 8], eax
je 0x660ab474
push eax
call fcn.660ab5cb
test eax, eax
mov dword [ebp - 0xc], eax
je 0x660ab474
mov dword [ebp - 0x14], eax
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov ebx, dword [0x6610f6c0]
push 0x10
push 8
push ebx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x660ab47c
mov dword [eax], ebx
add eax, 4
test eax, eax
je 0x660ab47c
push edi
mov ecx, eax
call fcn.660aab2f
mov dword [ebp + 8], eax
cmp dword [ebp + 8], 0
jne 0x660ab482
push 7
pop ebx
jmp 0x660ab364
and dword [ebp + 8], 0
jmp 0x660ab46e
mov eax, dword [edi + 0x3c]
mov dword [esi + 0xea0], edi
mov dword [esi + 0xea8], eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
push edi
call fcn.660aceb8
test eax, eax
jl 0x660ab537
xor ebx, ebx
test ebx, ebx
jne 0x660ab364
mov eax, dword [edi + 0x28]
movzx ax, byte [eax + 0x100]
cmp ax, 0xff
je 0x660ab364
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x40], ecx
lea ecx, [ebp - 4]
mov dword [ebp - 0x44], ecx
lea ecx, [ebp - 0x44]
movzx eax, ax
push ecx
push eax
push edi
call fcn.66022e97
mov ebx, eax
test ebx, ebx
jne 0x660ab364
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov eax, dword [eax + 0x14]
mov dword [ecx + 0x10], 1
test eax, eax
je 0x660ab593
cmp dword [eax + 4], ebx
je 0x660ab593
cmp dword [ebp - 4], ebx
je 0x660ab593
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 4]
push dword [ebp + 8]
push ecx
call dword [sym.imp.ole32.dll_DoDragDrop]
test eax, eax
jge 0x660ab544
push 7
push eax
call fcn.6602eff8
mov ebx, eax
jmp 0x660ab364
push eax
call fcn.6607268f
mov ebx, eax
jmp 0x660ab4a8
push dword [ebp - 0x20]
push edi
call fcn.66022e54
test eax, eax
jne 0x660ab593
push dword [ebp - 0x10]
push dword [esi + 0xea4]
push edi
call fcn.660acc97
mov eax, dword [edi + 0x28]
movzx ax, byte [eax + 0x102]
cmp ax, 0xff
je 0x660ab364
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x44], ecx
lea ecx, [ebp - 0x44]
movzx eax, ax
push ecx
push eax
push edi
call fcn.66022e97
mov ebx, eax
test ebx, ebx
jne 0x660ab364
xor ebx, ebx
jmp 0x660ab364
cmp cl, 5
jne 0x660ab3f6
mov eax, dword [eax + 0x104]
cmp eax, edi
je 0x660ab5ba
add eax, 0xfffffffc
push eax
push edi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esi + 0xea0]
mov dword [eax + 0x104], edi
jmp 0x660ab3f6