Function at 0x10177170
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push edi
mov edi, dword [0x10253210]
test edi, edi
je 0x1017777f
cmp dword [0x1031a2fc], 0
push esi
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
je 0x1017725c
mov ecx, dword [0x10316784]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test al, al
jne 0x1017725c
mov ecx, dword [0x10316830]
mov eax, dword [ecx]
mov eax, dword [eax + 0xd4]
call eax
test al, al
jne 0x1017725c
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10255374]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10320bb4]
cmp eax, dword [ecx + 4]
jle 0x10177219
push 0x10320bb4
call fcn.101987e8
add esp, 4
cmp dword [0x10320bb4], 0xffffffff
jne 0x10177219
push 0x10320bb4
mov dword [0x10320bec], 0
mov dword [0x10320be8], 0x1031a2fc
call fcn.10198797
add esp, 4
mov eax, dword [0x10320be8]
cmp dword [0x10320bec], 0
sete byte [ebp - 1]
mov eax, dword [eax]
test eax, eax
jne 0x10177236
mov dword [0x10320bec], eax
jmp 0x1017725c
push eax
call esi
shr eax, 0xf
and al, 1
movzx eax, al
mov dword [0x10320bec], eax
je 0x1017725c
cmp byte [ebp - 1], 0
je 0x1017725c
cmp byte [0x1031a91c], 0
sete byte [0x1031a91c]
mov eax, dword [0x1031b1ac]
test eax, eax
je 0x10177282
push eax
call esi
test ax, ax
jns 0x10177282
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0x10
push eax
mov ecx, 0x10253230
call fcn.10194570
cmp byte [0x1031a91c], 0
jne 0x10177298
cmp byte [0x1031693d], 0
mov byte [ebp - 1], 0
je 0x1017729c
mov byte [ebp - 1], 1
mov ecx, dword [0x10316a6c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x7c]
call eax
cmp byte [ebp - 1], 0
mov dword [ebp - 0x28], eax
jne 0x10177551
test eax, eax
je 0x1017777e
push 0
mov ecx, edi
call fcn.101760c0
cmp byte [0x1031b108], 0
je 0x10177320
mov ecx, dword [0x10255744]
lea edx, [ebp - 0x44]
movss xmm0, dword [0x10252c68]
movss dword [ebp - 0x44], xmm0
movss xmm0, dword [0x10252c6c]
mov eax, dword [ecx]
push edx
movss dword [ebp - 0x40], xmm0
mov dword [ebp - 0x3c], 0
call dword [eax + 0x34]
cmp byte [0x1031b0e4], 0
je 0x10177320
mov eax, dword [edi + 0x1d88]
test eax, eax
je 0x10177320
movss xmm0, dword [ebp - 0x40]
movss dword [eax + 0x80], xmm0
cmp dword [ebp - 0x28], 0
je 0x1017777e
cmp byte [0x1031a248], 0
je 0x1017777e
mov ecx, dword [0x102556bc]
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 [0x1023d058]
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 [0x1023da60]
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 [0x1023da60]
movss dword [ebp - 0x28], xmm1
movss xmm1, dword [ebp - 0x10]
mulss xmm1, dword [0x1023d440]
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 [0x1023d440]
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 [0x10255374]
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 [0x10320b9c]
movss dword [ebp - 0x18], xmm2
movss dword [ebp - 0x10], xmm6
cmp eax, dword [ecx + 4]
jle 0x1017752f
push 0x10320b9c
call fcn.101987e8
add esp, 4
cmp dword [0x10320b9c], 0xffffffff
jne 0x10177520
push 0x10320b9c
mov dword [0x10320b98], 0
mov dword [0x10320b94], 0x1031a2b4
call fcn.10198797
add esp, 4
movss xmm6, dword [ebp - 0x10]
movss xmm5, dword [ebp - 0x14]
movss xmm2, dword [ebp - 0x18]
cmp byte [0x1031b2a8], 0
je 0x101776cd
mov eax, dword [0x10320b94]
mov eax, dword [eax]
test eax, eax
jne 0x10177567
mov dword [0x10320b98], eax
jmp 0x10177605
test eax, eax
jne 0x101772c7
push 1
mov ecx, edi
call fcn.101760c0
jmp 0x10177320
push eax
call esi
shr eax, 0xf
and al, 1
movzx eax, al
mov dword [0x10320b98], eax
je 0x10177605
push 0x26
call esi
movss xmm1, dword [0x1023d160]
test ax, ax
jns 0x101775a2
movss xmm0, dword [0x10316fb8]
addss xmm0, xmm1
movss dword [0x10316fb8], xmm0
push 0x28
call esi
test ax, ax
jns 0x101775c3
movss xmm0, dword [0x10316fb8]
subss xmm0, dword [0x1023d160]
movss dword [0x10316fb8], xmm0
push 0x27
call esi
test ax, ax
jns 0x101775e4
movss xmm0, dword [0x10316fbc]
addss xmm0, dword [0x1023d160]
movss dword [0x10316fbc], xmm0
push 0x25
call esi
test ax, ax
jns 0x10177605
movss xmm0, dword [0x10316fbc]
subss xmm0, dword [0x1023d160]
movss dword [0x10316fbc], xmm0
movss xmm0, dword [0x10316fbc]
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 [0x10316fb8]
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 [0x1031a8f8]
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 [0x1031b23c]
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 [0x1031af44]
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 [0x1031a8f8]
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