Function at 0x14002b740
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x90
mov rax, qword [0x1400cd548]
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 0x14002927e
cmp dword [rcx + 0x110], 0xffffffff
jne 0x14002927e
test byte [0x1400cf0f4], 2
je 0x14002927e
mov rdx, qword [0x1400cf0f8]
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.1400261e0
test al, al
je 0x14002927e
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 [0x1400cf0f4]
test edx, edx
je 0x140029242
test al, 8
jne 0x14002924c
test ecx, ecx
je 0x14002925b
test al, 0x10
je 0x14002925b
test al, 8
cmovne ecx, edx
mov dword [rbx + 0x110], ecx
mov eax, dword [0x1400cf0f4]
mov edx, dword [rsp + 0x60]
mov ecx, dword [rsp + 0x64]
test edx, edx
je 0x14002926b
test al, 0x20
jne 0x140029275
test ecx, ecx
je 0x14002927e
test al, 0x40
je 0x14002927e
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 0x1400292fa
mov r8, qword [rbx + 0xc0]
mov rcx, rdx
mov rax, qword [rbx + 0xc8]
sub rax, r8
sar rax, 4
cmp rax, rdx
jbe 0x1400293a0
mov edi, dword [rsi + 0xc]
add rcx, rcx
mov rax, qword [r8 + rcx*8]
shr rax, 0x20
sub edi, eax
je 0x1400292fa
lea rcx, [rbx + 0x28]
mov r8d, edi
call fcn.140026ab0
test al, al
je 0x1400292f3
mov edx, dword [rbx + 0x114]
lea rcx, [rbx + 0xf8]
mov r8d, edi
mov byte [rbx + 0x118], 0
call fcn.140026d20
jmp 0x1400292fa
mov byte [rbx + 0x118], 1
movsxd rdx, dword [rbx + 0x110]
cmp edx, 0xffffffff
jle 0x140029365
mov r8, qword [rbx + 0xa8]
mov rcx, rdx
mov rax, qword [rbx + 0xb0]
sub rax, r8
sar rax, 4
cmp rax, rdx
jbe 0x1400293a0
mov edi, dword [rsi + 8]
shl rcx, 4
sub edi, dword [rcx + r8]
je 0x140029365
lea rcx, [rbx + 0x28]
mov r8d, edi
call fcn.140026f30
test al, al
je 0x14002935e
mov edx, dword [rbx + 0x110]
lea rcx, [rbx + 0xf8]
mov r8d, edi
call fcn.140027190
mov byte [rbx + 0x118], 0
jmp 0x140029365
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.14006ed70
mov rbx, qword [rsp + 0xb8]
add rsp, 0x90
pop rsi
ret
call fcn.140006b00
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 0x14002b7a8
mov rax, qword [0x1400d5758]
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 0x140029160
cmp qword [rdi + 0x168], 0
mov qword [rsp + 0x30], rbx
je 0x14002b80b
mov rax, qword [0x1400d5758]
lea rcx, [rdi + 0x160]
mov rdx, rsi
and dword [rax + 0x50], 0xfffffdff
call fcn.1400293b0
test al, al
jne 0x14002b7f6
xor edx, edx
mov rcx, rsi
call fcn.14002ce10
mov rcx, rsi
call fcn.14002cdf0
lea rcx, [0x1400cf0f0]
call fcn.140029a30
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 0x14002b844
mov byte [rdi + 0x2a0], al
mov rbx, qword [rdi + 8]
cmp rbx, qword [rdi + 0x10]
je 0x14002b844
mov rcx, rbx
test bp, bp
je 0x14002b832
call fcn.14002cd00
jmp 0x14002b837
call fcn.14002cc00
add rbx, 0x100
cmp rbx, qword [rdi + 0x10]
jne 0x14002b823
mov rbx, qword [rdi + 8]
cmp rbx, qword [rdi + 0x10]
je 0x14002b7d8
nop
mov rdx, rsi
mov rcx, rbx
call fcn.14002cc60
test al, al
jne 0x14002b871
add rbx, 0x100
cmp rbx, qword [rdi + 0x10]
jne 0x14002b850
jmp 0x14002b7d8
mov rax, qword [0x1400d5758]
and dword [rax + 0x50], 0xfffffdff
jmp 0x14002b7f6