Function at 0x1400c4064
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 0x1400c4094
xor ebp, ebp
jmp 0x1400c40ab
mov rdx, rax
add rcx, 0x1080
call fcn.1400c0b24
mov rbp, rax
test rax, rax
jne 0x1400c40af
xor eax, eax
jmp 0x1400c40b3
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 0x1400c40e9
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 0x1400c44d6
cmp esi, 0x20
jbe 0x1400c4127
cmp esi, 0x22
jbe 0x1400c4342
cmp esi, 0x23
je 0x1400c4275
cmp esi, 0x24
je 0x1400c41a3
mov eax, 0x26
cmp esi, eax
je 0x1400c4277
cmp esi, r14d
je 0x1400c41a5
cmp dword [0x140258fb8], r15d
jne 0x1400c462e
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x1400c462e
mov ecx, esi
call fcn.140099eac
test eax, eax
je 0x1400c447f
mov ecx, esi
call fcn.140099f68
lea rcx, [rbx + 0x1210]
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x90]
mov esi, eax
mov dword [rsp + 0x90], eax
call fcn.140034914
test eax, eax
je 0x1400c447f
mov r12, qword [rsp + 0x20]
mov rax, qword [rbx + 0x1088]
xor ecx, ecx
lea edi, [rcx + 1]
jmp 0x1400c43d6
xor ebp, ebp
cmp dword [rbx + 0x1290], r15d
je 0x1400c41c6
cmp rcx, qword [rbx + 0x1090]
jne 0x1400c41c6
cmp esi, 0x24
je 0x1400c41c6
mov eax, 1
jmp 0x1400c4635
mov edi, 1
mov dword [rsp + 0x80], edi
cmp qword [rbx + 0x1098], r15
je 0x1400c462e
test rbp, rbp
je 0x1400c41f2
mov rsi, qword [rbp]
test rsi, rsi
je 0x1400c41f2
add r13d, edi
jmp 0x1400c41fc
mov rsi, qword [rbx + 0x1088]
xor r13d, r13d
cmp rsi, rbp
je 0x1400c462e
mov r14, rsi
mov r12, rsi
test rsi, rsi
je 0x1400c426f
mov r12, qword [r12 + 0x10]
mov rsi, qword [rsi]
test byte [r12 + 0x28], dil
jne 0x1400c4236
lea rcx, [r12 + 0x60]
call qword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x1400c4236
cmp dword [r12 + 0x24], 0xfffffffe
jne 0x1400c425a
add r13d, edi
test rsi, rsi
jne 0x1400c4255
cmp dword [rbx + 0x1290], r15d
jne 0x1400c43b6
mov rsi, qword [rbx + 0x1088]
xor r13d, r13d
cmp rsi, rbp
jne 0x1400c4205
test r14, r14
je 0x1400c462e
mov r12, qword [r14 + 0x10]
mov r15d, edi
jmp 0x1400c4567
call fcn.14001501c
int3
xor ebp, ebp
cmp dword [rbx + 0x1290], r15d
je 0x1400c4292
cmp rcx, qword [rbx + 0x1088]
jne 0x1400c4292
cmp esi, 0x23
jne 0x1400c41bc
mov rax, qword [rbx + 0x1098]
mov edi, 1
mov dword [rsp + 0x80], edi
test rax, rax
je 0x1400c462e
test rbp, rbp
je 0x1400c42c1
mov rsi, qword [rbp + 8]
test rsi, rsi
je 0x1400c42c1
sub r13d, edi
jmp 0x1400c42cc
mov rsi, qword [rbx + 0x1090]
lea r13d, [rax - 1]
cmp rsi, rbp
je 0x1400c462e
mov r14, rsi
mov r12, rsi
test rsi, rsi
je 0x1400c433c
mov r12, qword [r12 + 0x10]
mov rsi, qword [rsi + 8]
test byte [r12 + 0x28], dil
jne 0x1400c430b
lea rcx, [r12 + 0x60]
call qword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x1400c430b
cmp dword [r12 + 0x24], 0xfffffffe
jne 0x1400c425a
sub r13d, edi
test rsi, rsi
jne 0x1400c4331
cmp dword [rbx + 0x1290], r15d
jne 0x1400c43b6
mov r13d, dword [rbx + 0x1098]
mov rsi, qword [rbx + 0x1090]
sub r13d, edi
cmp rsi, rbp
je 0x1400c425a
jmp 0x1400c42d5
call fcn.14001501c
int3
cmp dword [rbx + 0x1290], r15d
je 0x1400c462e
mov eax, dword [rbx + 0x1294]
test eax, eax
jle 0x1400c462e
mov r12d, dword [rbx + 0x1038]
mov edi, 1
xor ebp, ebp
mov dword [rbx + 0x1298], edi
test eax, eax
jle 0x1400c4398
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 0x1400c437f
mov edx, dword [rbx + 0x1038]
and dword [rbx + 0x1298], r15d
cmp r12d, edx
je 0x1400c43b6
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x468]
mov eax, edi
jmp 0x1400c4635
mov rdx, rax
test rax, rax
je 0x1400c443e
mov rax, qword [rax]
cmp qword [rdx + 0x10], r15
je 0x1400c4438
cmp qword [rdx + 0x10], r12
je 0x1400c4433
add ecx, edi
test rax, rax
jne 0x1400c43bd
lea rcx, [0x1402507a0]
mov rdx, r12
call fcn.14005a468
mov rsi, rax
test rax, rax
je 0x1400c4567
mov rax, qword [rax]
xor edx, edx
mov rcx, rsi
call qword [rax + 0x190]
test eax, eax
je 0x1400c4444
mov rcx, qword [rsi + 0xb8]
test rcx, rcx
je 0x1400c4567
mov rcx, qword [rcx + 0x40]
xor r9d, r9d
mov edx, 0x100
lea r8d, [r9 + 0x24]
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1400c4567
mov r13d, ecx
jmp 0x1400c43db
call fcn.14001501c
int3
call fcn.14001501c
int3
bt dword [r12 + 0x28], 0x12
mov rcx, rbx
jae 0x1400c445f
mov r8, r12
xor edx, edx
call fcn.1400c309c
jmp 0x1400c43b6
mov rax, qword [rbx]
mov rdx, rsi
call qword [rax + 0x780]
mov dword [rsp + 0x80], eax
test eax, eax
je 0x1400c4567
jmp 0x1400c43b6
cmp dword [0x14024e588], r15d
je 0x1400c462e
cmp dword [rbx + 0x1278], r15d
jne 0x1400c462e
and dword [rsp + 0x90], r15d
lea rcx, [rbx + 0x12e0]
lea r8, [rsp + 0x90]
mov edx, esi
call fcn.1400348e4
test eax, eax
je 0x1400c462e
mov edx, dword [rsp + 0x90]
xor r8d, r8d
mov rcx, rbx
call fcn.1400c309c
jmp 0x1400c41bc
lea rcx, [0x1402507a0]
mov edi, 1
mov rdx, rax
mov dword [rsp + 0x80], edi
call fcn.14005a468
mov rsi, rax
test rax, rax
je 0x1400c462e
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x1d8]
test eax, eax
jne 0x1400c4524
mov r8, qword [rsi]
xor edx, edx
mov rcx, rsi
call qword [r8 + 0x190]
test eax, eax
jne 0x1400c462e
mov rcx, qword [rbx + 0x70]
test rcx, rcx
jne 0x1400c453a
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
call fcn.14001bcf8
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 0x1400c462e
test r15d, r15d
je 0x1400c4595
cmp dword [rbx + 0x1298], 0
jne 0x1400c4595
mov rax, qword [rbx]
mov edx, r13d
mov rcx, rbx
call qword [rax + 0x468]
cmp dword [0x140258fb8], 0
je 0x1400c45a5
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 0x1400c4618
mov rax, qword [rsp + 0x28]
shr rax, 0x20
cmp eax, dword [rsp + 0x3c]
jg 0x1400c4618
test rsi, rsi
je 0x1400c45fc
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 0x1400c462e
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