Function at 0x66f8b0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6f4c6d
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x766480]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esi + 0x160], 0
mov byte [ebp - 0x36], 0
jne 0x66fc4e
cmp byte [esi + 0x196], 0
je 0x66fc4e
cmp byte [esi + 0x197], 0
je 0x66fc4e
cmp byte [esi + 0x1e0], 0
jne 0x66fc4e
cmp dword [esi + 0x190], 0
je 0x66faed
mov ecx, dword [esi + 0x44]
call fcn.006200c0
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x66fa84
mov edx, str.CLASS_ROGUE
mov ecx, eax
nop dword [eax + eax]
mov al, byte [ecx]
cmp al, byte [edx]
mov byte [ebp - 0x35], al
mov eax, dword [ebp - 0x3c]
jne 0x66f970
cmp byte [ebp - 0x35], 0
je 0x66f96c
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
mov byte [ebp - 0x35], al
mov eax, dword [ebp - 0x3c]
jne 0x66f970
add ecx, 2
add edx, 2
cmp byte [ebp - 0x35], 0
jne 0x66f940
xor ecx, ecx
jmp 0x66f975
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x66fa2b
mov edx, str.WEAPON_SHADOW_OFF
mov ecx, eax
mov al, byte [ecx]
cmp al, byte [edx]
mov byte [ebp - 0x35], al
mov eax, dword [ebp - 0x3c]
jne 0x66f9b4
cmp byte [ebp - 0x35], 0
je 0x66f9b0
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
mov byte [ebp - 0x35], al
mov eax, dword [ebp - 0x3c]
jne 0x66f9b4
add ecx, 2
add edx, 2
cmp byte [ebp - 0x35], 0
jne 0x66f984
xor ecx, ecx
jmp 0x66f9b9
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x66fa2b
mov edx, str.WEAPON_2CLAW
mov ecx, eax
mov al, byte [ecx]
cmp al, byte [edx]
mov byte [ebp - 0x35], al
mov eax, dword [ebp - 0x3c]
jne 0x66f9f4
cmp byte [ebp - 0x35], 0
je 0x66f9f0
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
mov byte [ebp - 0x35], al
mov eax, dword [ebp - 0x3c]
jne 0x66f9f4
add ecx, 2
add edx, 2
cmp byte [ebp - 0x35], 0
jne 0x66f9c4
xor ecx, ecx
jmp 0x66f9f9
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x66fa2b
mov ecx, str.WEAPON_2DA
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x66fa22
test dl, dl
je 0x66fa1e
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x66fa22
add eax, 2
add ecx, 2
test dl, dl
jne 0x66fa02
xor eax, eax
jmp 0x66fa27
sbb eax, eax
or eax, 1
test eax, eax
jne 0x66fa84
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x57
call edi
shr eax, 8
test al, al
jne 0x66fa7e
push 0
call fcn.004f3200
add esp, 4
test al, al
jne 0x66fa7e
push 0x53
call edi
shr eax, 8
test al, al
jne 0x66fae4
push 1
call fcn.004f3200
add esp, 4
test al, al
jne 0x66fae4
push 0x15
push 0x15
mov ecx, esi
call fcn.00671100
mov byte [esi + 0x197], 0
jmp 0x66fb14
push 0x24
push 0x24
jmp 0x66fada
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x57
call edi
shr eax, 8
test al, al
jne 0x66fad6
push 0
call fcn.004f3200
add esp, 4
test al, al
jne 0x66fad6
push 0x53
call edi
shr eax, 8
test al, al
jne 0x66fad0
push 1
call fcn.004f3200
add esp, 4
test al, al
jne 0x66fad0
push 0x15
push 0x15
mov ecx, esi
call fcn.00671100
mov byte [esi + 0x197], 0
jmp 0x66fb14
push 0x28
push 0x28
jmp 0x66fada
push 0x26
push 0x26
mov ecx, esi
call fcn.00671100
mov byte [ebp - 0x36], al
mov byte [esi + 0x197], 0
jmp 0x66fb14
push 0x15
push 0x15
call fcn.00671100
mov dword [esi + 0x178], 0
mov dword [esi + 0x17c], 0
mov dword [esi + 0x180], 0
mov ecx, dword [esi + 0x200]
push 0x14
call fcn.006780a0
test al, al
jne 0x66fb49
mov ecx, dword [esi + 0x200]
push 0x13
call fcn.006780a0
test al, al
jne 0x66fb49
mov byte [esi + 0x1db], 1
call dword [sym.imp.WINMM.dll_timeGetTime]
mov dword [esi + 0x1dc], eax
mov ecx, str.c:MP_ProjectSound_
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x66fb66
sub ecx, edx
push ecx
push str.c:MP_ProjectSound_
lea ecx, [ebp - 0x28]
call fcn.0044e530
push 8
push str.jump.wav
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.0044f570
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
push 1
cmova eax, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00667b20
mov ecx, eax
call fcn.00666a40
test al, al
je 0x66fc13
mov ecx, dword [ebp - 0x40]
mov ecx, dword [ecx + 4]
call fcn.006663f0
movss xmm0, dword [esi + 0x12c]
lea eax, [ebp - 0x34]
mov ecx, dword [ebp - 0x40]
movss dword [ebp - 0x34], xmm0
movss xmm0, dword [esi + 0x130]
movss dword [ebp - 0x30], xmm0
movss xmm0, dword [esi + 0x134]
push eax
movss dword [ebp - 0x2c], xmm0
call fcn.00666890
push ecx
mov ecx, dword [ebp - 0x40]
mov dword [esp], 0x447a0000
call fcn.00666860
push ecx
mov ecx, dword [ebp - 0x40]
mov dword [esp], 0x44fa0000
call fcn.00666830
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x66fc49
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x66fc3f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x66fc3f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.006df8f3
add esp, 8
mov al, byte [ebp - 0x36]
jmp 0x66fc50
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006dfb52
mov esp, ebp
pop ebp
ret