Function at 0x140002790
Capabilities:
Link many functions at runtime
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], r14
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x14000d040]
xor rax, rsp
mov qword [rbp - 8], rax
mov rbx, qword [0x14000dac0]
lea rcx, str.ntdll.dll
add rbx, qword [0x14000daf8]
xor r14d, r14d
mov qword [rbp - 0x10], r14
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtReadVirtualMemory
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14000daf0]
lea r9d, [r14 + 8]
lea r8, [rbp - 0x10]
mov qword [rsp + 0x20], r14
mov rdx, rbx
call rax
mov rsi, qword [rbp - 0x10]
test rsi, rsi
je 0x140002a9d
mov rbx, qword [0x14000dae0]
lea rcx, str.ntdll.dll
add rbx, rsi
mov qword [rsp + 0x70], rdi
mov dword [rbp - 0x30], r14d
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtReadVirtualMemory
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14000daf0]
lea r9d, [r14 + 4]
lea r8, [rbp - 0x30]
mov qword [rsp + 0x20], r14
mov rdx, rbx
call rax
mov edi, dword [rbp - 0x30]
test edi, edi
jle 0x140002a98
mov rbx, qword [0x14000dae8]
lea rcx, str.ntdll.dll
add rbx, qword [0x14000daf8]
mov qword [rbp - 0x18], r14
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtReadVirtualMemory
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14000daf0]
lea r9d, [r14 + 8]
lea r8, [rbp - 0x18]
mov qword [rsp + 0x20], r14
mov rdx, rbx
call rax
lea rcx, str.ntdll.dll
mov qword [rbp - 0x20], r14
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtReadVirtualMemory
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, edi
mov qword [rsp + 0x20], r14
sar ecx, 9
lea r9d, [r14 + 8]
shl ecx, 3
lea r8, [rbp - 0x20]
movsxd rdx, ecx
mov rcx, qword [rbp - 0x18]
add rcx, 0x10
add rdx, rcx
mov rcx, qword [0x14000daf0]
call rax
lea rcx, str.ntdll.dll
mov qword [rbp - 0x28], r14
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtReadVirtualMemory
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14000daf0]
lea r9d, [r14 + 8]
and edi, 0x1ff
mov qword [rsp + 0x20], r14
imul edx, edi, 0x78
lea r8, [rbp - 0x28]
add rdx, qword [rbp - 0x20]
call rax
mov rbx, qword [0x14000dac8]
lea rcx, str.ntdll.dll
mov rdi, qword [rbp - 0x28]
add rbx, rdi
mov dword [rbp - 0x20], r14d
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtReadVirtualMemory
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14000daf0]
lea r9d, [r14 + 4]
lea r8, [rbp - 0x20]
mov qword [rsp + 0x20], r14
mov rdx, rbx
call rax
mov rbx, qword [0x14000dad8]
lea rcx, str.ntdll.dll
add rbx, rdi
mov dword [rbp - 0x18], r14d
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtReadVirtualMemory
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14000daf0]
lea r9d, [r14 + 4]
lea r8, [rbp - 0x18]
mov qword [rsp + 0x20], r14
mov rdx, rbx
call rax
mov rbx, qword [0x14000dac8]
lea rcx, str.ntdll.dll
add rbx, rsi
mov dword [rbp - 0x30], r14d
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtReadVirtualMemory
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14000daf0]
lea r9d, [r14 + 4]
lea r8, [rbp - 0x30]
mov qword [rsp + 0x20], r14
mov rdx, rbx
call rax
lea ecx, [r14 + 5]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140002a98
mov eax, dword [rbp - 0x30]
cmp dword [rbp - 0x20], eax
je 0x140002a98
cmp dword [rbp - 0x18], r14d
jle 0x140002a98
call fcn.140002630
xor edx, edx
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
lea ecx, [rdx + 2]
call qword [sym.imp.USER32.dll_mouse_event]
lea rcx, [rbp - 0x28]
call fcn.140001a80
mov rax, qword [rbp - 0x28]
movabs rcx, 0x7fffffffffffff4a
cmp rax, rcx
jg 0x140002a66
add rax, 0xb4
jmp 0x140002a70
movabs rax, 0x7fffffffffffffff
lea rcx, [rbp - 0x28]
mov qword [rbp - 0x28], rax
call fcn.140005bd0
xor edx, edx
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
lea ecx, [rdx + 4]
call qword [sym.imp.USER32.dll_mouse_event]
call fcn.140002630
mov rdi, qword [rsp + 0x70]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140005fe0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret