Function at 0x14003bf60
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x60
cmp dword [rcx + 0x1c], 0
mov rbx, rcx
je 0x14003c283
mov edx, dword [0x1400f7430]
add rdx, qword [rcx + 0x60]
mov rcx, qword [0x14012df98]
test rcx, rcx
je 0x14003c283
cmp dword [0x14012dfa0], 0
je 0x14003c283
mov qword [rsp + 0x78], rdi
lea r8, [0x14012db84]
xor edi, edi
mov r9d, 1
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x14003c27e
mov edx, dword [0x1400f7418]
add rdx, qword [rbx + 0x60]
mov rcx, qword [0x14012df98]
test rcx, rcx
je 0x14003c27e
cmp dword [0x14012dfa0], edi
je 0x14003c27e
mov r9d, 4
mov qword [rsp + 0x20], rdi
lea r8, [0x14012dbb8]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x14003c27e
mov eax, dword [0x14012dbb8]
cmp eax, 0xffffffff
je 0x14003c27e
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.14009dd20
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 [0x14012dff0]
mov qword [rsp + 0x38], rax
call fcn.14003bd20
mov qword [0x14012dbb0], rax
test rax, rax
je 0x14003c27e
mov ecx, dword [0x14012dbb8]
and ecx, 0x1ff
imul edx, ecx, 0x78
mov rcx, qword [0x14012df98]
add rdx, rax
test rcx, rcx
je 0x14003c27e
cmp dword [0x14012dfa0], edi
je 0x14003c27e
mov r9d, 8
mov qword [rsp + 0x20], rdi
lea r8, [0x14012dbc0]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x14003c27e
lea rdx, [0x14012dbc0]
lea rcx, [0x1400f72a0]
call fcn.14003c980
test al, al
je 0x14003c27e
cmp byte [0x14012d8a1], dil
jne 0x14003c101
movss xmm1, dword [rbx + 0x11c]
xorps xmm0, xmm0
comiss xmm1, xmm0
ja 0x14003c27e
cmp byte [0x14012d8a0], dil
je 0x14003c155
mov rcx, qword [0x14012df98]
test rcx, rcx
je 0x14003c13e
cmp dword [0x14012dfa0], edi
je 0x14003c13e
mov edx, dword [0x1400f73dc]
lea r8, [rsp + 0x70]
add rdx, qword [rbx + 0x60]
mov r9d, 1
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
cmp byte [rsp + 0x70], dil
jne 0x14003c155
mov rcx, rbx
call fcn.14003c290
test al, al
jne 0x14003c27e
cmp byte [0x1400c20f9], dil
je 0x14003c17c
mov eax, dword [0x1400f73a8]
cmp dword [rbx + 0x108], eax
je 0x14003c178
cmp dword [0x1400f7398], edi
jle 0x14003c178
mov al, 1
jmp 0x14003c185
xor al, al
jmp 0x14003c185
cmp dword [0x1400f7398], edi
setg al
mov byte [0x14012db85], al
test al, al
je 0x14003c27e
movaps xmmword [rsp + 0x50], xmm6
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
xorps xmm6, xmm6
mov rcx, rax
sub rcx, qword [0x14012e098]
mov rbx, rax
cmp byte [0x14012df3d], dil
cvtsi2sd xmm6, rcx
divsd xmm6, qword [0x1400b0888]
jne 0x14003c1ea
movd xmm0, dword [0x1400c20bc]
cvtdq2pd xmm0, xmm0
comisd xmm6, xmm0
jb 0x14003c1ea
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov qword [0x14012e0a0], rax
mov byte [0x14012df3d], 1
sub rbx, qword [0x14012e0a0]
xorps xmm1, xmm1
movd xmm0, dword [0x1400c20bc]
cvtdq2pd xmm0, xmm0
cvtsi2sd xmm1, rbx
comisd xmm6, xmm0
movaps xmm6, xmmword [rsp + 0x50]
jb 0x14003c27e
divsd xmm1, qword [0x1400b0888]
movd xmm0, dword [0x1400c20b4]
cvtdq2pd xmm0, xmm0
comisd xmm1, xmm0
jb 0x14003c27e
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x14003c27e
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 [0x14012e098], rax
mov byte [0x14012df3d], dil
mov rdi, qword [rsp + 0x78]
add rsp, 0x60
pop rbx
ret