Function at 0x14004e360
Capabilities:
Log keystrokes via polling

Disassembly:
mov r11, rsp
push rsi
push r14
sub rsp, 0x78
mov rax, qword [0x14010b040]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor r14d, r14d
mov qword [r11 + 8], rbx
cmp byte [0x14010b1c0], r14b
mov rsi, rdx
mov rbx, qword [0x14010b948]
je 0x14004e5a7
mov qword [r11 - 0x18], rdi
mov qword [r11 + 0x18], rbp
nop
cmp qword [rsi + 0x18], 0xf
mov rcx, rsi
jbe 0x14004e3ad
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.USER32.dll_FindWindowA]
mov rdi, rax
test rax, rax
je 0x14004e593
mov rcx, qword [rbx + 0x50]
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], r14d
call qword [sym.imp.USER32.dll_GetWindowDisplayAffinity]
cmp byte [0x14010b222], r14b
je 0x14004e3ec
cmp dword [rsp + 0x40], r14d
jne 0x14004e3ff
mov edx, 0x11
jmp 0x14004e3f5
cmp dword [rsp + 0x40], 0x11
jne 0x14004e3ff
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 rbp, rax
call qword [sym.imp.USER32.dll_GetWindowLongA]
cmp byte [0x14010b1c1], r14b
je 0x14004e42f
cmp eax, 0x80088
je 0x14004e44b
mov r8d, 0x80088
jmp 0x14004e43c
cmp eax, 0x800a8
je 0x14004e44b
mov r8d, 0x800a8
mov rcx, qword [rbx + 0x50]
mov edx, 0xffffffec
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov ecx, dword [0x14010b22c]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
je 0x14004e4aa
cmp byte [0x14010b990], r14b
jne 0x14004e4aa
cmp byte [0x14010b1c1], r14b
sete al
mov byte [0x14010b1c1], al
test al, al
je 0x14004e493
mov rcx, qword [rbx + 0x50]
cmp rbp, rcx
je 0x14004e4a1
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov byte [0x14010b990], 1
jmp 0x14004e4cd
cmp rbp, rdi
je 0x14004e4a1
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov byte [0x14010b990], 1
jmp 0x14004e4cd
mov ecx, dword [0x14010b22c]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
jne 0x14004e4cd
cmp byte [0x14010b990], r14b
je 0x14004e4cd
mov byte [0x14010b990], r14b
xorps xmm0, xmm0
mov qword [rsp + 0x48], r14
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 eax, dword [0x14010b1d0]
mov rcx, qword [rsp + 0x58]
mov r8, qword [rsp + 0x48]
mov r9d, dword [rsp + 0x4c]
cmp dword [rsp + 0x50], eax
jne 0x14004e543
mov eax, dword [0x14010b1dc]
cmp dword [rsp + 0x5c], eax
jne 0x14004e543
mov eax, dword [0x14010b1d4]
cmp dword [rsp + 0x54], eax
jne 0x14004e543
cmp ecx, dword [0x14010b1d8]
jne 0x14004e543
cmp r8d, dword [0x14010b1e0]
jne 0x14004e543
cmp r9d, dword [0x14010b1e4]
je 0x14004e579
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 [0x14010b1d0], xmm0
mov qword [0x14010b1e0], 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 [0x14010b1c0], r14b
jne 0x14004e3a0
jmp 0x14004e59a
mov byte [0x14010b1c0], r14b
mov rbp, qword [rsp + 0xa0]
mov rdi, qword [rsp + 0x70]
mov rdx, qword [rsi + 0x18]
mov rbx, qword [rsp + 0x90]
cmp rdx, 0xf
jbe 0x14004e5e5
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x14004e5e0
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14004e609
mov rcx, r8
call fcn.1400b917c
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], 0xf
mov byte [rsi], r14b
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400b9120
add rsp, 0x78
pop r14
pop rsi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3