Function at 0x10073660
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
push edi
call fcn.100494a0
mov edi, eax
lea eax, [ebp - 0x28]
push eax
push dword [0x10307a88]
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 [0x10307a90]
mov edx, dword [ebp - 0xc]
sbb edx, dword [0x10307a94]
call fcn.1008b480
mov edx, dword [0x10307a9c]
mov ecx, dword [0x10307a98]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 4], xmm0
call fcn.1008b480
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 [0x10307a90], eax
mov dword [0x10307a94], 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.100494a0
cmp byte [eax + 0x34b], 0
lea esi, [eax + 0xd8]
je 0x1007377d
cvttss2si eax, dword [eax + 0xdc]
cvttss2si ecx, dword [esi]
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push dword [0x10307a88]
mov dword [ebp - 8], 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], 0xff7fffff
mov dword [esi + 4], 0xff7fffff
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x100737e5
mov ecx, dword [0x10307a88]
cmp eax, ecx
je 0x100737aa
push ecx
push eax
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x100737e5
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x100737e5
lea eax, [ebp - 0x18]
push eax
push dword [0x10307a88]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x100737e5
movd xmm0, dword [ebp - 0x18]
movd xmm1, dword [ebp - 0x14]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [esi], xmm0
movss dword [esi + 4], xmm1
cmp byte [edi + 0xa4], 0
je 0x100737f3
or eax, 0xffffffff
jmp 0x100737f8
call fcn.100494b0
cmp dword [0x100e274c], eax
je 0x10073931
mov dword [0x100e274c], eax
call fcn.100494a0
mov esi, eax
test byte [esi], 0x20
jne 0x10073931
call fcn.100494b0
cmp eax, 0xffffffff
je 0x10073929
cmp byte [esi + 0xa4], 0
jne 0x10073929
mov ecx, 0x7f00
cmp eax, 7
ja case.0x10073842.0
jmp dword [eax*4 + 0x1007393c]
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.10073970
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.10073970
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.10073970
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.10073970
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.10073970
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.10073970
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.10073970
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0
call dword [sym.imp.USER32.dll_SetCursor]
call fcn.10073970
pop edi
pop esi
mov esp, ebp
pop ebp
ret