Function at 0x14003ea50
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x3f]
sub rsp, 0xe0
mov rax, qword [0x1400c24b8]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov rbx, rdx
mov rdi, rcx
cmp r8d, 0xa
jne 0x14003ebd3
lea ecx, [r8 + 7]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x14003ebc8
xorps xmm0, xmm0
lea rdx, [rbp - 0x71]
mov rcx, rbx
movups xmmword [rbp - 0x71], xmm0
call qword [sym.imp.USER32.dll_GetWindowRect]
xorps xmm0, xmm0
lea rdx, [rbp - 0x61]
mov rcx, rbx
movups xmmword [rbp - 0x61], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
movaps xmm0, xmmword [rbp - 0x71]
mov r8, qword [rbp - 0x71]
mov r9, qword [rbp - 0x69]
mov eax, dword [rbp - 0x61]
sub eax, dword [rbp - 0x59]
sub eax, r8d
movdqa xmmword [rbp - 0x51], xmm0
add eax, r9d
movdqa xmmword [rbp - 0x41], xmm0
cdq
movdqa xmmword [rbp - 0x31], xmm0
sub eax, edx
movdqa xmmword [rbp - 0x21], xmm0
sar eax, 1
lea ecx, [r8 + rax]
shr r8, 0x20
mov dword [rbp - 0x49], ecx
add r8d, eax
mov ecx, r9d
mov dword [rbp - 0x25], r8d
sub ecx, eax
shr r9, 0x20
mov dword [rbp - 0x41], ecx
sub r9d, eax
lea rcx, [rsp + 0x20]
mov dword [rbp - 0x1d], r9d
call qword [sym.imp.USER32.dll_GetPhysicalCursorPos]
mov rdx, qword [rsp + 0x20]
lea rcx, [rbp - 0x51]
call qword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x14003eb6c
mov rdx, qword [rsp + 0x20]
lea rcx, [rbp - 0x41]
call qword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x14003eb6c
mov rdx, qword [rsp + 0x20]
lea rcx, [rbp - 0x31]
call qword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x14003eb6c
mov rdx, qword [rsp + 0x20]
lea rcx, [rbp - 0x21]
call qword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x14003ebc8
mov rax, qword [rdi + 0x28]
mov rdx, rax
mov rcx, qword [rax + 8]
cmp byte [rcx + 0x19], 0
jne 0x14003eb98
nop dword [rax]
cmp qword [rcx + 0x20], rbx
jae 0x14003eb8c
mov rcx, qword [rcx + 0x10]
jmp 0x14003eb92
mov rdx, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], 0
je 0x14003eb80
cmp byte [rdx + 0x19], 0
jne 0x14003ed6e
cmp rbx, qword [rdx + 0x20]
jb 0x14003ed6e
cmp rdx, rax
je 0x14003ed6e
mov rax, qword [0x1400ca5a8]
or dword [rax + 0x60], 0x80
jmp 0x14003ed6e
mov rdx, rbx
mov rcx, rdi
jmp 0x14003ed69
cmp r8d, 0xb
jne 0x14003ec38
mov rax, qword [rcx + 0x28]
mov rdx, rax
mov rcx, qword [rax + 8]
cmp byte [rcx + 0x19], 0
jne 0x14003ec08
nop word [rax + rax]
cmp qword [rcx + 0x20], rbx
jae 0x14003ebfc
mov rcx, qword [rcx + 0x10]
jmp 0x14003ec02
mov rdx, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], 0
je 0x14003ebf0
cmp byte [rdx + 0x19], 0
jne 0x14003ed6e
cmp rbx, qword [rdx + 0x20]
jb 0x14003ed6e
cmp rdx, rax
je 0x14003ed6e
mov rax, qword [0x1400ca5a8]
and dword [rax + 0x60], 0xffffff7f
jmp 0x14003ed6e
cmp r8d, 0x800b
jne 0x14003ed4d
mov rax, qword [rcx + 0x28]
mov rdx, rax
mov rcx, qword [rax + 8]
cmp byte [rcx + 0x19], 0
jne 0x14003ec6e
cmp qword [rcx + 0x20], rbx
jae 0x14003ec62
mov rcx, qword [rcx + 0x10]
jmp 0x14003ec68
mov rdx, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], 0
je 0x14003ec56
cmp byte [rdx + 0x19], 0
jne 0x14003ed6e
cmp rbx, qword [rdx + 0x20]
jb 0x14003ed6e
cmp rdx, rax
je 0x14003ed6e
mov rcx, rbx
call qword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
je 0x14003ed6e
mov rax, qword [rdi + 0x28]
mov qword [rsp + 0x20], rbx
mov rdx, rax
mov rcx, qword [rax + 8]
cmp byte [rcx + 0x19], 0
jne 0x14003ecca
cmp qword [rcx + 0x20], rbx
jae 0x14003ecbe
mov rcx, qword [rcx + 0x10]
jmp 0x14003ecc4
mov rdx, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], 0
je 0x14003ecb2
cmp byte [rdx + 0x19], 0
jne 0x14003ed45
cmp rbx, qword [rdx + 0x20]
jb 0x14003ed45
cmp rdx, rax
je 0x14003ed45
lea rdx, [rsp + 0x20]
movaps xmmword [rsp + 0xd0], xmm6
lea rcx, [rdi + 0x28]
call fcn.14003e880
mov rcx, qword [rsp + 0x20]
lea rdx, [rbp - 0x11]
xorps xmm0, xmm0
xorps xmm1, xmm1
movups xmm6, xmmword [rax + 0x20]
mov qword [rbp + 0x13], 0
movdqu xmmword [rbp - 0xd], xmm0
mov dword [rbp - 0x11], 0x2c
movdqu xmmword [rbp + 3], xmm1
call qword [sym.imp.USER32.dll_GetWindowPlacement]
mov rcx, qword [rsp + 0x20]
lea rdx, [rbp - 0x11]
movups xmmword [rbp + 0xb], xmm6
mov dword [rbp - 9], 8
call qword [sym.imp.USER32.dll_SetWindowPlacement]
movaps xmm6, xmmword [rsp + 0xd0]
mov rdx, rbx
mov rcx, rdi
jmp 0x14003ed69
cmp r9d, 3
jne 0x14003ed63
mov r8, qword [rbp + 0x7f]
test r8, r8
je 0x14003ed6e
call fcn.14003eda0
jmp 0x14003ed6e
cmp r9d, 2
jne 0x14003ed6e
call fcn.14003e9a0
xor al, al
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.140064920
mov rbx, qword [rsp + 0x110]
add rsp, 0xe0
pop rdi
pop rsi
pop rbp
ret