Function at 0x10106610
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10176fe1
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1029b784]
push ebx
push esi
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x102a6130]
push edi
cmp eax, dword [ecx + 4]
jle 0x101066b9
push 0x102a6130
call fcn.1016f60a
add esp, 4
cmp dword [0x102a6130], 0xffffffff
jne 0x101066b9
mov dword [ebp - 4], 0
push 0x14
mov dword [0x102a610c], 0
mov dword [0x102a6110], 0
call fcn.1016f536
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
push 0x1017eea0
mov dword [0x102a610c], eax
call fcn.1016f973
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0x102a6130
call fcn.1016f5b9
add esp, 4
push 0x14
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.1016f536
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 1
xor ecx, ecx
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov edi, 0xff
mov dword [ebp - 0x10], 0
nop dword [eax]
movsx eax, cx
push eax
call esi
movzx ebx, ax
lea ecx, [ebp - 0x1c]
lea eax, [ebp - 0x10]
shr ebx, 0xf
push eax
and bl, 1
call fcn.1011bdc0
mov byte [eax], bl
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
movzx ecx, ax
cmp ax, di
jl 0x10106700
mov esi, dword [ebp - 0x1c]
xor eax, eax
mov word [0x1029bad8], ax
mov esi, dword [esi]
cmp byte [esi + 0xd], al
jne 0x10106861
cmp byte [esi + 0x10], 0
lea ebx, [esi + 0xe]
je 0x10106808
push ebx
lea eax, [ebp - 0x34]
mov ecx, 0x102a610c
push eax
call fcn.1011f2e0
mov ecx, dword [eax + 8]
cmp byte [ecx + 0xd], 0
jne 0x10106858
mov ax, word [ebx]
cmp ax, word [ecx + 0xe]
jl 0x10106858
push ebx
lea eax, [ebp - 0x28]
mov ecx, 0x102a610c
push eax
call fcn.1011f2e0
mov ecx, dword [ebp - 0x20]
cmp byte [ecx + 0xd], 0
jne 0x10106799
mov ax, word [ebx]
cmp ax, word [ecx + 0xe]
jge 0x10106802
cmp dword [0x102a6110], 0xccccccc
je 0x10106917
mov edi, dword [0x102a610c]
mov dword [ebp - 0x14], 0x102a610c
mov byte [ebp - 4], 2
push 0x14
mov dword [ebp - 0x10], 0
call fcn.1016f536
mov byte [ebp - 4], 1
add esp, 4
mov cx, word [ebx]
mov dword [ebp - 0x10], 0
mov word [eax + 0xe], cx
mov ecx, 0x102a610c
push eax
push dword [ebp - 0x24]
mov byte [eax + 0x10], 0
push dword [ebp - 0x28]
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov word [eax + 0xc], 0
call fcn.10095950
mov ecx, eax
cmp byte [ecx + 0x10], 0
je 0x10106858
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x10106834
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x10106830
nop word [eax + eax]
cmp esi, dword [eax + 8]
jne 0x10106830
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x10106820
mov esi, eax
jmp 0x1010684c
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x1010684c
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x10106840
cmp byte [esi + 0xd], 0
je 0x10106742
jmp 0x10106861
mov ax, word [ebx]
mov word [0x1029bad8], ax
mov esi, dword [0x102a610c]
mov ecx, 0x102a610c
push dword [esi + 4]
push 0x102a610c
call fcn.1011fdf0
mov dword [esi + 4], esi
mov dword [esi], esi
mov dword [esi + 8], esi
mov eax, dword [ebp - 0x1c]
push dword [0x102a610c]
mov dword [0x102a6110], 0
push dword [eax + 4]
call fcn.10123a30
mov ecx, dword [0x102a610c]
mov dword [ecx + 4], eax
mov esi, dword [0x102a610c]
mov eax, dword [ebp - 0x18]
mov dword [0x102a6110], eax
mov edx, dword [esi + 4]
cmp byte [edx + 0xd], 0
jne 0x101068f4
mov ecx, dword [edx]
cmp byte [ecx + 0xd], 0
jne 0x101068d0
mov eax, dword [ecx]
mov edx, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x101068c4
mov dword [esi], edx
mov edx, dword [0x102a610c]
mov ecx, dword [edx + 4]
mov eax, dword [ecx + 8]
cmp byte [eax + 0xd], 0
jne 0x101068ef
mov ecx, eax
mov eax, dword [ecx + 8]
cmp byte [eax + 0xd], 0
je 0x101068e4
mov dword [edx + 8], ecx
jmp 0x101068fe
mov dword [esi], esi
mov eax, dword [0x102a610c]
mov dword [eax + 8], eax
lea ecx, [ebp - 0x1c]
call fcn.1011be70
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.100873d0
int3