Function at 0x10171170
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push edi
mov edi, dword [0x1024d1e0]
test edi, edi
je 0x10171796
cmp dword [0x10314304], 0
push esi
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
je 0x1017124c
mov ecx, dword [0x10310784]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test al, al
jne 0x1017124c
mov ecx, dword [0x10310830]
mov eax, dword [ecx]
mov eax, dword [eax + 0xd4]
call eax
test al, al
jne 0x1017124c
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1024f340]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1031abbc]
cmp eax, dword [ecx + 4]
jle 0x10171219
push 0x1031abbc
call fcn.101928b8
add esp, 4
cmp dword [0x1031abbc], 0xffffffff
jne 0x10171219
push 0x1031abbc
mov dword [0x1031abf4], 0
mov dword [0x1031abf0], 0x10314304
call fcn.10192867
add esp, 4
mov eax, dword [0x1031abf0]
cmp dword [0x1031abf4], 0
sete byte [ebp - 1]
mov eax, dword [eax]
test eax, eax
jne 0x10171541
mov dword [0x1031abf4], eax
xor al, al
test al, al
je 0x1017124c
cmp byte [0x10314924], 0
sete byte [0x10314924]
mov eax, dword [0x103151b4]
test eax, eax
je 0x10171272
push eax
call esi
test ax, ax
jns 0x10171272
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0x10
push eax
mov ecx, 0x1024d200
call fcn.1018e520
cmp byte [0x10314924], 0
jne 0x10171288
cmp byte [0x1031093c], 0
mov byte [ebp - 1], 0
je 0x1017128c
mov byte [ebp - 1], 1
mov ecx, dword [0x10310a68]
mov eax, dword [ecx]
mov eax, dword [eax + 0x7c]
call eax
cmp byte [ebp - 1], 0
mov dword [ebp - 0x28], eax
jne 0x10171568
test eax, eax
je 0x10171795
push 0
mov ecx, edi
call fcn.101700b0
cmp byte [0x10315110], 0
je 0x10171310
mov ecx, dword [0x1024f714]
lea edx, [ebp - 0x44]
movss xmm0, dword [0x1024cc38]
movss dword [ebp - 0x44], xmm0
movss xmm0, dword [0x1024cc3c]
mov eax, dword [ecx]
push edx
movss dword [ebp - 0x40], xmm0
mov dword [ebp - 0x3c], 0
call dword [eax + 0x34]
cmp byte [0x103150ec], 0
je 0x10171310
mov eax, dword [edi + 0x1d88]
test eax, eax
je 0x10171310
movss xmm0, dword [ebp - 0x40]
movss dword [eax + 0x80], xmm0
cmp dword [ebp - 0x28], 0
je 0x10171795
cmp byte [0x10314250], 0
je 0x10171795
mov ecx, dword [0x1024f68c]
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 [0x10237790]
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 [0x10237f00]
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 [0x10237f00]
movss dword [ebp - 0x28], xmm1
movss xmm1, dword [ebp - 0x10]
mulss xmm1, dword [0x10237b78]
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 [0x10237b78]
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 [0x1024f340]
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 [0x1031aba4]
movss dword [ebp - 0x18], xmm2
movss dword [ebp - 0x10], xmm6
cmp eax, dword [ecx + 4]
jle 0x1017151f
push 0x1031aba4
call fcn.101928b8
add esp, 4
cmp dword [0x1031aba4], 0xffffffff
jne 0x10171510
push 0x1031aba4
mov dword [0x1031aba0], 0
mov dword [0x1031ab9c], 0x103142bc
call fcn.10192867
add esp, 4
movss xmm6, dword [ebp - 0x10]
movss xmm5, dword [ebp - 0x14]
movss xmm2, dword [ebp - 0x18]
cmp byte [0x103152b0], 0
je 0x101716e4
mov eax, dword [0x1031ab9c]
mov eax, dword [eax]
test eax, eax
jne 0x1017157e
mov dword [0x1031aba0], eax
jmp 0x1017161c
push eax
call esi
shr eax, 0xf
and al, 1
movzx eax, al
mov dword [0x1031abf4], eax
je 0x10171238
cmp byte [ebp - 1], 0
je 0x10171238
mov al, 1
jmp 0x1017123a
test eax, eax
jne 0x101712b7
push 1
mov ecx, edi
call fcn.101700b0
jmp 0x10171310
push eax
call esi
shr eax, 0xf
and al, 1
movzx eax, al
mov dword [0x1031aba0], eax
je 0x1017161c
push 0x26
call esi
movss xmm1, dword [0x10237898]
test ax, ax
jns 0x101715b9
movss xmm0, dword [0x10310fc0]
addss xmm0, xmm1
movss dword [0x10310fc0], xmm0
push 0x28
call esi
test ax, ax
jns 0x101715da
movss xmm0, dword [0x10310fc0]
subss xmm0, dword [0x10237898]
movss dword [0x10310fc0], xmm0
push 0x27
call esi
test ax, ax
jns 0x101715fb
movss xmm0, dword [0x10310fc4]
addss xmm0, dword [0x10237898]
movss dword [0x10310fc4], xmm0
push 0x25
call esi
test ax, ax
jns 0x1017161c
movss xmm0, dword [0x10310fc4]
subss xmm0, dword [0x10237898]
movss dword [0x10310fc4], xmm0
movss xmm0, dword [0x10310fc4]
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 [0x10310fc0]
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 [0x10314900]
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 [0x10315244]
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 [0x10314f4c]
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 [0x10314900]
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