Function at 0x140026f9c
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 [0x14039a710]
xor r12d, r12d
mov r14, r9
mov rbx, r8
mov r15, rcx
test rbp, rbp
je 0x1400274e1
mov rsi, qword [rbp + 0x90]
lea edi, [r12 + 1]
mov ecx, 0x20c
lea eax, [rcx - 8]
lea r8d, [rcx - 7]
cmp edx, eax
ja 0x1400273be
je 0x140027255
mov eax, 0x104
lea r13d, [rax - 4]
cmp edx, eax
ja 0x14002721e
je 0x140027216
mov eax, edx
sub eax, 7
je 0x140027196
sub eax, edi
je 0x140027196
sub eax, 0x18
je 0x140027177
sub eax, 0xe0
je 0x1400270d7
sub eax, edi
je 0x1400270d7
cmp eax, edi
jne 0x1400274e1
lea rax, [rbx - 1]
cmp rax, 0xfffe
ja 0x1400274e1
test bx, bx
jne 0x14002706b
cmp word [rbp + 0x3744], r12w
je 0x1400274e1
mov ecx, 0xfc00
movzx eax, bx
and ax, cx
mov edx, 0xd800
movzx ecx, word [rbp + 0x3744]
cmp ax, dx
jne 0x1400270a2
test cx, cx
je 0x140027096
mov edx, 0xfffd
call fcn.140002540
mov word [rbp + 0x3744], bx
jmp 0x1400274e1
test cx, cx
je 0x1400270ca
mov ecx, 0xdc00
cmp ax, cx
je 0x1400270bd
mov edx, 0xfffd
call fcn.140002540
jmp 0x1400270c2
mov ebx, 0xfffd
mov word [rbp + 0x3744], r12w
movzx edx, bx
call fcn.140002540
jmp 0x1400274e1
cmp edx, r13d
je 0x140027216
mov sil, r12b
cmp rbx, r13
jae 0x1400274e1
call fcn.140026178
cmp rbx, 0xd
jne 0x140027107
shr r14, 0x10
mov eax, 0x10d
test r13w, r14w
cmovne ebx, eax
movsxd rcx, ebx
call fcn.140026a08
test eax, eax
je 0x140027120
mov r8d, ebx
mov dl, sil
mov ecx, eax
call fcn.140026118
cmp ebx, 0x10
jne 0x14002730c
mov ebx, 0xa0
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, dil
cmp al, sil
jne 0x140027151
mov r8d, ebx
mov dl, sil
mov ecx, 0x210
call fcn.140026118
mov ebx, 0xa1
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, dil
cmp al, sil
jne 0x1400274e1
mov ecx, 0x214
jmp 0x1400273ae
cmp r14w, di
jne 0x1400274e1
call fcn.14002606c
test al, al
je 0x1400274e1
mov rax, rdi
jmp 0x1400274e3
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 0x1400271ef
inc ecx
test r8d, r8d
je 0x1400271db
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x1400271e0
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.140015c30
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 0x1400274e1
mov sil, dil
jmp 0x1400270e3
mov eax, edx
sub eax, 0x105
je 0x1400270e0
sub eax, 0xfb
je 0x1400272b9
sub eax, edi
je 0x14002724a
sub eax, edi
je 0x14002748b
cmp eax, edi
jne 0x1400274e1
mov r14d, r12d
cmp edx, 0x206
jne 0x140027258
mov r14d, edi
lea eax, [rdx - 0x207]
mov ecx, 0xfffffffd
test ecx, eax
mov ebp, 2
lea eax, [rdx - 0x20b]
cmove r14d, ebp
test ecx, eax
jne 0x14002728a
shr rbx, 0x10
mov r14d, r12d
cmp bx, di
setne r14b
add r14d, 3
cmp dword [rsi + 0x14], r12d
jne 0x1400272a4
call qword [sym.imp.USER32.dll_GetCapture]
test rax, rax
jne 0x1400272a4
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 0x1400274dc
mov qword [rsi + 8], r15
cmp byte [rsi + 0x10], r12b
jne 0x1400272ed
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 0x14002745e
cmp ebx, 0x11
jne 0x14002735c
mov ebx, 0xa2
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, dil
cmp al, sil
jne 0x140027339
mov r8d, ebx
mov dl, sil
mov ecx, 0x20f
call fcn.140026118
mov ebx, 0xa3
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, dil
cmp al, sil
jne 0x1400274e1
mov ecx, 0x213
jmp 0x1400273ae
cmp ebx, 0x12
jne 0x1400274e1
mov ebx, 0xa4
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, dil
cmp al, sil
jne 0x14002738d
mov r8d, ebx
mov dl, sil
mov ecx, 0x211
call fcn.140026118
mov ebx, 0xa5
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, dil
cmp al, sil
jne 0x1400274e1
mov ecx, 0x215
mov r8d, ebx
mov dl, sil
call fcn.140026118
jmp 0x1400274e1
mov eax, 0x20b
cmp edx, eax
ja 0x140027423
je 0x14002724a
mov eax, edx
sub eax, r8d
je 0x14002748b
sub eax, edi
je 0x14002724a
sub eax, edi
je 0x14002724a
sub eax, edi
je 0x14002748b
sub eax, edi
je 0x14002724a
cmp eax, edi
jne 0x1400274e1
shr rbx, 0x10
xorps xmm1, xmm1
movsx eax, bx
movd xmm2, eax
cvtdq2ps xmm2, xmm2
divss xmm2, dword [0x140391700]
call fcn.140002848
jmp 0x1400274e1
mov eax, edx
sub eax, ecx
je 0x14002748b
sub eax, edi
je 0x14002724a
sub eax, edi
je 0x140027470
sub eax, 0xb
je 0x140027465
cmp eax, 0x8a
jne 0x1400274e1
cmp qword [rsi + 8], r15
jne 0x14002744f
mov qword [rsi + 8], r12
movss xmm1, dword [0x14039180c]
movaps xmm2, xmm1
mov byte [rsi + 0x10], r12b
call fcn.140002720
jmp 0x1400274e1
cmp ebx, 7
jne 0x1400274e1
mov byte [rsi + 0x2d], dil
jmp 0x1400274e1
shr rbx, 0x10
xorps xmm2, xmm2
movsx eax, bx
movd xmm1, eax
cvtdq2ps xmm1, xmm1
divss xmm1, dword [0x140391700]
jmp 0x140027419
cmp edx, r8d
mov ebp, r12d
sete bpl
cmp edx, 0x208
jne 0x1400274a4
mov ebp, 2
jmp 0x1400274b9
cmp edx, ecx
jne 0x1400274b9
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 0x1400274d7
call qword [sym.imp.USER32.dll_GetCapture]
cmp rax, r15
jne 0x1400274d7
call qword [sym.imp.USER32.dll_ReleaseCapture]
xor r8d, r8d
mov edx, ebp
call fcn.1400027b0
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