Function at 0x1005d810
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [0x1011f930]
lea eax, [ebp - 0x28]
push esi
push edi
push eax
push dword [0x101453dc]
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 + 0x10], xmm1
movss dword [ebx + 0x14], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edi, dword [ebp - 0x18]
mov ecx, edi
sub ecx, dword [0x101453e0]
mov esi, dword [ebp - 0x14]
mov edx, esi
sbb edx, dword [0x101453e4]
call fcn.10075b80
mov edx, dword [0x101453ec]
mov ecx, dword [0x101453e8]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 4], xmm0
call fcn.10075b80
movss xmm1, dword [ebp - 4]
cvtsd2ss xmm0, xmm0
push 0x11
divss xmm1, xmm0
movss dword [ebx + 0x18], xmm1
mov dword [0x101453e4], esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
mov dword [0x101453e0], edi
call esi
shr eax, 0xf
and al, 1
push 0x10
mov byte [ebx + 0xf8], al
call esi
shr eax, 0xf
and al, 1
push 0x12
mov byte [ebx + 0xf9], al
call esi
mov ecx, dword [0x1011f930]
shr eax, 0xf
and al, 1
mov byte [ebx + 0xfb], 0
mov byte [ebx + 0xfa], al
cmp byte [ecx + 0x353], 0
lea esi, [ecx + 0xe0]
je 0x1005d92d
cvttss2si eax, dword [esi]
mov dword [ebp - 8], eax
cvttss2si eax, dword [ecx + 0xe4]
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push dword [0x101453dc]
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 0x1005d995
mov ecx, dword [0x101453dc]
cmp eax, ecx
je 0x1005d95a
push ecx
push eax
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x1005d995
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x1005d995
lea eax, [ebp - 0x10]
push eax
push dword [0x101453dc]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x1005d995
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 + 0xac], 0
mov eax, dword [0x1011f930]
je 0x1005d9a8
or ecx, 0xffffffff
jmp 0x1005d9ae
mov ecx, dword [eax + 0x1c64]
cmp dword [0x1011d98c], ecx
je 0x1005daea
test byte [eax + 8], 0x20
mov dword [0x1011d98c], ecx
jne 0x1005daea
mov ecx, dword [eax + 0x1c64]
cmp ecx, 0xffffffff
je 0x1005dae2
cmp byte [eax + 0xac], 0
jne 0x1005dae2
mov eax, 0x7f00
cmp ecx, 7
ja case.0x1005d9f4.0
jmp dword [ecx*4 + 0x1005daf8]
mov eax, 0x7f01
push eax
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
call fcn.1005d5a0
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_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
call fcn.1005d5a0
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_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
call fcn.1005d5a0
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_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
call fcn.1005d5a0
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_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
call fcn.1005d5a0
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_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
call fcn.1005d5a0
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_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
call fcn.1005d5a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
call dword [sym.imp.USER32.dll_SetCursor]
call fcn.1005d5a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret