Function at 0x10079a30
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
push edi
call fcn.1004ed80
mov edi, eax
lea eax, [ebp - 0x28]
push eax
push dword [0x101a2288]
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x28]
movd xmm0, eax
lea eax, [ebp - 0x10]
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
push eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 8], xmm1
movss dword [edi + 0xc], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [0x101a2290]
mov edx, dword [ebp - 0xc]
sbb edx, dword [0x101a2294]
call fcn.100dcac0
mov edx, dword [0x101a229c]
mov ecx, dword [0x101a2298]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 4], xmm0
call fcn.100dcac0
movss xmm1, dword [ebp - 4]
cvtsd2ss xmm0, xmm0
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
divss xmm1, xmm0
movss dword [edi + 0x10], xmm1
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword [0x101a2290], eax
mov dword [0x101a2294], ecx
call esi
shr eax, 0xf
and al, 1
push 0x10
mov byte [edi + 0xf0], al
call esi
shr eax, 0xf
and al, 1
push 0x12
mov byte [edi + 0xf1], al
call esi
shr eax, 0xf
and al, 1
mov byte [edi + 0xf3], 0
mov byte [edi + 0xf2], al
call fcn.1004ed80
mov esi, eax
cmp byte [esi + 0x34b], 0
je 0x10079b4d
cvttss2si ecx, dword [esi + 0xd8]
lea eax, [ebp - 8]
push eax
push dword [0x101a2288]
mov dword [ebp - 8], ecx
cvttss2si ecx, dword [esi + 0xdc]
mov dword [ebp - 4], ecx
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 + 0xd8], 0xff7fffff
mov dword [esi + 0xdc], 0xff7fffff
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x10079bc3
mov ecx, dword [0x101a2288]
cmp eax, ecx
je 0x10079b81
push ecx
push eax
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x10079bc3
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x10079bc3
lea eax, [ebp - 0x18]
push eax
push dword [0x101a2288]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x10079bc3
movd xmm0, dword [ebp - 0x18]
movd xmm1, dword [ebp - 0x14]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [esi + 0xd8], xmm0
movss dword [esi + 0xdc], xmm1
cmp byte [edi + 0xa4], 0
je 0x10079bd1
or eax, 0xffffffff
jmp 0x10079bd6
call fcn.1004ed90
cmp dword [0x1015c31c], eax
je 0x10079d0f
mov dword [0x1015c31c], eax
call fcn.1004ed80
mov esi, eax
test byte [esi], 0x20
jne 0x10079d0f
call fcn.1004ed90
cmp eax, 0xffffffff
je 0x10079d07
cmp byte [esi + 0xa4], 0
jne 0x10079d07
mov ecx, 0x7f00
cmp eax, 7
ja case.0x10079c20.0
jmp dword [eax*4 + 0x10079d1c]
mov ecx, 0x7f01
push ecx
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
call fcn.10079d50
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, 0x7f86
push ecx
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
call fcn.10079d50
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, 0x7f84
push ecx
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
call fcn.10079d50
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, 0x7f85
push ecx
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
call fcn.10079d50
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, 0x7f83
push ecx
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
call fcn.10079d50
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, 0x7f82
push ecx
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
call fcn.10079d50
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, 0x7f89
push ecx
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
call fcn.10079d50
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0
call dword [sym.imp.USER32.dll_SetCursor]
call fcn.10079d50
pop edi
pop esi
mov esp, ebp
pop ebp
ret