Function at 0x1400c14b8
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
movsxd rax, dword [rcx + 0x1038]
and dword [rsp + 0x80], 0
mov esi, edx
mov rbx, rcx
test eax, eax
jns 0x1400c14e8
xor ebp, ebp
jmp 0x1400c14ff
mov rdx, rax
add rcx, 0x1080
call fcn.1400be0f4
mov rbp, rax
test rax, rax
jne 0x1400c1503
xor eax, eax
jmp 0x1400c1507
mov rax, qword [rax + 0x10]
mov r13d, dword [rbx + 0x1038]
xor r15d, r15d
mov qword [rsp + 0x98], rax
mov r12, rax
lea r14d, [r15 + 0x28]
cmp esi, 9
jne 0x1400c153d
lea ecx, [rsi + 7]
call qword [sym.imp.USER32.dll_GetKeyState]
and al, 0x80
neg al
mov rax, r12
sbb esi, esi
and esi, 0xfffffffe
add esi, r14d
mov rcx, rbp
cmp esi, 0xd
je 0x1400c192a
cmp esi, 0x20
jbe 0x1400c157b
cmp esi, 0x22
jbe 0x1400c1796
cmp esi, 0x23
je 0x1400c16c9
cmp esi, 0x24
je 0x1400c15f7
mov eax, 0x26
cmp esi, eax
je 0x1400c16cb
cmp esi, r14d
je 0x1400c15f9
cmp dword [0x140254ef8], r15d
jne 0x1400c1a82
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x1400c1a82
mov ecx, esi
call fcn.140097444
test eax, eax
je 0x1400c18d3
mov ecx, esi
call fcn.140097500
lea rcx, [rbx + 0x1210]
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x90]
mov esi, eax
mov dword [rsp + 0x90], eax
call fcn.140031d60
test eax, eax
je 0x1400c18d3
mov r12, qword [rsp + 0x20]
mov rax, qword [rbx + 0x1088]
xor ecx, ecx
lea edi, [rcx + 1]
jmp 0x1400c182a
xor ebp, ebp
cmp dword [rbx + 0x1290], r15d
je 0x1400c161a
cmp rcx, qword [rbx + 0x1090]
jne 0x1400c161a
cmp esi, 0x24
je 0x1400c161a
mov eax, 1
jmp 0x1400c1a89
mov edi, 1
mov dword [rsp + 0x80], edi
cmp qword [rbx + 0x1098], r15
je 0x1400c1a82
test rbp, rbp
je 0x1400c1646
mov rsi, qword [rbp]
test rsi, rsi
je 0x1400c1646
add r13d, edi
jmp 0x1400c1650
mov rsi, qword [rbx + 0x1088]
xor r13d, r13d
cmp rsi, rbp
je 0x1400c1a82
mov r14, rsi
mov r12, rsi
test rsi, rsi
je 0x1400c16c3
mov r12, qword [r12 + 0x10]
mov rsi, qword [rsi]
test byte [r12 + 0x28], dil
jne 0x1400c168a
lea rcx, [r12 + 0x60]
call qword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x1400c168a
cmp dword [r12 + 0x24], 0xfffffffe
jne 0x1400c16ae
add r13d, edi
test rsi, rsi
jne 0x1400c16a9
cmp dword [rbx + 0x1290], r15d
jne 0x1400c180a
mov rsi, qword [rbx + 0x1088]
xor r13d, r13d
cmp rsi, rbp
jne 0x1400c1659
test r14, r14
je 0x1400c1a82
mov r12, qword [r14 + 0x10]
mov r15d, edi
jmp 0x1400c19bb
call fcn.1400124d4
int3
xor ebp, ebp
cmp dword [rbx + 0x1290], r15d
je 0x1400c16e6
cmp rcx, qword [rbx + 0x1088]
jne 0x1400c16e6
cmp esi, 0x23
jne 0x1400c1610
mov rax, qword [rbx + 0x1098]
mov edi, 1
mov dword [rsp + 0x80], edi
test rax, rax
je 0x1400c1a82
test rbp, rbp
je 0x1400c1715
mov rsi, qword [rbp + 8]
test rsi, rsi
je 0x1400c1715
sub r13d, edi
jmp 0x1400c1720
mov rsi, qword [rbx + 0x1090]
lea r13d, [rax - 1]
cmp rsi, rbp
je 0x1400c1a82
mov r14, rsi
mov r12, rsi
test rsi, rsi
je 0x1400c1790
mov r12, qword [r12 + 0x10]
mov rsi, qword [rsi + 8]
test byte [r12 + 0x28], dil
jne 0x1400c175f
lea rcx, [r12 + 0x60]
call qword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x1400c175f
cmp dword [r12 + 0x24], 0xfffffffe
jne 0x1400c16ae
sub r13d, edi
test rsi, rsi
jne 0x1400c1785
cmp dword [rbx + 0x1290], r15d
jne 0x1400c180a
mov r13d, dword [rbx + 0x1098]
mov rsi, qword [rbx + 0x1090]
sub r13d, edi
cmp rsi, rbp
je 0x1400c16ae
jmp 0x1400c1729
call fcn.1400124d4
int3
cmp dword [rbx + 0x1290], r15d
je 0x1400c1a82
mov eax, dword [rbx + 0x1294]
test eax, eax
jle 0x1400c1a82
mov r12d, dword [rbx + 0x1038]
mov edi, 1
xor ebp, ebp
mov dword [rbx + 0x1298], edi
test eax, eax
jle 0x1400c17ec
lea eax, [rdi + 0x25]
cmp esi, 0x21
cmove r14d, eax
mov rax, qword [rbx]
mov edx, r14d
mov rcx, rbx
call qword [rax + 0x7b0]
add ebp, edi
cmp ebp, dword [rbx + 0x1294]
jl 0x1400c17d3
mov edx, dword [rbx + 0x1038]
and dword [rbx + 0x1298], r15d
cmp r12d, edx
je 0x1400c180a
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x468]
mov eax, edi
jmp 0x1400c1a89
mov rdx, rax
test rax, rax
je 0x1400c1892
mov rax, qword [rax]
cmp qword [rdx + 0x10], r15
je 0x1400c188c
cmp qword [rdx + 0x10], r12
je 0x1400c1887
add ecx, edi
test rax, rax
jne 0x1400c1811
lea rcx, [0x14024c7a0]
mov rdx, r12
call fcn.1400577f4
mov rsi, rax
test rax, rax
je 0x1400c19bb
mov rax, qword [rax]
xor edx, edx
mov rcx, rsi
call qword [rax + 0x190]
test eax, eax
je 0x1400c1898
mov rcx, qword [rsi + 0xb8]
test rcx, rcx
je 0x1400c19bb
mov rcx, qword [rcx + 0x40]
xor r9d, r9d
mov edx, pe_nt_image_headers64
lea r8d, [r9 + 0x24]
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1400c19bb
mov r13d, ecx
jmp 0x1400c182f
call fcn.1400124d4
int3
call fcn.1400124d4
int3
bt dword [r12 + 0x28], 0x12
mov rcx, rbx
jae 0x1400c18b3
mov r8, r12
xor edx, edx
call fcn.1400c059c
jmp 0x1400c180a
mov rax, qword [rbx]
mov rdx, rsi
call qword [rax + 0x780]
mov dword [rsp + 0x80], eax
test eax, eax
je 0x1400c19bb
jmp 0x1400c180a
cmp dword [0x14024a588], r15d
je 0x1400c1a82
cmp dword [rbx + 0x1278], r15d
jne 0x1400c1a82
and dword [rsp + 0x90], r15d
lea rcx, [rbx + 0x12e0]
lea r8, [rsp + 0x90]
mov edx, esi
call fcn.140031d30
test eax, eax
je 0x1400c1a82
mov edx, dword [rsp + 0x90]
xor r8d, r8d
mov rcx, rbx
call fcn.1400c059c
jmp 0x1400c1610
lea rcx, [0x14024c7a0]
mov edi, 1
mov rdx, rax
mov dword [rsp + 0x80], edi
call fcn.1400577f4
mov rsi, rax
test rax, rax
je 0x1400c1a82
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x1d8]
test eax, eax
jne 0x1400c1978
mov r8, qword [rsi]
xor edx, edx
mov rcx, rsi
call qword [r8 + 0x190]
test eax, eax
jne 0x1400c1a82
mov rcx, qword [rbx + 0x70]
test rcx, rcx
jne 0x1400c198e
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
call fcn.14001917c
xor r9d, r9d
mov edx, 0x362
mov rcx, qword [rax + 0x40]
mov r8d, 0xe001
call qword [sym.imp.USER32.dll_SendMessageW]
mov r11, qword [rbx]
mov rdx, rsi
mov rcx, rbx
call qword [r11 + 0x780]
mov rsi, qword [rsp + 0x98]
cmp r12, rsi
je 0x1400c1a82
test r15d, r15d
je 0x1400c19e9
cmp dword [rbx + 0x1298], 0
jne 0x1400c19e9
mov rax, qword [rbx]
mov edx, r13d
mov rcx, rbx
call qword [rax + 0x468]
cmp dword [0x140254ef8], 0
je 0x1400c19f9
mov dword [rbx + 0x103c], r13d
mov rcx, qword [rbx + 0x40]
lea rdx, [rsp + 0x30]
mov dword [rbx + 0x1038], r13d
call qword [sym.imp.USER32.dll_GetClientRect]
movdqu xmm5, xmmword [r12 + 0x60]
movdqu xmmword [rsp + 0x20], xmm5
mov rax, qword [rsp + 0x20]
shr rax, 0x20
cmp eax, dword [rsp + 0x34]
jl 0x1400c1a6c
mov rax, qword [rsp + 0x28]
shr rax, 0x20
cmp eax, dword [rsp + 0x3c]
jg 0x1400c1a6c
test rsi, rsi
je 0x1400c1a50
mov rcx, qword [rbx + 0x40]
lea rdx, [rsi + 0x60]
mov r8d, edi
call qword [sym.imp.USER32.dll_InvalidateRect]
mov rcx, qword [rbx + 0x40]
lea rdx, [rsp + 0x20]
mov r8d, edi
call qword [sym.imp.USER32.dll_InvalidateRect]
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov edx, dword [r12 + 0x24]
cmp edx, 0xffffffff
je 0x1400c1a82
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x7e0]
mov eax, dword [rsp + 0x80]
mov rbx, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret