Function at 0x10087890
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, dword fs:[0x2c]
sub esp, 0x94
mov edx, dword [0x1024b2f0]
push ebx
mov edx, dword [eax + edx*4]
mov eax, dword [0x102886b4]
push esi
push edi
mov edi, ecx
cmp eax, dword [edx + 4]
jle 0x1008790b
push 0x102886b4
call fcn.1018b6e4
add esp, 4
cmp dword [0x102886b4], 0xffffffff
jne 0x1008790b
push 0x10193d80
mov dword [0x102886c0], 0
mov dword [0x102886bc], 0
mov dword [0x102886b8], 0
call fcn.1018b648
add esp, 4
push 0x102886b4
call fcn.1018b693
add esp, 4
cmp byte [0x10281da6], 0
je 0x10087d86
push dword [0x1028165c]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x10087d86
mov ebx, dword [0x10281360]
test ebx, ebx
je 0x10087da4
mov eax, dword [0x1028135c]
test eax, eax
jne 0x10087972
mov edx, 0xe80c2f78
mov ecx, 0x10219689
call fcn.10004f10
mov edx, 0xc10bf213
mov ecx, 0x102195b1
mov esi, eax
call fcn.10004f10
mov edx, esi
mov ecx, eax
call fcn.10127750
mov dword [0x1028135c], eax
cmp dword [eax + ebx], 0
jle 0x10087da4
movss xmm0, dword [0x102886b8]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
movss dword [esp + 0x24], xmm0
lahf
test ah, 0x44
jp 0x10087a08
movss xmm0, dword [0x102886bc]
ucomiss xmm0, xmm1
movss dword [esp + 0x20], xmm0
movss xmm0, dword [0x102886c0]
lahf
movss dword [esp + 0x18], xmm0
test ah, 0x44
jp 0x10087a24
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10087a24
movss xmm0, dword [edi + 0xb8]
movss dword [esp + 0x24], xmm0
movss dword [0x102886b8], xmm0
movss xmm0, dword [edi + 0xbc]
movss dword [esp + 0x20], xmm0
movss dword [0x102886bc], xmm0
movss xmm0, dword [edi + 0xc0]
movss dword [esp + 0x18], xmm0
movss dword [0x102886c0], xmm0
jmp 0x10087a24
movss xmm0, dword [0x102886c0]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [0x102886bc]
movss dword [esp + 0x20], xmm0
movss xmm1, dword [edi + 0xc4]
movss xmm2, dword [edi + 0xc8]
mulss xmm1, dword [0x10240560]
mulss xmm2, dword [0x10240560]
movaps xmm0, xmm1
movaps xmm1, xmm2
call fcn.1018c390
movaps xmm1, xmm0
movaps xmm2, xmm0
shufps xmm1, xmm0, 0xe
shufps xmm2, xmm0, 1
movups xmmword [esp + 0x90], xmm0
movaps xmm0, xmm1
shufps xmm0, xmm1, 1
movups xmmword [esp + 0x80], xmm1
movss xmm1, dword [edi + 0xcc]
mulss xmm1, dword [0x10240560]
movaps xmmword [esp + 0x70], xmm0
movups xmmword [esp + 0x50], xmm2
movaps xmm0, xmm1
call fcn.1018c340
movaps xmm4, xmmword [esp + 0x70]
movaps xmm3, xmm0
movups xmm7, xmmword [esp + 0x50]
mov eax, dword [0x1027cc70]
mov ecx, eax
movups xmm6, xmmword [esp + 0x80]
shr ecx, 4
mov edx, eax
movups xmm5, xmmword [esp + 0x90]
and ecx, 0xffffff01
shr edx, 3
movss xmm2, dword [0x10240c20]
movaps xmm1, xmm4
mulss xmm1, xmm7
and dl, 1
mov ebx, eax
mov dword [esp + 0x44], ecx
shufps xmm0, xmm3, 1
movups xmmword [esp + 0x60], xmm0
movss dword [esp + 0x34], xmm1
movaps xmm1, xmm6
mulss xmm1, xmm7
movaps xmm7, xmm0
mulss xmm7, xmm6
movss dword [esp + 0x38], xmm1
movaps xmm1, xmm5
xorps xmm1, xmm2
movss dword [esp + 0x3c], xmm1
movaps xmm1, xmm3
mulss xmm1, xmm5
movaps xmm0, xmm1
mulss xmm1, xmm6
mulss xmm0, xmm4
subss xmm7, xmm0
movups xmm0, xmmword [esp + 0x60]
movss dword [esp + 0x2c], xmm7
movaps xmm7, xmm0
mulss xmm7, xmm4
xorps xmm7, xmm2
subss xmm7, xmm1
movaps xmm1, xmm3
movss dword [esp + 0x28], xmm7
movups xmm7, xmmword [esp + 0x50]
mulss xmm1, xmm7
xorps xmm1, xmm2
movss dword [esp + 0x30], xmm1
movaps xmm1, xmm0
mulss xmm1, xmm5
movaps xmm0, xmm3
movups xmm5, xmmword [esp + 0x60]
movaps xmm2, xmm1
mulss xmm0, xmm6
mulss xmm2, xmm4
mulss xmm1, xmm6
mulss xmm3, xmm4
addss xmm2, xmm0
mulss xmm5, xmm7
subss xmm1, xmm3
movss dword [esp + 0x48], xmm2
movss dword [esp + 0x4c], xmm1
mov ecx, eax
mov dword [esp + 0x1c], eax
shr dword [esp + 0x1c], 1
and byte [esp + 0x1c], 1
shr ecx, 9
and ecx, 0xffffff01
shr ebx, 0xa
mov dword [esp + 0x40], ecx
and bl, 1
mov ecx, eax
shr eax, 2
shr ecx, 0x11
and cl, 1
test al, 1
je 0x10087bce
movss xmm4, dword [0x10240650]
jmp 0x10087bd6
movss xmm4, dword [0x102406c8]
test cl, cl
je 0x10087be2
mulss xmm4, dword [0x102406a0]
test dl, dl
je 0x10087c30
movss xmm1, dword [esp + 0x34]
movss xmm3, dword [esp + 0x38]
movss xmm2, dword [esp + 0x3c]
mulss xmm1, xmm4
mulss xmm3, xmm4
addss xmm1, dword [esp + 0x24]
mulss xmm2, xmm4
addss xmm3, dword [esp + 0x20]
addss xmm2, dword [esp + 0x18]
movss dword [0x102886b8], xmm1
movss dword [0x102886bc], xmm3
movss dword [0x102886c0], xmm2
jmp 0x10087c42
movss xmm1, dword [esp + 0x24]
movss xmm2, dword [esp + 0x18]
movss xmm3, dword [esp + 0x20]
movss xmm7, dword [esp + 0x2c]
movss xmm6, dword [esp + 0x28]
test bl, bl
je 0x10087c8e
movaps xmm0, xmm7
mulss xmm0, xmm4
addss xmm1, xmm0
movaps xmm0, xmm6
mulss xmm0, xmm4
addss xmm3, xmm0
movss dword [0x102886b8], xmm1
movss xmm0, dword [esp + 0x30]
mulss xmm0, xmm4
movss dword [0x102886bc], xmm3
addss xmm2, xmm0
movss dword [0x102886c0], xmm2
cmp byte [esp + 0x40], 0
je 0x10087ccb
movss xmm0, dword [esp + 0x30]
mulss xmm7, xmm4
mulss xmm6, xmm4
mulss xmm0, xmm4
subss xmm1, xmm7
subss xmm3, xmm6
subss xmm2, xmm0
movss dword [0x102886b8], xmm1
movss dword [0x102886bc], xmm3
movss dword [0x102886c0], xmm2
cmp byte [esp + 0x44], 0
je 0x10087d14
movss xmm0, dword [esp + 0x34]
mulss xmm0, xmm4
subss xmm1, xmm0
movss xmm0, dword [esp + 0x38]
mulss xmm0, xmm4
subss xmm3, xmm0
movss dword [0x102886b8], xmm1
movss xmm0, dword [esp + 0x3c]
mulss xmm0, xmm4
movss dword [0x102886bc], xmm3
subss xmm2, xmm0
movss dword [0x102886c0], xmm2
cmp byte [esp + 0x1c], 0
je 0x10087d57
movss xmm0, dword [esp + 0x48]
mulss xmm0, xmm4
mulss xmm5, xmm4
addss xmm1, xmm0
movss xmm0, dword [esp + 0x4c]
mulss xmm0, xmm4
addss xmm5, xmm2
addss xmm0, xmm3
movss dword [0x102886b8], xmm1
movss dword [0x102886c0], xmm5
movss dword [0x102886bc], xmm0
movss dword [edi + 0xb8], xmm1
movss xmm0, dword [0x102886bc]
movss dword [edi + 0xbc], xmm0
movss xmm0, dword [0x102886c0]
movss dword [edi + 0xc0], xmm0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [0x102886b8], 0
mov dword [0x102886bc], 0
mov dword [0x102886c0], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret