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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
call fcn.004b0bf0
mov ebx, eax
test ebx, ebx
je 0x4b18ad
cmp dword [ebx + 0x5c], 0
jne 0x4b1c5c
mov ecx, edi
call fcn.004b0ef0
test eax, eax
jne 0x4b1c5c
cmp dword [edi + 0x114], eax
jg 0x4b1c50
lea eax, [edi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov ecx, edi
call fcn.004b0de0
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.0053866c
test eax, eax
je 0x4b1c50
push dword [edi + 0xb8]
mov ecx, edi
call fcn.004b0c10
mov esi, eax
test esi, esi
je 0x4b193b
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x74]
test eax, eax
je 0x4b193b
push dword [ebp + 0xc]
mov eax, dword [esi]
mov ecx, esi
push dword [ebp + 8]
call dword [eax + 0xe0]
cmp eax, 1
je 0x4b1c61
cmp eax, 2
je 0x4b1c61
cmp dword [edi + 0x20], 0
je 0x4b1c50
mov eax, dword [ebp + 8]
add eax, 0xfffffff7
cmp eax, 0x17
ja case.0x4b195b.10
movzx eax, byte [eax + 0x4b1c7c]
jmp dword [eax*4 + 0x4b1c68]
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call esi
test ax, ax
jns 0x4b19b7
test ebx, ebx
je 0x4b19b7
mov ecx, edi
call fcn.004b0d90
push eax
push 0x60a7c4
mov dword [ebp + 0xc], eax
call fcn.00537705
add esp, 8
test eax, eax
je 0x4b19b7
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.0048d020
test eax, eax
jne 0x4b1c50
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.004b0c10
mov esi, eax
test esi, esi
je 0x4b1c50
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xdc]
test eax, eax
je 0x4b1c50
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 0x4b1c50
mov esi, dword [sym.imp.USER32.dll_GetFocus]
call esi
test eax, eax
je 0x4b1a6a
call esi
push eax
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
jne 0x4b1c5c
mov eax, dword [edi + 0xe8]
test eax, eax
je 0x4b1a90
cmp eax, 1
je 0x4b1a90
cmp eax, 4
je 0x4b1a90
cmp eax, 5
jne 0x4b1a8c
cmp dword [edi + 0xe0], 1
je 0x4b1a90
xor esi, esi
jmp 0x4b1a95
mov esi, 1
mov ecx, edi
call fcn.004b0f10
mov ecx, eax
mov eax, dword [ebp + 8]
lea edx, [eax - 0x23]
cmp edx, 5
ja case.default.0x4b1aad
jmp dword [edx*4 + 0x4b1c94]
xor edx, edx
test esi, esi
je 0x4b1ad4
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 0x4b1b0b
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 0x4b1c50
push 2
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
test eax, eax
je 0x4b1c50
mov ecx, edi
call fcn.0048bcc0
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
test eax, eax
je 0x4b1bc1
push 0x11
call esi
test ax, ax
js 0x4b1bc1
push dword [ebp + 8]
mov ecx, edi
call fcn.004b1e40
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 8
test ebx, ebx
je 0x4b1be5
push edi
push 0x60a7c4
call fcn.00537705
add esp, 8
test eax, eax
je 0x4b1be5
push dword [ebp + 8]
mov ecx, ebx
call fcn.0048bde0
test eax, eax
jne 0x4b1c50
push 0x11
mov dword [ebp + 0xc], 0
call esi
test ax, ax
js 0x4b1c3b
lea eax, [ebp + 0xc]
mov ecx, edi
push eax
push dword [ebp + 8]
call fcn.004b0490
mov esi, eax
cmp esi, 0xffffffff
je 0x4b1c3b
mov edx, dword [edi]
mov ecx, edi
push 2
push esi
call dword [edx + 0x170]
cmp dword [ebp + 0xc], 0
jne 0x4b1c50
push esi
mov ecx, edi
call fcn.004b0c10
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 0x4b1c50
cmp eax, 0x11
je 0x4b1c50
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