Function at 0x1400230b0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x90
mov rax, qword [0x1400c24b8]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov eax, dword [rdx]
mov rsi, rdx
sub eax, dword [rcx + 0x18]
mov rbx, rcx
mov dword [rdx + 8], eax
mov eax, dword [rdx + 4]
sub eax, dword [rcx + 0x1c]
mov dword [rdx + 0xc], eax
cmp dword [rcx + 0x114], 0xffffffff
jne 0x140020bee
cmp dword [rcx + 0x110], 0xffffffff
jne 0x140020bee
test byte [0x1400c4024], 2
je 0x140020bee
mov rdx, qword [0x1400c4028]
lea r8, [rsp + 0x20]
xor eax, eax
xorps xmm0, xmm0
xorps xmm1, xmm1
mov qword [rsp + 0x20], rax
add rcx, 0xf8
mov qword [rsp + 0x28], rax
movdqa xmmword [rsp + 0x30], xmm0
movdqa xmmword [rsp + 0x40], xmm1
mov dword [rsp + 0x50], eax
movups xmmword [rsp + 0x54], xmm0
mov qword [rsp + 0x64], rax
mov dword [rsp + 0x6c], eax
call fcn.14001db50
test al, al
je 0x140020bee
mov rcx, qword [rsp + 0x20]
lea rdx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov edx, 0xfffffff9
lea rcx, [rsp + 0x70]
mov r8d, edx
call qword [sym.imp.USER32.dll_InflateRect]
mov edx, dword [rsp + 0x58]
mov ecx, dword [rsp + 0x5c]
mov eax, dword [0x1400c4024]
test edx, edx
je 0x140020bb2
test al, 8
jne 0x140020bbc
test ecx, ecx
je 0x140020bcb
test al, 0x10
je 0x140020bcb
test al, 8
cmovne ecx, edx
mov dword [rbx + 0x110], ecx
mov eax, dword [0x1400c4024]
mov edx, dword [rsp + 0x60]
mov ecx, dword [rsp + 0x64]
test edx, edx
je 0x140020bdb
test al, 0x20
jne 0x140020be5
test ecx, ecx
je 0x140020bee
test al, 0x40
je 0x140020bee
test al, 0x20
cmovne ecx, edx
mov dword [rbx + 0x114], ecx
movsxd rdx, dword [rbx + 0x114]
mov qword [rsp + 0xb0], rdi
cmp edx, 0xffffffff
jle 0x140020c6a
mov r8, qword [rbx + 0xc0]
mov rcx, rdx
mov rax, qword [rbx + 0xc8]
sub rax, r8
sar rax, 4
cmp rax, rdx
jbe 0x140020d10
mov edi, dword [rsi + 0xc]
add rcx, rcx
mov rax, qword [r8 + rcx*8]
shr rax, 0x20
sub edi, eax
je 0x140020c6a
lea rcx, [rbx + 0x28]
mov r8d, edi
call fcn.14001e420
test al, al
je 0x140020c63
mov edx, dword [rbx + 0x114]
lea rcx, [rbx + 0xf8]
mov r8d, edi
mov byte [rbx + 0x118], 0
call fcn.14001e690
jmp 0x140020c6a
mov byte [rbx + 0x118], 1
movsxd rdx, dword [rbx + 0x110]
cmp edx, 0xffffffff
jle 0x140020cd5
mov r8, qword [rbx + 0xa8]
mov rcx, rdx
mov rax, qword [rbx + 0xb0]
sub rax, r8
sar rax, 4
cmp rax, rdx
jbe 0x140020d10
mov edi, dword [rsi + 8]
shl rcx, 4
sub edi, dword [rcx + r8]
je 0x140020cd5
lea rcx, [rbx + 0x28]
mov r8d, edi
call fcn.14001e8a0
test al, al
je 0x140020cce
mov edx, dword [rbx + 0x110]
lea rcx, [rbx + 0xf8]
mov r8d, edi
call fcn.14001eb00
mov byte [rbx + 0x118], 0
jmp 0x140020cd5
mov byte [rbx + 0x118], 1
mov rcx, qword [rbx + 8]
xor edx, edx
lea r8d, [rdx + 1]
call qword [sym.imp.USER32.dll_InvalidateRect]
mov rdi, qword [rsp + 0xb0]
mov al, 1
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140064920
mov rbx, qword [rsp + 0xb8]
add rsp, 0x90
pop rsi
ret
call fcn.14000ed00
int3
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rax, qword [rdx]
lea rsi, [rcx + 0x280]
mov rdi, rcx
mov qword [rsi], rax
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movzx ebp, ax
mov eax, 0x8000
and bp, ax
seta al
cmp qword [rdi + 0x48], 0
je 0x140023118
mov rax, qword [0x1400ca5a8]
lea rcx, [rdi + 0x40]
mov rdx, rsi
and dword [rax + 0x50], 0xfffffdff
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp 0x140020ad0
cmp qword [rdi + 0x168], 0
mov qword [rsp + 0x30], rbx
je 0x14002317b
mov rax, qword [0x1400ca5a8]
lea rcx, [rdi + 0x160]
mov rdx, rsi
and dword [rax + 0x50], 0xfffffdff
call fcn.140020d20
test al, al
jne 0x140023166
xor edx, edx
mov rcx, rsi
call fcn.140024780
mov rcx, rsi
call fcn.140024760
lea rcx, [0x1400c4020]
call fcn.1400213a0
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
cmp al, byte [rdi + 0x2a0]
je 0x1400231b4
mov byte [rdi + 0x2a0], al
mov rbx, qword [rdi + 8]
cmp rbx, qword [rdi + 0x10]
je 0x1400231b4
mov rcx, rbx
test bp, bp
je 0x1400231a2
call fcn.140024670
jmp 0x1400231a7
call fcn.140024570
add rbx, 0x100
cmp rbx, qword [rdi + 0x10]
jne 0x140023193
mov rbx, qword [rdi + 8]
cmp rbx, qword [rdi + 0x10]
je 0x140023148
nop
mov rdx, rsi
mov rcx, rbx
call fcn.1400245d0
test al, al
jne 0x1400231e1
add rbx, 0x100
cmp rbx, qword [rdi + 0x10]
jne 0x1400231c0
jmp 0x140023148
mov rax, qword [0x1400ca5a8]
and dword [rax + 0x50], 0xfffffdff
jmp 0x140023166