Function at 0x140088700
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x1400c4040]
xor rax, rsp
mov qword [rbp], rax
mov ecx, dword [0x1400c4274]
test ecx, ecx
je 0x140088755
sub ecx, 1
je 0x14008873b
cmp ecx, 1
jne 0x140088777
movzx eax, cl
mov byte [0x1400c4280], cl
jmp 0x14008877e
mov ecx, dword [0x1400c4270]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
setne al
mov byte [0x1400c4280], al
jmp 0x14008877e
mov ecx, dword [0x1400c4270]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140088777
cmp byte [0x1400c4280], 0
sete al
mov byte [0x1400c4280], al
jmp 0x14008877e
movzx eax, byte [0x1400c4280]
cmp byte [0x1400c5536], 0
mov qword [rsp + 0x130], rbx
mov qword [rsp + 0x148], r14
je 0x140088b44
test al, al
je 0x140088b44
lea rdx, [rbp - 0x6f]
mov dword [rbp - 0x70], 0x626f5273
xor ecx, ecx
mov dword [rbp - 0x6c], 0x786f6c
call qword [sym.imp.USER32.dll_FindWindowA]
mov rbx, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, rbx
jne 0x140088b44
mov edx, dword [0x1400c51d8]
xor r14d, r14d
mov rax, qword [0x1400c5578]
mov rcx, qword [0x1400c51d0]
add rax, 0x110
mov qword [rbp - 0x48], rax
lea rax, [rsp + 0x40]
mov qword [rbp - 0x40], rax
mov dword [rbp - 0x2f], r14d
mov word [rbp - 0x2b], r14w
mov byte [rbp - 0x29], r14b
mov dword [rbp - 0x50], 0x12b2d92
mov qword [rbp - 0x38], 8
mov dword [rbp - 0x4c], edx
mov byte [rbp - 0x30], r14b
test edx, edx
je 0x140088862
test rcx, rcx
je 0x140088862
mov qword [rsp + 0x38], r14
lea rax, [rbp - 0x50]
mov qword [rsp + 0x30], r14
lea r8, [rbp - 0x50]
mov dword [rsp + 0x28], 0x28
mov r9d, 0x28
mov edx, 0x224a14
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov edx, dword [0x1400c51d8]
mov rcx, qword [0x1400c51d0]
mov rax, qword [rsp + 0x40]
add rax, 0x298
mov dword [rbp - 7], r14d
mov qword [rbp - 0x20], rax
lea rax, [rbp - 0x60]
mov qword [rbp - 0x18], rax
mov word [rbp - 3], r14w
mov byte [rbp - 1], r14b
mov dword [rbp - 0x28], 0x12b2d92
mov qword [rbp - 0x10], 8
mov dword [rbp - 0x24], edx
mov byte [rbp - 8], r14b
test edx, edx
je 0x1400888d5
test rcx, rcx
je 0x1400888d5
mov qword [rsp + 0x38], r14
lea rax, [rbp - 0x28]
mov qword [rsp + 0x30], r14
lea r8, [rbp - 0x28]
mov dword [rsp + 0x28], 0x28
mov r9d, 0x28
mov edx, 0x224a14
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
movdqa xmm0, xmmword [0x1400b3400]
lea rax, [rsp + 0x51]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x60], 0x74
mov r8, 0xffffffffffffffff
xorps xmm0, xmm0
mov qword [rbp - 0x80], r14
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x78], r14
inc r8
cmp byte [rax + r8], r14b
jne 0x140088906
lea rdx, [rsp + 0x51]
lea rcx, [rsp + 0x70]
call fcn.1400097e0
lea r8, [rsp + 0x70]
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x60]
call fcn.14008bc40
mov rbx, qword [rbp - 0x70]
add rbx, 0x158
mov rdx, rbx
call fcn.14008d2e0
lea rdx, [rbp - 0x70]
lea r8, [rax + 0x140]
call fcn.14008d550
mov rdx, rbx
call fcn.14008d2e0
lea rdx, [rbp - 0x60]
lea r8, [rax + 0x14c]
call fcn.14008d550
movss xmm0, dword [0x1400b2abc]
mov rdx, rbx
movss xmm4, dword [rbp - 0x60]
movss xmm1, dword [rbp - 0x5c]
movss xmm3, dword [rbp - 0x58]
movss xmm2, dword [rbp - 0x6c]
mulss xmm1, xmm0
mulss xmm3, xmm0
mulss xmm4, xmm0
movss dword [rbp - 0x58], xmm3
movaps xmm0, xmm4
addss xmm4, dword [rbp - 0x70]
unpcklps xmm0, xmm1
movss xmm1, dword [rbp - 0x68]
movsd qword [rbp - 0x60], xmm0
addss xmm1, xmm3
xorps xmm0, xmm0
addss xmm2, xmm0
movss dword [rsp + 0x40], xmm4
movss dword [rsp + 0x48], xmm1
movss dword [rsp + 0x44], xmm2
call fcn.14008d2e0
test rax, rax
je 0x140088b44
mov rcx, qword [0x1400c51d0]
mov ebx, 0x2710
mov qword [rsp + 0x138], rsi
mov esi, dword [rsp + 0x48]
mov qword [rsp + 0x140], rdi
lea rdi, [rax + 0x140]
mov eax, dword [0x1400c51d8]
movaps xmmword [rsp + 0x110], xmm6
movsd xmm6, qword [rsp + 0x40]
nop word [rax + rax]
movsd qword [rsp + 0x40], xmm6
lea rdx, [rsp + 0x40]
mov qword [rbp - 0x18], rdx
mov dword [rsp + 0x48], esi
mov dword [rbp - 7], r14d
mov word [rbp - 3], r14w
mov byte [rbp - 1], r14b
mov dword [rbp - 0x28], 0x12b2d92
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x10], 0xc
mov dword [rbp - 0x24], eax
mov byte [rbp - 8], 1
test eax, eax
je 0x140088aa0
test rcx, rcx
je 0x140088aa0
mov qword [rsp + 0x38], r14
lea rax, [rbp - 0x28]
mov qword [rsp + 0x30], r14
lea r8, [rbp - 0x28]
mov dword [rsp + 0x28], 0x28
mov r9d, 0x28
mov edx, 0x224a14
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov eax, dword [0x1400c51d8]
mov rcx, qword [0x1400c51d0]
sub rbx, 1
jne 0x140088a20
movsd qword [rsp + 0x50], xmm6
lea rdx, [rsp + 0x50]
movaps xmm6, xmmword [rsp + 0x110]
mov dword [rsp + 0x58], esi
mov rsi, qword [rsp + 0x138]
mov qword [rbp - 0x48], rdi
mov rdi, qword [rsp + 0x140]
mov qword [rbp - 0x40], rdx
mov dword [rbp - 0x2f], r14d
mov word [rbp - 0x2b], r14w
mov byte [rbp - 0x29], r14b
mov dword [rbp - 0x50], 0x12b2d92
mov qword [rbp - 0x38], 0xc
mov dword [rbp - 0x4c], eax
mov byte [rbp - 0x30], 1
test eax, eax
je 0x140088b44
test rcx, rcx
je 0x140088b44
mov qword [rsp + 0x38], r14
lea rax, [rbp - 0x50]
mov qword [rsp + 0x30], r14
lea r8, [rbp - 0x50]
mov dword [rsp + 0x28], 0x28
mov r9d, 0x28
mov edx, 0x224a14
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
lea rcx, [rbp - 0x70]
call fcn.140087e10
mov rax, qword [rbp - 0x70]
jmp 0x140088b55
lea rcx, [rbp - 0x70]
call fcn.140087e10
mov rax, qword [rbp - 0x70]
mov qword [rbp - 0x70], rax
mov r14, qword [rsp + 0x148]
movabs r8, 0x7fffffffff67697f
mov rbx, qword [rsp + 0x130]
cmp rax, r8
je 0x140088b8d
mov ecx, 1
mov edx, 0xff
cmovl ecx, edx
test cl, cl
jns 0x140088b8d
add rax, 0x989680
jmp 0x140088b97
movabs rax, 0x7fffffffffffffff
lea rcx, [rbp - 0x70]
mov qword [rbp - 0x70], rax
call fcn.140088c50
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.1400a2610
add rsp, 0x120
pop rbp
ret