Function at 0x1000e260
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
mov esi, dword [0x10050da8]
mov dword [ebp - 4], esi
push edi
test esi, esi
je 0x1000e27b
mov ebx, dword [esi + 0x6c]
jmp 0x1000e27d
xor ebx, ebx
lea eax, [ebp - 0x30]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x30], xmm0
push dword [ebx]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x30]
movd xmm1, eax
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x2c]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
lea eax, [ebp - 0x18]
cvtdq2ps xmm0, xmm0
push eax
movss dword [esi + 0x10], xmm1
movss dword [esi + 0x14], xmm0
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edi, dword [ebp - 0x18]
mov ecx, edi
sub ecx, dword [ebx + 0x10]
mov esi, dword [ebp - 0x14]
mov edx, esi
sbb edx, dword [ebx + 0x14]
call fcn.10044a10
mov edx, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x18]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 8], xmm0
call fcn.10044a10
movss xmm1, dword [ebp - 8]
cvtsd2ss xmm0, xmm0
mov eax, dword [ebp - 4]
divss xmm1, xmm0
movss dword [eax + 0x18], xmm1
mov dword [ebx + 0x10], edi
mov edi, dword [0x10050da8]
mov dword [ebx + 0x14], esi
test edi, edi
je 0x1000e319
mov esi, dword [edi + 0x6c]
jmp 0x1000e31b
xor esi, esi
mov eax, dword [esi]
mov dword [ebp - 8], eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, dword [ebp - 8]
cmp eax, ecx
jne 0x1000e42c
cmp byte [edi + 0x8f], 0
je 0x1000e378
cvttss2si eax, dword [edi + 0xd50]
mov dword [ebp - 0xc], eax
cvttss2si eax, dword [edi + 0xd54]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push ecx
call dword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x1000e36b
push dword [ebp - 8]
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_SetCursorPos]
cmp byte [edi + 0x8f], 0
jne 0x1000e42c
cmp byte [esi + 8], 0
jne 0x1000e42c
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x1000e42c
lea eax, [ebp - 0x20]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x1000e42c
mov esi, dword [0x10050da8]
xorps xmm0, xmm0
movlpd qword [ebp - 0x38], xmm0
add esi, 0x3798
movd xmm0, dword [ebp - 0x20]
cvtdq2ps xmm0, xmm0
mov dword [ebp - 0x48], 1
mov ecx, dword [esi]
mov edi, dword [esi + 4]
mov dword [ebp - 0x44], 1
movss dword [ebp - 0x40], xmm0
movd xmm0, dword [ebp - 0x1c]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x3c], xmm0
cmp ecx, edi
jne 0x1000e40f
inc ecx
test edi, edi
je 0x1000e3fd
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x1000e402
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.10024500
mov eax, dword [esi]
movups xmm0, xmmword [ebp - 0x48]
lea ecx, [eax + eax*2]
mov eax, dword [esi + 8]
movups xmmword [eax + ecx*8], xmm0
movq xmm0, qword [ebp - 0x38]
movq qword [eax + ecx*8 + 0x10], xmm0
inc dword [esi]
mov eax, dword [0x10050da8]
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
cmp byte [eax + 0x2ec0], 0
je 0x1000e47a
push 0xa0
call edi
shr eax, 0xf
test al, 1
jne 0x1000e47a
mov esi, dword [0x10050da8]
xorps xmm3, xmm3
push 0
push 0x210
lea ecx, [esi + 8]
call fcn.10011230
mov dword [esi + 0x334], 0x210
mov dword [esi + 0x8f4], 0xa0
mov eax, dword [0x10050da8]
cmp byte [eax + 0x2f00], 0
je 0x1000e4c2
push 0xa1
call edi
shr eax, 0xf
test al, 1
jne 0x1000e4c2
mov esi, dword [0x10050da8]
xorps xmm3, xmm3
push 0
push 0x214
lea ecx, [esi + 8]
call fcn.10011230
mov dword [esi + 0x338], 0x214
mov dword [esi + 0x904], 0xa1
mov eax, dword [0x10050da8]
cmp byte [eax + 0x2ee0], 0
je 0x1000e507
push 0x5b
call edi
shr eax, 0xf
test al, 1
jne 0x1000e507
mov esi, dword [0x10050da8]
xorps xmm3, xmm3
push 0
push 0x212
lea ecx, [esi + 8]
call fcn.10011230
mov dword [esi + 0x220], 0x212
mov dword [esi + 0x8fc], 0x5b
mov eax, dword [0x10050da8]
cmp byte [eax + 0x2f20], 0
je 0x1000e54c
push 0x5c
call edi
shr eax, 0xf
test al, 1
jne 0x1000e54c
mov esi, dword [0x10050da8]
xorps xmm3, xmm3
push 0
push 0x216
lea ecx, [esi + 8]
call fcn.10011230
mov dword [esi + 0x224], 0x216
mov dword [esi + 0x90c], 0x5c
mov eax, dword [ebp - 4]
cmp byte [eax + 0x58], 0
je 0x1000e55a
or eax, 0xffffffff
jmp 0x1000e565
mov eax, dword [0x10050da8]
mov eax, dword [eax + 0x4150]
cmp dword [ebx + 0x20], eax
je 0x1000e572
mov dword [ebx + 0x20], eax
call fcn.1000db90
call fcn.1000dcc0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret