Function at 0x14004e870
Capabilities:
Log keystrokes via polling

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x70
mov rax, qword [0x140060040]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp byte [0x140060100], 0
mov rbx, qword [0x1400608d0]
je 0x14004eac2
mov qword [r11 + 8], rbp
xor ebp, ebp
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x18], rdi
nop dword [rax]
xor edx, edx
lea rcx, [0x1400581f0]
call qword [sym.imp.USER32.dll_FindWindowA]
mov rsi, rax
test rax, rax
je 0x14004eaa3
mov rcx, qword [rbx + 0x50]
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], ebp
call qword [sym.imp.USER32.dll_GetWindowDisplayAffinity]
cmp byte [0x140060134], bpl
je 0x14004e8f4
cmp dword [rsp + 0x40], ebp
jne 0x14004e907
mov edx, 0x11
jmp 0x14004e8fd
cmp dword [rsp + 0x40], 0x11
jne 0x14004e907
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 rdi, rax
call qword [sym.imp.USER32.dll_GetWindowLongA]
cmp byte [0x140060101], bpl
je 0x14004e937
cmp eax, 0x80088
je 0x14004e953
mov r8d, 0x80088
jmp 0x14004e944
cmp eax, 0x800a8
je 0x14004e953
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 0x14004e987
cmp byte [0x140060101], bpl
je 0x14004e979
mov rcx, qword [rbx + 0x50]
cmp rdi, rcx
je 0x14004e987
jmp 0x14004e981
cmp rdi, rsi
je 0x14004e987
mov rcx, rsi
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov ecx, dword [0x140060144]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
je 0x14004e9ba
cmp byte [0x140060900], bpl
jne 0x14004e9ba
cmp byte [0x140060101], bpl
mov byte [0x140060900], 1
sete byte [0x140060101]
jmp 0x14004e9dd
mov ecx, dword [0x140060144]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
jne 0x14004e9dd
cmp byte [0x140060900], bpl
je 0x14004e9dd
mov byte [0x140060900], bpl
xorps xmm0, xmm0
mov qword [rsp + 0x48], rbp
lea rdx, [rsp + 0x50]
mov rcx, rsi
movups xmmword [rsp + 0x50], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
lea rdx, [rsp + 0x48]
mov rcx, rsi
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [0x140060110]
mov rcx, qword [rsp + 0x58]
mov r8, qword [rsp + 0x48]
mov r9d, dword [rsp + 0x4c]
cmp dword [rsp + 0x50], eax
jne 0x14004ea53
mov eax, dword [0x14006011c]
cmp dword [rsp + 0x5c], eax
jne 0x14004ea53
mov eax, dword [0x140060114]
cmp dword [rsp + 0x54], eax
jne 0x14004ea53
cmp ecx, dword [0x140060118]
jne 0x14004ea53
cmp r8d, dword [0x140060120]
jne 0x14004ea53
cmp r9d, dword [0x140060124]
je 0x14004ea89
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 [0x140060110], xmm0
mov qword [0x140060120], r8
mov rcx, qword [rbx + 0x50]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x140060100], bpl
jne 0x14004e8b0
jmp 0x14004eaaa
mov byte [0x140060100], bpl
mov rdi, qword [rsp + 0x90]
mov rbp, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14004f090
add rsp, 0x70
pop rbx
ret