Function at 0x1001e9a0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x1003200c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [0x1022e1b4]
test edi, edi
je 0x1001ec1a
mov edi, dword [edi + 0xcf930]
xor edi, 0x8f70ab49
je 0x1001ec1a
mov eax, edi
shr eax, 0x10
test eax, eax
je 0x1001ec1a
call fcn.1001e740
mov esi, eax
test esi, esi
je 0x1001ec1a
movss xmm0, dword [esi + 0x4f4]
comiss xmm0, dword [0x1002e968]
jbe 0x1001ec1a
lea eax, [ebp - 0x34]
mov edx, esi
push eax
push 6
lea ecx, [ebp - 0x58]
call fcn.1001e1b0
lea eax, [ebp - 0x40]
mov edx, esi
push eax
push 5
lea ecx, [ebp - 0x58]
call fcn.1001e1b0
call fcn.10021cf0
push dword [0x1022e12c]
lea edx, [ebp - 0x10]
lea ecx, [ebp - 0x34]
call fcn.1001cc60
add esp, 0x14
call fcn.10021cf0
push dword [0x1022e12c]
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x40]
call fcn.1001cc60
add esp, 4
call fcn.10023da0
cmp dword [eax + 0x20], 1
jne 0x1001eab5
movss xmm5, dword [ebp - 0xc]
movss xmm6, dword [ebp - 0x10]
movaps xmm2, xmm5
movss xmm4, dword [ebp - 8]
subss xmm6, dword [ebp - 0x1c]
subss xmm2, dword [ebp - 0x18]
movss xmm0, dword [0x1002e9c4]
movaps xmm1, xmm4
subss xmm1, dword [ebp - 0x14]
mulss xmm6, xmm0
mulss xmm2, xmm0
addss xmm6, dword [ebp - 0x10]
mulss xmm1, xmm0
addss xmm5, xmm2
addss xmm4, xmm1
unpcklps xmm6, xmm5
movq qword [ebp - 0x68], xmm6
movss dword [ebp - 0x50], xmm4
jmp 0x1001eabf
movq xmm0, qword [ebp - 0x58]
movq qword [ebp - 0x68], xmm0
mov ebx, dword [ebp - 0x50]
call fcn.10023da0
cmp dword [eax + 0x20], 2
jne 0x1001eae0
lea eax, [ebp - 0x4c]
mov edx, esi
push eax
push 4
lea ecx, [ebp - 0x58]
call fcn.1001e1b0
add esp, 8
call fcn.10023da0
cmp byte [eax + 0x7d], 0
je 0x1001eafa
mov ecx, esi
call fcn.1001cdd0
test al, al
jne 0x1001ec1a
call fcn.10023da0
cmp byte [eax + 0x7c], 0
je 0x1001eb14
mov ecx, esi
call fcn.1001cdf0
test al, al
jne 0x1001ec1a
call fcn.10021cf0
push dword [0x1022e12c]
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x4c]
call fcn.1001cc60
add esp, 4
cmp esi, edi
je 0x1001ec1a
call fcn.10023da0
cmp byte [eax + 3], 0
jne 0x1001ec1a
call fcn.10023da0
cmp byte [eax + 6], 0
je 0x1001ec1a
mov eax, dword [0x1022e1b8]
test eax, eax
jne 0x1001eb78
push 0x4ac
call fcn.10026ba6
add esp, 4
mov dword [ebp - 0x5c], eax
mov ecx, eax
call fcn.10023250
mov dword [0x1022e1b8], eax
mov eax, dword [eax + 0xc]
sub eax, 0
je 0x1001eb91
sub eax, 1
jne 0x1001eb8c
mov eax, 1
jmp 0x1001eb96
mov eax, dword [ebp - 0x5c]
jmp 0x1001eb96
mov eax, 2
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1001ec1a
call fcn.10023da0
mov eax, dword [eax + 0x20]
sub eax, 1
je 0x1001ebc5
sub eax, 1
je 0x1001ebee
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002641f
mov esp, ebp
pop ebp
ret
call fcn.10023da0
cmp dword [eax + 0x20], 1
jne 0x1001ebee
call fcn.10021cf0
movq xmm0, qword [ebp - 0x68]
sub esp, 0xc
mov eax, esp
movq qword [eax], xmm0
mov dword [eax + 8], ebx
call fcn.1001e530
add esp, 0xc
call fcn.10023da0
cmp dword [eax + 0x20], 2
jne 0x1001ec1a
call fcn.10021cf0
movq xmm0, qword [ebp - 0x28]
sub esp, 0xc
mov eax, dword [ebp - 0x20]
mov ecx, esp
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
call fcn.1001e530
add esp, 0xc
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002641f
mov esp, ebp
pop ebp
ret