Function at 0x1007d6c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [0x10105adc]
lea eax, [ebp - 0x28]
push esi
push edi
push eax
push dword [0x1010ab4c]
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 + 0x18], xmm1
movss dword [ebx + 0x1c], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edi, dword [ebp - 0x18]
mov ecx, edi
sub ecx, dword [0x1010ab50]
mov esi, dword [ebp - 0x14]
mov edx, esi
sbb edx, dword [0x1010ab54]
call fcn.10097a00
mov edx, dword [0x1010ab5c]
mov ecx, dword [0x1010ab58]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 4], xmm0
call fcn.10097a00
movss xmm1, dword [ebp - 4]
cvtsd2ss xmm0, xmm0
push 0x11
divss xmm1, xmm0
movss dword [ebx + 0x20], xmm1
mov dword [0x1010ab54], esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
mov dword [0x1010ab50], 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 [0x10105adc]
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 0x1007d7dd
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 [0x1010ab4c]
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 0x1007d845
mov ecx, dword [0x1010ab4c]
cmp eax, ecx
je 0x1007d80a
push ecx
push eax
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x1007d845
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x1007d845
lea eax, [ebp - 0x10]
push eax
push dword [0x1010ab4c]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x1007d845
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 + 0xb4], 0
mov eax, dword [0x10105adc]
je 0x1007d858
or ecx, 0xffffffff
jmp 0x1007d85e
mov ecx, dword [eax + 0x1c74]
cmp dword [0x10103d04], ecx
je 0x1007d99a
test byte [eax + 0x10], 0x20
mov dword [0x10103d04], ecx
jne 0x1007d99a
mov ecx, dword [eax + 0x1c74]
cmp ecx, 0xffffffff
je 0x1007d992
cmp byte [eax + 0xb4], 0
jne 0x1007d992
mov eax, 0x7f00
cmp ecx, 7
ja case.0x1007d8a4.0
jmp dword [ecx*4 + 0x1007d9a8]
mov eax, 0x7f01
push eax
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
call fcn.1007d450
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_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
call fcn.1007d450
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_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
call fcn.1007d450
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_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
call fcn.1007d450
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_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
call fcn.1007d450
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_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
call fcn.1007d450
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_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
call fcn.1007d450
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
call dword [sym.imp.USER32.dll_SetCursor]
call fcn.1007d450
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret