Function at 0x48c760
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
mov dword [ebp - 8], ebx
push edi
cmp esi, 0x104
ja 0x48c90d
je 0x48c799
cmp esi, 8
je 0x48c92e
cmp esi, 0x18
je 0x48c7d9
cmp esi, 0x100
jne 0x48c9e1
mov eax, dword [ebp + 0xc]
cmp eax, 0x1b
jne 0x48c7b8
call fcn.004237c0
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x48c9b5
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff7
mov dword [ebp - 4], 1
cmp eax, 0x1f
ja case.0x48c7d2.10
movzx eax, byte [eax + 0x48ca14]
jmp dword [eax*4 + 0x48c9fc]
mov edi, dword [ebp + 0xc]
cmp edi, 1
jne 0x48c9e4
call fcn.004a1360
push edi
mov ecx, ebx
call fcn.0043a960
mov ecx, dword [ebx + 0x264]
push 0
call fcn.0044c550
mov ecx, dword [ebx + 0x264]
mov eax, dword [ecx]
call dword [eax + 0xb8]
jmp 0x48c9e4
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
and ax, cx
mov ecx, dword [ebx + 0x268]
push 1
je 0x48c850
call fcn.004a3100
jmp 0x48c8ea
mov ecx, dword [ebx + 0x268]
push 0
call fcn.004a3100
jmp 0x48c8ea
mov ecx, dword [ebx + 0x268]
push 0
call fcn.004a3080
jmp 0x48c8ea
mov ecx, dword [ebx + 0x268]
mov esi, dword [ecx + 0x560]
lea edi, [ecx + 0x560]
push 1
push 1
mov eax, dword [ecx]
push 0
push 0
call dword [eax + 0x14c]
push eax
mov ecx, edi
call dword [esi + 0xc]
mov eax, dword [edi]
mov ecx, edi
push 0
call dword [eax + 0x18]
mov esi, dword [ebp + 8]
jmp 0x48c8ea
mov ebx, dword [ebx + 0x268]
mov ecx, ebx
push 1
push 1
push 1
mov esi, dword [ebx]
mov edi, dword [ebx + 0x560]
call dword [esi + 0x15c]
dec eax
mov ecx, ebx
push eax
call dword [esi + 0x14c]
push eax
lea ecx, [ebx + 0x560]
call dword [edi + 0xc]
mov eax, dword [ebx]
mov ecx, ebx
mov esi, dword [ebx + 0x560]
call dword [eax + 0x15c]
dec eax
lea ecx, [ebx + 0x560]
push eax
call dword [esi + 0x18]
mov ebx, dword [ebp - 8]
mov esi, dword [ebp + 8]
jmp 0x48c8ea
mov dword [ebp - 4], 0
mov ecx, dword [ebx + 0x264]
mov eax, dword [ecx]
call dword [eax + 0xb8]
cmp dword [ebp - 4], 0
je 0x48c9e1
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, esi
sub eax, 0x231
je 0x48c9d7
sub eax, 1
je 0x48c9cb
sub eax, 0x5b8
jne 0x48c9e1
cmp byte [ebx + 0x260], 0
jne 0x48c9c0
call fcn.004237c0
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x48c9c0
mov eax, dword [ebx + 0x258]
test eax, eax
je 0x48c9c0
cmp dword [eax + 8], 0
jne 0x48c9c0
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x10], 0
push eax
mov ecx, ebx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
call fcn.004237c0
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 0
push eax
mov dword [ebp - 0xc], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
push dword [ebp - 8]
lea eax, [ebp - 0x1c]
push dword [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x48c9c0
mov eax, dword [ebx]
mov ecx, ebx
push 1
push 0
call dword [eax + 0x14]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov dword [ebx + 0x25c], 0
jmp 0x48c9e1
mov dword [ebx + 0x25c], 1
mov edi, dword [ebp + 0xc]
push dword [ebp + 0x10]
mov ecx, ebx
push edi
push esi
call fcn.00439db0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc