Function at 0x47a9e3
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, dword [ebp + 0x1c]
mov ebx, 0x576d4c
mov edi, 0x576d48
push 3
call sub.USER32.dll_GetAsyncKeyState
test ax, ax
jge 0x47aa40
push 0
push 0xaf3
call fcn.0041c35b
mov edi, eax
mov esi, 0x5720e8
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.0041c2be
xor eax, eax
jmp 0x47ac0f
mov edx, dword [ebp + 8]
cmp dword [edx + 4], 0
jne 0x47aa5e
push 0
push 0
mov ecx, dword [ebp + 8]
push dword [ecx]
push 0
call fcn.00467118
jmp 0x47ac0f
mov eax, dword [ebp + 0x18]
mov dword [edi], eax
jmp 0x47aaea
mov edx, dword [eax]
cmp byte [edx], 0x25
jne 0x47aa86
push dword [ebp + 0x20]
push esi
push edx
call fcn.00511dfc
test eax, eax
jne 0x47aaad
mov ecx, dword [edi]
mov eax, dword [ecx + 0x34]
mov dword [edi], eax
jmp 0x47aaea
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.00539518
add esp, 8
mov dword [ebx], eax
cmp dword [ebx], 0
je 0x47aac4
mov eax, dword [ebx]
mov byte [eax], 0
mov edx, dword [ebp + 8]
push dword [edx + 4]
push esi
call fcn.0053977c
add esp, 8
test eax, eax
jne 0x47aae3
mov ecx, dword [edi]
mov eax, dword [ecx + 0x2c]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
jmp 0x47aaf4
mov ecx, dword [edi]
mov eax, dword [ecx + 0x34]
mov dword [edi], eax
mov eax, dword [edi]
test eax, eax
jne 0x47aa68
cmp dword [edi], 0
je 0x47ac0a
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 0x47ab13
push eax
call fcn.004b12ac
mov edx, dword [edi]
mov ecx, dword [edx + 0x2c]
push dword [ecx + 0x24]
push 0x576d54
push esi
mov eax, dword [edi]
mov edx, dword [eax + 0x2c]
push dword [edx]
call fcn.004d60b1
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
cmp dword [0x576d54], 0
jne 0x47ab42
xor eax, eax
jmp 0x47ac0f
mov edx, dword [ebp + 0x10]
cmp dword [edx], 0
jne 0x47ab54
mov eax, 1
jmp 0x47ac0f
mov edx, dword [ebp + 0x10]
mov ecx, dword [edx]
mov dword [0x576d44], ecx
jmp 0x47abd9
mov eax, dword [eax]
mov dword [ebx], eax
jmp 0x47ab69
inc dword [ebx]
mov edx, dword [ebx]
cmp byte [edx], 0x20
je 0x47ab67
mov ecx, dword [ebx]
cmp byte [ecx], 0x3a
jne 0x47abca
inc dword [ebx]
jmp 0x47ab7d
inc dword [ebx]
mov eax, dword [ebx]
cmp byte [eax], 0x20
je 0x47ab7b
mov edx, dword [ebx]
cmp byte [edx], 0
je 0x47abca
push 0x20
push dword [ebx]
call fcn.00539518
add esp, 8
mov esi, eax
mov dword [0x576d50], esi
test esi, esi
je 0x47aba6
mov byte [esi], 0
push dword [ebx]
mov eax, dword [edi]
push dword [eax]
call fcn.0053977c
add esp, 8
test eax, eax
jne 0x47abca
mov edx, dword [ebp + 0x14]
mov ecx, dword [0x576d44]
mov dword [edx], ecx
mov eax, 1
jmp 0x47ac0f
mov edx, dword [0x576d44]
mov ecx, dword [edx + 0x34]
mov dword [0x576d44], ecx
mov eax, dword [0x576d44]
test eax, eax
jne 0x47ab61
mov edx, dword [ebp + 8]
push dword [edx + 4]
push 0
push 0xaf4
call fcn.0041c35b
push eax
push 0x5720e8
call sub.USER32.dll_wsprintfA
add esp, 0xc
xor eax, eax
jmp 0x47ac0f
mov eax, 4
pop edi
pop esi
pop ebx
pop ebp
ret 0x1c