Function at 0x1002b6d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [0x10072040]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
mov esi, dword [0x10072700]
mov dword [esp + 8], esi
push edi
test esi, esi
je 0x1002b6fa
mov ebx, dword [esi + 0x74]
jmp 0x1002b6fc
xor ebx, ebx
lea eax, [esp + 0x10]
xorps xmm0, xmm0
push eax
movups xmmword [esp + 0x14], xmm0
push dword [ebx]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x10]
movd xmm1, eax
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x14]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
lea eax, [esp + 0x28]
cvtdq2ps xmm0, xmm0
push eax
movss dword [esi + 0x10], xmm1
movss dword [esi + 0x14], xmm0
xorps xmm0, xmm0
movlpd qword [esp + 0x2c], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edi, dword [esp + 0x28]
mov ecx, edi
sub ecx, dword [ebx + 0x10]
mov esi, dword [esp + 0x2c]
mov edx, esi
sbb edx, dword [ebx + 0x14]
call fcn.1004a990
mov edx, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x18]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x20], xmm0
call fcn.1004a990
movss xmm1, dword [esp + 0x20]
cvtsd2ss xmm0, xmm0
mov eax, dword [esp + 0xc]
divss xmm1, xmm0
movss dword [eax + 0x18], xmm1
mov dword [ebx + 0x14], esi
mov esi, dword [0x10072700]
mov dword [ebx + 0x10], edi
test esi, esi
je 0x1002b7a5
mov edi, dword [esi + 0x74]
jmp 0x1002b7a7
xor edi, edi
mov eax, dword [edi]
mov dword [esp + 0x20], eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, dword [esp + 0x20]
cmp eax, ecx
jne 0x1002b847
cmp byte [esi + 0x97], 0
je 0x1002b807
cvttss2si eax, dword [esi + 0xdb8]
mov dword [esp + 0x20], eax
cvttss2si eax, dword [esi + 0xdbc]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x1002b7fe
push dword [esp + 0x24]
push dword [esp + 0x24]
call dword [sym.imp.USER32.dll_SetCursorPos]
cmp byte [esi + 0x97], 0
jne 0x1002b847
cmp byte [edi + 8], 0
jne 0x1002b847
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x1002b847
lea eax, [esp + 0x34]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x1002b847
movd xmm2, dword [esp + 0x38]
lea ecx, [esi + 8]
movd xmm1, dword [esp + 0x34]
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm1, xmm1
call fcn.100030a0
mov eax, dword [0x10072700]
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
cmp byte [eax + 0x2ed8], 0
je 0x1002b8a7
cmp byte [eax + 0x3f78], 0
jne 0x1002b8a7
push 0xa0
call edi
shr eax, 0xf
test al, 1
jne 0x1002b8a7
mov esi, dword [0x10072700]
cmp byte [esi + 0x3769], 0
je 0x1002b893
push 0
push 0x210
xorps xmm3, xmm3
lea ecx, [esi + 8]
call fcn.10002f80
mov dword [esi + 0x33c], 0x210
mov dword [esi + 0x8fc], 0xa0
mov eax, dword [0x10072700]
cmp byte [eax + 0x2f18], 0
je 0x1002b901
cmp byte [eax + 0x3fa8], 0
jne 0x1002b901
push 0xa1
call edi
shr eax, 0xf
test al, 1
jne 0x1002b901
mov esi, dword [0x10072700]
cmp byte [esi + 0x3769], 0
je 0x1002b8ed
push 0
push 0x214
xorps xmm3, xmm3
lea ecx, [esi + 8]
call fcn.10002f80
mov dword [esi + 0x340], 0x214
mov dword [esi + 0x90c], 0xa1
mov eax, dword [0x10072700]
cmp byte [eax + 0x2ef8], 0
je 0x1002b958
cmp byte [eax + 0x3f90], 0
jne 0x1002b958
push 0x5b
call edi
shr eax, 0xf
test al, 1
jne 0x1002b958
mov esi, dword [0x10072700]
cmp byte [esi + 0x3769], 0
je 0x1002b944
push 0
push 0x212
xorps xmm3, xmm3
lea ecx, [esi + 8]
call fcn.10002f80
mov dword [esi + 0x228], 0x212
mov dword [esi + 0x904], 0x5b
mov eax, dword [0x10072700]
cmp byte [eax + 0x2f38], 0
je 0x1002b9af
cmp byte [eax + 0x3fc0], 0
jne 0x1002b9af
push 0x5c
call edi
shr eax, 0xf
test al, 1
jne 0x1002b9af
mov esi, dword [0x10072700]
cmp byte [esi + 0x3769], 0
je 0x1002b99b
push 0
push 0x216
xorps xmm3, xmm3
lea ecx, [esi + 8]
call fcn.10002f80
mov dword [esi + 0x22c], 0x216
mov dword [esi + 0x914], 0x5c
mov eax, dword [esp + 0xc]
cmp byte [eax + 0x60], 0
je 0x1002b9be
or eax, 0xffffffff
jmp 0x1002b9c9
mov eax, dword [0x10072700]
mov eax, dword [eax + 0x492c]
cmp dword [ebx + 0x20], eax
je 0x1002b9d6
mov dword [ebx + 0x20], eax
call fcn.1002af30
call fcn.1002b060
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10049591
mov esp, ebp
pop ebp
ret