Function at 0x406e22
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
sub esp, 0x24
mov eax, 0x45c2f9
call fcn.0044d930
sub esp, 0x80
push ebx
push esi
push edi
lea ecx, [ebp - 0x8c]
call fcn.00404931
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 0x34]
mov byte [ebp + 0x10], bl
mov dword [ebp + 0x14], ebx
mov dword [ebp], eax
mov byte [ebp - 4], 1
mov ecx, 0x472c44
call fcn.00406bd6
xor edi, edi
cmp dword [ebp + 0x3c], ebx
jbe 0x407011
mov esi, edi
imul esi, esi, 0x14
add esi, dword [ebp + 0x38]
movzx eax, word [esi]
cmp ax, word [0x472c44]
jne 0x406fb3
push esi
lea ecx, [ebp]
call fcn.00406d97
test eax, eax
jne 0x407007
lea ecx, [ebp - 0x5c]
call fcn.00406d23
mov byte [ebp - 4], 2
push 0x10
mov byte [ebp - 0x50], 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov eax, dword [ebp + 0x14]
mov esi, dword [eax + 4]
setl byte [ebp + 0x37]
add esi, eax
mov dword [ebp + 0x1c], eax
mov dword [ebp + 0x24], ebx
cmp dword [eax], ebx
jbe 0x406f86
lea edi, [eax + 8]
mov eax, dword [edi]
add eax, dword [ebp + 0x1c]
push ebx
push ebx
push eax
lea eax, [ebp - 0x5c]
push eax
push esi
call fcn.0043da3e
add esp, 0x14
test al, al
je 0x406f72
cmp byte [ebp + 0x37], bl
jne 0x406f5a
push ebx
push ebx
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 0x5c]
call fcn.0043dd05
add esp, 0x10
neg al
sbb al, al
inc al
jne 0x406f5a
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x5c]
call fcn.0042ca4c
cmp byte [ebp + 0x48], bl
jne 0x406f5a
push 0xffffffffffffffff
push str..lnk
lea ecx, [ebp - 0x5c]
call fcn.0042b4f5
test al, al
je 0x406f5a
push ebx
push dword [ebp - 0x5c]
call fcn.004326e9
pop ecx
pop ecx
test al, al
jne 0x406f5a
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.004339ee
add esp, 0x28
cmp dword [ebp + 0x44], ebx
je 0x406f72
push dword [ebp - 0x5c]
push str._s_r_n
push dword [ebp + 0x44]
call fcn.0040477d
add esp, 0xc
inc dword [ebp + 0x24]
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x24]
add edi, 4
cmp ecx, dword [eax]
jb 0x406ecf
mov esi, dword [ebp + 0x44]
cmp esi, ebx
je 0x406fa2
push 0x45fe7c
mov ecx, esi
call fcn.0042b22f
cmp dword [esi + 4], ebx
jne 0x40705d
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.00406d37
mov edi, dword [ebp + 0x24]
jmp 0x407007
cmp ax, word [0x472c46]
je 0x406fc5
cmp ax, word [0x472c48]
jne 0x407007
cmp dword [ebp - 0x88], ebx
jne 0x407007
push esi
lea ecx, [ebp]
call fcn.00406d97
test eax, eax
jne 0x407007
mov ax, word [esi]
push dword [ebp + 0x14]
lea ecx, [ebp - 0x8c]
cmp ax, word [0x472c46]
jne 0x406ff6
call fcn.0042ca6f
jmp 0x406ffb
call fcn.00401027
push ebx
lea ecx, [ebp - 0x8c]
call fcn.00406b70
inc edi
cmp edi, dword [ebp + 0x3c]
jb 0x406e6e
cmp dword [ebp - 0x88], ebx
je 0x407088
mov ecx, dword [ebp + 0x44]
cmp ecx, ebx
je 0x40702c
lea eax, [ebp - 0x8c]
push eax
call fcn.0042ca4c
push 4
pop esi
mov byte [ebp - 4], bl
lea ecx, [ebp]
call fcn.00406baa
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8c]
call fcn.00404945
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add ebp, 0x28
leave
ret
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.00406d37
mov byte [ebp - 4], bl
lea ecx, [ebp]
call fcn.00406baa
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8c]
call fcn.00404945
push 4
pop eax
jmp 0x40704b
xor esi, esi
jmp 0x40702f