Function at 0x140026320
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xf0
movaps xmmword [rax - 0x18], xmm6
mov rbx, rcx
movaps xmmword [rax - 0x28], xmm7
xor edi, edi
movaps xmmword [rax - 0x38], xmm8
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax]
mov eax, dword [rcx + rax]
cmp dword [0x140133258], eax
jle 0x140026416
lea rcx, [0x140133258]
call fcn.1400e3990
cmp dword [0x140133258], 0xffffffff
jne 0x140026416
lea rcx, [rbx + 0x150]
call fcn.14006b6b0
xor ecx, ecx
mov qword [rsp + 0x38], rdi
add rax, 0x140
mov qword [rbp - 0x59], rcx
mov qword [rbp - 0x31], rax
lea r8, [rbp - 0x39]
lea rax, [rbp - 0x59]
mov dword [rbp - 0x51], ecx
mov qword [rbp - 0x29], rax
mov r9d, 0x28
mov eax, dword [0x140132e20]
mov edx, 0x2201c4
mov byte [rbp - 0x12], cl
mov byte [rbp - 0x19], cl
mov rcx, qword [0x140132e18]
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rbp - 0x35], eax
mov dword [rbp - 0x18], edi
mov word [rbp - 0x14], di
mov dword [rbp - 0x39], 0x85b3e12
mov qword [rbp - 0x21], 0xc
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
movss xmm0, dword [rbp - 0x55]
lea rcx, [0x140133258]
movss dword [0x14013325c], xmm0
call fcn.1400e3924
add rbx, 0x150
mov rcx, rbx
call fcn.14006b6b0
xor ecx, ecx
mov qword [rsp + 0x38], rdi
add rax, 0x14c
mov qword [rbp - 0x59], rcx
mov qword [rbp - 0x31], rax
lea r8, [rbp - 0x39]
lea rax, [rbp - 0x59]
mov dword [rbp - 0x51], ecx
mov qword [rbp - 0x29], rax
mov r9d, 0x28
mov eax, dword [0x140132e20]
mov edx, 0x2201c4
mov byte [rbp - 0x12], cl
mov byte [rbp - 0x19], cl
mov rcx, qword [0x140132e18]
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rbp - 0x35], eax
mov dword [rbp - 0x18], edi
mov word [rbp - 0x14], di
mov dword [rbp - 0x39], 0x85b3e12
mov qword [rbp - 0x21], 0xc
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rcx, rbx
call fcn.14006b6b0
xor ecx, ecx
mov qword [rsp + 0x38], rdi
add rax, 0x140
mov qword [rbp - 0x49], rcx
mov qword [rbp - 0x31], rax
lea r8, [rbp - 0x39]
lea rax, [rbp - 0x49]
mov dword [rbp - 0x41], ecx
mov qword [rbp - 0x29], rax
mov r9d, 0x28
mov eax, dword [0x140132e20]
mov edx, 0x2201c4
mov byte [rbp - 0x12], cl
mov byte [rbp - 0x19], cl
mov rcx, qword [0x140132e18]
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rbp - 0x35], eax
mov dword [rbp - 0x18], edi
mov word [rbp - 0x14], di
mov dword [rbp - 0x39], 0x85b3e12
mov qword [rbp - 0x21], 0xc
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
movss xmm7, dword [rbp - 0x59]
mov ecx, 0x20
movss xmm8, dword [rbp - 0x51]
mulss xmm7, dword [0x1401171f4]
mulss xmm8, dword [0x1401171f4]
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x14002655e
cmp byte [0x140132e38], dil
je 0x14002655e
movss xmm1, dword [0x14012e0d0]
mulss xmm1, dword [0x140117200]
movss xmm0, dword [0x14013325c]
addss xmm0, xmm1
jmp 0x140026593
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x14002659b
cmp byte [0x140132e38], dil
je 0x14002659b
movss xmm1, dword [0x14012e0d0]
mulss xmm1, dword [0x140117200]
movss xmm0, dword [0x14013325c]
subss xmm0, xmm1
movss dword [0x14013325c], xmm0
mov rcx, rbx
call fcn.14006b6b0
xor ecx, ecx
mov qword [rsp + 0x38], rdi
add rax, 0x140
mov qword [rbp - 0x59], rcx
mov qword [rbp - 0x31], rax
lea r8, [rbp - 0x39]
lea rax, [rbp - 0x59]
mov dword [rbp - 0x51], ecx
mov qword [rbp - 0x29], rax
mov r9d, 0x28
mov eax, dword [0x140132e20]
mov edx, 0x2201c4
mov byte [rbp - 0x12], cl
mov byte [rbp - 0x19], cl
mov rcx, qword [0x140132e18]
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rbp - 0x35], eax
mov dword [rbp - 0x18], edi
mov word [rbp - 0x14], di
mov dword [rbp - 0x39], 0x85b3e12
mov qword [rbp - 0x21], 0xc
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mulss xmm7, dword [0x14012e0d0]
mov rcx, rbx
movss xmm6, dword [0x14013325c]
call fcn.14006b6b0
xor ecx, ecx
mov qword [rsp + 0x38], rdi
add rax, 0x140
mov qword [rbp - 0x49], rcx
mov qword [rbp - 0x31], rax
lea r8, [rbp - 0x39]
lea rax, [rbp - 0x49]
mov dword [rbp - 0x41], ecx
mov qword [rbp - 0x29], rax
mov r9d, 0x28
mov eax, dword [0x140132e20]
mov edx, 0x2201c4
mov byte [rbp - 0x12], cl
mov byte [rbp - 0x19], cl
mov rcx, qword [0x140132e18]
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rbp - 0x35], eax
mov dword [rbp - 0x18], edi
mov word [rbp - 0x14], di
mov dword [rbp - 0x39], 0x85b3e12
mov qword [rbp - 0x21], 0xc
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mulss xmm8, dword [0x14012e0d0]
mov rcx, rbx
call fcn.14006b6b0
movdqa xmm0, xmmword [0x140117470]
add rax, 0x11c
addss xmm7, dword [rbp - 0x59]
addss xmm8, dword [rbp - 0x41]
mov qword [rbp - 0x31], rax
lea rax, [rbp - 9]
mov qword [rsp + 0x38], rdi
mov qword [rbp - 0x29], rax
mov eax, dword [0x140132e20]
mov qword [rsp + 0x30], rdi
mov dword [rbp - 0x35], eax
movss dword [rbp + 0x1b], xmm7
movss dword [rbp + 0x1f], xmm6
movss dword [rbp + 0x23], xmm8
movaps xmmword [rbp - 9], xmm0
movaps xmmword [rbp + 7], xmm0
mov dword [rbp + 0x17], 0x3f800000
mov dword [rbp - 0x18], edi
mov word [rbp - 0x14], di
mov byte [rbp - 0x12], dil
mov dword [rbp - 0x39], 0x85b3e12
mov qword [rbp - 0x21], 0x30
mov byte [rbp - 0x19], 1
mov dword [rsp + 0x28], edi
mov rcx, qword [0x140132e18]
lea r8, [rbp - 0x39]
mov r9d, 0x28
mov qword [rsp + 0x20], rdi
mov edx, 0x2201c4
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop rbp
ret