Function at 0x10168a30
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push edi
mov edi, dword [0x102412a0]
test edi, edi
je 0x10169039
cmp dword [0x10300a2c], 0
push esi
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
je 0x10168b0c
mov ecx, dword [0x102fd8c0]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test al, al
jne 0x10168b0c
mov ecx, dword [0x102fd964]
mov eax, dword [ecx]
mov eax, dword [eax + 0xd4]
call eax
test al, al
jne 0x10168b0c
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10243ad0]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1030752c]
cmp eax, dword [ecx + 4]
jle 0x10168ad9
push 0x1030752c
call fcn.10189be4
add esp, 4
cmp dword [0x1030752c], 0xffffffff
jne 0x10168ad9
push 0x1030752c
mov dword [0x10307564], 0
mov dword [0x10307560], 0x10300a2c
call fcn.10189b93
add esp, 4
mov eax, dword [0x10307560]
cmp dword [0x10307564], 0
sete byte [ebp - 1]
mov eax, dword [eax]
test eax, eax
jne 0x10168de4
mov dword [0x10307564], eax
xor al, al
test al, al
je 0x10168b0c
cmp byte [0x1030104c], 0
sete byte [0x1030104c]
mov eax, dword [0x103018dc]
test eax, eax
je 0x10168b32
push eax
call esi
test ax, ax
jns 0x10168b32
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0x10
push eax
mov ecx, 0x102412c0
call fcn.10185800
cmp byte [0x1030104c], 0
jne 0x10168b48
cmp byte [0x102fda65], 0
mov byte [ebp - 1], 0
je 0x10168b4c
mov byte [ebp - 1], 1
mov ecx, dword [0x102fdb74]
mov eax, dword [ecx]
mov eax, dword [eax + 0x7c]
call eax
cmp byte [ebp - 1], 0
mov dword [ebp - 0x28], eax
jne 0x10168e0b
test eax, eax
je 0x10169038
push 0
mov ecx, edi
call fcn.10167c60
cmp byte [0x10301838], 0
je 0x10168bb3
mov ecx, dword [0x10243ea4]
push 0x102413d0
mov eax, dword [ecx]
call dword [eax + 0x34]
cmp byte [0x10301814], 0
je 0x10168bb3
mov eax, dword [edi + 0x1d88]
test eax, eax
je 0x10168bb3
movss xmm0, dword [0x102413d4]
movss dword [eax + 0x80], xmm0
cmp dword [ebp - 0x28], 0
je 0x10169038
cmp byte [0x10300978], 0
je 0x10169038
mov ecx, dword [0x10243e1c]
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 [0x1022b630]
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 [0x1022bdc0]
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 [0x1022bdc0]
movss dword [ebp - 0x28], xmm1
movss xmm1, dword [ebp - 0x10]
mulss xmm1, dword [0x1022ba08]
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 [0x1022ba08]
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 [0x10243ad0]
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 [0x10307514]
movss dword [ebp - 0x18], xmm2
movss dword [ebp - 0x10], xmm6
cmp eax, dword [ecx + 4]
jle 0x10168dc2
push 0x10307514
call fcn.10189be4
add esp, 4
cmp dword [0x10307514], 0xffffffff
jne 0x10168db3
push 0x10307514
mov dword [0x10307510], 0
mov dword [0x1030750c], 0x103009e4
call fcn.10189b93
add esp, 4
movss xmm6, dword [ebp - 0x10]
movss xmm5, dword [ebp - 0x14]
movss xmm2, dword [ebp - 0x18]
cmp byte [0x103019d8], 0
je 0x10168f87
mov eax, dword [0x1030750c]
mov eax, dword [eax]
test eax, eax
jne 0x10168e21
mov dword [0x10307510], eax
jmp 0x10168ebf
push eax
call esi
shr eax, 0xf
and al, 1
movzx eax, al
mov dword [0x10307564], eax
je 0x10168af8
cmp byte [ebp - 1], 0
je 0x10168af8
mov al, 1
jmp 0x10168afa
test eax, eax
jne 0x10168b77
push 1
mov ecx, edi
call fcn.10167c60
jmp 0x10168bb3
push eax
call esi
shr eax, 0xf
and al, 1
movzx eax, al
mov dword [0x10307510], eax
je 0x10168ebf
push 0x26
call esi
movss xmm1, dword [0x1022b730]
test ax, ax
jns 0x10168e5c
movss xmm0, dword [0x102fe0b0]
addss xmm0, xmm1
movss dword [0x102fe0b0], xmm0
push 0x28
call esi
test ax, ax
jns 0x10168e7d
movss xmm0, dword [0x102fe0b0]
subss xmm0, dword [0x1022b730]
movss dword [0x102fe0b0], xmm0
push 0x27
call esi
test ax, ax
jns 0x10168e9e
movss xmm0, dword [0x102fe0b4]
addss xmm0, dword [0x1022b730]
movss dword [0x102fe0b4], xmm0
push 0x25
call esi
test ax, ax
jns 0x10168ebf
movss xmm0, dword [0x102fe0b4]
subss xmm0, dword [0x1022b730]
movss dword [0x102fe0b4], xmm0
movss xmm0, dword [0x102fe0b4]
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 esi
mulss xmm1, xmm0
pop edi
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 [0x102fe0b0]
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 [0x10301028]
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 [0x1030196c]
mov eax, dword [ebp + 8]
movss xmm1, dword [ebp - 8]
movss xmm3, dword [ebp - 0xc]
movss xmm4, dword [ebp - 0x1c]
mulss xmm1, xmm0
mulss xmm3, xmm0
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 [0x10301674]
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 [0x10301028]
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
pop esi
pop edi
mov esp, ebp
pop ebp
ret 4