Function at 0x100023b0
Capabilities:
Check for foreground window switch
Check for unmoving mouse cursor
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov ebx, ecx
mov esi, edx
push edi
push 0x1001084c
mov dword [ebp - 4], ebx
lea edi, [ebx - 4]
call dword [sym.imp.USER32.dll_GetCursorPos]
push 0x1001084c
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [0x1001084c]
cmp ecx, edi
jl 0x10002412
lea eax, [edi + 0xe]
cmp ecx, eax
jg 0x10002412
mov ecx, dword [0x10010850]
cmp ecx, esi
jl 0x10002412
lea eax, [esi + 0xe]
cmp ecx, eax
jg 0x10002412
mov dword [ebp - 0xc], 0xff008ed2
mov dword [ebp - 0x10], 0xfffffffe
jmp 0x10002420
mov dword [ebp - 0xc], 0xff969696
mov dword [ebp - 0x10], 0xffffffff
mov eax, dword [ebp + 0x18]
mov edx, 0xff969696
movss xmm3, dword [0x1000d4f0]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
push ecx
mov ecx, eax
mov dword [ebp - 0x14], eax
movd xmm1, edi
cvtdq2ps xmm1, xmm1
movaps xmm2, xmm0
movss dword [ebp - 8], xmm0
movss dword [esp], xmm3
call fcn.10001a50
add esp, 4
mov edx, esi
mov ecx, edi
push dword [ebp + 0x18]
push dword [ebp - 0xc]
push 1
push 0xe
push 0xe
call fcn.100016b0
mov eax, dword [ebp - 0x10]
add esp, 0x14
add eax, ebx
push 0x1000c380
push 0xff000000
push esi
push eax
call fcn.10002010
add esp, 0x10
add ebx, 0xac
push 0x1001084c
call dword [sym.imp.USER32.dll_GetCursorPos]
push 0x1001084c
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [0x1001084c]
cmp ecx, ebx
jl 0x100024d6
lea eax, [ebx + 0xc]
cmp ecx, eax
jg 0x100024d6
mov ecx, dword [0x10010850]
cmp ecx, esi
jl 0x100024d6
lea eax, [esi + 0xc]
mov dword [ebp - 0x10], 0xff008ed2
cmp ecx, eax
jle 0x100024dd
mov dword [ebp - 0x10], 0xff969696
movss xmm0, dword [0x1000d4f0]
mov edx, 0xff969696
mov eax, dword [ebp - 4]
movaps xmm3, xmm0
movss xmm2, dword [ebp - 8]
add eax, 0xaf
movd xmm1, ebx
cvtdq2ps xmm1, xmm1
push ecx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
movss dword [esp], xmm0
call fcn.10001a50
add esp, 4
mov edx, esi
mov ecx, ebx
push dword [ebp + 0x18]
push dword [ebp - 0x10]
push 1
push 0xe
push 0xe
call fcn.100016b0
add esp, 0x14
push 0x1000c384
push 0xff000000
push esi
push dword [ebp - 0xc]
call fcn.10002010
add esp, 0x10
push 0x1001084c
call dword [sym.imp.USER32.dll_GetCursorPos]
push 0x1001084c
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [0x1001084c]
mov ebx, dword [ebp + 0x10]
cmp ecx, edi
jl 0x100025a4
lea eax, [edi + 0xe]
cmp ecx, eax
jg 0x100025a4
mov eax, dword [0x10010850]
cmp eax, esi
jl 0x100025a4
lea edi, [esi + 0xe]
cmp eax, edi
jg 0x100025a4
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x100025a7
mov eax, dword [ebx]
test eax, eax
je 0x1000259a
dec eax
mov dword [ebx], eax
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100025a7
lea edi, [esi + 0xe]
push 0x1001084c
call dword [sym.imp.USER32.dll_GetCursorPos]
push 0x1001084c
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 4]
mov edx, dword [0x1001084c]
add eax, 0xac
cmp edx, eax
jl 0x10002609
add eax, 0xe
cmp edx, eax
jg 0x10002609
mov eax, dword [0x10010850]
cmp eax, esi
jl 0x10002609
cmp eax, edi
jg 0x10002609
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x10002609
mov eax, dword [ebx]
cmp eax, dword [ebp + 0xc]
jae 0x10002601
inc eax
mov dword [ebx], eax
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp + 8]
mov edi, dword [ebp - 4]
push 0xffffffffffffffff
push esi
lea eax, [edi + 0xc]
push eax
call fcn.10002010
mov ecx, dword [ebx]
add esp, 0x10
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + ecx*4]
mov edx, ecx
lea ebx, [edx + 1]
nop dword [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x10002630
push ecx
sub edx, ebx
mov ecx, 0x21
sub ecx, edx
push 0xffffffffffffffff
push esi
lea eax, [edi + ecx*4]
add eax, ecx
push eax
call fcn.10002010
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret