Function at 0x14005c1d0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x70
mov rax, qword [0x140070040]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp qword [rdx + 0x18], 0xf
mov rdi, rcx
mov rcx, rdx
mov rbx, rdx
jbe 0x14005c1fa
mov rcx, qword [rdx]
xor edx, edx
call qword [sym.imp.USER32.dll_FindWindowA]
mov rbp, rax
test rax, rax
jne 0x14005c272
mov byte [0x1400701e0], al
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x14005c24a
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14005c245
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14005c44a
mov rcx, r8
call fcn.14005d0ec
mov byte [rbx], 0
mov qword [rbx + 0x18], 0xf
mov qword [rbx + 0x10], 0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14005d090
add rsp, 0x70
pop rdi
pop rbp
pop rbx
ret
mov rcx, qword [rdi + 0x50]
lea rdx, [rsp + 0x40]
mov qword [rsp + 0xa0], r14
mov dword [rsp + 0x40], 0
call qword [sym.imp.USER32.dll_GetWindowDisplayAffinity]
cmp byte [0x140070240], 0
je 0x14005c2a8
cmp dword [rsp + 0x40], 0
jne 0x14005c2bb
mov edx, 0x11
jmp 0x14005c2b1
cmp dword [rsp + 0x40], 0x11
jne 0x14005c2bb
xor edx, edx
mov rcx, qword [rdi + 0x50]
call qword [sym.imp.USER32.dll_SetWindowDisplayAffinity]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, qword [rdi + 0x50]
mov edx, 0xffffffec
mov r14, rax
call qword [sym.imp.USER32.dll_GetWindowLongA]
cmp byte [0x1400701e1], 0
je 0x14005c2eb
cmp eax, 0x80088
je 0x14005c307
mov r8d, 0x80088
jmp 0x14005c2f8
cmp eax, 0x800a8
je 0x14005c307
mov r8d, 0x800a8
mov rcx, qword [rdi + 0x50]
mov edx, 0xffffffec
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov ecx, dword [0x14007024c]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
je 0x14005c366
cmp byte [0x1400709b8], 0
jne 0x14005c366
cmp byte [0x1400701e1], 0
sete al
mov byte [0x1400701e1], al
test al, al
je 0x14005c34f
mov rcx, qword [rdi + 0x50]
cmp r14, rcx
je 0x14005c35d
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov byte [0x1400709b8], 1
jmp 0x14005c389
cmp r14, rbp
je 0x14005c35d
mov rcx, rbp
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov byte [0x1400709b8], 1
jmp 0x14005c389
mov ecx, dword [0x14007024c]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
jne 0x14005c389
cmp byte [0x1400709b8], 0
je 0x14005c389
mov byte [0x1400709b8], 0
xorps xmm0, xmm0
mov qword [rsp + 0x48], 0
lea rdx, [rsp + 0x50]
mov rcx, rbp
movups xmmword [rsp + 0x50], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
lea rdx, [rsp + 0x48]
mov rcx, rbp
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [0x1400701f0]
mov rcx, qword [rsp + 0x58]
mov r8, qword [rsp + 0x48]
mov r9d, dword [rsp + 0x4c]
mov r14, qword [rsp + 0xa0]
cmp dword [rsp + 0x50], eax
jne 0x14005c40f
mov eax, dword [0x1400701fc]
cmp dword [rsp + 0x5c], eax
jne 0x14005c40f
mov eax, dword [0x1400701f4]
cmp dword [rsp + 0x54], eax
jne 0x14005c40f
cmp ecx, dword [0x1400701f8]
jne 0x14005c40f
cmp r8d, dword [0x140070200]
jne 0x14005c40f
cmp r9d, dword [0x140070204]
je 0x14005c210
movups xmm0, xmmword [rsp + 0x50]
mov rax, rcx
mov dword [rsp + 0x30], 8
shr rax, 0x20
xor edx, edx
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
movaps xmmword [0x1400701f0], xmm0
mov qword [0x140070200], r8
mov rcx, qword [rdi + 0x50]
call qword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x14005c210
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3