Function at 0x47ac30
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov ecx, dword [ebp + 0x14]
push ebx
push esi
mov esi, eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x50], eax
mov eax, dword [esi + 0x68]
mov dword [esi + 0x54], ecx
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0xc], eax
add eax, 2
mov dword [esp + 0x10], ecx
add ecx, 2
cmp dword [esi + 0x58], 0
push edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
jne 0x47ac9f
cmp dword [esi + 0x64], 0
je 0x47ac9f
cmp dword [esi + 0x5c], 0
jl 0x47ac9f
mov edi, dword [ebp + 0xc]
mov edx, dword [edi + 4]
mov eax, dword [edi]
push edx
push eax
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x47aca2
call fcn.0047ab50
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edi, dword [ebp + 0xc]
cmp dword [esi + 0x58], 0
je 0x47ad37
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jge 0x47acdf
call fcn.005644f1
mov eax, dword [eax + 0xc]
push 0x8000
push 0x20
push 0x20
push 2
push 0xeb
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
push 0
push edi
call fcn.0047a7e0
mov edi, eax
cmp dword [esi + 0x60], edi
je 0x47ae3b
cmp edi, 0xffffffff
jl 0x47ae3b
mov edx, dword [esi]
mov eax, dword [edx + 4]
push edi
mov ecx, esi
call eax
test eax, eax
je 0x47ae3b
mov ecx, dword [esi + 0x30]
push 0
mov dword [esi + 0x60], edi
mov edx, dword [ecx + 0x20]
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
xor eax, eax
or ebx, 0xffffffff
cmp dword [esi + 0x3c], eax
jle 0x47ad93
test eax, eax
jl 0x47ae4b
cmp eax, dword [esi + 0x3c]
jge 0x47ae4b
mov edx, dword [esi + 0x38]
cmp dword [edx + eax*4], 0
je 0x47ad8b
cmp eax, dword [esi + 0x3c]
jge 0x47ae4b
mov ecx, edx
mov edx, dword [ecx + eax*4]
cmp dword [edx + 0x6c], 0
je 0x47ad8b
cmp eax, dword [esi + 0x3c]
jge 0x47ae4b
mov edx, dword [ecx + eax*4]
mov ecx, dword [edx + 0x6c]
cmp dword [ecx + 0x164], 0
jne 0x47ae44
add eax, 1
cmp eax, dword [esi + 0x3c]
jl 0x47ad41
cmp dword [esi + 0x48], 0
je 0x47ade1
push 0
push edi
call fcn.0047a7e0
mov edi, eax
test edi, edi
jl 0x47ade1
cmp edi, ebx
je 0x47ade1
test ebx, ebx
jl 0x47add7
mov dword [esi + 0x4c], 1
cmp ebx, dword [esi + 0x3c]
jge 0x47ae4b
mov edx, dword [esi + 0x38]
mov eax, dword [edx + ebx*4]
mov ecx, dword [eax + 0x6c]
mov dword [ecx + 0x164], 0
call fcn.00536e00
push 0xffffffffffffffff
push edi
mov ecx, esi
call fcn.0047a8b0
mov eax, dword [esi + 0x30]
test eax, eax
mov edi, dword [sym.imp.USER32.dll_UpdateWindow]
je 0x47adf4
mov ecx, dword [eax + 0x20]
push ecx
call edi
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call edi
xor edi, edi
cmp dword [esi + 0x3c], edi
jle 0x47ae3b
test edi, edi
jl 0x47ae4b
cmp edi, dword [esi + 0x3c]
jge 0x47ae4b
mov edx, dword [esi + 0x38]
cmp dword [edx + edi*4], 0
je 0x47ae33
cmp edi, dword [esi + 0x3c]
jge 0x47ae4b
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 8]
push ecx
mov ecx, edx
mov edx, dword [ebp + 0xc]
mov ecx, dword [ecx + edi*4]
call fcn.0049d950
add edi, 1
cmp edi, dword [esi + 0x3c]
jl 0x47ae04
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ebx, eax
jmp 0x47ad93
call fcn.00555520
int3