Function at 0x1800ed010
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x78
mov qword [rbp - 0x58], 0xfffffffffffffffe
mov rax, qword [0x180267080]
xor rax, rsp
mov qword [rbp - 0x18], rax
mov r12, r9
mov r15, r8
mov r14, rdx
mov rbx, rcx
mov rdx, qword [rcx + 0xe8]
test rdx, rdx
jne 0x1800ed068
mov rcx, qword [0x160]
mov rax, qword [rcx + 0x60]
cmp qword [rcx + 0x58], rax
je 0x1800ed225
mov rax, qword [rdx + 0x160]
mov rcx, qword [rax + 0x58]
cmp rcx, qword [rax + 0x60]
je 0x1800ed088
cmp byte [rcx + 4], 0
je 0x1800ed088
mov rsi, qword [rbx + 0xf8]
jmp 0x1800ed08f
mov rsi, qword [rbx + 0x100]
test rsi, rsi
je 0x1800ed225
mov edi, dword [r8 + 0xc]
sub edi, dword [r8 + 4]
mov rax, qword [rsi]
lea rdx, [rbp - 0x40]
mov rcx, rsi
call qword [rax + 0x30]
mov ecx, dword [rax]
mov edx, dword [r15 + 4]
mov eax, dword [r15 + 8]
mov dword [rbp - 0x28], eax
add eax, ecx
mov dword [rbp - 0x20], eax
mov dword [rbp - 0x24], edx
lea eax, [rdx + rdi]
mov dword [rbp - 0x1c], eax
mov rax, qword [rsi]
lea rdx, [rbp - 0x40]
mov rcx, rsi
call qword [rax + 0x30]
mov r8, rax
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x50]
call fcn.1800ecf30
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x38], xmm0
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x28]
call qword [sym.imp.USER32.dll_CopyRect]
xor r13d, r13d
mov edi, r13d
mov rax, rbx
cmp byte [rax + 0x99], dil
jne 0x1800ed11d
mov rax, qword [rax + 0xa8]
test rax, rax
jne 0x1800ed103
jmp 0x1800ed1e3
test rax, rax
je 0x1800ed1e3
mov rax, qword [rax + 0xe0]
mov r15, qword [rax]
test r15, r15
je 0x1800ed1e3
mov qword [rbp - 0x38], r13
lea rcx, [rbp - 0x38]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rax, qword [r15]
mov rcx, r15
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, rax
lea rdx, [rbp - 0x38]
call qword [sym.imp.USER32.dll_ScreenToClient]
mov qword [rbp - 0x40], r13
mov ecx, dword [rbp - 0x38]
call fcn.180091060
mov r15d, eax
mov dword [rbp - 0x40], eax
mov ecx, dword [rbp - 0x34]
call fcn.180091060
mov dword [rbp - 0x3c], eax
mov rcx, qword [rbp - 0x40]
mov qword [rbp - 0x38], rcx
mov ecx, r13d
mov edx, r13d
nop dword [rax + rax]
add ecx, dword [rbx + 0xb4]
add edx, dword [rbx + 0xb8]
mov rbx, qword [rbx + 0xa8]
test rbx, rbx
jne 0x1800ed190
sub eax, edx
sub r15d, ecx
mov dword [rbp - 0x38], r15d
mov dword [rbp - 0x34], eax
mov rdx, qword [rbp - 0x38]
lea rcx, [rbp - 0x28]
call qword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x1800ed1e3
mov edi, 1
mov ecx, edi
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
mov eax, 2
cmovne edi, eax
mov qword [rbp - 0x40], r13
mov qword [rbp - 0x40], r14
mov rax, qword [r14]
mov rcx, qword [rax]
test rcx, rcx
je 0x1800ed200
mov rax, qword [rcx]
mov rdx, r12
call qword [rax + 0x48]
nop
mov rax, qword [rsi]
mov r9d, edi
lea r8, [rbp - 0x28]
mov rdx, r14
mov rcx, rsi
call qword [rax + 0x28]
nop
mov rax, qword [r14]
mov rcx, qword [rax]
test rcx, rcx
je 0x1800ed225
mov rax, qword [rcx]
call qword [rax + 0x50]
mov rcx, qword [rbp - 0x18]
xor rcx, rsp
call fcn.18017df00
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret