Function at 0x1001e6c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x1003300c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [0x1022f1b4]
test edi, edi
je 0x1001e91c
mov edi, dword [edi + 0xfe4]
test edi, edi
je 0x1001e91c
mov eax, edi
shr eax, 0x10
test eax, eax
je 0x1001e91c
call fcn.1001e460
mov esi, eax
test esi, esi
je 0x1001e91c
movss xmm0, dword [esi + 0x2d2c]
comiss xmm0, dword [0x1002eb44]
jbe 0x1001e91c
lea eax, [ebp - 0x34]
mov edx, esi
push eax
push 6
lea ecx, [ebp - 0x58]
call fcn.1001ded0
lea eax, [ebp - 0x40]
mov edx, esi
push eax
push 5
lea ecx, [ebp - 0x58]
call fcn.1001ded0
call fcn.10021ec0
push dword [0x1022f12c]
lea edx, [ebp - 0x10]
lea ecx, [ebp - 0x34]
call fcn.1001cc90
add esp, 0x14
call fcn.10021ec0
push dword [0x1022f12c]
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x40]
call fcn.1001cc90
add esp, 4
call fcn.10023ea0
cmp dword [eax + 0x20], 1
jne 0x1001e7d1
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 [0x1002eba0]
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 0x1001e7db
movq xmm0, qword [ebp - 0x58]
movq qword [ebp - 0x68], xmm0
mov ebx, dword [ebp - 0x50]
call fcn.10023ea0
cmp dword [eax + 0x20], 2
jne 0x1001e7fc
lea eax, [ebp - 0x4c]
mov edx, esi
push eax
push 4
lea ecx, [ebp - 0x58]
call fcn.1001ded0
add esp, 8
call fcn.10023ea0
cmp byte [eax + 0x7d], 0
je 0x1001e816
mov ecx, esi
call fcn.1001ce00
test al, al
jne 0x1001e91c
call fcn.10021ec0
push dword [0x1022f12c]
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x4c]
call fcn.1001cc90
add esp, 4
cmp esi, edi
je 0x1001e91c
call fcn.10023ea0
cmp byte [eax + 3], 0
jne 0x1001e91c
call fcn.10023ea0
cmp byte [eax + 6], 0
je 0x1001e91c
mov eax, dword [0x1022f1b8]
test eax, eax
jne 0x1001e87a
push 0x4ac
call fcn.10026bd6
add esp, 4
mov dword [ebp - 0x5c], eax
mov ecx, eax
call fcn.10023350
mov dword [0x1022f1b8], eax
mov eax, dword [eax + 0xc]
sub eax, 0
je 0x1001e893
sub eax, 1
jne 0x1001e88e
mov eax, 1
jmp 0x1001e898
mov eax, dword [ebp - 0x5c]
jmp 0x1001e898
mov eax, 2
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1001e91c
call fcn.10023ea0
mov eax, dword [eax + 0x20]
sub eax, 1
je 0x1001e8c7
sub eax, 1
je 0x1001e8f0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002644f
mov esp, ebp
pop ebp
ret
call fcn.10023ea0
cmp dword [eax + 0x20], 1
jne 0x1001e8f0
call fcn.10021ec0
movq xmm0, qword [ebp - 0x68]
sub esp, 0xc
mov eax, esp
movq qword [eax], xmm0
mov dword [eax + 8], ebx
call fcn.1001e250
add esp, 0xc
call fcn.10023ea0
cmp dword [eax + 0x20], 2
jne 0x1001e91c
call fcn.10021ec0
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.1001e250
add esp, 0xc
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002644f
mov esp, ebp
pop ebp
ret