Function at 0x100f8860
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push esi
mov esi, dword [0x101c93a8]
test esi, esi
je 0x100f8e54
cmp dword [0x101a7374], 0
push edi
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
je 0x100f8938
mov ecx, dword [0x101cf5b8]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test al, al
jne 0x100f8938
mov ecx, dword [0x101cf678]
mov eax, dword [ecx]
mov eax, dword [eax + 0xd4]
call eax
test al, al
jne 0x100f8938
mov eax, dword fs:[0x2c]
mov ecx, dword [0x101cf110]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x102ba188]
cmp eax, dword [ecx + 4]
jle 0x100f8909
push 0x102ba188
call fcn.10121ee8
add esp, 4
cmp dword [0x102ba188], 0xffffffff
jne 0x100f8909
push 0x102ba188
mov dword [0x102ba1b4], 0
mov dword [0x102ba1b0], 0x101a7374
call fcn.10121e9e
add esp, 4
mov eax, dword [0x102ba1b0]
cmp dword [0x102ba1b4], 0
sete byte [ebp - 1]
mov eax, dword [eax]
test eax, eax
jne 0x100f8995
mov dword [0x102ba1b4], eax
xor al, al
test al, al
je 0x100f8938
cmp byte [0x101cf721], 0
sete byte [0x101cf721]
mov ecx, dword [0x102b75b0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x7c]
call eax
test eax, eax
setne al
cmp byte [0x101cf721], 0
mov byte [ebp - 1], al
je 0x100f8e46
cmp byte [0x102b7702], 0
je 0x100f896c
cmp byte [0x102b7715], 0
jne 0x100f8980
mov ecx, esi
call fcn.10016710
shr eax, 1
test al, 1
mov al, byte [ebp - 1]
jne 0x100f8e46
test al, al
jne 0x100f89bc
push 1
mov ecx, esi
call fcn.100f82f0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push eax
call edi
shr eax, 0xf
and al, 1
movzx eax, al
mov dword [0x102ba1b4], eax
je 0x100f8924
cmp byte [ebp - 1], 0
je 0x100f8924
mov al, 1
jmp 0x100f8926
cmp byte [0x102b76b4], 0
je 0x100f89f8
mov ecx, dword [0x101cf494]
push 0x101c9400
mov eax, dword [ecx]
call dword [eax + 0x34]
cmp byte [0x102b76b5], 0
je 0x100f89f8
mov eax, dword [esi + 0x1d88]
test eax, eax
je 0x100f89f8
movss xmm0, dword [0x101c9404]
movss dword [eax + 0x80], xmm0
cmp byte [0x102b7718], 0
je 0x100f8e53
mov ecx, dword [0x101cf52c]
lea edx, [ebp - 0x38]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x4c]
call eax
movss xmm0, dword [ebp - 0x38]
lea eax, [ebp - 0x18]
movss xmm1, dword [0x10197608]
mulss xmm0, xmm1
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0x20], eax
movss dword [ebp - 0x28], xmm0
fld dword [ebp - 0x28]
fsincos
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
fstp dword [edx]
fstp dword [eax]
movss xmm0, dword [ebp - 0x34]
lea eax, [ebp - 0x1c]
mulss xmm0, xmm1
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x20], eax
movss dword [ebp - 0x28], xmm0
fld dword [ebp - 0x28]
fsincos
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
fstp dword [edx]
fstp dword [eax]
movss xmm0, dword [ebp - 0x30]
lea eax, [ebp - 0x10]
mulss xmm0, xmm1
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x20], eax
movss dword [ebp - 0x28], xmm0
fld dword [ebp - 0x28]
fsincos
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
fstp dword [edx]
fstp dword [eax]
movss xmm7, dword [ebp - 0x1c]
movss xmm6, dword [ebp - 0x14]
movaps xmm1, xmm7
mulss xmm1, dword [ebp - 0x18]
movaps xmm3, xmm6
movss xmm5, dword [ebp - 0xc]
movss xmm4, dword [ebp - 0x2c]
xorps xmm3, xmmword [0x10197f90]
movss dword [ebp - 0x20], xmm1
movaps xmm0, xmm3
movaps xmm1, xmm6
mulss xmm3, xmm4
mulss xmm1, dword [ebp - 0x18]
movss dword [ebp - 0x24], xmm1
movaps xmm1, xmm5
xorps xmm1, xmmword [0x10197f90]
movss dword [ebp - 0x28], xmm1
movss xmm1, dword [ebp - 0x10]
mulss xmm1, dword [0x101979e4]
movss dword [ebp - 8], xmm1
movaps xmm1, xmm4
mulss xmm0, dword [ebp - 8]
mulss xmm1, xmm5
movss dword [ebp - 0xc], xmm0
movss xmm2, dword [ebp - 0xc]
movaps xmm0, xmm1
mulss xmm1, xmm6
mulss xmm0, xmm7
subss xmm2, xmm0
movss xmm0, dword [ebp - 8]
mulss xmm0, xmm7
movss dword [ebp - 0xc], xmm2
subss xmm0, xmm1
movss xmm2, dword [ebp - 0x10]
movaps xmm1, xmm4
mulss xmm1, dword [0x101979e4]
mulss xmm2, xmm5
movss dword [ebp - 8], xmm0
movss xmm0, dword [ebp - 0x18]
movaps xmm5, xmm2
mulss xmm1, xmm0
mulss xmm5, xmm7
movss dword [ebp - 0x1c], xmm1
mulss xmm2, xmm6
subss xmm5, xmm3
mulss xmm4, xmm7
movss dword [ebp - 0x14], xmm5
mov eax, dword [0x101cf110]
subss xmm2, xmm4
mov ecx, dword fs:[0x2c]
movss xmm6, dword [ebp - 0x10]
mulss xmm6, xmm0
mov ecx, dword [ecx + eax*4]
mov eax, dword [0x102ba1d8]
movss dword [ebp - 0x18], xmm2
movss dword [ebp - 0x10], xmm6
cmp eax, dword [ecx + 4]
jle 0x100f8bfd
push 0x102ba1d8
call fcn.10121ee8
add esp, 4
cmp dword [0x102ba1d8], 0xffffffff
jne 0x100f8bee
push 0x102ba1d8
mov dword [0x102ba200], 0
mov dword [0x102ba1fc], 0x101a7370
call fcn.10121e9e
add esp, 4
movss xmm6, dword [ebp - 0x10]
movss xmm5, dword [ebp - 0x14]
movss xmm2, dword [ebp - 0x18]
cmp byte [0x102b76a0], 0
je 0x100f8d8d
mov eax, dword [0x102ba1fc]
mov eax, dword [eax]
test eax, eax
jne 0x100f8c1f
mov dword [0x102ba200], eax
jmp 0x100f8cc5
push eax
call edi
shr eax, 0xf
and al, 1
movzx eax, al
mov dword [0x102ba200], eax
je 0x100f8cc5
push 0x26
call edi
bt ax, 0xf
movss xmm1, dword [0x10197710]
jae 0x100f8c5c
movss xmm0, dword [0x101ccb88]
addss xmm0, xmm1
movss dword [0x101ccb88], xmm0
push 0x28
call edi
bt ax, 0xf
jae 0x100f8c7f
movss xmm0, dword [0x101ccb88]
subss xmm0, dword [0x10197710]
movss dword [0x101ccb88], xmm0
push 0x27
call edi
bt ax, 0xf
jae 0x100f8ca2
movss xmm0, dword [0x101ccb8c]
addss xmm0, dword [0x10197710]
movss dword [0x101ccb8c], xmm0
push 0x25
call edi
bt ax, 0xf
jae 0x100f8cc5
movss xmm0, dword [0x101ccb8c]
subss xmm0, dword [0x10197710]
movss dword [0x101ccb8c], xmm0
movss xmm0, dword [0x101ccb8c]
mov eax, dword [ebp + 8]
movss xmm2, dword [ebp - 0xc]
movss xmm1, dword [ebp - 8]
movss xmm4, dword [ebp - 0x1c]
movss xmm3, dword [ebp - 0x14]
mulss xmm2, xmm0
pop edi
mulss xmm1, xmm0
pop esi
addss xmm2, dword [eax + 0x40]
mulss xmm4, xmm0
addss xmm1, dword [eax + 0x44]
addss xmm4, dword [eax + 0x48]
movss dword [eax + 0x40], xmm2
movss dword [eax + 0x44], xmm1
movss dword [eax + 0x48], xmm4
movss xmm0, dword [0x101ccb88]
mulss xmm3, xmm0
addss xmm3, xmm2
movss xmm2, dword [ebp - 0x18]
mulss xmm2, xmm0
addss xmm2, xmm1
movss dword [eax + 0x40], xmm3
movss xmm1, dword [ebp - 0x10]
mulss xmm1, xmm0
movss dword [eax + 0x44], xmm2
addss xmm1, xmm4
movss xmm4, dword [ebp - 0x20]
movss dword [eax + 0x48], xmm1
movss xmm0, dword [0x101a7354]
mulss xmm4, xmm0
addss xmm4, xmm3
movss xmm3, dword [ebp - 0x24]
mulss xmm3, xmm0
addss xmm3, xmm2
movss dword [eax + 0x40], xmm4
movss xmm2, dword [ebp - 0x28]
mulss xmm2, xmm0
movss dword [eax + 0x44], xmm3
addss xmm2, xmm1
movss dword [eax + 0x48], xmm2
mov esp, ebp
pop ebp
ret 4
movss xmm0, dword [0x102b76a8]
mov eax, dword [ebp + 8]
movss xmm1, dword [ebp - 8]
movss xmm3, dword [ebp - 0xc]
movss xmm4, dword [ebp - 0x1c]
mulss xmm1, xmm0
pop edi
mulss xmm3, xmm0
pop esi
addss xmm1, dword [eax + 0x44]
mulss xmm4, xmm0
addss xmm3, dword [eax + 0x40]
addss xmm4, dword [eax + 0x48]
movss dword [eax + 0x44], xmm1
movss dword [eax + 0x40], xmm3
movss dword [eax + 0x48], xmm4
movss xmm0, dword [0x102b76c0]
mulss xmm5, xmm0
mulss xmm2, xmm0
mulss xmm6, xmm0
addss xmm5, xmm3
addss xmm2, xmm1
movss xmm1, dword [ebp - 0x20]
addss xmm6, xmm4
movss dword [eax + 0x40], xmm5
movss dword [eax + 0x44], xmm2
movss dword [eax + 0x48], xmm6
movss xmm0, dword [0x101a7354]
mulss xmm1, xmm0
addss xmm1, xmm5
movss dword [eax + 0x40], xmm1
movss xmm1, dword [ebp - 0x24]
mulss xmm1, xmm0
addss xmm1, xmm2
movss dword [eax + 0x44], xmm1
movss xmm1, dword [ebp - 0x28]
mulss xmm1, xmm0
addss xmm1, xmm6
movss dword [eax + 0x48], xmm1
mov esp, ebp
pop ebp
ret 4
test al, al
je 0x100f8e53
push 0
mov ecx, esi
call fcn.100f82f0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4