Function at 0x140035fa0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x60
cmp dword [rcx + 0x1c], 0
mov rbx, rcx
je 0x1400362d3
mov edx, dword [0x14018a060]
add rdx, qword [rcx + 0x68]
mov rcx, qword [0x140189ea8]
test rcx, rcx
je 0x1400362d3
cmp dword [0x140189eb0], 0
je 0x1400362d3
mov qword [rsp + 0x78], rdi
lea r8, [0x140189c55]
xor edi, edi
mov r9d, 1
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x1400362ce
mov edx, dword [0x14018a048]
add rdx, qword [rbx + 0x68]
mov rcx, qword [0x140189ea8]
test rcx, rcx
je 0x1400362ce
cmp dword [0x140189eb0], edi
je 0x1400362ce
mov r9d, 4
mov qword [rsp + 0x20], rdi
lea r8, [0x140189c7c]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x1400362ce
mov eax, dword [0x140189c7c]
cmp eax, 0xffffffff
je 0x1400362ce
shr eax, 9
xorps xmm0, xmm0
mov ecx, 8
mov dword [rsp + 0x74], edi
movdqu xmmword [rsp + 0x30], xmm0
lea eax, [rax*8 + 0x10]
mov dword [rsp + 0x70], eax
call fcn.1400a3cc0
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x30]
lea rcx, [rax + 8]
mov qword [rsp + 0x40], rcx
mov rcx, qword [rsp + 0x70]
mov qword [rax], rcx
add rax, 8
mov rdx, qword [0x140189f00]
mov qword [rsp + 0x38], rax
call fcn.140035d60
mov qword [0x140189c80], rax
test rax, rax
je 0x1400362ce
mov ecx, dword [0x140189c7c]
and ecx, 0x1ff
imul edx, ecx, 0x78
mov rcx, qword [0x140189ea8]
add rdx, rax
test rcx, rcx
je 0x1400362ce
cmp dword [0x140189eb0], edi
je 0x1400362ce
mov r9d, 8
mov qword [rsp + 0x20], rdi
lea r8, [0x140189c88]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x1400362ce
lea rdx, [0x140189c88]
lea rcx, [0x1400fef30]
call fcn.140036d00
test al, al
je 0x1400362ce
mov rcx, rbx
call fcn.1400365a0
test al, al
je 0x1400362ce
cmp byte [0x1401899d0], dil
jne 0x140036151
movss xmm1, dword [rbx + 0x124]
xorps xmm0, xmm0
comiss xmm1, xmm0
ja 0x1400362ce
cmp byte [0x1400cb0b8], dil
je 0x1400361a5
mov rcx, qword [0x140189ea8]
test rcx, rcx
je 0x14003618e
cmp dword [0x140189eb0], edi
je 0x14003618e
mov edx, dword [0x14018a00c]
lea r8, [rsp + 0x70]
add rdx, qword [rbx + 0x68]
mov r9d, 1
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
cmp byte [rsp + 0x70], dil
jne 0x1400361a5
mov rcx, rbx
call fcn.1400362e0
test al, al
jne 0x1400362ce
cmp byte [0x1400cb0d8], dil
je 0x1400361cc
mov eax, dword [0x1400ff040]
cmp dword [rbx + 0x110], eax
je 0x1400361c8
cmp dword [0x1400ff030], edi
jle 0x1400361c8
mov al, 1
jmp 0x1400361d5
xor al, al
jmp 0x1400361d5
cmp dword [0x1400ff030], edi
setg al
mov byte [0x140189c56], al
test al, al
je 0x1400362ce
movaps xmmword [rsp + 0x50], xmm6
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
xorps xmm6, xmm6
mov rcx, rax
sub rcx, qword [0x14018a0d8]
mov rbx, rax
cmp byte [0x140189e38], dil
cvtsi2sd xmm6, rcx
divsd xmm6, qword [0x1400b72f8]
jne 0x14003623a
movd xmm0, dword [0x1400cb0c0]
cvtdq2pd xmm0, xmm0
comisd xmm6, xmm0
jb 0x14003623a
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov qword [0x14018a0e0], rax
mov byte [0x140189e38], 1
sub rbx, qword [0x14018a0e0]
xorps xmm1, xmm1
movd xmm0, dword [0x1400cb0c0]
cvtdq2pd xmm0, xmm0
cvtsi2sd xmm1, rbx
comisd xmm6, xmm0
movaps xmm6, xmmword [rsp + 0x50]
jb 0x1400362ce
divsd xmm1, qword [0x1400b72f8]
movd xmm0, dword [0x1400cb0b4]
cvtdq2pd xmm0, xmm0
comisd xmm1, xmm0
jb 0x1400362ce
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x1400362ce
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 [0x14018a0d8], rax
mov byte [0x140189e38], dil
mov rdi, qword [rsp + 0x78]
add rsp, 0x60
pop rbx
ret