Function at 0x80fd18
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ecx
mov ebx, edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x80ffee
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x810008
mov eax, ebx
call fcn.008066ec
mov eax, ebx
call fcn.00807c8c
mov edi, eax
mov eax, dword [edi + 4]
call fcn.00807c3c
mov dword [ebp - 0x10], eax
xor ebx, ebx
mov eax, dword [ebp - 0x10]
call fcn.0080fcdc
test al, al
je 0x80ff8b
mov eax, dword [ebp - 0x10]
mov edx, dword [0x8680d0]
call fcn.004081cc
test al, al
je 0x80fdc0
push 2
call sub.user32.dll_GetKeyState
test ax, ax
je 0x80fdb7
lea eax, [ebp - 0x20]
push eax
call sub.user32.dll_GetCursorPos
push 2
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call sub.user32.dll_MonitorFromPoint
mov edx, eax
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0080fc60
jmp 0x80ffce
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax + 0x2ec]
mov eax, dword [ebp - 0x10]
mov esi, dword [eax + 0x1ec]
test ebx, ebx
jne 0x80fe4a
test esi, esi
je 0x80fe4a
jmp 0x80fdd9
mov esi, dword [esi + 0x1ec]
mov eax, esi
call fcn.0080fcdc
test al, al
je 0x80fded
cmp dword [esi + 0x1ec], 0
jne 0x80fdd3
test ebx, ebx
jne 0x80fe2c
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax + 0x74]
jmp 0x80fdfc
mov ebx, dword [ebx + 0x74]
test ebx, ebx
je 0x80fe17
cmp dword [ebx + 0x6c], 0
je 0x80fe17
mov eax, dword [ebx + 0x6c]
mov edx, dword [eax]
call dword [edx + 0x44]
cmp esi, eax
jne 0x80fdf9
jmp 0x80fe17
mov ebx, dword [ebx + 0x74]
test ebx, ebx
je 0x80fe2c
mov eax, ebx
mov edx, dword [0x628d8c]
call fcn.004081cc
test al, al
je 0x80fe14
test ebx, ebx
jne 0x80fe4a
test esi, esi
je 0x80fe4a
cmp dword [esi + 0xb8], 0
je 0x80fe4a
mov eax, dword [esi + 0xb8]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
mov eax, ebx
mov edx, dword [0x628d8c]
call fcn.004081cc
test al, al
je 0x80ff7a
mov eax, ebx
call fcn.0063ed60
lea edx, [ebp - 0x40]
call fcn.0084da0c
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x48]
lea edx, [ebp - 0x18]
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x2a0]
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x6c]
mov edx, dword [eax]
call dword [edx + 0x44]
push eax
lea eax, [ebp - 4]
call fcn.0040e734
mov ecx, eax
mov edx, 0x810018
pop eax
call fcn.00431954
test al, al
je 0x80fed2
lea ecx, [ebp - 0x48]
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x2c]
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x14], eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x1ac]
fstp dword [ebp - 0x4c]
wait
mov eax, ebx
call fcn.0063ed60
fld dword [eax + 4]
fsubr dword [ebp - 0x4c]
fdiv dword [0x810028]
fstp dword [ebp - 0x24]
wait
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x1b0]
fstp dword [ebp - 0x4c]
wait
mov eax, ebx
call fcn.0063ed60
fld dword [eax + 8]
fsubr dword [ebp - 0x4c]
fdiv dword [0x810028]
fstp dword [ebp - 0x28]
wait
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x48]
lea edx, [ebp - 0x30]
lea eax, [ebp - 0x18]
call fcn.00413fb8
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x14], eax
fld dword [ebp - 0x14]
call fcn.004076ac
push eax
fld dword [ebp - 0x18]
call fcn.004076ac
mov edx, eax
lea eax, [ebp - 0x20]
pop ecx
call fcn.00413530
push 2
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call sub.user32.dll_MonitorFromPoint
mov edx, eax
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0080fc60
jmp 0x80ffce
test esi, esi
je 0x80ff8b
mov eax, dword [esi + 0x94]
call fcn.00807c8c
mov edi, eax
test edi, edi
je 0x80ff95
cmp dword [edi + 4], 0
jne 0x80ffb6
lea edx, [ebp - 0x50]
mov eax, dword [0xa77070]
call fcn.0040fdf4
mov ecx, dword [ebp - 0x50]
mov dl, 1
mov eax, dword [0x420dbc]
call fcn.0042f02c
call fcn.00409370
push 2
mov eax, dword [edi + 4]
push eax
call sub.user32.dll_MonitorFromWindow
mov edx, eax
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0080fc60
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x80fff5
lea eax, [ebp - 0x50]
call fcn.00409c78
lea eax, [ebp - 4]
call fcn.0040e734
pop eax
jmp eax