Function at 0x406e29
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
sub esp, 0x24
mov eax, 0x45cf70
call fcn.0044e550
sub esp, 0x80
push ebx
push esi
push edi
lea ecx, [ebp - 0x8c]
call fcn.0040492b
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, 0x473c64
call fcn.00406bdd
xor edi, edi
cmp dword [ebp + 0x3c], ebx
jbe 0x407018
mov esi, edi
imul esi, esi, 0x14
add esi, dword [ebp + 0x38]
movzx eax, word [esi]
cmp ax, word [0x473c64]
jne 0x406fba
push esi
lea ecx, [ebp]
call fcn.00406d9e
test eax, eax
jne 0x40700e
lea ecx, [ebp - 0x5c]
call fcn.00406d2a
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 0x406f8d
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.0043e440
add esp, 0x14
test al, al
je 0x406f79
cmp byte [ebp + 0x37], bl
jne 0x406f61
push ebx
push ebx
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 0x5c]
call fcn.0043e707
add esp, 0x10
neg al
sbb al, al
inc al
jne 0x406f61
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x5c]
call fcn.0042ca92
cmp byte [ebp + 0x48], bl
jne 0x406f61
push 0xffffffffffffffff
push str..lnk
lea ecx, [ebp - 0x5c]
call fcn.0042b567
test al, al
je 0x406f61
push ebx
push dword [ebp - 0x5c]
call fcn.0043140e
pop ecx
pop ecx
test al, al
jne 0x406f61
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.0043244c
add esp, 0x28
cmp dword [ebp + 0x44], ebx
je 0x406f79
push dword [ebp - 0x5c]
push str._s_r_n
push dword [ebp + 0x44]
call fcn.00404777
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 0x406ed6
mov esi, dword [ebp + 0x44]
cmp esi, ebx
je 0x406fa9
push 0x460eac
mov ecx, esi
call fcn.0042b2a1
cmp dword [esi + 4], ebx
jne 0x407064
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.00406d3e
mov edi, dword [ebp + 0x24]
jmp 0x40700e
cmp ax, word [0x473c66]
je 0x406fcc
cmp ax, word [0x473c68]
jne 0x40700e
cmp dword [ebp - 0x88], ebx
jne 0x40700e
push esi
lea ecx, [ebp]
call fcn.00406d9e
test eax, eax
jne 0x40700e
mov ax, word [esi]
push dword [ebp + 0x14]
lea ecx, [ebp - 0x8c]
cmp ax, word [0x473c66]
jne 0x406ffd
call fcn.0042cab5
jmp 0x407002
call fcn.0042c1fe
push ebx
lea ecx, [ebp - 0x8c]
call fcn.00406b77
inc edi
cmp edi, dword [ebp + 0x3c]
jb 0x406e75
cmp dword [ebp - 0x88], ebx
je 0x40708f
mov ecx, dword [ebp + 0x44]
cmp ecx, ebx
je 0x407033
lea eax, [ebp - 0x8c]
push eax
call fcn.0042ca92
push 4
pop esi
mov byte [ebp - 4], bl
lea ecx, [ebp]
call fcn.00406bb1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8c]
call fcn.0040493f
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.00406d3e
mov byte [ebp - 4], bl
lea ecx, [ebp]
call fcn.00406bb1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8c]
call fcn.0040493f
push 4
pop eax
jmp 0x407052
xor esi, esi
jmp 0x407036