Function at 0x1015d980
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push esi
mov esi, dword [0x10234298]
test esi, esi
je 0x1015df63
cmp dword [0x102f1118], 0
push edi
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
je 0x1015da58
mov ecx, dword [0x10236f60]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test al, al
jne 0x1015da58
mov ecx, dword [0x10237018]
mov eax, dword [ecx]
mov eax, dword [eax + 0xd4]
call eax
test al, al
jne 0x1015da58
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10236a90]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x102f7744]
cmp eax, dword [ecx + 4]
jle 0x1015da29
push 0x102f7744
call fcn.1017dd04
add esp, 4
cmp dword [0x102f7744], 0xffffffff
jne 0x1015da29
push 0x102f7744
mov dword [0x102f7770], 0
mov dword [0x102f776c], 0x102f1118
call fcn.1017dcb3
add esp, 4
mov eax, dword [0x102f776c]
cmp dword [0x102f7770], 0
sete byte [ebp - 1]
mov eax, dword [eax]
test eax, eax
jne 0x1015dab0
mov dword [0x102f7770], eax
xor al, al
test al, al
je 0x1015da58
cmp byte [0x102f16f0], 0
sete byte [0x102f16f0]
mov ecx, dword [0x102ee3fc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x7c]
call eax
cmp byte [0x102f16f0], 0
mov dword [ebp - 0x28], eax
je 0x1015df55
cmp byte [0x102f1454], 0
je 0x1015da87
cmp byte [0x102f1184], 0
jne 0x1015da9b
mov ecx, esi
call fcn.10074310
shr eax, 1
test al, 1
mov eax, dword [ebp - 0x28]
jne 0x1015df55
test eax, eax
jne 0x1015dad3
push 1
mov ecx, esi
call fcn.1015cc60
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 [0x102f7770], eax
je 0x1015da44
cmp byte [ebp - 1], 0
je 0x1015da44
mov al, 1
jmp 0x1015da46
cmp byte [0x102f1e94], 0
je 0x1015db0f
mov ecx, dword [0x10236e64]
push 0x102343c8
mov eax, dword [ecx]
call dword [eax + 0x34]
cmp byte [0x102f1e70], 0
je 0x1015db0f
mov eax, dword [esi + 0x1d88]
test eax, eax
je 0x1015db0f
movss xmm0, dword [0x102343cc]
movss dword [eax + 0x80], xmm0
cmp byte [0x102f1064], 0
je 0x1015df62
mov ecx, dword [0x10236ddc]
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 [0x1021e88c]
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 [0x1021ef40]
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 [0x1021ef40]
movss dword [ebp - 0x28], xmm1
movss xmm1, dword [ebp - 0x10]
mulss xmm1, dword [0x1021ec28]
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 [0x1021ec28]
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 [0x10236a90]
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 [0x102f7788]
movss dword [ebp - 0x18], xmm2
movss dword [ebp - 0x10], xmm6
cmp eax, dword [ecx + 4]
jle 0x1015dd14
push 0x102f7788
call fcn.1017dd04
add esp, 4
cmp dword [0x102f7788], 0xffffffff
jne 0x1015dd05
push 0x102f7788
mov dword [0x102f77a8], 0
mov dword [0x102f77a4], 0x102f10d0
call fcn.1017dcb3
add esp, 4
movss xmm6, dword [ebp - 0x10]
movss xmm5, dword [ebp - 0x14]
movss xmm2, dword [ebp - 0x18]
cmp byte [0x102f2010], 0
je 0x1015de9c
mov eax, dword [0x102f77a4]
mov eax, dword [eax]
test eax, eax
jne 0x1015dd36
mov dword [0x102f77a8], eax
jmp 0x1015ddd4
push eax
call edi
shr eax, 0xf
and al, 1
movzx eax, al
mov dword [0x102f77a8], eax
je 0x1015ddd4
push 0x26
call edi
movss xmm1, dword [0x1021e980]
test ax, ax
jns 0x1015dd71
movss xmm0, dword [0x102ee928]
addss xmm0, xmm1
movss dword [0x102ee928], xmm0
push 0x28
call edi
test ax, ax
jns 0x1015dd92
movss xmm0, dword [0x102ee928]
subss xmm0, dword [0x1021e980]
movss dword [0x102ee928], xmm0
push 0x27
call edi
test ax, ax
jns 0x1015ddb3
movss xmm0, dword [0x102ee92c]
addss xmm0, dword [0x1021e980]
movss dword [0x102ee92c], xmm0
push 0x25
call edi
test ax, ax
jns 0x1015ddd4
movss xmm0, dword [0x102ee92c]
subss xmm0, dword [0x1021e980]
movss dword [0x102ee92c], xmm0
movss xmm0, dword [0x102ee92c]
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 [0x102ee928]
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 [0x102f16cc]
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 [0x102f1fa4]
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 [0x102f1cd0]
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 [0x102f16cc]
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 eax, eax
je 0x1015df62
push 0
mov ecx, esi
call fcn.1015cc60
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4