Function at 0x1800237f8
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x1801bf780]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbp, qword [0x1801c4360]
xor r12d, r12d
mov r14, r9
mov rbx, r8
mov r15, rcx
test rbp, rbp
je 0x180023d6f
mov rsi, qword [rbp + 0x90]
mov ecx, 0x20c
lea eax, [rcx - 8]
lea r8d, [rcx - 7]
cmp edx, eax
ja 0x180023bb7
je 0x180023c95
mov eax, 0x104
lea edi, [r12 + 1]
lea r13d, [rax - 4]
cmp edx, eax
ja 0x180023a81
je 0x180023a79
mov eax, edx
sub eax, 7
je 0x1800239f9
sub eax, edi
je 0x1800239f9
sub eax, 0x18
je 0x1800239da
sub eax, 0xe0
je 0x18002393a
sub eax, edi
je 0x18002393a
cmp eax, edi
jne 0x180023d6f
lea rax, [rbx - 1]
cmp rax, 0xfffe
ja 0x180023d6f
test bx, bx
jne 0x1800238ce
cmp word [rbp + 0x3744], r12w
je 0x180023d6f
mov ecx, 0xfc00
movzx eax, bx
and ax, cx
mov edx, 0xd800
movzx ecx, word [rbp + 0x3744]
cmp ax, dx
jne 0x180023905
test cx, cx
je 0x1800238f9
mov edx, 0xfffd
call fcn.180001514
mov word [rbp + 0x3744], bx
jmp 0x180023d6f
test cx, cx
je 0x18002392d
mov ecx, 0xdc00
cmp ax, cx
je 0x180023920
mov edx, 0xfffd
call fcn.180001514
jmp 0x180023925
mov ebx, 0xfffd
mov word [rbp + 0x3744], r12w
movzx edx, bx
call fcn.180001514
jmp 0x180023d6f
cmp edx, r13d
je 0x180023a79
mov sil, r12b
cmp rbx, r13
jae 0x180023d6f
call fcn.1800229d4
cmp rbx, 0xd
jne 0x18002396a
shr r14, 0x10
mov eax, 0x10d
test r13w, r14w
cmovne ebx, eax
movsxd rcx, ebx
call fcn.180023264
test eax, eax
je 0x180023983
mov r8d, ebx
mov dl, sil
mov ecx, eax
call fcn.180022974
cmp ebx, 0x10
jne 0x180023b05
mov ebx, 0xa0
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, dil
cmp al, sil
jne 0x1800239b4
mov r8d, ebx
mov dl, sil
mov ecx, 0x210
call fcn.180022974
mov ebx, 0xa1
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, dil
cmp al, sil
jne 0x180023d6f
mov ecx, 0x214
jmp 0x180023ba7
cmp r14w, di
jne 0x180023d6f
call fcn.1800228c8
test al, al
je 0x180023d6f
mov rax, rdi
jmp 0x180023d71
xor eax, eax
lea rbx, [rbp + 0x3758]
mov ecx, dword [rbx]
cmp edx, 7
mov r8d, dword [rbx + 4]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rax
sete byte [rsp + 0x28]
mov dword [rsp + 0x20], 6
cmp ecx, r8d
jne 0x180023a52
inc ecx
test r8d, r8d
je 0x180023a3e
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x180023a43
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.180012a00
movsxd rax, dword [rbx]
movups xmm0, xmmword [rsp + 0x20]
movsd xmm1, qword [rsp + 0x30]
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
movups xmmword [rax + rcx*8], xmm0
movsd qword [rax + rcx*8 + 0x10], xmm1
add dword [rbx], edi
jmp 0x180023d6f
mov sil, dil
jmp 0x180023946
mov eax, edx
sub eax, 0x105
je 0x180023943
sub eax, 0xfb
je 0x180023ab2
sub eax, edi
je 0x180023c9a
sub eax, edi
je 0x180023d19
cmp eax, edi
je 0x180023c9a
jmp 0x180023d6f
mov qword [rsi + 8], r15
cmp byte [rsi + 0x10], r12b
jne 0x180023ae6
mov ebp, 2
mov dword [rsp + 0x20], 0x18
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x24], ebp
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x30], r12d
call qword [sym.imp.USER32.dll_TrackMouseEvent]
mov byte [rsi + 0x10], dil
mov rax, r14
shr rax, 0x10
cwde
movd xmm2, eax
movsx eax, r14w
cvtdq2ps xmm2, xmm2
movd xmm1, eax
cvtdq2ps xmm1, xmm1
jmp 0x180023c5e
cmp ebx, 0x11
jne 0x180023b55
mov ebx, 0xa2
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, dil
cmp al, sil
jne 0x180023b32
mov r8d, ebx
mov dl, sil
mov ecx, 0x20f
call fcn.180022974
mov ebx, 0xa3
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, dil
cmp al, sil
jne 0x180023d6f
mov ecx, 0x213
jmp 0x180023ba7
cmp ebx, 0x12
jne 0x180023d6f
mov ebx, 0xa4
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, dil
cmp al, sil
jne 0x180023b86
mov r8d, ebx
mov dl, sil
mov ecx, 0x211
call fcn.180022974
mov ebx, 0xa5
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, dil
cmp al, sil
jne 0x180023d6f
mov ecx, 0x215
mov r8d, ebx
mov dl, sil
call fcn.180022974
jmp 0x180023d6f
mov eax, 0x20b
cmp edx, eax
ja 0x180023c21
je 0x180023c95
mov eax, edx
sub eax, r8d
je 0x180023d14
sub eax, 1
je 0x180023c95
sub eax, 1
je 0x180023c95
sub eax, 1
je 0x180023d14
sub eax, 1
je 0x180023c95
cmp eax, 1
jne 0x180023d6f
shr rbx, 0x10
xorps xmm1, xmm1
movsx eax, bx
movd xmm2, eax
cvtdq2ps xmm2, xmm2
divss xmm2, dword [0x1801a923c]
call fcn.18000181c
jmp 0x180023d6f
mov eax, edx
sub eax, ecx
je 0x180023d14
sub eax, 1
je 0x180023c95
sub eax, 1
je 0x180023c7a
sub eax, 0xb
je 0x180023c68
cmp eax, 0x8a
jne 0x180023d6f
cmp qword [rsi + 8], r15
jne 0x180023c4f
mov qword [rsi + 8], r12
movss xmm1, dword [0x1801a9298]
movaps xmm2, xmm1
mov byte [rsi + 0x10], r12b
call fcn.1800016f4
jmp 0x180023d6f
cmp ebx, 7
jne 0x180023d6f
mov byte [rsi + 0x2d], 1
jmp 0x180023d6f
shr rbx, 0x10
xorps xmm2, xmm2
movsx eax, bx
movd xmm1, eax
cvtdq2ps xmm1, xmm1
divss xmm1, dword [0x1801a923c]
jmp 0x180023c17
mov edi, 1
mov ecx, 0xfffffffd
lea eax, [rdx - 0x201]
and eax, ecx
mov ebp, 2
neg eax
lea eax, [rdx - 0x204]
sbb r14d, r14d
and r14d, r12d
test ecx, eax
lea eax, [rdx - 0x207]
cmove r14d, edi
test ecx, eax
lea eax, [rdx - 0x20b]
cmove r14d, ebp
test ecx, eax
jne 0x180023ce8
shr rbx, 0x10
mov r14d, r12d
cmp bx, di
setne r14b
add r14d, 3
cmp dword [rsi + 0x14], r12d
jne 0x180023d02
call qword [sym.imp.USER32.dll_GetCapture]
test rax, rax
jne 0x180023d02
mov rcx, r15
call qword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [rsi + 0x14]
mov r8b, dil
bts eax, r14d
mov edx, r14d
mov dword [rsi + 0x14], eax
jmp 0x180023d6a
mov edi, 1
cmp edx, r8d
mov ebp, r12d
sete bpl
cmp edx, 0x208
jne 0x180023d32
mov ebp, 2
jmp 0x180023d47
cmp edx, ecx
jne 0x180023d47
shr rbx, 0x10
mov ebp, r12d
cmp bx, di
setne bpl
add ebp, 3
mov eax, dword [rsi + 0x14]
btr eax, ebp
mov dword [rsi + 0x14], eax
test eax, eax
jne 0x180023d65
call qword [sym.imp.USER32.dll_GetCapture]
cmp rax, r15
jne 0x180023d65
call qword [sym.imp.USER32.dll_ReleaseCapture]
xor r8d, r8d
mov edx, ebp
call fcn.180001784
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.180102790
mov rbx, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret