Function at 0x100513b0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
mov ebx, dword [0x100eea8c]
lea eax, [esp + 0x20]
push esi
push edi
push eax
push dword [0x100f202c]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x28]
movd xmm1, eax
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x2c]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
lea eax, [esp + 0x20]
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 [esp + 0x20]
mov ecx, edi
sub ecx, dword [0x100f2030]
mov esi, dword [esp + 0x24]
mov edx, esi
sbb edx, dword [0x100f2034]
call fcn.100c3180
mov edx, dword [0x100f203c]
mov ecx, dword [0x100f2038]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x10], xmm0
call fcn.100c3180
movss xmm1, dword [esp + 0x10]
cvtsd2ss xmm0, xmm0
push 0x11
divss xmm1, xmm0
movss dword [ebx + 0x18], xmm1
mov dword [0x100f2034], esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
mov dword [0x100f2030], 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 esi, dword [0x100eea8c]
shr eax, 0xf
and al, 1
mov byte [ebx + 0xfb], 0
mov byte [ebx + 0xfa], al
cmp byte [esi + 0x353], 0
je 0x100514dd
cvttss2si eax, dword [esi + 0xe0]
mov dword [esp + 0x10], eax
cvttss2si eax, dword [esi + 0xe4]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10]
push eax
push dword [0x100f202c]
call dword [sym.imp.USER32.dll_ClientToScreen]
push dword [esp + 0x14]
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_SetCursorPos]
mov dword [esi + 0xe0], 0xff7fffff
mov dword [esi + 0xe4], 0xff7fffff
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x10051557
mov ecx, dword [0x100f202c]
cmp eax, ecx
je 0x10051511
push ecx
push eax
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x10051557
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x10051557
lea eax, [esp + 0x18]
push eax
push dword [0x100f202c]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x10051557
movd xmm0, dword [esp + 0x18]
movd xmm1, dword [esp + 0x1c]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [esi + 0xe0], xmm0
movss dword [esi + 0xe4], xmm1
cmp byte [ebx + 0xac], 0
mov eax, dword [0x100eea8c]
je 0x1005156a
or ecx, 0xffffffff
jmp 0x10051570
mov ecx, dword [eax + 0x1c64]
cmp dword [0x100ecb24], ecx
je 0x100516ac
test byte [eax + 8], 0x20
mov dword [0x100ecb24], ecx
jne 0x100516ac
mov ecx, dword [eax + 0x1c64]
cmp ecx, 0xffffffff
je 0x100516a4
cmp byte [eax + 0xac], 0
jne 0x100516a4
mov eax, 0x7f00
cmp ecx, 7
ja case.0x100515b6.0
jmp dword [ecx*4 + 0x100516b8]
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.10051140
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.10051140
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.10051140
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.10051140
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.10051140
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.10051140
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.10051140
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
call dword [sym.imp.USER32.dll_SetCursor]
call fcn.10051140
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret