Function at 0x10015130
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
cmp byte [0x10096568], 0
je 0x1001554d
cmp byte [0x1009a3cc], 0
je 0x1001554d
push edi
push 0xffffffffffffffff
call fcn.1000cfe0
mov edi, eax
add esp, 4
mov dword [ebp - 0x18], edi
test edi, edi
je 0x1001554c
push esi
push 0xffffffffffffffff
call fcn.1000cfd0
mov esi, eax
add esp, 4
mov dword [ebp - 0xc], esi
test esi, esi
je 0x1001554b
cmp byte [0x1009a3cd], 0
je 0x100151fc
push 0xffffffffffffffff
call fcn.1000cfd0
add esp, 4
mov dword [ebp - 0x10], eax
test eax, eax
je 0x100151f8
movzx edx, byte [0x1009a3cd]
shl edx, 5
xor edx, dword [eax + 0x40]
and edx, 0x20
xor edx, dword [eax + 0x40]
mov dword [eax + 0x40], edx
movzx ecx, byte [0x1009a3cd]
shl ecx, 0x16
xor ecx, edx
and ecx, 0x400000
xor ecx, edx
mov dword [eax + 0x40], ecx
movzx eax, byte [0x1009a3cd]
shl eax, 0xd
xor eax, ecx
and eax, 0x2000
xor eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x40], eax
mov ecx, edi
movzx esi, byte [0x1009a3cd]
call fcn.1000cfc0
mov word [eax + 0x10e], si
mov esi, dword [ebp - 0xc]
xor al, al
jmp 0x1001527a
cmp byte [0x1009a3ce], 0
jne 0x1001554b
push 0xffffffffffffffff
call fcn.1000cfd0
add esp, 4
mov dword [ebp - 0x10], eax
test eax, eax
je 0x10015278
movzx edx, byte [0x1009a3cd]
shl edx, 5
xor edx, dword [eax + 0x40]
and edx, 0x20
xor edx, dword [eax + 0x40]
mov dword [eax + 0x40], edx
movzx ecx, byte [0x1009a3cd]
shl ecx, 0x16
xor ecx, edx
and ecx, 0x400000
xor ecx, edx
mov dword [eax + 0x40], ecx
movzx eax, byte [0x1009a3cd]
shl eax, 0xd
xor eax, ecx
and eax, 0x2000
xor eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x40], eax
mov ecx, edi
movzx esi, byte [0x1009a3cd]
call fcn.1000cfc0
mov word [eax + 0x10e], si
mov esi, dword [ebp - 0xc]
mov al, 1
cmp byte [0x1009a3cd], 0
mov byte [0x1009a3ce], al
je 0x1001554b
mov al, byte [esi + 0x36]
and al, 7
cmp al, 3
jne 0x1001529f
movss xmm0, dword [0x1009656c]
jmp 0x100152a7
movss xmm0, dword [0x10096570]
mov eax, dword [0x1009b0a0]
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
movss dword [0x10096588], xmm0
movss dword [ebp - 4], xmm0
movss xmm0, dword [eax + 0x150]
movss dword [ebp - 8], xmm0
movss xmm0, dword [eax + 0x220]
push 0xa0
movss dword [ebp - 0x10], xmm0
call edi
test ax, ax
jns 0x100152f7
movss xmm0, dword [0x10096588]
mulss xmm0, dword [0x1007f8f8]
jmp 0x10015310
push 0x12
call edi
test ax, ax
jns 0x10015315
movss xmm0, dword [0x10096588]
mulss xmm0, dword [0x1007f824]
movss dword [ebp - 4], xmm0
mov eax, dword [esi + 0x14]
lea ecx, [esi + 4]
test eax, eax
push 0x57
lea esi, [eax + 0x30]
cmove esi, ecx
call edi
test ax, ax
jns 0x1001538a
movss xmm0, dword [ebp - 8]
cvtps2pd xmm0, xmm0
call fcn.10064e40
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
mulss xmm1, dword [ebp - 4]
addss xmm1, dword [esi]
movss dword [esi], xmm1
movss xmm1, dword [ebp - 8]
cvtps2pd xmm0, xmm1
call fcn.10064c80
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [ebp - 4]
addss xmm0, dword [esi + 4]
movss dword [esi + 4], xmm0
movss xmm0, dword [ebp - 0x10]
cvtps2pd xmm0, xmm0
call fcn.10064e40
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [ebp - 4]
addss xmm0, dword [esi + 8]
jmp 0x10015401
push 0x53
call edi
test ax, ax
jns 0x10015406
movss xmm0, dword [ebp - 8]
cvtps2pd xmm0, xmm0
call fcn.10064e40
movss xmm1, dword [esi]
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm0
mulss xmm2, dword [ebp - 4]
subss xmm1, xmm2
movss dword [esi], xmm1
movss xmm1, dword [ebp - 8]
cvtps2pd xmm0, xmm1
call fcn.10064c80
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movss xmm0, dword [esi + 4]
mulss xmm1, dword [ebp - 4]
subss xmm0, xmm1
movss dword [esi + 4], xmm0
movss xmm0, dword [ebp - 0x10]
cvtps2pd xmm0, xmm0
call fcn.10064e40
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movss xmm0, dword [esi + 8]
mulss xmm1, dword [ebp - 4]
subss xmm0, xmm1
movss dword [esi + 8], xmm0
push 0x41
call edi
test ax, ax
jns 0x10015476
movss xmm1, dword [ebp - 8]
cvtps2pd xmm1, xmm1
subsd xmm1, qword [0x1007f8f0]
movaps xmm0, xmm1
movsd qword [ebp - 0x14], xmm1
call fcn.10064e40
movss xmm2, dword [ebp - 4]
cvtps2pd xmm1, xmm2
mulsd xmm0, xmm1
movss xmm1, dword [esi]
cvtps2pd xmm1, xmm1
addsd xmm0, xmm1
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movsd xmm0, qword [ebp - 0x14]
movss dword [esi], xmm1
call fcn.10064c80
movss xmm2, dword [ebp - 4]
cvtps2pd xmm1, xmm2
mulsd xmm0, xmm1
movss xmm1, dword [esi + 4]
cvtps2pd xmm1, xmm1
addsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
jmp 0x100154e1
push 0x44
call edi
test ax, ax
jns 0x100154e6
movss xmm1, dword [ebp - 8]
cvtps2pd xmm1, xmm1
subsd xmm1, qword [0x1007f8f0]
movaps xmm0, xmm1
movsd qword [ebp - 0x14], xmm1
call fcn.10064e40
movss xmm2, dword [ebp - 4]
cvtps2pd xmm1, xmm2
mulsd xmm0, xmm1
movss xmm1, dword [esi]
cvtps2pd xmm1, xmm1
subsd xmm1, xmm0
movsd xmm0, qword [ebp - 0x14]
cvtpd2ps xmm1, xmm1
movss dword [esi], xmm1
call fcn.10064c80
movss xmm2, dword [ebp - 4]
cvtps2pd xmm1, xmm2
mulsd xmm0, xmm1
movss xmm1, dword [esi + 4]
cvtps2pd xmm1, xmm1
subsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss dword [esi + 4], xmm0
push 0x20
call edi
test ax, ax
jns 0x100154fb
movss xmm0, dword [ebp - 4]
addss xmm0, dword [esi + 8]
jmp 0x1001550e
push 0x11
call edi
test ax, ax
jns 0x10015513
movss xmm0, dword [esi + 8]
subss xmm0, dword [ebp - 4]
movss dword [esi + 8], xmm0
mov esi, dword [ebp - 0xc]
mov al, byte [esi + 0x36]
and al, 7
cmp al, 2
jne 0x10015538
movss xmm0, dword [ebp - 8]
xorps xmm0, xmmword [0x1007f900]
push ecx
mov ecx, esi
movss dword [esp], xmm0
call fcn.1000cdf0
mov al, byte [esi + 0x36]
and al, 7
cmp al, 3
jne 0x1001554b
mov eax, dword [ebp - 0x18]
or dword [eax + 0x46c], 1
pop esi
pop edi
mov esp, ebp
pop ebp
ret