Function at 0x10066f10
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
lea ebp, [esp - 0x220]
sub esp, 0x220
push 0xffffffffffffffff
push 0x101e4160
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x1025f074]
xor eax, ebp
mov dword [ebp + 0x21c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esi + 0x1ec]
test edi, edi
je 0x10067273
mov ebx, dword [ebp + 0x228]
cmp ebx, 0xd
jne 0x10066f83
cmp byte [edi + 0x140], 0
jne 0x10066f83
mov ecx, dword [esi + 0x1f0]
test ecx, ecx
je 0x10066f7c
mov eax, dword [ecx]
call dword [eax + 8]
mov al, 1
jmp 0x10067275
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x40]
call eax
test al, al
je 0x10067273
mov al, byte [edi + 0x121]
test al, al
jne 0x10067273
cmp ebx, 0x56
jne 0x100670a4
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
je 0x100670a4
lea ecx, [ebp]
call fcn.10066db0
mov dword [ebp - 4], 0
lea eax, [ebp]
push eax
mov ecx, esi
call fcn.10068060
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
call fcn.100674e0
mov byte [ebp - 4], 1
mov ecx, dword [esi + 0x1f8]
push eax
add ecx, 8
call fcn.10008310
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x10]
cmp edx, 8
jb 0x10067034
mov ecx, dword [ebp - 0x24]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1006702a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006729a
push edx
push ecx
call fcn.101b37a2
add esp, 8
xor eax, eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], ax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 0x14]
cmp edx, 8
jb 0x10067089
mov ecx, dword [ebp]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1006707f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006729f
push edx
push ecx
call fcn.101b37a2
add esp, 8
xor eax, eax
mov dword [ebp + 0x10], 0
mov word [ebp], ax
mov al, 1
mov dword [ebp + 0x14], 7
jmp 0x10067275
push 0x200
lea eax, [ebp + 0x1c]
push 0
push eax
call fcn.101b5530
add esp, 0xc
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
mov edi, dword [ebp + 0x22c]
cmp eax, 1
jne 0x100671d2
push 0
lea eax, [ebp + 0x18]
mov dword [ebp + 0x18], 0
push eax
lea eax, [ebp + 0x1c]
push eax
movzx eax, di
push eax
push ebx
call dword [sym.imp.USER32.dll_ToAscii]
movzx eax, word [ebp + 0x18]
push eax
call fcn.101bf7e4
add esp, 4
test eax, eax
jne 0x10067134
movzx eax, word [ebp + 0x18]
push eax
call fcn.101bf7b5
add esp, 4
test eax, eax
jne 0x10067134
movzx eax, word [ebp + 0x18]
push eax
call fcn.101bf83e
add esp, 4
test eax, eax
jne 0x10067134
movzx eax, word [ebp + 0x18]
push eax
call fcn.101bf811
add esp, 4
test eax, eax
je 0x100671d2
xor eax, eax
mov dword [ebp + 0x10], 0
mov dword [ebp + 0x14], 0
mov dword [ebp + 0x10], 0
mov dword [ebp + 0x14], 7
mov word [ebp], ax
mov dword [ebp - 4], 2
mov ecx, esi
mov ax, word [ebp + 0x18]
mov word [ebp], ax
xor eax, eax
mov word [ebp + 2], ax
lea eax, [ebp]
push eax
mov dword [ebp + 0x10], 1
call fcn.10068060
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 0x14]
cmp edx, 8
jb 0x100671be
mov ecx, dword [ebp]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100671b4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100672a4
push edx
push ecx
call fcn.101b37a2
add esp, 8
xor eax, eax
mov dword [ebp + 0x10], 0
mov dword [ebp + 0x14], 7
mov word [ebp], ax
cmp ebx, 0xd
je 0x100671f6
mov ecx, dword [esi + 0xc0]
test ecx, ecx
je 0x100671f6
mov ecx, dword [ecx + 0xc]
test ecx, ecx
je 0x100671f6
mov eax, dword [ecx]
push 0
push edi
push ebx
push 0x100
call dword [eax + 0xc]
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
call fcn.100674e0
mov dword [ebp - 4], 3
mov ecx, dword [esi + 0x1f8]
push eax
add ecx, 8
call fcn.10008310
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
cmp edx, 8
jb 0x10067254
mov ecx, dword [ebp - 0x24]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1006724a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100672a9
push edx
push ecx
call fcn.101b37a2
add esp, 8
xor eax, eax
mov dword [ebp - 0x14], 0
mov ecx, esi
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], ax
call fcn.10068230
mov al, 1
jmp 0x10067275
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x21c]
xor ecx, ebp
call fcn.101b3122
lea esp, [ebp + 0x220]
pop ebp
ret 0xc
call fcn.101b7ad8
call fcn.101b7ad8
call fcn.101b7ad8
call fcn.101b7ad8
int3