Function at 0x4cb8a0
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
call fcn.004cac00
mov ebx, eax
test ebx, ebx
je 0x4cb8bd
cmp dword [ebx + 0x5c], 0
jne 0x4cbc66
mov ecx, edi
call fcn.004caf00
test eax, eax
jne 0x4cbc66
cmp dword [edi + 0x114], eax
jg 0x4cbc5a
lock inc dword [edi + 4]
mov ecx, edi
call fcn.004cadf0
push edi
lea ecx, [ebp + 8]
push ecx
push 0x285a
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, edi
call fcn.00577711
test eax, eax
je 0x4cbc5a
push dword [edi + 0xb8]
mov ecx, edi
call fcn.004cac20
mov esi, eax
test esi, esi
je 0x4cb945
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x74]
test eax, eax
je 0x4cb945
push dword [ebp + 0xc]
mov eax, dword [esi]
mov ecx, esi
push dword [ebp + 8]
call dword [eax + 0xe0]
cmp eax, 1
je 0x4cbc6b
cmp eax, 2
je 0x4cbc6b
cmp dword [edi + 0x20], 0
je 0x4cbc5a
mov eax, dword [ebp + 8]
add eax, 0xfffffff7
cmp eax, 0x17
ja case.0x4cb965.10
movzx eax, byte [eax + 0x4cbc88]
jmp dword [eax*4 + 0x4cbc74]
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call esi
test ax, ax
jns 0x4cb9c1
test ebx, ebx
je 0x4cb9c1
mov ecx, edi
call fcn.004cada0
push eax
push 0x65dcdc
mov dword [ebp + 0xc], eax
call fcn.00576758
add esp, 8
test eax, eax
je 0x4cb9c1
push 0x10
call esi
xor ecx, ecx
test ax, ax
setns cl
lea ecx, [ecx*2 - 1]
push ecx
push dword [ebp + 0xc]
mov ecx, ebx
call fcn.004a6d60
test eax, eax
jne 0x4cbc5a
mov esi, dword [edi]
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
xor ecx, ecx
test ax, ax
sets cl
push ecx
mov ecx, edi
call dword [esi + 0x1f4]
push dword [edi + 0xb8]
mov ecx, edi
call fcn.004cac20
mov esi, eax
test esi, esi
je 0x4cbc5a
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xdc]
test eax, eax
je 0x4cbc5a
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 0x70]
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 8
mov eax, dword [edi]
mov ecx, edi
push 5
call dword [eax + 0x1f4]
pop edi
pop esi
pop ebx
pop ebp
ret 8
mov eax, dword [edi]
mov ecx, edi
push 4
call dword [eax + 0x1f4]
pop edi
pop esi
pop ebx
pop ebp
ret 8
mov eax, dword [edi]
mov ecx, edi
push 0xa
call dword [eax + 0x1f4]
test eax, eax
jne 0x4cbc5a
mov esi, dword [sym.imp.USER32.dll_GetFocus]
call esi
test eax, eax
je 0x4cba74
call esi
push eax
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
jne 0x4cbc66
mov eax, dword [edi + 0xe8]
test eax, eax
je 0x4cba9a
cmp eax, 1
je 0x4cba9a
cmp eax, 4
je 0x4cba9a
cmp eax, 5
jne 0x4cba96
cmp dword [edi + 0xe0], 1
je 0x4cba9a
xor esi, esi
jmp 0x4cba9f
mov esi, 1
mov ecx, edi
call fcn.004caf20
mov ecx, eax
mov eax, dword [ebp + 8]
lea edx, [eax - 0x23]
cmp edx, 5
ja case.default.0x4cbab7
jmp dword [edx*4 + 0x4cbca0]
xor edx, edx
test esi, esi
je 0x4cbade
mov eax, dword [edi]
test ecx, ecx
mov ecx, edi
setne dl
add edx, 8
push edx
call dword [eax + 0x1f4]
pop edi
pop esi
pop ebx
pop ebp
ret 8
mov eax, dword [edi]
test ecx, ecx
mov ecx, edi
setne dl
add edx, 2
push edx
call dword [eax + 0x1f4]
pop edi
pop esi
pop ebx
pop ebp
ret 8
test esi, esi
je 0x4cbb15
mov eax, dword [edi]
neg ecx
sbb ecx, ecx
add ecx, 9
push ecx
mov ecx, edi
call dword [eax + 0x1f4]
pop edi
pop esi
pop ebx
pop ebp
ret 8
mov eax, dword [edi]
neg ecx
sbb ecx, ecx
add ecx, 3
push ecx
mov ecx, edi
call dword [eax + 0x1f4]
pop edi
pop esi
pop ebx
pop ebp
ret 8
mov edx, dword [edi]
lea eax, [esi + 1]
push eax
mov ecx, edi
call dword [edx + 0x1f4]
pop edi
pop esi
pop ebx
pop ebp
ret 8
mov eax, dword [edi]
neg esi
mov ecx, edi
sbb esi, esi
and esi, 3
push esi
call dword [eax + 0x1f4]
pop edi
pop esi
pop ebx
pop ebp
ret 8
mov eax, dword [edi]
mov ecx, edi
push 6
call dword [eax + 0x1f4]
pop edi
pop esi
pop ebx
pop ebp
ret 8
mov eax, dword [edi]
mov ecx, edi
push 7
call dword [eax + 0x1f4]
pop edi
pop esi
pop ebx
pop ebp
ret 8
test eax, eax
je 0x4cbc5a
push 2
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
test eax, eax
je 0x4cbc5a
mov ecx, edi
call fcn.004a5a20
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
test eax, eax
je 0x4cbbcb
push 0x11
call esi
test ax, ax
js 0x4cbbcb
push dword [ebp + 8]
mov ecx, edi
call fcn.004cbe50
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 8
test ebx, ebx
je 0x4cbbef
push edi
push 0x65dcdc
call fcn.00576758
add esp, 8
test eax, eax
je 0x4cbbef
push dword [ebp + 8]
mov ecx, ebx
call fcn.004a5b40
test eax, eax
jne 0x4cbc5a
push 0x11
mov dword [ebp + 0xc], 0
call esi
test ax, ax
js 0x4cbc45
lea eax, [ebp + 0xc]
mov ecx, edi
push eax
push dword [ebp + 8]
call fcn.004ca430
mov esi, eax
cmp esi, 0xffffffff
je 0x4cbc45
mov edx, dword [edi]
mov ecx, edi
push 2
push esi
call dword [edx + 0x170]
cmp dword [ebp + 0xc], 0
jne 0x4cbc5a
push esi
mov ecx, edi
call fcn.004cac20
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xb0]
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 8
mov eax, dword [ebp + 8]
cmp eax, 0x10
je 0x4cbc5a
cmp eax, 0x11
je 0x4cbc5a
push 0
call dword [sym.imp.USER32.dll_MessageBeep]
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 8
mov eax, 2
pop edi
pop esi
pop ebx
pop ebp
ret 8