Function at 0x1400d4b30
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r13
push r15
lea rbp, [rax - 0x78]
sub rsp, 0x150
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov r13, rdx
mov r12, rcx
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1032
mov rcx, qword [rcx + 0x12c0]
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jle 0x1400d4da0
xor ebx, ebx
mov qword [rsp + 0x60], rbx
lea ecx, [rbx + 0x18]
call fcn.14004b164
mov rdi, rax
test rax, rax
je 0x1400d4d6e
mov qword [rsp + 0x58], rax
mov qword [rax], rax
mov qword [rax + 8], rax
lea r9d, [rbx + 2]
or r8, 0xffffffffffffffff
mov edx, 0x100c
mov rcx, qword [r12 + 0x12c0]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rsi, rax
cmp eax, 0xffffffff
je 0x1400d4c5b
movabs r15, 0x1ffffffffffffffe
nop word [rax + rax]
mov rcx, qword [r12 + 0xa50]
mov r8, qword [rcx]
mov edx, esi
call qword [r8 + 0x118]
mov qword [rsp + 0x48], rax
lea r8, [rsp + 0x48]
mov rdx, qword [rdi + 8]
mov rcx, rdi
call fcn.14000bda0
mov rcx, r15
sub rcx, rbx
cmp rcx, 1
jb 0x1400d4c4e
inc rbx
mov qword [rsp + 0x60], rbx
mov qword [rdi + 8], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rax
movsxd r8, esi
mov edx, 0x100c
mov r9d, 2
mov rcx, qword [r12 + 0x12c0]
call qword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
cmp eax, 0xffffffff
jne 0x1400d4be0
jmp 0x1400d4c5b
lea rcx, str.list_T__too_long
call fcn.14002ba2c
int3
mov rcx, qword [r12 + 0xa50]
mov rax, qword [rcx]
call qword [rax + 0x70]
mov rsi, rax
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 0x30]
call fcn.14000b2c0
mov r9, rax
mov r8, rsi
mov rdx, qword [r12 + 0x12c0]
lea rcx, [rbp - 0x30]
call fcn.1400e6550
nop
mov dword [rsp + 0x44], 0
mov rbx, qword [r12 + 0x70]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x58]
call fcn.14000a680
mov qword [rbp - 0x70], rbx
mov byte [rbp - 0x40], 0
mov dword [rbp - 0x68], 0
mov ecx, reloc.SHELL32.dll_ILFindLastID
call qword [sym.imp.USER32.dll_GetKeyState]
movzx r11d, ax
and r11d, 0x80
cmp qword [rbp - 0x18], 0
je 0x1400d4d05
mov dword [rsp + 0x30], r11d
mov dword [rsp + 0x28], 1
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x70]
mov r8, r13
lea rdx, [r12 + 0x28]
lea rcx, [rbp - 0x30]
call fcn.1400e6ad0
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x1400d4d28
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x1400d4d16
lea rcx, [rbp - 0x58]
call fcn.14000a6f0
mov rcx, qword [rbp - 0x58]
call fcn.14004b088
nop
lea rcx, [rbp - 0x30]
call fcn.1400e6480
nop
mov rcx, qword [rdi]
mov qword [rdi], rdi
mov qword [rdi + 8], rdi
cmp rcx, rdi
je 0x1400d4d64
mov rbx, qword [rcx]
call fcn.14004b088
mov rcx, rbx
cmp rbx, rdi
jne 0x1400d4d54
mov rcx, rdi
call fcn.14004b088
jmp 0x1400d4da0
mov qword [rsp + 0x50], rbx
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x78]
call fcn.14004b2d4
lea r11, vtable.std::bad_alloc.0
mov qword [rsp + 0x78], r11
lea rdx, [0x140132320]
lea rcx, [rsp + 0x78]
call fcn.14004d894
int3
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r13
pop r12
pop rdi
pop rbp
ret