Function at 0x1400bdc78
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov rbx, rcx
xor edi, edi
mov dword [rbp + 0x70], edi
mov edx, dword [0x1401a5250]
add rdx, qword [rcx + 0x38]
mov rcx, qword [0x140156008]
test rcx, rcx
je 0x1400bdf29
cmp dword [0x140156010], edi
je 0x1400bdf29
mov qword [rsp + 0x20], rdi
lea r9d, [rdi + 4]
lea r8, [rbp + 0x70]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x1400bdf29
mov eax, dword [rbp + 0x70]
cmp eax, 0xffffffff
je 0x1400bdf29
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x38], rcx
shr eax, 9
lea eax, [rax*8 + 0x10]
mov dword [rbp + 0x78], eax
mov dword [rbp + 0x7c], edi
lea rcx, [rbp + 0x78]
lea rax, [rbp + 0x80]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rdi
mov qword [rbp + 0x88], rax
mov qword [rsp + 0x30], rcx
lea r9, [rbp + 0x88]
lea r8, [rsp + 0x30]
lea edx, [rdi + 2]
lea rcx, [rsp + 0x40]
call fcn.14000344c
nop
lea rcx, [0x1401a5090]
call fcn.1400090a4
nop
lea r8, [rsp + 0x40]
mov rdx, rax
lea rcx, [section..data]
call fcn.140008d60
test rax, rax
je 0x1400bdf29
mov qword [rbp + 0x80], rdi
mov ecx, dword [rbp + 0x70]
and ecx, 0x1ff
imul edx, ecx, 0x78
add rdx, rax
mov rcx, qword [0x140156008]
test rcx, rcx
je 0x1400bdf29
cmp dword [0x140156010], edi
je 0x1400bdf29
mov qword [rsp + 0x20], rdi
lea r9d, [rdi + 8]
lea r8, [rbp + 0x80]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x1400bdf29
lea rax, [rsp + 0x60]
mov qword [rbp + 0x78], rax
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x70], rdi
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], rdi
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x78], rdi
lea ecx, [rdi + 0xf]
mov qword [rbp - 0x70], rcx
mov byte [rsp + 0x78], dil
lea rax, [rbp - 0x68]
mov qword [rbp + 0x88], rax
mov qword [rbp - 0x68], rdi
lea rax, [rbp - 0x60]
mov qword [rsp + 0x38], rax
mov qword [rbp - 0x60], rdi
mov qword [rbp - 0x58], rdi
movdqa xmmword [rbp - 0x50], xmm0
movaps xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movaps xmmword [rbp - 0x30], xmm1
and dword [rbp - 0x20], edi
and dword [rbp - 0x1c], edi
movups xmmword [rbp - 0x18], xmm1
mov qword [rbp - 8], rdi
mov qword [rbp], rdi
mov qword [rbp - 8], rdi
mov qword [rbp], rcx
mov byte [rbp - 0x18], dil
and dword [rbp + 0xc], edi
and dword [rbp + 0x10], edi
mov qword [rbp + 0x18], rdi
mov qword [rbp + 0x20], rdi
lea rdx, [rbp + 0x80]
lea rcx, [rsp + 0x60]
call fcn.140008fc8
test al, al
je 0x1400bdf15
cmp byte [0x1401560e1], dil
je 0x1400bde75
mov eax, dword [rbp + 0x2c]
cmp dword [rbx + 0xcc], eax
je 0x1400bdf15
cmp dword [rbp + 0x28], edi
jle 0x1400bdf15
mov ecx, dword [0x1401a9440]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov eax, dword [rdx + rax]
cmp dword [0x1401a93d0], eax
jg 0x1400bdf34
lea rcx, [rbp + 0x78]
call fcn.140007ef0
movsxd rax, dword [0x140156148]
imul rax, rax, 0xf4240
mov rbx, qword [rbp + 0x78]
mov rcx, rbx
sub rcx, qword [0x1401a93c8]
cmp rcx, rax
jl 0x1400bdf15
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr ax, 0xf
test al, al
jne 0x1400bdf0e
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.USER32.dll_mouse_event]
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 4]
call qword [sym.imp.USER32.dll_mouse_event]
mov qword [0x1401a93c8], rbx
lea rcx, [rbp - 0x68]
call fcn.140003b48
nop
lea rcx, [rsp + 0x60]
call fcn.140003ae4
add rsp, 0x150
pop rdi
pop rbx
pop rbp
ret
lea rcx, [0x1401a93d0]
call fcn.1400c1360
cmp dword [0x1401a93d0], 0xffffffff
jne 0x1400bdea5
lea rcx, [0x1401a93c8]
call fcn.140007ef0
nop
lea rcx, [0x1401a93d0]
call fcn.1400c12f4
jmp 0x1400bdea5