Function at 0x4a23c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov ecx, dword [ebp + 0x18]
push ebx
push esi
mov esi, eax
mov eax, dword [ebp + 0x14]
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 0x4a242f
cmp dword [esi + 0x64], 0
je 0x4a242f
cmp dword [esi + 0x5c], 0
jl 0x4a242f
mov edi, dword [ebp + 0x10]
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 0x4a2432
call fcn.004a22e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov edi, dword [ebp + 0x10]
cmp dword [esi + 0x58], 0
je 0x4a24c7
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jge 0x4a246f
call fcn.0053e3f5
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.004a1ed0
mov edi, eax
cmp dword [esi + 0x60], edi
je 0x4a25d1
cmp edi, 0xffffffff
jl 0x4a25d1
mov edx, dword [esi]
mov eax, dword [edx + 4]
push edi
mov ecx, esi
call eax
test eax, eax
je 0x4a25d1
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 0x14
xor eax, eax
or ebx, 0xffffffff
cmp dword [esi + 0x3c], eax
jle 0x4a2523
test eax, eax
jl 0x4a25e1
cmp eax, dword [esi + 0x3c]
jge 0x4a25e1
mov edx, dword [esi + 0x38]
cmp dword [edx + eax*4], 0
je 0x4a251b
cmp eax, dword [esi + 0x3c]
jge 0x4a25e1
mov ecx, edx
mov edx, dword [ecx + eax*4]
cmp dword [edx + 0x6c], 0
je 0x4a251b
cmp eax, dword [esi + 0x3c]
jge 0x4a25e1
mov edx, dword [ecx + eax*4]
mov ecx, dword [edx + 0x6c]
cmp dword [ecx + 0x184], 0
jne 0x4a25da
add eax, 1
cmp eax, dword [esi + 0x3c]
jl 0x4a24d1
cmp dword [esi + 0x48], 0
je 0x4a2571
push 0
push edi
call fcn.004a1ed0
mov edi, eax
test edi, edi
jl 0x4a2571
cmp edi, ebx
je 0x4a2571
test ebx, ebx
jl 0x4a2567
mov dword [esi + 0x4c], 1
cmp ebx, dword [esi + 0x3c]
jge 0x4a25e1
mov edx, dword [esi + 0x38]
mov eax, dword [edx + ebx*4]
mov ecx, dword [eax + 0x6c]
mov dword [ecx + 0x184], 0
call fcn.00514440
push 0xffffffffffffffff
push edi
mov ecx, esi
call fcn.004a1fa0
mov eax, dword [esi + 0x30]
test eax, eax
mov edi, dword [sym.imp.USER32.dll_UpdateWindow]
je 0x4a2584
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 0x4a25d1
test edi, edi
jl 0x4a25e1
cmp edi, dword [esi + 0x3c]
jge 0x4a25e1
mov edx, dword [esi + 0x38]
cmp dword [edx + edi*4], 0
je 0x4a25c9
cmp edi, dword [esi + 0x3c]
jge 0x4a25e1
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [esi + 0x38]
push ecx
mov ecx, dword [eax + edi*4]
mov eax, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0x10]
push ecx
call fcn.004c07f0
add edi, 1
cmp edi, dword [esi + 0x3c]
jl 0x4a2594
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ebx, eax
jmp 0x4a2523
call fcn.00530cad
int3