Function at 0x14004b400
Capabilities:
Log keystrokes via polling

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x70
mov rax, qword [0x1400f8010]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp byte [0x1400f8050], 0
mov rbx, qword [0x1400f8810]
je 0x14004b64b
mov qword [r11 + 8], rbp
xor ebp, ebp
mov qword [r11 + 0x18], rdi
mov qword [r11 + 0x10], rsi
nop dword [rax]
xor edx, edx
lea rcx, str.grcWindow
call qword [sym.imp.USER32.dll_FindWindowA]
mov rdi, rax
test rax, rax
je 0x14004b62c
mov rcx, qword [rbx + 0x50]
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], ebp
call qword [sym.imp.USER32.dll_GetWindowDisplayAffinity]
cmp byte [0x1400f809c], bpl
je 0x14004b484
cmp dword [rsp + 0x40], ebp
jne 0x14004b497
mov edx, 0x11
jmp 0x14004b48d
cmp dword [rsp + 0x40], 0x11
jne 0x14004b497
xor edx, edx
mov rcx, qword [rbx + 0x50]
call qword [sym.imp.USER32.dll_SetWindowDisplayAffinity]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, qword [rbx + 0x50]
mov edx, 0xffffffec
mov rsi, rax
call qword [sym.imp.USER32.dll_GetWindowLongA]
cmp byte [0x1400f8051], bpl
je 0x14004b4c7
cmp eax, 0x80088
je 0x14004b4e3
mov r8d, 0x80088
jmp 0x14004b4d4
cmp eax, 0x800a8
je 0x14004b4e3
mov r8d, 0x800a8
mov rcx, qword [rbx + 0x50]
mov edx, 0xffffffec
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
je 0x14004b517
cmp byte [0x1400f8051], bpl
je 0x14004b509
mov rcx, qword [rbx + 0x50]
cmp rsi, rcx
je 0x14004b517
jmp 0x14004b511
cmp rsi, rdi
je 0x14004b517
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov ecx, dword [0x1400f80a4]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
je 0x14004b54a
cmp byte [0x1400f8868], bpl
jne 0x14004b54a
cmp byte [0x1400f8051], bpl
mov byte [0x1400f8868], 1
sete byte [0x1400f8051]
jmp 0x14004b564
mov ecx, dword [0x1400f80a4]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
jne 0x14004b564
mov byte [0x1400f8868], bpl
xorps xmm0, xmm0
mov qword [rsp + 0x48], rbp
lea rdx, [rsp + 0x50]
mov rcx, rdi
movups xmmword [rsp + 0x50], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
lea rdx, [rsp + 0x48]
mov rcx, rdi
call qword [sym.imp.USER32.dll_ClientToScreen]
mov ecx, dword [0x1400f8060]
mov rdx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x48]
mov r9d, dword [rsp + 0x4c]
cmp dword [rsp + 0x50], ecx
jne 0x14004b5d9
mov ecx, dword [0x1400f806c]
cmp dword [rsp + 0x5c], ecx
jne 0x14004b5d9
mov ecx, dword [0x1400f8064]
cmp dword [rsp + 0x54], ecx
jne 0x14004b5d9
cmp edx, dword [0x1400f8068]
jne 0x14004b5d9
cmp eax, dword [0x1400f8070]
jne 0x14004b5d9
cmp r9d, dword [0x1400f8074]
je 0x14004b612
movups xmm0, xmmword [rsp + 0x50]
mov rcx, rdx
mov dword [rsp + 0x30], 8
shr rcx, 0x20
mov r8d, eax
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], edx
xor edx, edx
movaps xmmword [0x1400f8060], xmm0
mov qword [0x1400f8070], rax
mov rcx, qword [rbx + 0x50]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x1400f8050], bpl
jne 0x14004b440
jmp 0x14004b633
mov byte [0x1400f8050], bpl
mov rsi, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400508c0
add rsp, 0x70
pop rbx
ret