Function at 0x1400c50b6
Capabilities:
Log keystrokes via polling

Disassembly:
jmp 0x14023f810
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x1d0
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x34
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1f8]
mov rax, qword [0x1402cc0c0]
xor rax, rbp
mov qword [rbp + 0x188], rax
lea rcx, [0x1402e7e3c]
call fcn.1400c56ce
nop
mov rax, qword [rbp + 0x1b0]
add rax, 0xa0
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_FindWindowA]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x14023f88a
mov byte [0x1402d48d0], 0
jmp 0x14023fb54
mov dword [rbp + 0x24], 0
lea rdx, [rbp + 0x24]
mov rax, qword [rbp + 0x1b0]
mov rcx, qword [rax + 0x50]
call qword [sym.imp.USER32.dll_GetWindowDisplayAffinity]
nop
movzx eax, byte [0x1402d4913]
test eax, eax
je 0x14023f8d1
cmp dword [rbp + 0x24], 0
jne 0x14023f8d1
mov edx, 0x11
mov rax, qword [rbp + 0x1b0]
mov rcx, qword [rax + 0x50]
call qword [sym.imp.USER32.dll_SetWindowDisplayAffinity]
nop
jmp 0x14023f8f6
movzx eax, byte [0x1402d4913]
test eax, eax
jne 0x14023f8f6
cmp dword [rbp + 0x24], 0x11
jne 0x14023f8f6
xor edx, edx
mov rax, qword [rbp + 0x1b0]
mov rcx, qword [rax + 0x50]
call qword [sym.imp.USER32.dll_SetWindowDisplayAffinity]
nop
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov qword [rbp + 0x48], rax
mov edx, 0xffffffec
mov rax, qword [rbp + 0x1b0]
mov rcx, qword [rax + 0x50]
call qword [sym.imp.USER32.dll_GetWindowLongA]
mov dword [rbp + 0x64], eax
movzx eax, byte [0x1402d48d1]
test eax, eax
je 0x14023f94e
mov eax, dword [rbp + 0x64]
cmp dword [0x1402cbbf4], eax
je 0x14023f94e
mov r8d, 0x80088
mov edx, 0xffffffec
mov rax, qword [rbp + 0x1b0]
mov rcx, qword [rax + 0x50]
call qword [sym.imp.USER32.dll_SetWindowLongA]
nop
jmp 0x14023f981
movzx eax, byte [0x1402d48d1]
test eax, eax
jne 0x14023f981
mov eax, dword [rbp + 0x64]
cmp dword [0x1402cbbf8], eax
je 0x14023f981
mov r8d, 0x800a8
mov edx, 0xffffffec
mov rax, qword [rbp + 0x1b0]
mov rcx, qword [rax + 0x50]
call qword [sym.imp.USER32.dll_SetWindowLongA]
nop
mov ecx, dword [0x1402d4920]
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
je 0x14023f9f0
movzx eax, byte [0x1402d48d1]
test eax, eax
jne 0x14023f9f0
movzx eax, byte [0x1402d48d1]
test eax, eax
jne 0x14023f9b4
mov dword [rbp + 0x184], 1
jmp 0x14023f9be
mov dword [rbp + 0x184], 0
movzx eax, byte [rbp + 0x184]
mov byte [0x1402d48d1], al
mov rax, qword [rbp + 0x1b0]
mov rax, qword [rax + 0x50]
cmp qword [rbp + 0x48], rax
je 0x14023f9ee
mov rax, qword [rbp + 0x1b0]
mov rcx, qword [rax + 0x50]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
nop
jmp 0x14023fa4f
mov ecx, dword [0x1402d4920]
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jne 0x14023fa4f
movzx eax, byte [0x1402d48d1]
test eax, eax
je 0x14023fa4f
movzx eax, byte [0x1402d48d1]
test eax, eax
jne 0x14023fa23
mov dword [rbp + 0x184], 1
jmp 0x14023fa2d
mov dword [rbp + 0x184], 0
movzx eax, byte [rbp + 0x184]
mov byte [0x1402d48d1], al
mov rax, qword [rbp + 8]
cmp qword [rbp + 0x48], rax
je 0x14023fa4f
mov rcx, qword [rbp + 8]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
nop
lea rax, [rbp + 0x88]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
lea rax, [rbp + 0xb8]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
lea rdx, [rbp + 0x88]
mov rcx, qword [rbp + 8]
call qword [sym.imp.USER32.dll_GetClientRect]
nop
lea rdx, [rbp + 0xb8]
mov rcx, qword [rbp + 8]
call qword [sym.imp.USER32.dll_ClientToScreen]
nop
mov eax, dword [0x1402d48e0]
cmp dword [rbp + 0x88], eax
jne 0x14023faed
mov eax, dword [0x1402d48ec]
cmp dword [rbp + 0x94], eax
jne 0x14023faed
mov eax, dword [0x1402d48e4]
cmp dword [rbp + 0x8c], eax
jne 0x14023faed
mov eax, dword [0x1402d48e8]
cmp dword [rbp + 0x90], eax
jne 0x14023faed
mov eax, dword [0x1402d48f0]
cmp dword [rbp + 0xb8], eax
jne 0x14023faed
mov eax, dword [0x1402d48f4]
cmp dword [rbp + 0xbc], eax
je 0x14023fb54
lea rax, [0x1402d48e0]
lea rcx, [rbp + 0x88]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rbp + 0xb8]
mov qword [0x1402d48f0], rax
mov dword [rsp + 0x30], 8
mov eax, dword [0x1402d48ec]
mov dword [rsp + 0x28], eax
mov eax, dword [0x1402d48e8]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbp + 0xbc]
mov r8d, dword [rbp + 0xb8]
xor edx, edx
mov rax, qword [rbp + 0x1b0]
mov rcx, qword [rax + 0x50]
call qword [sym.imp.USER32.dll_SetWindowPos]
nop
lea rcx, [rbp - 0x40]
lea rdx, [0x1402ac1e0]
call fcn.1400c4d41
mov rcx, qword [rbp + 0x188]
xor rcx, rbp
call fcn.1400c39eb
lea rsp, [rbp + 0x190]
pop rdi
pop rsi
pop rbp
ret