Function at 0x1007f500
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10195040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
call fcn.10066230
mov esi, eax
mov dword [ebp - 0x28], esi
call fcn.10066220
test eax, eax
je 0x1007f52f
call fcn.10066230
mov ebx, dword [eax + 0x6c]
jmp 0x1007f531
xor ebx, ebx
push edi
lea eax, [ebp - 0x24]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x24], xmm0
push dword [ebx]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
movd xmm1, eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
lea eax, [ebp - 0x14]
cvtdq2ps xmm0, xmm0
push eax
movss dword [esi + 8], xmm1
movss dword [esi + 0xc], xmm0
xorps xmm0, xmm0
movlpd qword [ebp - 0x14], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebx + 0x10]
mov edx, dword [ebp - 0x10]
sbb edx, dword [ebx + 0x14]
call fcn.10084ee0
mov edx, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x18]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 8], xmm0
call fcn.10084ee0
movss xmm1, dword [ebp - 8]
cvtsd2ss xmm0, xmm0
divss xmm1, xmm0
movss dword [esi + 0x10], xmm1
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], ecx
call fcn.10066220
test eax, eax
je 0x1007f5d1
call fcn.10066230
mov edi, dword [eax + 0x6c]
jmp 0x1007f5d3
xor edi, edi
call fcn.10066230
mov esi, eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, dword [edi]
cmp eax, ecx
jne 0x1007f676
cmp byte [esi + 0x8f], 0
je 0x1007f62d
cvttss2si eax, dword [esi + 0xdb0]
mov dword [ebp - 0xc], eax
cvttss2si eax, dword [esi + 0xdb4]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push ecx
call dword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x1007f624
push dword [ebp - 8]
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_SetCursorPos]
cmp byte [esi + 0x8f], 0
jne 0x1007f676
cmp byte [edi + 8], 0
jne 0x1007f676
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x1007f676
lea eax, [ebp - 0xc]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x1007f676
movd xmm0, dword [ebp - 8]
sub esp, 8
cvtdq2ps xmm0, xmm0
mov ecx, esi
movss dword [esp + 4], xmm0
movd xmm0, dword [ebp - 0xc]
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
call fcn.1006cdf0
push 0x210
call fcn.1006c1f0
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
add esp, 4
test al, al
je 0x1007f6c5
push 0xa0
call edi
shr eax, 0xf
test al, 1
jne 0x1007f6c5
call fcn.10066230
mov esi, eax
push 0
push 0x210
mov ecx, esi
call fcn.1006cc30
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xa0
push 0x210
mov ecx, esi
call fcn.1006d200
push 0x214
call fcn.1006c1f0
add esp, 4
test al, al
je 0x1007f70e
push 0xa1
call edi
shr eax, 0xf
test al, 1
jne 0x1007f70e
call fcn.10066230
mov esi, eax
push 0
push 0x214
mov ecx, esi
call fcn.1006cc30
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xa1
push 0x214
mov ecx, esi
call fcn.1006d200
push 0x212
call fcn.1006c1f0
add esp, 4
test al, al
je 0x1007f751
push 0x5b
call edi
shr eax, 0xf
test al, 1
jne 0x1007f751
call fcn.10066230
mov esi, eax
push 0
push 0x212
mov ecx, esi
call fcn.1006cc30
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x5b
push 0x212
mov ecx, esi
call fcn.1006d200
push 0x216
call fcn.1006c1f0
add esp, 4
test al, al
je 0x1007f794
push 0x5c
call edi
shr eax, 0xf
test al, 1
jne 0x1007f794
call fcn.10066230
mov esi, eax
push 0
push 0x216
mov ecx, esi
call fcn.1006cc30
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x5c
push 0x216
mov ecx, esi
call fcn.1006d200
mov eax, dword [ebp - 0x28]
pop edi
cmp byte [eax + 0x58], 0
je 0x1007f7a3
or eax, 0xffffffff
jmp 0x1007f7a8
call fcn.1006c620
cmp dword [ebx + 0x20], eax
je 0x1007f881
mov dword [ebx + 0x20], eax
call fcn.10066230
mov esi, eax
test byte [esi], 0x20
jne 0x1007f881
call fcn.1006c620
cmp eax, 0xffffffff
je 0x1007f879
cmp byte [esi + 0x58], 0
jne 0x1007f879
mov ecx, 0x7f00
cmp eax, 8
ja case.0x1007f7ea.0
jmp dword [eax*4 + 0x1007f898]
mov ecx, 0x7f01
push ecx
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
jmp 0x1007f87b
mov ecx, 0x7f86
push ecx
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
jmp 0x1007f87b
mov ecx, 0x7f84
push ecx
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
jmp 0x1007f87b
mov ecx, 0x7f85
push ecx
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
jmp 0x1007f87b
mov ecx, 0x7f83
push ecx
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
jmp 0x1007f87b
mov ecx, 0x7f82
push ecx
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
jmp 0x1007f87b
mov ecx, 0x7f89
push ecx
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
jmp 0x1007f87b
mov ecx, 0x7f88
push ecx
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
jmp 0x1007f87b
push 0
call dword [sym.imp.USER32.dll_SetCursor]
call fcn.1007f8f0
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.1008118d
mov esp, ebp
pop ebp
ret