Function at 0x10080700
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [0x10256160]
lea eax, [ebp - 0x28]
push esi
push edi
push eax
push dword [0x1028c0c8]
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 [0x1028c0d0]
mov esi, dword [ebp - 0x14]
mov edx, esi
sbb edx, dword [0x1028c0d4]
call fcn.100ef890
mov edx, dword [0x1028c0dc]
mov ecx, dword [0x1028c0d8]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 4], xmm0
call fcn.100ef890
movss xmm1, dword [ebp - 4]
cvtsd2ss xmm0, xmm0
push 0x11
divss xmm1, xmm0
movss dword [ebx + 0x18], xmm1
mov dword [0x1028c0d4], esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
mov dword [0x1028c0d0], edi
call esi
shr eax, 0xf
and al, 1
push 0x10
mov byte [ebx + 0xf8], al
call esi
shr eax, 0xf
and al, 1
push 0x12
mov byte [ebx + 0xf9], al
call esi
mov ecx, dword [0x10256160]
shr eax, 0xf
and al, 1
mov byte [ebx + 0xfb], 0
mov byte [ebx + 0xfa], al
cmp byte [ecx + 0x353], 0
lea esi, [ecx + 0xe0]
je 0x1008081d
cvttss2si eax, dword [esi]
mov dword [ebp - 8], eax
cvttss2si eax, dword [ecx + 0xe4]
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push dword [0x1028c0c8]
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 0x10080885
mov ecx, dword [0x1028c0c8]
cmp eax, ecx
je 0x1008084a
push ecx
push eax
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x10080885
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x10080885
lea eax, [ebp - 0x10]
push eax
push dword [0x1028c0c8]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x10080885
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 + 0xac], 0
mov eax, dword [0x10256160]
je 0x10080898
or ecx, 0xffffffff
jmp 0x1008089e
mov ecx, dword [eax + 0x1c64]
cmp dword [0x10254114], ecx
je 0x100809da
test byte [eax + 8], 0x20
mov dword [0x10254114], ecx
jne 0x100809da
mov ecx, dword [eax + 0x1c64]
cmp ecx, 0xffffffff
je 0x100809d2
cmp byte [eax + 0xac], 0
jne 0x100809d2
mov eax, 0x7f00
cmp ecx, 7
ja case.0x100808e4.0
jmp dword [ecx*4 + 0x100809e8]
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.10080490
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.10080490
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.10080490
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.10080490
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.10080490
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.10080490
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.10080490
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
call dword [sym.imp.USER32.dll_SetCursor]
call fcn.10080490
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret