Function at 0x48d0f0
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 0x48d29d
je 0x48d129
cmp esi, 8
je 0x48d2be
cmp esi, 0x18
je 0x48d169
cmp esi, 0x100
jne 0x48d371
mov eax, dword [ebp + 0xc]
cmp eax, 0x1b
jne 0x48d148
call fcn.004237c0
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x48d345
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff7
mov dword [ebp - 4], 1
cmp eax, 0x1f
ja case.0x48d162.10
movzx eax, byte [eax + 0x48d3a4]
jmp dword [eax*4 + 0x48d38c]
mov edi, dword [ebp + 0xc]
cmp edi, 1
jne 0x48d374
call fcn.004a2c00
push edi
mov ecx, ebx
call fcn.0043a7a0
mov ecx, dword [ebx + 0x264]
push 0
call fcn.0044ecb0
mov ecx, dword [ebx + 0x264]
mov eax, dword [ecx]
call dword [eax + 0xb8]
jmp 0x48d374
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
and ax, cx
mov ecx, dword [ebx + 0x268]
push 1
je 0x48d1e0
call fcn.004a4a40
jmp 0x48d27a
mov ecx, dword [ebx + 0x268]
push 0
call fcn.004a4a40
jmp 0x48d27a
mov ecx, dword [ebx + 0x268]
push 0
call fcn.004a49c0
jmp 0x48d27a
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 0x48d27a
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 0x48d27a
mov dword [ebp - 4], 0
mov ecx, dword [ebx + 0x264]
mov eax, dword [ecx]
call dword [eax + 0xb8]
cmp dword [ebp - 4], 0
je 0x48d371
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, esi
sub eax, 0x231
je 0x48d367
sub eax, 1
je 0x48d35b
sub eax, 0x5b8
jne 0x48d371
cmp byte [ebx + 0x260], 0
jne 0x48d350
call fcn.004237c0
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x48d350
mov eax, dword [ebx + 0x258]
test eax, eax
je 0x48d350
cmp dword [eax + 8], 0
jne 0x48d350
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 0x48d350
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 0x48d371
mov dword [ebx + 0x25c], 1
mov edi, dword [ebp + 0xc]
push dword [ebp + 0x10]
mov ecx, ebx
push edi
push esi
call fcn.00439bf0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc