Function at 0x48f9a4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
test byte [eax + 0x1c], 0x10
je 0x48f9f9
xor edx, edx
mov eax, dword [ebp - 0x14]
call fcn.00472648
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x48f9f9
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x298], 0
je 0x48f9f9
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x298]
mov edx, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0x24]
test al, al
jne 0x48fcdc
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x100
jb 0x48fa44
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x109
ja 0x48fa44
mov dl, 1
mov eax, dword [ebp - 0x14]
call fcn.00472648
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x48fcd1
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x100]
test al, al
jne 0x48fcdc
jmp 0x48fcd1
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x200
jb 0x48fcac
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x20a
ja 0x48fcac
mov eax, dword [ebp - 0x14]
test byte [eax + 0x50], 0x80
jne 0x48fa87
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
sub eax, 0x203
je 0x48fa81
sub eax, 3
je 0x48fa81
sub eax, 3
jne 0x48fa87
mov eax, dword [ebp - 0x18]
sub dword [eax], 2
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
add eax, 0xfffffe00
cmp eax, 7
ja case.0x48fa9a.516
jmp dword [eax*4 + 0x48faa1]
mov ecx, dword [ebp - 0x18]
mov eax, dword [0x519ca8]
mov eax, dword [eax]
mov edx, dword [ebp - 0x14]
call fcn.0048023c
jmp 0x48fcd1
mov eax, dword [ebp - 0x14]
test byte [eax + 0x52], 8
je 0x48fcd1
mov ax, word [0x48fce4]
mov edx, dword [ebp - 0x14]
and ax, word [edx + 0x54]
mov dx, word [0x48fce8]
cmp dx, ax
jne 0x48fcd1
mov eax, dword [0x51d844]
call fcn.0049e4cc
test al, al
jne 0x48fcd1
mov eax, dword [0x51d844]
call fcn.0049e40c
mov byte [ebp - 0x1d], 0
mov eax, dword [0x51d844]
cmp dword [eax + 0x28], 0
je 0x48fbc6
mov eax, dword [ebp - 0x14]
mov edx, dword [0x488ab4]
call fcn.004477c8
test al, al
je 0x48fb65
mov eax, dword [ebp - 0x14]
call fcn.00497d30
mov edx, eax
mov eax, dword [0x51d844]
mov eax, dword [eax + 0x28]
mov ecx, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0xe0]
mov byte [ebp - 0x1d], al
jmp 0x48fbc6
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x30], 0
je 0x48fb93
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x30]
call fcn.00497d30
mov edx, eax
mov eax, dword [0x51d844]
mov eax, dword [eax + 0x28]
mov ecx, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0xe0]
mov byte [ebp - 0x1d], al
jmp 0x48fbc6
xor edx, edx
mov eax, dword [ebp - 0x14]
call fcn.00472648
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x48fbc6
mov eax, dword [ebp - 0x1c]
call fcn.00497d30
mov edx, eax
mov eax, dword [0x51d844]
mov eax, dword [eax + 0x28]
mov ecx, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0xe0]
mov byte [ebp - 0x1d], al
cmp byte [ebp - 0x1d], 0
je 0x48fbe7
mov eax, dword [ebp - 0x18]
mov dword [eax + 0xc], 1
mov eax, dword [0x519ca8]
mov eax, dword [eax]
call fcn.004803dc
jmp 0x48fcd1
mov eax, dword [0x51d844]
cmp dword [eax + 0x28], 0
je 0x48fcd1
xor edx, edx
mov eax, dword [0x51d844]
call fcn.0049e5f8
jmp 0x48fcd1
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x5d], 1
jne 0x48fc21
mov eax, dword [ebp - 0x14]
mov si, 0xffed
call fcn.00447838
jmp 0x48fcdc
mov eax, dword [ebp - 0x14]
or word [eax + 0x54], 1
jmp 0x48fcd1
mov eax, dword [ebp - 0x14]
and word [eax + 0x54], 0xfffe
jmp 0x48fcd1
mov eax, dword [0x51d844]
cmp byte [eax + 0x20], 0
je 0x48fcd1
mov eax, dword [0x51d844]
cmp dword [eax + 0x1c], 0
je 0x48fcd1
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [0x51d844]
cmp eax, dword [edx + 0x1c]
jne 0x48fcd1
lea eax, [ebp - 0x11d]
push eax
call sub.USER32.DLL_GetKeyboardState
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x11d]
call fcn.00472504
mov byte [ebp - 0xc], al
mov eax, dword [ebp - 0x18]
mov ax, word [eax + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffc9
call fcn.00447838
jmp 0x48fcdc
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0xb00b
jne 0x48fcd1
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
push eax
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 4]
mov edx, dword [ebp - 0x18]
mov edx, dword [edx]
mov eax, dword [ebp - 0x14]
call fcn.0048d924
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret