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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
call fcn.004af680
mov ebx, eax
test ebx, ebx
je 0x4b033d
cmp dword [ebx + 0x5c], 0
jne 0x4b06e6
mov ecx, edi
call fcn.004af980
test eax, eax
jne 0x4b06e6
cmp dword [edi + 0x114], eax
jg 0x4b06da
lock inc dword [edi + 4]
mov ecx, edi
call fcn.004af870
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.00558e21
test eax, eax
je 0x4b06da
push dword [edi + 0xb8]
mov ecx, edi
call fcn.004af6a0
mov esi, eax
test esi, esi
je 0x4b03c5
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x74]
test eax, eax
je 0x4b03c5
push dword [ebp + 0xc]
mov eax, dword [esi]
mov ecx, esi
push dword [ebp + 8]
call dword [eax + 0xe0]
cmp eax, 1
je 0x4b06eb
cmp eax, 2
je 0x4b06eb
cmp dword [edi + 0x20], 0
je 0x4b06da
mov eax, dword [ebp + 8]
add eax, 0xfffffff7
cmp eax, 0x17
ja case.0x4b03e5.10
movzx eax, byte [eax + 0x4b0708]
jmp dword [eax*4 + 0x4b06f4]
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call esi
test ax, ax
jns 0x4b0441
test ebx, ebx
je 0x4b0441
mov ecx, edi
call fcn.004af820
push eax
push 0x633c64
mov dword [ebp + 0xc], eax
call fcn.00557e68
add esp, 8
test eax, eax
je 0x4b0441
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.0048b7f0
test eax, eax
jne 0x4b06da
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.004af6a0
mov esi, eax
test esi, esi
je 0x4b06da
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xdc]
test eax, eax
je 0x4b06da
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 0x4b06da
mov esi, dword [sym.imp.USER32.dll_GetFocus]
call esi
test eax, eax
je 0x4b04f4
call esi
push eax
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
jne 0x4b06e6
mov eax, dword [edi + 0xe8]
test eax, eax
je 0x4b051a
cmp eax, 1
je 0x4b051a
cmp eax, 4
je 0x4b051a
cmp eax, 5
jne 0x4b0516
cmp dword [edi + 0xe0], 1
je 0x4b051a
xor esi, esi
jmp 0x4b051f
mov esi, 1
mov ecx, edi
call fcn.004af9a0
mov ecx, eax
mov eax, dword [ebp + 8]
lea edx, [eax - 0x23]
cmp edx, 5
ja case.default.0x4b0537
jmp dword [edx*4 + 0x4b0720]
xor edx, edx
test esi, esi
je 0x4b055e
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 0x4b0595
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 0x4b06da
push 2
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
test eax, eax
je 0x4b06da
mov ecx, edi
call fcn.0048a4b0
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
test eax, eax
je 0x4b064b
push 0x11
call esi
test ax, ax
js 0x4b064b
push dword [ebp + 8]
mov ecx, edi
call fcn.004b08d0
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 8
test ebx, ebx
je 0x4b066f
push edi
push 0x633c64
call fcn.00557e68
add esp, 8
test eax, eax
je 0x4b066f
push dword [ebp + 8]
mov ecx, ebx
call fcn.0048a5d0
test eax, eax
jne 0x4b06da
push 0x11
mov dword [ebp + 0xc], 0
call esi
test ax, ax
js 0x4b06c5
lea eax, [ebp + 0xc]
mov ecx, edi
push eax
push dword [ebp + 8]
call fcn.004aeeb0
mov esi, eax
cmp esi, 0xffffffff
je 0x4b06c5
mov edx, dword [edi]
mov ecx, edi
push 2
push esi
call dword [edx + 0x170]
cmp dword [ebp + 0xc], 0
jne 0x4b06da
push esi
mov ecx, edi
call fcn.004af6a0
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 0x4b06da
cmp eax, 0x11
je 0x4b06da
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