Function at 0x46c4d3
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
mov ebx, ecx
xor ecx, ecx
push esi
push edi
lea edi, [ebp - 0x28]
mov dword [ebp - 0xc], ebx
mov eax, dword [ebx + 0x10]
lea esi, [ebx + 0x28]
movsd dword es:[edi], dword [esi]
inc ecx
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0xc]
movsd dword es:[edi], dword [esi]
mov eax, dword [eax + 0xa]
cmp eax, ecx
movsd dword es:[edi], dword [esi]
cmovl eax, ecx
mov dword [ebp - 0x14], eax
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x18]
mov dword [edi], ecx
mov ecx, ebx
mov dword [ebx + 0x44], 0x1a
call fcn.00469d40
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [ebx + 0x18]
push ebx
mov eax, dword [eax]
call dword [eax + 0x10]
test eax, eax
je 0x46c53e
or edx, 0xffffffff
mov ecx, ebx
call fcn.00469cf6
mov eax, dword [ebp - 0x14]
push 0
push 0x64
pop edx
cmp eax, edx
cmovl eax, edx
push eax
push 0x1234
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov dword [ebp + 0xc], eax
and dword [ebp - 8], 0
call dword [sym.imp.USER32.dll_GetCapture]
mov esi, eax
sub esi, dword [ebx + 4]
neg esi
sbb esi, esi
add esi, 1
je 0x46c62a
test byte [ebx], 1
je 0x46c62a
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x46c62a
push 3
push 0x20e
push 0x100
push 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x46c622
mov eax, dword [ebp - 0x10]
mov ecx, 0x200
movzx edx, ax
mov eax, dword [ebp + 0xc]
shl edx, 0x10
movzx eax, ax
or edx, eax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 4]
sub ecx, 0x200
je 0x46c68c
dec ecx
sub ecx, 1
jne 0x46c56d
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_KillTimer]
test esi, esi
je 0x46c609
call dword [sym.imp.USER32.dll_ReleaseCapture]
and dword [edi], 0
mov ecx, ebx
and dword [ebx], 0xfffffffd
call fcn.00469d40
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x40]
jmp 0x46c650
and dword [edi], 0
mov ecx, ebx
call fcn.00469d40
mov eax, dword [ebp - 0x10]
mov ecx, 0x202
movzx edx, ax
mov eax, dword [ebp + 0xc]
shl edx, 0x10
movzx eax, ax
or edx, eax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x38], edx
cmp ecx, 0x113
jne 0x46c5dc
push dword [ebp - 4]
mov dword [ebp - 8], 1
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push dword [ebp - 0x14]
push 0x1234
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 4], eax
jmp 0x46c5df
mov ebx, dword [edi]
lea esi, [ebp - 0x28]
sub esp, 0x10
movsx ecx, dx
mov edi, esp
shr edx, 0x10
movsx eax, dx
push eax
movsd dword es:[edi], dword [esi]
push ecx
mov ecx, dword [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0046c2dc
mov edi, dword [ebp - 0x18]
cmp ebx, eax
mov ebx, dword [ebp - 0xc]
mov dword [edi], eax
je 0x46c6c7
mov ecx, ebx
mov dword [ebp - 8], 1
call fcn.00469d40
cmp dword [ebp - 8], 0
je 0x46c6e9
cmp dword [edi], 0
je 0x46c6e9
mov eax, dword [ebx + 0x18]
push ebx
mov eax, dword [eax]
call dword [eax + 0x10]
test eax, eax
je 0x46c6e9
or edx, 0xffffffff
mov ecx, ebx
call fcn.00469cf6
mov eax, dword [ebp - 0x38]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [ebp + 0xc], ecx
mov dword [ebp - 0x10], eax
jmp 0x46c569