Function at 0x4cdc30
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, ecx
mov eax, dword [esi]
call dword [eax + 0x38]
test al, al
jne 0x4cdc54
push dword [ebp + 0xc]
mov eax, dword [esi]
mov ecx, esi
push dword [ebp + 8]
call dword [eax + 0xc]
jmp 0x4cdea0
push edi
mov edi, dword [ebp + 8]
test edi, edi
jns 0x4cdc6a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x40]
mov al, 1
jmp 0x4cde9f
cmp dword [esi + 0xc], 0xffffffff
jne 0x4cdc7d
cmp dword [esi + 8], 0xffffffff
mov eax, edi
cmovne eax, dword [esi + 8]
mov dword [esi + 0xc], eax
lea ecx, [esi - 0x170]
mov eax, dword [ecx]
push ebx
push edi
call dword [eax]
mov ebx, eax
mov dword [ebp - 0xc], ebx
test ebx, ebx
je 0x4cde50
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x10c]
test al, al
je 0x4cde50
mov eax, dword [ebx]
mov ecx, ebx
push str.ListItem
call dword [eax + 0x10]
mov dword [ebp - 4], eax
test eax, eax
je 0x4cde50
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x4cdd7c
lea ecx, [esi + 0x10]
push edi
call fcn.004c2b26
mov ecx, dword [ebp - 4]
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x4cdd30
mov edx, dword [ecx]
xor ebx, ebx
push ebx
call dword [edx + 0x18]
test al, al
je 0x4cde50
cmp dword [esi + 8], edi
jne 0x4cdd02
or dword [esi + 8], 0xffffffff
push dword [ebp + 8]
lea ecx, [esi + 0x10]
call fcn.004c2f28
mov ecx, dword [esi - 0x67c]
test ecx, ecx
je 0x4cde9c
push ebx
push ebx
push 0xffffffffffffffff
push 0x56b928
lea eax, [esi - 0x6c0]
push eax
jmp 0x4cde97
mov eax, dword [ecx]
push 1
call dword [eax + 0x18]
test al, al
je 0x4cde50
push edi
lea ecx, [esi + 0x10]
mov dword [esi + 8], edi
call fcn.004c28dc
lea ecx, [esi - 0x6c0]
push edi
call fcn.004cc8d7
cmp byte [ebp + 0xc], 0
je 0x4cdd67
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + pe_nt_image_headers32]
mov ecx, dword [esi - 0x67c]
test ecx, ecx
je 0x4cde9c
xor ebx, ebx
push ebx
push ebx
push edi
jmp 0x4cdd1f
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x4cde42
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x40]
mov eax, dword [esi + 0xc]
mov ecx, edi
mov dword [ebp - 4], eax
mov dword [ebp - 8], edi
cmp eax, edi
jle 0x4cddb3
mov ecx, dword [esi + 0xc]
mov eax, edi
mov dword [ebp - 4], edi
mov dword [ebp - 8], ecx
cmp eax, ecx
jg 0x4cde0f
mov edi, dword [ebp - 4]
mov ebx, dword [ebp - 8]
lea ecx, [esi - 0x170]
mov eax, dword [ecx]
push edi
call dword [eax]
mov dword [ebp - 8], eax
test eax, eax
je 0x4cde04
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x10c]
test al, al
je 0x4cde04
mov ecx, dword [ebp - 8]
push str.ListItem
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
je 0x4cde04
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx + 0x18]
test al, al
je 0x4cde04
push edi
lea ecx, [esi + 0x10]
call fcn.004c28dc
inc edi
cmp edi, ebx
jle 0x4cddbd
mov edi, dword [ebp + 8]
mov ebx, dword [ebp - 0xc]
lea ecx, [esi - 0x6c0]
mov dword [esi + 8], edi
push edi
call fcn.004cc8d7
cmp byte [ebp + 0xc], 0
je 0x4cde2e
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + pe_nt_image_headers32]
mov ecx, dword [esi - 0x67c]
test ecx, ecx
je 0x4cde9c
push 0
push dword [esi + 0xc]
jmp 0x4cdd79
mov ecx, dword [ebp - 4]
push 1
mov eax, dword [ecx]
call dword [eax + 0x18]
test al, al
jne 0x4cde54
xor al, al
jmp 0x4cde9e
push edi
lea ecx, [esi + 0x10]
mov dword [esi + 8], edi
call fcn.004c28dc
lea ecx, [esi - 0x6c0]
push edi
call fcn.004cc8d7
cmp byte [ebp + 0xc], 0
je 0x4cde7c
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + pe_nt_image_headers32]
mov ecx, dword [esi - 0x67c]
test ecx, ecx
je 0x4cde9c
xor ebx, ebx
lea edx, [esi - 0x6c0]
push ebx
push ebx
push edi
push 0x56b928
push edx
call fcn.004c061c
mov al, 1
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8