Function at 0x46b013
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, dword [ebp + 0x1c]
mov ebx, 0x54fef0
mov edi, 0x54feec
push 3
call sub.USER32.dll_GetAsyncKeyState
test ax, ax
jge 0x46b070
push 0
push 0xaf3
call fcn.00415c87
mov edi, eax
mov esi, 0x54b69c
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0
call fcn.00415bea
xor eax, eax
jmp 0x46b23f
mov edx, dword [ebp + 8]
cmp dword [edx + 4], 0
jne 0x46b08e
push 0
push 0
mov ecx, dword [ebp + 8]
push dword [ecx]
push 0
call fcn.0045abd0
jmp 0x46b23f
mov eax, dword [ebp + 0x18]
mov dword [edi], eax
jmp 0x46b11a
mov edx, dword [eax]
cmp byte [edx], 0x25
jne 0x46b0b6
push dword [ebp + 0x20]
push esi
push edx
call fcn.004f6576
test eax, eax
jne 0x46b0dd
mov ecx, dword [edi]
mov eax, dword [ecx + 0x30]
mov dword [edi], eax
jmp 0x46b11a
mov edx, dword [edi]
mov ecx, dword [edx]
push esi
push edi
mov edi, ecx
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
push 0x20
push esi
call fcn.0051833c
add esp, 8
mov dword [ebx], eax
cmp dword [ebx], 0
je 0x46b0f4
mov eax, dword [ebx]
mov byte [eax], 0
mov edx, dword [ebp + 8]
push dword [edx + 4]
push esi
call fcn.005185a0
add esp, 8
test eax, eax
jne 0x46b113
mov ecx, dword [edi]
mov eax, dword [ecx + 0x28]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
jmp 0x46b124
mov ecx, dword [edi]
mov eax, dword [ecx + 0x30]
mov dword [edi], eax
mov eax, dword [edi]
test eax, eax
jne 0x46b098
cmp dword [edi], 0
je 0x46b23a
mov edx, dword [ebp + 0x14]
xor ecx, ecx
mov dword [edx], ecx
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
test eax, eax
je 0x46b143
push eax
call fcn.0049dfbe
mov edx, dword [edi]
mov ecx, dword [edx + 0x28]
push dword [ecx + 0x20]
push 0x54fef8
push esi
mov eax, dword [edi]
mov edx, dword [eax + 0x28]
push dword [edx]
call fcn.004bfdca
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
cmp dword [0x54fef8], 0
jne 0x46b172
xor eax, eax
jmp 0x46b23f
mov edx, dword [ebp + 0x10]
cmp dword [edx], 0
jne 0x46b184
mov eax, 1
jmp 0x46b23f
mov edx, dword [ebp + 0x10]
mov ecx, dword [edx]
mov dword [0x54fee8], ecx
jmp 0x46b209
mov eax, dword [eax]
mov dword [ebx], eax
jmp 0x46b199
inc dword [ebx]
mov edx, dword [ebx]
cmp byte [edx], 0x20
je 0x46b197
mov ecx, dword [ebx]
cmp byte [ecx], 0x3a
jne 0x46b1fa
inc dword [ebx]
jmp 0x46b1ad
inc dword [ebx]
mov eax, dword [ebx]
cmp byte [eax], 0x20
je 0x46b1ab
mov edx, dword [ebx]
cmp byte [edx], 0
je 0x46b1fa
push 0x20
push dword [ebx]
call fcn.0051833c
add esp, 8
mov esi, eax
mov dword [0x54fef4], esi
test esi, esi
je 0x46b1d6
mov byte [esi], 0
push dword [ebx]
mov eax, dword [edi]
push dword [eax]
call fcn.005185a0
add esp, 8
test eax, eax
jne 0x46b1fa
mov edx, dword [ebp + 0x14]
mov ecx, dword [0x54fee8]
mov dword [edx], ecx
mov eax, 1
jmp 0x46b23f
mov edx, dword [0x54fee8]
mov ecx, dword [edx + 0x30]
mov dword [0x54fee8], ecx
mov eax, dword [0x54fee8]
test eax, eax
jne 0x46b191
mov edx, dword [ebp + 8]
push dword [edx + 4]
push 0
push 0xaf4
call fcn.00415c87
push eax
push 0x54b69c
call sub.USER32.dll_wsprintfA
add esp, 0xc
xor eax, eax
jmp 0x46b23f
mov eax, 4
pop edi
pop esi
pop ebx
pop ebp
ret 0x1c