Function at 0x1400918a0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x1400bd040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp dword [rcx + 0x1c], 0
mov rbx, rcx
je 0x140091bcd
mov edx, dword [0x1401a9550]
add rdx, qword [rcx + 0x48]
mov rcx, qword [0x1401a9590]
test rcx, rcx
je 0x140091bcd
cmp dword [0x1401a9598], 0
je 0x140091bcd
mov qword [rsp + 0x88], rdi
lea r8, [0x1401a9312]
xor edi, edi
mov r9d, 1
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x140091bc5
mov edx, dword [0x1401a9554]
add rdx, qword [rbx + 0x48]
mov rcx, qword [0x1401a9590]
test rcx, rcx
je 0x140091bc5
cmp dword [0x1401a9598], edi
je 0x140091bc5
mov r9d, 4
mov qword [rsp + 0x20], rdi
lea r8, [0x1401a9340]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x140091bc5
mov eax, dword [0x1401a9340]
cmp eax, 0xffffffff
je 0x140091bc5
shr eax, 9
xorps xmm0, xmm0
mov ecx, 8
mov dword [rsp + 0x34], edi
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rdi
lea eax, [rax*8 + 0x10]
mov dword [rsp + 0x30], eax
call fcn.140099990
mov qword [rsp + 0x38], rax
lea r8, [rsp + 0x38]
lea rcx, [rax + 8]
mov qword [rsp + 0x48], rcx
mov rcx, qword [rsp + 0x30]
mov qword [rax], rcx
add rax, 8
mov rdx, qword [0x1401a95d0]
mov qword [rsp + 0x40], rax
call fcn.140012720
mov qword [0x1401a9338], rax
test rax, rax
je 0x140091bc5
mov ecx, dword [0x1401a9340]
and ecx, 0x1ff
imul edx, ecx, 0x78
mov rcx, qword [0x1401a9590]
add rdx, rax
test rcx, rcx
je 0x140091bc5
cmp dword [0x1401a9598], edi
je 0x140091bc5
mov r9d, 8
mov qword [rsp + 0x20], rdi
lea r8, [0x1401a9348]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x140091bc5
lea rdx, [0x1401a9348]
lea rcx, [0x140182190]
call fcn.1400129e0
test al, al
je 0x140091bc5
cmp byte [0x1401a9409], dil
jne 0x140091a54
xorps xmm0, xmm0
comiss xmm0, dword [rbx + 0x104]
jb 0x140091bc5
cmp byte [0x1401a9408], dil
je 0x140091a9c
mov rcx, qword [0x1401a9590]
test rcx, rcx
je 0x140091a91
cmp dword [0x1401a9598], edi
je 0x140091a91
mov edx, dword [0x1401a948c]
lea r8, [rsp + 0x50]
add rdx, qword [rbx + 0x48]
mov r9d, 1
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
cmp byte [rsp + 0x50], dil
je 0x140091bc5
cmp byte [0x1400bd0c4], dil
je 0x140091ac3
mov eax, dword [0x140182280]
cmp dword [rbx + 0xf0], eax
je 0x140091abf
cmp dword [0x140182270], edi
jle 0x140091abf
mov al, 1
jmp 0x140091acc
xor al, al
jmp 0x140091acc
cmp dword [0x140182270], edi
setg al
mov byte [0x1401a9313], al
test al, al
je 0x140091bc5
movaps xmmword [rsp + 0x60], xmm6
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
xorps xmm6, xmm6
mov rcx, rax
sub rcx, qword [0x1401a9738]
mov rbx, rax
cmp byte [0x1401a9581], dil
cvtsi2sd xmm6, rcx
mulsd xmm6, qword [0x1400acbf8]
jne 0x140091b31
movd xmm0, dword [0x1400bd098]
cvtdq2pd xmm0, xmm0
comisd xmm6, xmm0
jb 0x140091b31
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov qword [0x1401a9740], rax
mov byte [0x1401a9581], 1
sub rbx, qword [0x1401a9740]
xorps xmm1, xmm1
movd xmm0, dword [0x1400bd098]
cvtdq2pd xmm0, xmm0
cvtsi2sd xmm1, rbx
comisd xmm6, xmm0
mulsd xmm1, qword [0x1400acbf8]
movaps xmm6, xmmword [rsp + 0x60]
jb 0x140091bc5
movd xmm0, dword [0x1400bd094]
cvtdq2pd xmm0, xmm0
comisd xmm1, xmm0
jb 0x140091bc5
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x140091bc5
xor r9d, r9d
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor edx, edx
mov ecx, 2
call qword [sym.imp.USER32.dll_mouse_event]
xor r9d, r9d
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor edx, edx
mov ecx, 4
call qword [sym.imp.USER32.dll_mouse_event]
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov qword [0x1401a9738], rax
mov byte [0x1401a9581], dil
mov rdi, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140099850
add rsp, 0x70
pop rbx
ret