Function at 0x140048190
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 [0x1400ce568]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov rbx, rdx
mov rdi, rcx
cmp r8d, 0xa
jne 0x140048313
lea ecx, [r8 + 7]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x140048308
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 0x1400482ac
mov rdx, qword [rsp + 0x20]
lea rcx, [rbp - 0x41]
call qword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x1400482ac
mov rdx, qword [rsp + 0x20]
lea rcx, [rbp - 0x31]
call qword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x1400482ac
mov rdx, qword [rsp + 0x20]
lea rcx, [rbp - 0x21]
call qword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x140048308
mov rax, qword [rdi + 0x28]
mov rdx, rax
mov rcx, qword [rax + 8]
cmp byte [rcx + 0x19], 0
jne 0x1400482d8
nop dword [rax]
cmp qword [rcx + 0x20], rbx
jae 0x1400482cc
mov rcx, qword [rcx + 0x10]
jmp 0x1400482d2
mov rdx, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], 0
je 0x1400482c0
cmp byte [rdx + 0x19], 0
jne 0x1400484ae
cmp rbx, qword [rdx + 0x20]
jb 0x1400484ae
cmp rdx, rax
je 0x1400484ae
mov rax, qword [0x1400d68b8]
or dword [rax + 0x60], 0x80
jmp 0x1400484ae
mov rdx, rbx
mov rcx, rdi
jmp 0x1400484a9
cmp r8d, 0xb
jne 0x140048378
mov rax, qword [rcx + 0x28]
mov rdx, rax
mov rcx, qword [rax + 8]
cmp byte [rcx + 0x19], 0
jne 0x140048348
nop word [rax + rax]
cmp qword [rcx + 0x20], rbx
jae 0x14004833c
mov rcx, qword [rcx + 0x10]
jmp 0x140048342
mov rdx, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], 0
je 0x140048330
cmp byte [rdx + 0x19], 0
jne 0x1400484ae
cmp rbx, qword [rdx + 0x20]
jb 0x1400484ae
cmp rdx, rax
je 0x1400484ae
mov rax, qword [0x1400d68b8]
and dword [rax + 0x60], 0xffffff7f
jmp 0x1400484ae
cmp r8d, 0x800b
jne 0x14004848d
mov rax, qword [rcx + 0x28]
mov rdx, rax
mov rcx, qword [rax + 8]
cmp byte [rcx + 0x19], 0
jne 0x1400483ae
cmp qword [rcx + 0x20], rbx
jae 0x1400483a2
mov rcx, qword [rcx + 0x10]
jmp 0x1400483a8
mov rdx, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], 0
je 0x140048396
cmp byte [rdx + 0x19], 0
jne 0x1400484ae
cmp rbx, qword [rdx + 0x20]
jb 0x1400484ae
cmp rdx, rax
je 0x1400484ae
mov rcx, rbx
call qword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
je 0x1400484ae
mov rax, qword [rdi + 0x28]
mov qword [rsp + 0x20], rbx
mov rdx, rax
mov rcx, qword [rax + 8]
cmp byte [rcx + 0x19], 0
jne 0x14004840a
cmp qword [rcx + 0x20], rbx
jae 0x1400483fe
mov rcx, qword [rcx + 0x10]
jmp 0x140048404
mov rdx, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], 0
je 0x1400483f2
cmp byte [rdx + 0x19], 0
jne 0x140048485
cmp rbx, qword [rdx + 0x20]
jb 0x140048485
cmp rdx, rax
je 0x140048485
lea rdx, [rsp + 0x20]
movaps xmmword [rsp + 0xd0], xmm6
lea rcx, [rdi + 0x28]
call fcn.140047fc0
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 0x1400484a9
cmp r9d, 3
jne 0x1400484a3
mov r8, qword [rbp + 0x7f]
test r8, r8
je 0x1400484ae
call fcn.1400484e0
jmp 0x1400484ae
cmp r9d, 2
jne 0x1400484ae
call fcn.1400480e0
xor al, al
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.14006fd90
mov rbx, qword [rsp + 0x110]
add rsp, 0xe0
pop rdi
pop rsi
pop rbp
ret