Function at 0x652860
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
xor ebx, ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x10], ebx
mov word [ebp - 0xa], cx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x652bbf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov ax, word [eax]
mov word [ebp - 0x1a], ax
mov edx, dword [ebp - 8]
mov cx, word [ebp - 0xa]
mov eax, dword [ebp - 4]
call fcn.0062e718
push 0x12
call sub.user32.dll_GetKeyState
movsx eax, ax
and eax, 0x8000
cmp eax, 0x8000
sete byte [ebp - 0x29]
cmp byte [ebp - 0x29], 0
jne 0x652b9c
test byte [ebp - 0xa], 2
jne 0x652b9c
test byte [ebp - 0xa], 4
jne 0x652b9c
mov ax, word [ebp - 0x1a]
sub ax, 0x26
je 0x652a4f
sub ax, 2
jne 0x652b9c
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00633b58
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x104]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x104]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
push dword [eax + 0x444]
push dword [eax + 0x440]
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x26]
lea edx, [ebp - 0x24]
lea eax, [ebp - 0x22]
call fcn.0042429c
call fcn.0064f98c
mov edx, eax
lea eax, [ebp - 0x30]
call fcn.00408f64
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x10]
call fcn.0040950c
cmp eax, dword [ebp - 0x14]
jle 0x65298d
movzx eax, word [ebp - 0x22]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x18
jl 0x65297d
xor eax, eax
mov dword [ebp - 0x20], eax
mov dl, byte [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.00652680
jmp 0x652a3c
call fcn.0064f98c
mov edx, eax
lea eax, [ebp - 0x34]
call fcn.00408f64
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x10]
call fcn.0040950c
sub dword [ebp - 0x14], eax
call fcn.0064f98c
mov edx, eax
lea eax, [ebp - 0x38]
call fcn.00408f64
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x10]
call fcn.0040950c
mov ecx, eax
lea eax, [ebp - 0x10]
mov edx, 1
call fcn.004093a8
call fcn.0064f98c
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00408f64
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x10]
call fcn.0040950c
cmp eax, dword [ebp - 0x14]
jg 0x6529fe
mov eax, dword [ebp - 4]
cmp byte [eax + 0x459], 0
jne 0x652a1e
movzx eax, word [ebp - 0x24]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x3c
jl 0x652a11
xor eax, eax
mov dword [ebp - 0x20], eax
mov dl, byte [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.00652720
jmp 0x652a3c
movzx eax, word [ebp - 0x26]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x3c
jl 0x652a31
xor eax, eax
mov dword [ebp - 0x20], eax
mov dl, byte [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.006527c0
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x110]
jmp 0x652b9c
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00633b58
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x104]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x104]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
push dword [eax + 0x444]
push dword [eax + 0x440]
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x26]
lea edx, [ebp - 0x24]
lea eax, [ebp - 0x22]
call fcn.0042429c
call fcn.0064f98c
mov edx, eax
lea eax, [ebp - 0x40]
call fcn.00408f64
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x10]
call fcn.0040950c
cmp eax, dword [ebp - 0x14]
jle 0x652adb
movzx eax, word [ebp - 0x22]
dec eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jge 0x652acb
mov dword [ebp - 0x20], 0x17
mov dl, byte [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.00652680
jmp 0x652b8e
call fcn.0064f98c
mov edx, eax
lea eax, [ebp - 0x44]
call fcn.00408f64
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x10]
call fcn.0040950c
sub dword [ebp - 0x14], eax
call fcn.0064f98c
mov edx, eax
lea eax, [ebp - 0x48]
call fcn.00408f64
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x10]
call fcn.0040950c
mov ecx, eax
lea eax, [ebp - 0x10]
mov edx, 1
call fcn.004093a8
call fcn.0064f98c
mov edx, eax
lea eax, [ebp - 0x4c]
call fcn.00408f64
mov eax, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x10]
call fcn.0040950c
cmp eax, dword [ebp - 0x14]
jg 0x652b4c
mov eax, dword [ebp - 4]
cmp byte [eax + 0x459], 0
jne 0x652b6e
movzx eax, word [ebp - 0x24]
dec eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jge 0x652b61
mov dword [ebp - 0x20], 0x3b
mov dl, byte [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.00652720
jmp 0x652b8e
movzx eax, word [ebp - 0x26]
dec eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jge 0x652b83
mov dword [ebp - 0x20], 0x3b
mov dl, byte [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.006527c0
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x110]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x652bc6
lea eax, [ebp - 0x4c]
mov edx, 8
call fcn.0040836c
lea eax, [ebp - 0x10]
call fcn.0040830c
ret