Function at 0x48d930
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 0x48dadd
je 0x48d969
cmp esi, 8
je 0x48dafe
cmp esi, 0x18
je 0x48d9a9
cmp esi, 0x100
jne 0x48dbb1
mov eax, dword [ebp + 0xc]
cmp eax, 0x1b
jne 0x48d988
call fcn.004237c0
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x48db85
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff7
mov dword [ebp - 4], 1
cmp eax, 0x1f
ja case.0x48d9a2.10
movzx eax, byte [eax + 0x48dbe4]
jmp dword [eax*4 + 0x48dbcc]
mov edi, dword [ebp + 0xc]
cmp edi, 1
jne 0x48dbb4
call fcn.004a3f30
push edi
mov ecx, ebx
call fcn.0043a870
mov ecx, dword [ebx + 0x264]
push 0
call fcn.0044ef60
mov ecx, dword [ebx + 0x264]
mov eax, dword [ecx]
call dword [eax + 0xb8]
jmp 0x48dbb4
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
and ax, cx
mov ecx, dword [ebx + 0x268]
push 1
je 0x48da20
call fcn.004a5eb0
jmp 0x48daba
mov ecx, dword [ebx + 0x268]
push 0
call fcn.004a5eb0
jmp 0x48daba
mov ecx, dword [ebx + 0x268]
push 0
call fcn.004a5e30
jmp 0x48daba
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 0x48daba
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 0x48daba
mov dword [ebp - 4], 0
mov ecx, dword [ebx + 0x264]
mov eax, dword [ecx]
call dword [eax + 0xb8]
cmp dword [ebp - 4], 0
je 0x48dbb1
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, esi
sub eax, 0x231
je 0x48dba7
sub eax, 1
je 0x48db9b
sub eax, 0x5b8
jne 0x48dbb1
cmp byte [ebx + 0x260], 0
jne 0x48db90
call fcn.004237c0
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x48db90
mov eax, dword [ebx + 0x258]
test eax, eax
je 0x48db90
cmp dword [eax + 8], 0
jne 0x48db90
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 0x48db90
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 0x48dbb1
mov dword [ebx + 0x25c], 1
mov edi, dword [ebp + 0xc]
push dword [ebp + 0x10]
mov ecx, ebx
push edi
push esi
call fcn.00439cc0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc