Function at 0x1002e3c0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x24
mov eax, dword [0x100b9b80]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
call fcn.10014460
test eax, eax
je 0x1002e3e2
call fcn.10014920
mov ebx, dword [eax + 0x70]
jmp 0x1002e3e4
xor ebx, ebx
push ebp
push esi
push edi
call fcn.10014920
mov ebp, eax
xorps xmm0, xmm0
lea eax, [esp + 0x20]
push eax
movups xmmword [esp + 0x24], xmm0
push dword [ebx]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x20]
movd xmm0, eax
lea eax, [esp + 0x18]
cvtdq2ps xmm0, xmm0
push eax
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
movss dword [ebp + 0xc], xmm0
xorps xmm0, xmm0
movss dword [ebp + 8], xmm1
movlpd qword [esp + 0x1c], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [esp + 0x18]
sub ecx, dword [ebx + 0x10]
mov edx, dword [esp + 0x1c]
sbb edx, dword [ebx + 0x14]
call fcn.10093b60
mov edx, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x18]
movss dword [esp + 0x10], xmm0
call fcn.10093b60
movss xmm1, dword [esp + 0x10]
divss xmm1, xmm0
movss dword [ebp + 0x10], xmm1
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], ecx
call fcn.10014460
test eax, eax
je 0x1002e493
call fcn.10014920
mov edi, dword [eax + 0x70]
jmp 0x1002e495
xor edi, edi
call fcn.10014920
mov esi, eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, dword [edi]
cmp eax, ecx
jne 0x1002e541
cmp byte [esi + 0x99], 0
je 0x1002e4f4
cvttss2si eax, dword [esi + 0xc0]
mov dword [esp + 0x10], eax
cvttss2si eax, dword [esi + 0xc4]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10]
push eax
push ecx
call dword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x1002e4eb
push dword [esp + 0x14]
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_SetCursorPos]
cmp byte [esi + 0x99], 0
jne 0x1002e541
cmp dword [edi + 8], 0
jne 0x1002e541
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x1002e541
lea eax, [esp + 0x10]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x1002e541
movd xmm0, dword [esp + 0x14]
sub esp, 8
cvtdq2ps xmm0, xmm0
mov ecx, esi
movss dword [esp + 4], xmm0
movd xmm0, dword [esp + 0x18]
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
call fcn.10008da0
push 0x210
call fcn.10018550
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
add esp, 4
test al, al
je 0x1002e590
push 0xa0
call edi
shr eax, 0xf
test al, 1
jne 0x1002e590
call fcn.10014920
mov esi, eax
push 0
push 0x210
mov ecx, esi
call fcn.10008be0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xa0
push 0x210
mov ecx, esi
call fcn.100239f0
push 0x214
call fcn.10018550
add esp, 4
test al, al
je 0x1002e5d9
push 0xa1
call edi
shr eax, 0xf
test al, 1
jne 0x1002e5d9
call fcn.10014920
mov esi, eax
push 0
push 0x214
mov ecx, esi
call fcn.10008be0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xa1
push 0x214
mov ecx, esi
call fcn.100239f0
push 0x212
call fcn.10018550
add esp, 4
test al, al
je 0x1002e61c
push 0x5b
call edi
shr eax, 0xf
test al, 1
jne 0x1002e61c
call fcn.10014920
mov esi, eax
push 0
push 0x212
mov ecx, esi
call fcn.10008be0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x5b
push 0x212
mov ecx, esi
call fcn.100239f0
push 0x216
call fcn.10018550
add esp, 4
test al, al
je 0x1002e65f
push 0x5c
call edi
shr eax, 0xf
test al, 1
jne 0x1002e65f
call fcn.10014920
mov esi, eax
push 0
push 0x216
mov ecx, esi
call fcn.10008be0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x5c
push 0x216
mov ecx, esi
call fcn.100239f0
cmp byte [ebp + 0x3c], 0
pop edi
pop esi
pop ebp
je 0x1002e66d
or eax, 0xffffffff
jmp 0x1002e672
call fcn.10014df0
cmp dword [ebx + 0x20], eax
je 0x1002e67f
mov dword [ebx + 0x20], eax
call fcn.1002ec40
call fcn.1002e6f0
mov ecx, dword [esp + 0x24]
pop ebx
xor ecx, esp
call fcn.10092be1
add esp, 0x24
ret