Function at 0x140024e54
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rbp, qword [0x140093ce0]
xor r12d, r12d
mov r14, r9
mov rbx, r8
mov r15, rcx
test rbp, rbp
je 0x1400253c4
mov rsi, qword [rbp + 0x90]
mov ecx, 0x20c
lea eax, [rcx - 8]
lea r8d, [rcx - 7]
cmp edx, eax
ja 0x14002520c
je 0x1400252ea
mov eax, 0x104
lea edi, [r12 + 1]
lea r13d, [rax - 4]
cmp edx, eax
ja 0x1400250d6
je 0x1400250ce
mov eax, edx
sub eax, 7
je 0x14002504e
sub eax, edi
je 0x14002504e
sub eax, 0x18
je 0x14002502f
sub eax, 0xe0
je 0x140024f8f
sub eax, edi
je 0x140024f8f
cmp eax, edi
jne 0x1400253c4
lea rax, [rbx - 1]
cmp rax, 0xfffe
ja 0x1400253c4
test bx, bx
jne 0x140024f23
cmp word [rbp + 0x3744], r12w
je 0x1400253c4
mov ecx, 0xfc00
movzx eax, bx
and ax, cx
mov edx, 0xd800
movzx ecx, word [rbp + 0x3744]
cmp ax, dx
jne 0x140024f5a
test cx, cx
je 0x140024f4e
mov edx, 0xfffd
call fcn.140002524
mov word [rbp + 0x3744], bx
jmp 0x1400253c4
test cx, cx
je 0x140024f82
mov ecx, 0xdc00
cmp ax, cx
je 0x140024f75
mov edx, 0xfffd
call fcn.140002524
jmp 0x140024f7a
mov ebx, 0xfffd
mov word [rbp + 0x3744], r12w
movzx edx, bx
call fcn.140002524
jmp 0x1400253c4
cmp edx, r13d
je 0x1400250ce
mov sil, r12b
cmp rbx, r13
jae 0x1400253c4
call fcn.140024030
cmp rbx, 0xd
jne 0x140024fbf
shr r14, 0x10
mov eax, 0x10d
test r13w, r14w
cmovne ebx, eax
movsxd rcx, ebx
call fcn.1400248c0
test eax, eax
je 0x140024fd8
mov r8d, ebx
mov dl, sil
mov ecx, eax
call fcn.140023fd0
cmp ebx, 0x10
jne 0x14002515a
mov ebx, 0xa0
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, dil
cmp al, sil
jne 0x140025009
mov r8d, ebx
mov dl, sil
mov ecx, 0x210
call fcn.140023fd0
mov ebx, 0xa1
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, dil
cmp al, sil
jne 0x1400253c4
mov ecx, 0x214
jmp 0x1400251fc
cmp r14w, di
jne 0x1400253c4
call fcn.140023f24
test al, al
je 0x1400253c4
mov rax, rdi
jmp 0x1400253c6
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 0x1400250a7
inc ecx
test r8d, r8d
je 0x140025093
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x140025098
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.1400150c4
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 0x1400253c4
mov sil, dil
jmp 0x140024f9b
mov eax, edx
sub eax, 0x105
je 0x140024f98
sub eax, 0xfb
je 0x140025107
sub eax, edi
je 0x1400252ef
sub eax, edi
je 0x14002536e
cmp eax, edi
je 0x1400252ef
jmp 0x1400253c4
mov qword [rsi + 8], r15
cmp byte [rsi + 0x10], r12b
jne 0x14002513b
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 0x1400252b3
cmp ebx, 0x11
jne 0x1400251aa
mov ebx, 0xa2
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, dil
cmp al, sil
jne 0x140025187
mov r8d, ebx
mov dl, sil
mov ecx, 0x20f
call fcn.140023fd0
mov ebx, 0xa3
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, dil
cmp al, sil
jne 0x1400253c4
mov ecx, 0x213
jmp 0x1400251fc
cmp ebx, 0x12
jne 0x1400253c4
mov ebx, 0xa4
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, dil
cmp al, sil
jne 0x1400251db
mov r8d, ebx
mov dl, sil
mov ecx, 0x211
call fcn.140023fd0
mov ebx, 0xa5
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, dil
cmp al, sil
jne 0x1400253c4
mov ecx, 0x215
mov r8d, ebx
mov dl, sil
call fcn.140023fd0
jmp 0x1400253c4
mov eax, 0x20b
cmp edx, eax
ja 0x140025276
je 0x1400252ea
mov eax, edx
sub eax, r8d
je 0x140025369
sub eax, 1
je 0x1400252ea
sub eax, 1
je 0x1400252ea
sub eax, 1
je 0x140025369
sub eax, 1
je 0x1400252ea
cmp eax, 1
jne 0x1400253c4
shr rbx, 0x10
xorps xmm1, xmm1
movsx eax, bx
movd xmm2, eax
cvtdq2ps xmm2, xmm2
divss xmm2, dword [0x14008d0b4]
call fcn.14000282c
jmp 0x1400253c4
mov eax, edx
sub eax, ecx
je 0x140025369
sub eax, 1
je 0x1400252ea
sub eax, 1
je 0x1400252cf
sub eax, 0xb
je 0x1400252bd
cmp eax, 0x8a
jne 0x1400253c4
cmp qword [rsi + 8], r15
jne 0x1400252a4
mov qword [rsi + 8], r12
movss xmm1, dword [0x14008d18c]
movaps xmm2, xmm1
mov byte [rsi + 0x10], r12b
call fcn.140002704
jmp 0x1400253c4
cmp ebx, 7
jne 0x1400253c4
mov byte [rsi + 0x2d], 1
jmp 0x1400253c4
shr rbx, 0x10
xorps xmm2, xmm2
movsx eax, bx
movd xmm1, eax
cvtdq2ps xmm1, xmm1
divss xmm1, dword [0x14008d0b4]
jmp 0x14002526c
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 0x14002533d
shr rbx, 0x10
mov r14d, r12d
cmp bx, di
setne r14b
add r14d, 3
cmp dword [rsi + 0x14], r12d
jne 0x140025357
call qword [sym.imp.USER32.dll_GetCapture]
test rax, rax
jne 0x140025357
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 0x1400253bf
mov edi, 1
cmp edx, r8d
mov ebp, r12d
sete bpl
cmp edx, 0x208
jne 0x140025387
mov ebp, 2
jmp 0x14002539c
cmp edx, ecx
jne 0x14002539c
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 0x1400253ba
call qword [sym.imp.USER32.dll_GetCapture]
cmp rax, r15
jne 0x1400253ba
call qword [sym.imp.USER32.dll_ReleaseCapture]
xor r8d, r8d
mov edx, ebp
call fcn.140002794
xor eax, eax
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret