Function at 0x10026780
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x1003a0b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [0x1003a568]
mov dword [ebp - 0x34], esi
push edi
test esi, esi
je 0x100267a5
mov ebx, dword [esi + 0x6c]
jmp 0x100267a7
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.1002fe70
mov edx, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x18]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 8], xmm0
call fcn.1002fe70
movss xmm1, dword [ebp - 8]
cvtsd2ss xmm0, xmm0
mov eax, dword [ebp - 0x34]
divss xmm1, xmm0
movss dword [eax + 0x18], xmm1
mov dword [ebx + 0x14], esi
mov esi, dword [0x1003a568]
mov dword [ebx + 0x10], edi
test esi, esi
je 0x10026843
mov edi, dword [esi + 0x6c]
jmp 0x10026845
xor edi, edi
mov eax, dword [edi]
mov dword [ebp - 8], eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, dword [ebp - 8]
cmp eax, ecx
jne 0x10026958
cmp byte [esi + 0x8f], 0
je 0x100268a2
cvttss2si eax, dword [esi + 0xd50]
mov dword [ebp - 0xc], eax
cvttss2si eax, dword [esi + 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 0x10026895
push dword [ebp - 8]
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_SetCursorPos]
cmp byte [esi + 0x8f], 0
jne 0x10026958
cmp byte [edi + 8], 0
jne 0x10026958
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x10026958
lea eax, [ebp - 0x20]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x10026958
mov esi, dword [0x1003a568]
xorps xmm0, xmm0
movlpd qword [ebp - 0x3c], xmm0
add esi, 0x3798
movd xmm0, dword [ebp - 0x20]
cvtdq2ps xmm0, xmm0
mov dword [ebp - 0x4c], 1
mov eax, dword [esi]
mov edi, dword [esi + 4]
mov dword [ebp - 0x48], 1
movss dword [ebp - 0x44], xmm0
movd xmm0, dword [ebp - 0x1c]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x40], xmm0
cmp eax, edi
jne 0x1002693d
lea ecx, [eax + 1]
test edi, edi
je 0x10026929
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x1002692e
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.10016700
mov eax, dword [esi]
movups xmm0, xmmword [ebp - 0x4c]
lea ecx, [eax + eax*2]
mov eax, dword [esi + 8]
movups xmmword [eax + ecx*8], xmm0
movq xmm0, qword [ebp - 0x3c]
movq qword [eax + ecx*8 + 0x10], xmm0
inc dword [esi]
mov eax, dword [0x1003a568]
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
cmp byte [eax + 0x2ec0], 0
je 0x100269a6
push 0xa0
call edi
shr eax, 0xf
test al, 1
jne 0x100269a6
mov esi, dword [0x1003a568]
xorps xmm3, xmm3
push 0
push 0x210
lea ecx, [esi + 8]
call fcn.10003b80
mov dword [esi + 0x334], 0x210
mov dword [esi + 0x8f4], 0xa0
mov eax, dword [0x1003a568]
cmp byte [eax + 0x2f00], 0
je 0x100269ee
push 0xa1
call edi
shr eax, 0xf
test al, 1
jne 0x100269ee
mov esi, dword [0x1003a568]
xorps xmm3, xmm3
push 0
push 0x214
lea ecx, [esi + 8]
call fcn.10003b80
mov dword [esi + 0x338], 0x214
mov dword [esi + 0x904], 0xa1
mov eax, dword [0x1003a568]
cmp byte [eax + 0x2ee0], 0
je 0x10026a33
push 0x5b
call edi
shr eax, 0xf
test al, 1
jne 0x10026a33
mov esi, dword [0x1003a568]
xorps xmm3, xmm3
push 0
push 0x212
lea ecx, [esi + 8]
call fcn.10003b80
mov dword [esi + 0x220], 0x212
mov dword [esi + 0x8fc], 0x5b
mov eax, dword [0x1003a568]
cmp byte [eax + 0x2f20], 0
je 0x10026a78
push 0x5c
call edi
shr eax, 0xf
test al, 1
jne 0x10026a78
mov esi, dword [0x1003a568]
xorps xmm3, xmm3
push 0
push 0x216
lea ecx, [esi + 8]
call fcn.10003b80
mov dword [esi + 0x224], 0x216
mov dword [esi + 0x90c], 0x5c
mov eax, dword [ebp - 0x34]
cmp byte [eax + 0x58], 0
je 0x10026a86
or eax, 0xffffffff
jmp 0x10026a91
mov eax, dword [0x1003a568]
mov eax, dword [eax + 0x4150]
cmp dword [ebx + 0x20], eax
je 0x10026a9e
mov dword [ebx + 0x20], eax
call fcn.10026090
call fcn.100261c0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002ebc0
mov esp, ebp
pop ebp
ret