Function at 0x1800be1a0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x48], 0xfffffffffffffffe
mov qword [rsp + 0xb8], rbx
mov rax, qword [0x1804cc010]
xor rax, rsp
mov qword [rbp - 8], rax
mov r12d, edx
mov rbx, rcx
mov r14, qword [rbp + 0x60]
xor r13d, r13d
mov dword [r14], r13d
movsx eax, r9w
mov dword [rbp - 0x50], eax
shr r9, 0x10
movsx eax, r9w
mov dword [rbp - 0x4c], eax
xor eax, eax
mov qword [rbp - 0x1c], rax
mov qword [rbp - 0x14], rax
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x20]
xor r8d, r8d
mov edx, 0x1039
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdi, rax
mov r15d, dword [rbp - 0x10]
mov eax, 0xffffffff
cmp r15d, eax
cmove edi, eax
mov eax, r12d
sub eax, 0x200
je 0x1800be44d
sub eax, 1
je 0x1800be252
sub eax, 1
je 0x1800be365
cmp eax, 1
jne 0x1800be511
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_SetFocus]
mov byte [rbx + 0x60], 1
mov dword [r14], 1
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_SetCapture]
mov byte [rbx + 0x61], 1
mov dword [rbx + 0x58], edi
lea r9, [rbp - 0x50]
mov r8d, r15d
mov edx, edi
mov rcx, rbx
call fcn.1800be9e0
mov dword [rbx + 0x5c], eax
cmp eax, 0xffffffff
je 0x1800be2bb
mov dword [rbp - 0x40], r13d
movsxd r8, dword [rbx + 0x58]
lea r9, [rbp - 0x40]
mov edx, 0x100e
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_SendMessageW]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_InvalidateRect]
cmp edi, 0xffffffff
je 0x1800be511
cmp dword [rbx + 0x5c], 4
je 0x1800be511
mov edx, edi
lea rcx, [rbx + 8]
call fcn.1800a73e0
cmp r12d, 0x203
jne 0x1800be511
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x30], xmm0
movdqa xmm1, xmmword [0x1803e7610]
movdqu xmmword [rbp - 0x30], xmm1
mov byte [rbp - 0x40], r13b
mov r8d, 3
lea rdx, [0x1803c5f2c]
lea rcx, [rbp - 0x40]
call fcn.180005220
nop
lea rcx, [rbp - 0x40]
call fcn.180007750
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x1800be42a
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800be425
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800be425
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov byte [rbx + 0x60], r13b
cmp byte [rbx + 0x61], r13b
je 0x1800be379
call qword [sym.imp.USER32.dll_ReleaseCapture]
mov byte [rbx + 0x61], r13b
lea r9, [rbp - 0x50]
mov r8d, r15d
mov edx, edi
mov rcx, rbx
call fcn.1800be9e0
mov r15d, eax
movsxd rcx, dword [rbx + 0x58]
cmp ecx, 0xffffffff
je 0x1800be3c2
mov dword [rbp - 0x40], r13d
mov r8, rcx
lea r9, [rbp - 0x40]
mov edx, 0x100e
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_SendMessageW]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [rbx + 0x58]
cmp ecx, edi
jne 0x1800be3e4
movsxd rax, dword [rbx + 0x5c]
cmp eax, r15d
jne 0x1800be3e4
movsxd r9, edi
mov r8, rax
mov edx, 0x1388
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_PostMessageW]
mov dword [rbx + 0x58], edi
mov dword [rbx + 0x5c], r15d
mov rcx, qword [rbx + 8]
cmp edi, 0xffffffff
je 0x1800be40e
mov dword [rbp - 0x40], r13d
movsxd r8, edi
lea r9, [rbp - 0x40]
mov edx, 0x100e
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbx + 8]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_InvalidateRect]
mov dword [r14], 1
jmp 0x1800be511
call fcn.180386950
movdqa xmm0, xmmword [0x1803e7610]
movdqu xmmword [rbp - 0x30], xmm0
mov byte [rbp - 0x40], 0
mov r8b, 1
mov edx, edi
mov rcx, rbx
call fcn.1800bf660
jmp 0x1800be511
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
and al, 1
mov byte [rbx + 0x60], al
jne 0x1800be419
cmp byte [rbx + 0x61], r13b
je 0x1800be472
call qword [sym.imp.USER32.dll_ReleaseCapture]
mov byte [rbx + 0x61], r13b
movsxd rax, dword [rbx + 0x58]
cmp eax, 0xffffffff
je 0x1800be4a6
mov dword [rbp - 0x40], r13d
mov r8, rax
lea r9, [rbp - 0x40]
mov edx, 0x100e
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_SendMessageW]
xor r8d, r8d
lea rdx, [rbp - 0x40]
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_InvalidateRect]
lea r9, [rbp - 0x50]
mov r8d, r15d
mov edx, edi
mov rcx, rbx
call fcn.1800be9e0
mov dword [rbx + 0x5c], eax
mov dword [rbx + 0x58], edi
cmp edi, 0xffffffff
je 0x1800be4ed
mov dword [rbp - 0x40], r13d
movsxd r8, edi
lea r9, [rbp - 0x40]
mov edx, 0x100e
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_SendMessageW]
xor r8d, r8d
lea rdx, [rbp - 0x40]
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_InvalidateRect]
mov dword [rbp - 0x40], 0x18
mov dword [rbp - 0x3c], 2
mov rax, qword [rbx + 8]
mov qword [rbp - 0x38], rax
mov dword [rbp - 0x30], r13d
lea rcx, [rbp - 0x40]
call qword [sym.imp.USER32.dll_TrackMouseEvent]
xor eax, eax
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1803868f0
mov rbx, qword [rsp + 0xb8]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret