Function at 0x418870
Capabilities:
Check for unmoving mouse cursor
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c2b8c
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x4e84c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
push 1
movss dword [ebp - 0x28], xmm0
movss dword [ebp - 0x24], xmm0
call dword [sym.imp.USER32.dll_GetKeyState]
test al, al
jns 0x4188fc
call dword [sym.imp.USER32.dll_GetActiveWindow]
test eax, eax
je 0x4188fc
mov esi, dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x18]
push eax
call esi
mov eax, dword [edi + 0x18]
lea ecx, [edi + 0x18]
sub eax, dword [ebp - 0x18]
push ecx
movd xmm0, eax
mov eax, dword [edi + 0x1c]
sub eax, dword [ebp - 0x14]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x28], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x24], xmm0
jmp 0x418906
mov esi, dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [edi + 0x18]
push eax
call esi
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
test al, al
jns 0x418924
call dword [sym.imp.USER32.dll_GetActiveWindow]
test eax, eax
je 0x418924
lea eax, [ebp - 0x18]
push eax
call esi
lea eax, [edi + 0x20]
push eax
call esi
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x4ec454]
cmp eax, dword [ecx + 8]
jle 0x418976
push 0x4ec454
call fcn.0049c29e
add esp, 4
cmp dword [0x4ec454], 0xffffffff
jne 0x418976
xorps xmm0, xmm0
push 0x4c7430
movups xmmword [0x4ec458], xmm0
call fcn.0049c5b0
push 0x4ec454
call fcn.0049c254
add esp, 8
push 1
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x40]
push 0x4d8368
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00405510
mov eax, 1
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x40]
push eax
call fcn.0042ef00
test al, al
jne 0x418b92
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x4ec454]
cmp eax, dword [ecx + 8]
jle 0x418a0d
push 0x4ec454
call fcn.0049c29e
add esp, 4
cmp dword [0x4ec454], 0xffffffff
jne 0x418a0d
xorps xmm0, xmm0
push 0x4c7430
movups xmmword [0x4ec458], xmm0
call fcn.0049c5b0
push 0x4ec454
call fcn.0049c254
add esp, 8
push 1
mov dword [ebp - 0x88], 0
lea ecx, [ebp - 0x88]
push 0x4d8650
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
call fcn.00405510
mov eax, 3
mov dword [ebp - 4], 1
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x88]
push eax
call fcn.0042ef00
test al, al
jne 0x418b92
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x4ec454]
cmp eax, dword [ecx + 8]
jle 0x418ab0
push 0x4ec454
call fcn.0049c29e
add esp, 4
cmp dword [0x4ec454], 0xffffffff
jne 0x418ab0
xorps xmm0, xmm0
push 0x4c7430
movups xmmword [0x4ec458], xmm0
call fcn.0049c5b0
push 0x4ec454
call fcn.0049c254
add esp, 8
push 1
mov dword [ebp - 0x70], 0
lea ecx, [ebp - 0x70]
push 0x4d834c
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
call fcn.00405510
mov eax, 7
mov dword [ebp - 4], 2
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x70]
push eax
call fcn.0042ef00
test al, al
jne 0x418b92
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x4ec454]
cmp eax, dword [ecx + 8]
jle 0x418b47
push 0x4ec454
call fcn.0049c29e
add esp, 4
cmp dword [0x4ec454], 0xffffffff
jne 0x418b47
xorps xmm0, xmm0
push 0x4c7430
movups xmmword [0x4ec458], xmm0
call fcn.0049c5b0
push 0x4ec454
call fcn.0049c254
add esp, 8
push 1
mov dword [ebp - 0x58], 0
lea ecx, [ebp - 0x58]
push 0x4d82d4
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.00405510
mov eax, 0xf
mov dword [ebp - 4], 3
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x58]
push eax
call fcn.0042ef00
mov byte [ebp - 0x19], 0
test al, al
je 0x418b96
mov byte [ebp - 0x19], 1
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x20]
test al, 8
je 0x418be1
mov edx, dword [ebp - 0x44]
and eax, 0xfffffff7
mov dword [ebp - 0x20], eax
cmp edx, 0x10
jb 0x418be1
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x418bd4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419089
push edx
push ecx
call fcn.0049c10a
mov eax, dword [ebp - 0x20]
add esp, 8
mov dword [ebp - 4], 1
test al, 4
je 0x418c29
mov edx, dword [ebp - 0x5c]
and eax, 0xfffffffb
mov dword [ebp - 0x20], eax
cmp edx, 0x10
jb 0x418c29
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x418c1c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419089
push edx
push ecx
call fcn.0049c10a
mov eax, dword [ebp - 0x20]
add esp, 8
mov dword [ebp - 4], 0
test al, 2
je 0x418c74
mov edx, dword [ebp - 0x74]
and eax, 0xfffffffd
mov dword [ebp - 0x20], eax
cmp edx, 0x10
jb 0x418c74
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x418c67
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419089
push edx
push ecx
call fcn.0049c10a
mov eax, dword [ebp - 0x20]
add esp, 8
mov dword [ebp - 4], 0xffffffff
test al, 1
je 0x418cb3
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x418cb3
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x418ca9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419089
push edx
push ecx
call fcn.0049c10a
add esp, 8
cmp byte [ebp - 0x19], 0
je 0x418d36
mov ecx, dword [edi + 0xc]
lea eax, [ebp - 0x4c]
push eax
call fcn.004330a0
movss xmm0, dword [eax + 4]
movss dword [ebp - 0x14], xmm0
call fcn.00419090
movss xmm1, dword [ebp - 0x14]
mov esi, dword [edi + 0xc]
subss xmm1, xmm0
addss xmm1, dword [0x4da728]
movaps xmm0, xmm1
movss dword [ebp - 0x14], xmm1
call fcn.00412bb0
mulss xmm0, dword [edi + 0x10]
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [ebp - 0x14]
call fcn.00412b90
mulss xmm0, dword [edi + 0x10]
xorps xmm1, xmm1
addss xmm0, dword [esi]
movss dword [esi], xmm0
movss xmm0, dword [esi + 4]
addss xmm0, xmm1
movss dword [esi + 4], xmm0
movss xmm0, dword [ebp - 0x20]
addss xmm0, dword [esi + 8]
movss dword [esi + 8], xmm0
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 1
call esi
test al, al
jns 0x418e59
push 2
call esi
test al, al
jns 0x418e59
movss xmm0, dword [edi + 0x10]
lea eax, [ebp - 0x4c]
mov esi, dword [edi + 0xc]
mov ecx, esi
push eax
movss dword [ebp - 0x14], xmm0
call fcn.004330a0
mov ecx, esi
movss xmm0, dword [eax + 4]
lea eax, [ebp - 0x4c]
push eax
movss dword [ebp - 0x20], xmm0
call fcn.004330a0
movss xmm0, dword [eax + 4]
call fcn.00412bb0
mulss xmm0, dword [ebp - 0x24]
movss xmm1, dword [esi + 4]
mulss xmm0, dword [ebp - 0x14]
addss xmm0, dword [esi]
movss dword [esi], xmm0
xorps xmm0, xmm0
addss xmm1, xmm0
movss xmm0, dword [ebp - 0x20]
movss dword [esi + 4], xmm1
call fcn.00412b90
mulss xmm0, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
mulss xmm0, dword [ebp - 0x14]
addss xmm0, dword [esi + 8]
movss dword [esi + 8], xmm0
movss xmm0, dword [edi + 0x10]
mov esi, dword [edi + 0xc]
mov ecx, esi
movss dword [ebp - 0x24], xmm0
call fcn.004330a0
mov ecx, esi
movss xmm0, dword [eax + 4]
lea eax, [ebp - 0x4c]
push eax
movss dword [ebp - 0x14], xmm0
call fcn.004330a0
movss xmm0, dword [eax + 4]
addss xmm0, dword [0x4da728]
call fcn.00412bb0
mulss xmm0, dword [ebp - 0x28]
movss xmm1, dword [esi + 4]
mulss xmm0, dword [ebp - 0x24]
addss xmm0, dword [esi]
movss dword [esi], xmm0
xorps xmm0, xmm0
addss xmm1, xmm0
movss xmm0, dword [ebp - 0x14]
addss xmm0, dword [0x4da728]
movss dword [esi + 4], xmm1
call fcn.00412b90
mulss xmm0, dword [ebp - 0x28]
mulss xmm0, dword [ebp - 0x24]
addss xmm0, dword [esi + 8]
movss dword [esi + 8], xmm0
jmp 0x41906e
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x4ec454]
cmp eax, dword [ecx + 8]
jle 0x418ea5
push 0x4ec454
call fcn.0049c29e
add esp, 4
cmp dword [0x4ec454], 0xffffffff
jne 0x418ea5
xorps xmm0, xmm0
push 0x4c7430
movups xmmword [0x4ec458], xmm0
call fcn.0049c5b0
push 0x4ec454
call fcn.0049c254
add esp, 8
push 5
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x40]
push 0x4d7ea0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00405510
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 4
push eax
call fcn.0042ef00
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 0x19], al
cmp edx, 0x10
jb 0x418f1e
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x418f11
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419089
push edx
push ecx
call fcn.0049c10a
mov al, byte [ebp - 0x19]
add esp, 8
test al, al
je 0x418f54
mov eax, dword [edi + 0xc]
xorps xmm1, xmm1
movss xmm0, dword [eax]
addss xmm0, xmm1
movss dword [eax], xmm0
movss xmm0, dword [eax + 4]
addss xmm0, dword [0x4da778]
movss dword [eax + 4], xmm0
movss xmm0, dword [eax + 8]
addss xmm0, xmm1
movss dword [eax + 8], xmm0
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x4ec454]
cmp eax, dword [ecx + 8]
jle 0x418fa0
push 0x4ec454
call fcn.0049c29e
add esp, 4
cmp dword [0x4ec454], 0xffffffff
jne 0x418fa0
xorps xmm0, xmm0
push 0x4c7430
movups xmmword [0x4ec458], xmm0
call fcn.0049c5b0
push 0x4ec454
call fcn.0049c254
add esp, 8
push 6
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x40]
push str.lshift
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00405510
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 5
push eax
call fcn.0042ef00
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 0x19], al
cmp edx, 0x10
jb 0x419012
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x419005
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419089
push edx
push ecx
call fcn.0049c10a
mov al, byte [ebp - 0x19]
add esp, 8
test al, al
je 0x419048
mov eax, dword [edi + 0xc]
xorps xmm1, xmm1
movss xmm0, dword [eax]
addss xmm0, xmm1
movss dword [eax], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, dword [0x4da778]
movss dword [eax + 4], xmm0
movss xmm0, dword [eax + 8]
addss xmm0, xmm1
movss dword [eax + 8], xmm0
movss xmm2, dword [ebp - 0x28]
xorps xmm3, xmm3
xorps xmm2, xmmword [0x4da970]
movss xmm1, dword [ebp - 0x24]
mulss xmm2, dword [edi + 0x14]
mov ecx, dword [edi + 0xc]
mulss xmm1, dword [edi + 0x14]
call fcn.00419470
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049c0fc
mov esp, ebp
pop ebp
ret
call fcn.004a1e9f
int3