Function at 0x10021a80
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10120715
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x108
cmp byte [0x10168978], 0
push esi
push edi
je 0x10021f00
push dword [0x1016897c]
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
call esi
test ax, ax
je 0x10021f00
push dword [0x10168980]
call esi
test ax, ax
je 0x10021f00
mov eax, dword [0x1016bffc]
mov ecx, dword [eax]
test ecx, ecx
je 0x10021f00
call fcn.10093ba0
test al, al
je 0x10021f00
mov ecx, dword [0x10167e4c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x10021f00
mov ecx, dword [0x10167e4c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x6c]
call eax
test al, al
je 0x10021f00
mov eax, dword [0x1016bffc]
mov ecx, dword [eax]
call fcn.10017c60
mov eax, dword [eax]
cmp eax, 0x400
je 0x10021f00
cmp eax, 8
je 0x10021f00
mov eax, dword [0x1016bffc]
mov eax, dword [eax]
cmp dword [eax + 0x25c], 9
je 0x10021f00
call fcn.10024e60
push dword [0x1016897c]
mov dword [ebp - 0x1c], eax
call esi
test ax, ax
je 0x10021f00
mov ecx, dword [0x1016bffc]
mov esi, dword [ecx]
mov ecx, esi
call fcn.10012f70
mov ecx, esi
mov edi, eax
call fcn.1003aa90
movss xmm0, dword [edi]
mov esi, dword [ebx + 8]
addss xmm0, dword [eax]
movss dword [ebp - 0x44], xmm0
movss xmm0, dword [edi + 4]
addss xmm0, dword [eax + 4]
movss dword [ebp - 0x48], xmm0
movss xmm0, dword [edi + 8]
addss xmm0, dword [eax + 8]
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [esi + 0xc]
mulss xmm0, dword [0x10151c00]
movss dword [ebp - 0x3c], xmm0
cvtps2pd xmm0, xmm0
call fcn.1011ac80
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x14], xmm0
movss xmm0, dword [esi + 0x10]
mulss xmm0, dword [0x10151c00]
movss dword [ebp - 0x38], xmm0
cvtps2pd xmm0, xmm0
call fcn.1011ac80
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movss xmm0, dword [ebp - 0x14]
mulss xmm0, xmm1
movss dword [ebp - 0x40], xmm0
movss xmm0, dword [ebp - 0x38]
call fcn.10012f10
movss xmm1, dword [ebp - 0x14]
mulss xmm1, xmm0
movss xmm0, dword [ebp - 0x3c]
movss dword [ebp - 0x14], xmm1
call fcn.10012f10
movss xmm1, dword [0x10151e5c]
movaps xmm4, xmm0
movss xmm3, dword [ebp - 0x14]
movss xmm2, dword [ebp - 0x40]
xorps xmm4, xmmword [0x101521b0]
movss xmm5, dword [ebp - 0x44]
movss xmm6, dword [ebp - 0x48]
mulss xmm2, xmm1
mov dword [ebp - 0x110], 0x7f800000
mulss xmm3, xmm1
mov dword [ebp - 0x114], 0x7f800000
mulss xmm4, xmm1
addss xmm2, xmm5
mov dword [ebp - 0x118], 0x7f800000
movss xmm1, dword [ebp - 0x18]
addss xmm3, xmm6
mov dword [ebp - 0x104], 0x7f800000
addss xmm4, xmm1
mov dword [ebp - 0x108], 0x7f800000
subss xmm2, xmm5
mov dword [ebp - 0x10c], 0x7f800000
mov dword [ebp - 0xf8], 0x7f800000
subss xmm3, xmm6
mov dword [ebp - 0xfc], 0x7f800000
mov dword [ebp - 0x100], 0x7f800000
subss xmm4, xmm1
movss dword [ebp - 0xb0], xmm2
mulss xmm2, xmm2
movss dword [ebp - 0xac], xmm3
mulss xmm3, xmm3
movaps xmm0, xmm4
mulss xmm0, xmm4
addss xmm2, xmm3
movss dword [ebp - 0x14], xmm4
movss dword [ebp - 0xa8], xmm4
addss xmm2, xmm0
xorps xmm0, xmm0
ucomiss xmm2, xmm0
lahf
test ah, 0x44
mov byte [ebp - 0x7b], 1
jp 0x10021d29
mov byte [ebp - 0x7b], 0
mov eax, dword [0x1016bffc]
lea edx, [ebp - 0x118]
mov ecx, dword [0x101682d0]
push edx
mov dword [ebp - 0x90], 0
lea edx, [ebp - 0x50]
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x80], 0
mov byte [ebp - 0x7c], 1
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0
movss dword [ebp - 0xc0], xmm5
movss dword [ebp - 0xbc], xmm6
movss dword [ebp - 0xb8], xmm1
mov dword [ebp - 0x50], 0x10146088
mov eax, dword [eax]
push edx
mov dword [ebp - 0x4c], eax
lea edx, [ebp - 0xc0]
mov eax, dword [ecx]
push 0x1400b
push edx
call dword [eax + 0x14]
movss xmm1, dword [ebp - 0x14]
xorps xmm0, xmm0
mulss xmm1, dword [ebp - 0xec]
mov ax, word [0x1014c300]
movups xmmword [ebp - 0x68], xmm0
mov dword [ebp - 0x58], 0xa
addss xmm1, dword [ebp - 0x18]
movq xmm0, qword [str.point_on:]
mov dword [ebp - 0x54], 0xf
movq qword [ebp - 0x68], xmm0
mov word [ebp - 0x60], ax
movss dword [ebp - 0x14], xmm1
mov byte [ebp - 0x5e], 0
cvtps2pd xmm0, xmm1
sub esp, 8
mov dword [ebp - 4], 0
movsd qword [esp], xmm0
push 0x10146090
call fcn.100065a0
add esp, 0xc
lea ecx, [ebp - 0x34]
mov esi, eax
push 0
push esi
call fcn.10010c60
movss xmm1, dword [ebp - 0x14]
lea ecx, [ebp - 0x34]
cmp dword [ebp - 0x20], 0xf
lea eax, [esi + 1]
cvtps2pd xmm0, xmm1
cmova ecx, dword [ebp - 0x34]
sub esp, 8
movsd qword [esp], xmm0
push 0x10146090
push eax
push ecx
call fcn.10006580
add esp, 0x14
mov byte [ebp - 4], 1
lea eax, [ebp - 0x34]
cmp dword [ebp - 0x20], 0xf
lea ecx, [ebp - 0x68]
push dword [ebp - 0x24]
cmova eax, dword [ebp - 0x34]
push eax
call fcn.10011210
cmp dword [eax + 0x14], 0xf
jbe 0x10021e7e
mov eax, dword [eax]
push eax
push 0
push 0
push dword [ebp - 0x1c]
call fcn.1001b1c0
mov ecx, dword [ebp - 0x20]
add esp, 0x10
cmp ecx, 0xf
jbe 0x10021ebe
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10021eb4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10021f15
push ecx
push edx
call fcn.100f5603
add esp, 8
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
cmp ecx, 0xf
jbe 0x10021f00
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10021ef6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10021f15
push ecx
push edx
call fcn.100f5603
add esp, 8
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.100fac9a
int3