Function at 0x1006b340
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
push edi
call fcn.1003f9a0
mov edi, eax
lea eax, [ebp - 0x28]
push eax
push dword [0x102b71c0]
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 [0x102b71c8]
mov edx, dword [ebp - 0xc]
sbb edx, dword [0x102b71cc]
call fcn.1009ec00
mov edx, dword [0x102b71d4]
mov ecx, dword [0x102b71d0]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 4], xmm0
call fcn.1009ec00
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 [0x102b71c8], eax
mov dword [0x102b71cc], 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.1003f9a0
cmp byte [eax + 0x34b], 0
lea esi, [eax + 0xd8]
je 0x1006b45d
cvttss2si eax, dword [eax + 0xdc]
cvttss2si ecx, dword [esi]
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push dword [0x102b71c0]
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 0x1006b4c5
mov ecx, dword [0x102b71c0]
cmp eax, ecx
je 0x1006b48a
push ecx
push eax
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x1006b4c5
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x1006b4c5
lea eax, [ebp - 0x18]
push eax
push dword [0x102b71c0]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x1006b4c5
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 0x1006b4d3
or eax, 0xffffffff
jmp 0x1006b4d8
call fcn.1003f9b0
cmp dword [0x1014c3ac], eax
je 0x1006b611
mov dword [0x1014c3ac], eax
call fcn.1003f9a0
mov esi, eax
test byte [esi], 0x20
jne 0x1006b611
call fcn.1003f9b0
cmp eax, 0xffffffff
je 0x1006b609
cmp byte [esi + 0xa4], 0
jne 0x1006b609
mov ecx, 0x7f00
cmp eax, 7
ja case.0x1006b522.0
jmp dword [eax*4 + 0x1006b61c]
mov ecx, 0x7f01
push ecx
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
call fcn.1006b650
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, 0x7f86
push ecx
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
call fcn.1006b650
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, 0x7f84
push ecx
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
call fcn.1006b650
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, 0x7f85
push ecx
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
call fcn.1006b650
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, 0x7f83
push ecx
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
call fcn.1006b650
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, 0x7f82
push ecx
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
call fcn.1006b650
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, 0x7f89
push ecx
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
call fcn.1006b650
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0
call dword [sym.imp.USER32.dll_SetCursor]
call fcn.1006b650
pop edi
pop esi
mov esp, ebp
pop ebp
ret