Function at 0x4b86a0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56bcb0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5a7074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov ebx, dword [ebp + 8]
cmp dword [edi + 0x1bc], ebx
jne 0x4b86e2
cmp byte [ebp + 0xc], 0
je 0x4b8a50
xor al, al
mov byte [ebp + 0xf], al
cmp byte [edi + 0x1fc], al
je 0x4b8705
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0xff00
test cx, ax
setne al
mov byte [ebp + 0xf], al
mov esi, dword [edi + 0x1bc]
test esi, esi
je 0x4b87b6
test al, al
jne 0x4b87b6
mov ecx, dword [esi + 0x230]
test ecx, ecx
je 0x4b877e
mov al, byte [ecx + 0x1fc]
test al, al
je 0x4b877e
mov eax, dword [ecx + 0x1c0]
add ecx, 0x1c0
mov dword [ebp - 0x10], ecx
mov ecx, dword [ecx + 4]
sub ecx, eax
cmp ecx, 4
jb 0x4b877e
sar ecx, 2
xor edx, edx
test ecx, ecx
je 0x4b877e
lea ecx, [edx*4]
cmp dword [ecx + eax], esi
je 0x4b876f
mov ecx, dword [ebp - 0x10]
inc edx
mov ecx, dword [ecx + 4]
sub ecx, eax
sar ecx, 2
cmp edx, ecx
jb 0x4b8751
jmp 0x4b877e
add eax, ecx
mov ecx, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004be2f0
mov eax, dword [esi + 0x22c]
test eax, eax
je 0x4b87b6
mov dword [esi + 0x22c], 0
cmp eax, 3
jne 0x4b87ac
mov ecx, dword [esi + 0x230]
test ecx, ecx
je 0x4b87ac
push 0
push 0
push 0
call fcn.004b86a0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xd4]
cmp byte [edi + 0x1fc], 0
je 0x4b8963
test ebx, ebx
je 0x4b8963
cmp byte [ebp + 0xf], 0
je 0x4b88a6
mov eax, dword [edi + 0x1c0]
lea esi, [edi + 0x1bc]
mov ecx, dword [edi + 0x1c4]
xor dl, dl
mov byte [ebp + 0xb], 0
mov byte [ebp + 0xf], dl
cmp eax, ecx
je 0x4b881c
mov edx, dword [eax]
cmp edx, ebx
jne 0x4b8804
cmp byte [ebp + 0xf], 0
mov byte [ebp + 0xb], 1
jne 0x4b8819
cmp edx, dword [esi]
jne 0x4b8812
cmp byte [ebp + 0xb], 0
mov byte [ebp + 0xf], 1
jne 0x4b8819
add eax, 4
cmp eax, ecx
jne 0x4b87f4
mov dl, byte [ebp + 0xf]
cmp dword [esi], 0
je 0x4b8831
test dl, dl
jne 0x4b8831
push esi
lea ecx, [edi + 0x1c0]
call fcn.004be340
cmp byte [ebp + 0xb], 0
jne 0x4b8969
mov eax, dword [ebx]
push ebx
mov dword [ebp + 8], ebx
call dword [eax + 4]
lea eax, [ebp + 8]
mov dword [ebp - 4], 0
push eax
lea ecx, [edi + 0x1c0]
call fcn.004be440
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
test eax, eax
je 0x4b8969
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
cmp ecx, vtable.CXTreeItem.0
jne 0x4b889e
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x4b8969
add ecx, 0xffffffff
mov dword [eax + 8], ecx
jne 0x4b8969
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx + 0xc]
jmp 0x4b8969
push eax
call edx
jmp 0x4b8969
mov eax, dword [edi + 0x1c4]
sub eax, dword [edi + 0x1c0]
sar eax, 2
test eax, eax
je 0x4b8963
mov esi, dword [ebp - 0x14]
mov edi, dword [edi + 0x1c4]
mov esi, dword [esi + 0x1c0]
cmp esi, edi
je 0x4b893c
mov ebx, dword [esi]
cmp ebx, dword [ebp + 8]
je 0x4b8932
mov ecx, dword [ebx + 0x230]
test ecx, ecx
je 0x4b8900
mov al, byte [ecx + 0x1fc]
test al, al
je 0x4b8900
mov dword [ebx + 0x22c], 0
jmp 0x4b8928
mov eax, dword [ebx + 0x22c]
test eax, eax
je 0x4b8932
mov dword [ebx + 0x22c], 0
cmp eax, 3
jne 0x4b8928
test ecx, ecx
je 0x4b8928
push 0
push 0
push 0
call fcn.004b86a0
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xd4]
add esi, 4
cmp esi, edi
jne 0x4b88d0
mov ebx, dword [ebp + 8]
mov edi, dword [ebp - 0x14]
push dword [ebp + 0xc]
push ecx
mov edx, dword [edi + 0x1c4]
mov ecx, dword [edi + 0x1c0]
call fcn.004beed0
mov eax, dword [edi + 0x1c0]
add esp, 8
mov dword [edi + 0x1c4], eax
lea esi, [edi + 0x1bc]
cmp dword [esi], ebx
je 0x4b89a9
test ebx, ebx
je 0x4b8977
mov eax, dword [ebx]
push ebx
call dword [eax + 4]
mov eax, dword [esi]
mov dword [esi], ebx
test eax, eax
je 0x4b89a9
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
cmp ecx, vtable.CXTreeItem.0
jne 0x4b89a6
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x4b89a9
add ecx, 0xffffffff
mov dword [eax + 8], ecx
jne 0x4b89a9
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx + 0xc]
jmp 0x4b89a9
push eax
call edx
test ebx, ebx
je 0x4b8a42
mov eax, dword [ebx]
mov edx, dword [eax + 0x9c]
cmp eax, vtable.CXTreeItem.0
jne 0x4b89c5
mov eax, dword [ebx + 0x40]
jmp 0x4b89c9
mov ecx, ebx
call edx
xor ecx, ecx
mov dword [ebp + 0xc], ecx
test eax, eax
je 0x4b89ed
mov ecx, dword [eax]
lea edx, [ebp + 0xc]
push edx
push 0x588f18
push eax
call dword [ecx]
mov ecx, dword [ebp + 0xc]
xor edx, edx
test eax, eax
cmovs ecx, edx
mov dword [ebp + 0xc], ecx
mov dword [ebp - 4], 1
test ecx, ecx
je 0x4b8a02
mov eax, dword [ecx]
push 1
call dword [eax + 0x16c]
push 0
push 3
mov ecx, ebx
call fcn.004baeb0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x4b8a42
mov eax, dword [ecx]
mov edx, dword [eax + 8]
cmp eax, vtable.CXTreeItem.0
jne 0x4b8a3f
mov eax, dword [ecx + 8]
test eax, eax
je 0x4b8a42
add eax, 0xffffffff
mov dword [ecx + 8], eax
jne 0x4b8a42
mov eax, dword [ecx]
push 1
call dword [eax + 0xc]
jmp 0x4b8a42
push ecx
call edx
push dword [esi]
mov eax, dword [edi]
mov ecx, edi
push 0x44f
call dword [eax + 0x2c]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc