Function at 0x1005d960
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [0x100c1b8c]
lea eax, [ebp - 0x28]
push esi
push edi
push eax
push dword [0x100c1d48]
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 [0x100c1d50]
mov esi, dword [ebp - 0x14]
mov edx, esi
sbb edx, dword [0x100c1d54]
call fcn.10090f10
mov edx, dword [0x100c1d5c]
mov ecx, dword [0x100c1d58]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 4], xmm0
call fcn.10090f10
movss xmm1, dword [ebp - 4]
cvtsd2ss xmm0, xmm0
push 0x11
divss xmm1, xmm0
movss dword [ebx + 0x20], xmm1
mov dword [0x100c1d54], esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
mov dword [0x100c1d50], 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 [0x100c1b8c]
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 0x1005da7d
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 [0x100c1d48]
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 0x1005dae5
mov ecx, dword [0x100c1d48]
cmp eax, ecx
je 0x1005daaa
push ecx
push eax
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x1005dae5
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x1005dae5
lea eax, [ebp - 0x10]
push eax
push dword [0x100c1d48]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x1005dae5
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 [0x100c1b8c]
je 0x1005daf8
or ecx, 0xffffffff
jmp 0x1005dafe
mov ecx, dword [eax + 0x1cbc]
cmp dword [0x100beefc], ecx
je 0x1005dc3a
test byte [eax + 0x10], 0x20
mov dword [0x100beefc], ecx
jne 0x1005dc3a
mov ecx, dword [eax + 0x1cbc]
cmp ecx, 0xffffffff
je 0x1005dc32
cmp byte [eax + 0xb4], 0
jne 0x1005dc32
mov eax, 0x7f00
cmp ecx, 7
ja case.0x1005db44.0
jmp dword [ecx*4 + 0x1005dc48]
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.1005d6f0
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.1005d6f0
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.1005d6f0
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.1005d6f0
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.1005d6f0
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.1005d6f0
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.1005d6f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
call dword [sym.imp.USER32.dll_SetCursor]
call fcn.1005d6f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret