Function at 0x660aa408
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 + 0xe60], eax
mov dword [ebp + 8], eax
je 0x660aa44b
push 0x800a02a2
call fcn.66071e9f
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 0x660aa562
mov dword [ebp - 0x1c], 2
push 4
call ebx
test ax, ax
jge 0x660aa56b
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 + 0xe64], 0
or ecx, dword [ebp - 0x1c]
mov dword [esi + 0xe6c], ecx
call fcn.6606ef64
push dword [ebp - 0x20]
push edi
call fcn.6602293f
test eax, eax
je 0x660aa574
mov ebx, 0x16c
mov eax, dword [ebp - 0x14]
xor edi, edi
cmp eax, edi
je 0x660aa4c5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 8]
cmp eax, edi
je 0x660aa4d2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
cmp ecx, edi
je 0x660aa4e7
call fcn.660a9975
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp + 8]
cmp eax, edi
je 0x660aa4f4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0xe60]
cmp eax, edi
je 0x660aa548
push dword [esi + 0xe68]
push eax
call fcn.6602293f
test eax, eax
jne 0x660aa548
mov eax, dword [esi + 0xe60]
mov ecx, dword [eax + 0x28]
mov ecx, dword [ecx]
mov cl, byte [ecx + 0x37]
cmp cl, 8
jne 0x660aa6ec
mov eax, dword [eax + 0xdc]
cmp eax, edi
je 0x660aa53c
add eax, 0xfffffffc
push eax
push edi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esi + 0xe60]
mov dword [eax + 0xdc], edi
mov eax, ebx
mov dword [esi + 0xe60], edi
mov dword [esi + 0xe68], edi
mov dword [esi + 0xe64], edi
pop ebx
jmp 0x660aa445
and dword [ebp - 0x1c], 0
jmp 0x660aa466
and dword [ebp - 0x18], 0
jmp 0x660aa47a
push edi
call fcn.660a9e13
test eax, eax
mov dword [ebp - 8], eax
je 0x660aa5c6
push eax
call fcn.660aa71d
test eax, eax
mov dword [ebp - 0xc], eax
je 0x660aa5c6
mov dword [ebp - 0x14], eax
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov ebx, dword [0x6610e6c0]
push 0x10
push 8
push ebx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x660aa5ce
mov dword [eax], ebx
add eax, 4
test eax, eax
je 0x660aa5ce
push edi
mov ecx, eax
call fcn.660a9ca1
mov dword [ebp + 8], eax
cmp dword [ebp + 8], 0
jne 0x660aa5d4
push 7
pop ebx
jmp 0x660aa4b6
and dword [ebp + 8], 0
jmp 0x660aa5c0
mov eax, dword [edi + 0x3c]
mov dword [esi + 0xe60], edi
mov dword [esi + 0xe68], eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
push edi
call fcn.660abff6
test eax, eax
jl 0x660aa689
xor ebx, ebx
test ebx, ebx
jne 0x660aa4b6
mov eax, dword [edi + 0x28]
movzx ax, byte [eax + 0x100]
cmp ax, 0xff
je 0x660aa4b6
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.66022982
mov ebx, eax
test ebx, ebx
jne 0x660aa4b6
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov eax, dword [eax + 0x14]
mov dword [ecx + 0x10], 1
test eax, eax
je 0x660aa6e5
cmp dword [eax + 4], ebx
je 0x660aa6e5
cmp dword [ebp - 4], ebx
je 0x660aa6e5
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 0x660aa696
push 7
push eax
call fcn.6602efd4
mov ebx, eax
jmp 0x660aa4b6
push eax
call fcn.66071e9f
mov ebx, eax
jmp 0x660aa5fa
push dword [ebp - 0x20]
push edi
call fcn.6602293f
test eax, eax
jne 0x660aa6e5
push dword [ebp - 0x10]
push dword [esi + 0xe64]
push edi
call fcn.660abdd9
mov eax, dword [edi + 0x28]
movzx ax, byte [eax + 0x102]
cmp ax, 0xff
je 0x660aa4b6
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x44], ecx
lea ecx, [ebp - 0x44]
movzx eax, ax
push ecx
push eax
push edi
call fcn.66022982
mov ebx, eax
test ebx, ebx
jne 0x660aa4b6
xor ebx, ebx
jmp 0x660aa4b6
cmp cl, 5
jne 0x660aa548
mov eax, dword [eax + 0x104]
cmp eax, edi
je 0x660aa70c
add eax, 0xfffffffc
push eax
push edi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esi + 0xe60]
mov dword [eax + 0x104], edi
jmp 0x660aa548