Function at 0x10066c70
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [0x10168418]
lea eax, [ebp - 0x28]
push esi
push edi
push eax
push dword [0x10168e18]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
movd xmm1, eax
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
lea eax, [ebp - 0x18]
cvtdq2ps xmm0, xmm0
push eax
movss dword [ebx + 0x10], xmm1
movss dword [ebx + 0x14], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edi, dword [ebp - 0x18]
mov ecx, edi
sub ecx, dword [0x10168e20]
mov esi, dword [ebp - 0x14]
mov edx, esi
sbb edx, dword [0x10168e24]
call fcn.10119d50
mov edx, dword [0x10168e2c]
mov ecx, dword [0x10168e28]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 4], xmm0
call fcn.10119d50
movss xmm1, dword [ebp - 4]
cvtsd2ss xmm0, xmm0
push 0x11
divss xmm1, xmm0
movss dword [ebx + 0x18], xmm1
mov dword [0x10168e24], esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
mov dword [0x10168e20], edi
call esi
shr eax, 0xf
and al, 1
push 0x10
mov byte [ebx + 0x100], al
call esi
shr eax, 0xf
and al, 1
push 0x12
mov byte [ebx + 0x101], al
call esi
mov ecx, dword [0x10168418]
shr eax, 0xf
and al, 1
mov byte [ebx + 0x103], 0
mov byte [ebx + 0x102], al
cmp byte [ecx + 0x35b], 0
lea esi, [ecx + 0xe8]
je 0x10066d8d
cvttss2si eax, dword [esi]
mov dword [ebp - 8], eax
cvttss2si eax, dword [ecx + 0xec]
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push dword [0x10168e18]
call dword [sym.imp.USER32.dll_ClientToScreen]
push dword [ebp - 4]
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_SetCursorPos]
mov dword [esi], 0xff7fffff
mov dword [esi + 4], 0xff7fffff
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x10066df5
mov ecx, dword [0x10168e18]
cmp eax, ecx
je 0x10066dba
push ecx
push eax
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x10066df5
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x10066df5
lea eax, [ebp - 0x10]
push eax
push dword [0x10168e18]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x10066df5
movd xmm0, dword [ebp - 0x10]
movd xmm1, dword [ebp - 0xc]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [esi], xmm0
movss dword [esi + 4], xmm1
cmp byte [ebx + 0xb0], 0
mov eax, dword [0x10168418]
je 0x10066e08
or ecx, 0xffffffff
jmp 0x10066e0e
mov ecx, dword [eax + 0x1f28]
cmp dword [0x10165138], ecx
je 0x10066f4a
test byte [eax + 8], 0x20
mov dword [0x10165138], ecx
jne 0x10066f4a
mov ecx, dword [eax + 0x1f28]
cmp ecx, 0xffffffff
je 0x10066f42
cmp byte [eax + 0xb0], 0
jne 0x10066f42
mov eax, 0x7f00
cmp ecx, 7
ja case.0x10066e54.0
jmp dword [ecx*4 + 0x10066f58]
mov eax, 0x7f01
push eax
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
call fcn.10066a00
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0x7f86
push eax
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
call fcn.10066a00
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0x7f84
push eax
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
call fcn.10066a00
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0x7f85
push eax
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
call fcn.10066a00
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0x7f83
push eax
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
call fcn.10066a00
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0x7f82
push eax
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
call fcn.10066a00
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0x7f89
push eax
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
call fcn.10066a00
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
call dword [sym.imp.USER32.dll_SetCursor]
call fcn.10066a00
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret