Function at 0x140056450
Capabilities:
Log keystrokes via polling

Disassembly:
mov r11, rsp
push rsi
push r14
sub rsp, 0x78
mov rax, qword [0x140114040]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor r14d, r14d
mov qword [r11 + 8], rbx
cmp byte [0x1401141f0], r14b
mov rsi, rdx
mov rbx, qword [0x140114978]
je 0x140056697
mov qword [r11 - 0x18], rdi
mov qword [r11 + 0x18], rbp
nop
cmp qword [rsi + 0x18], 0xf
mov rcx, rsi
jbe 0x14005649d
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.USER32.dll_FindWindowA]
mov rdi, rax
test rax, rax
je 0x140056683
mov rcx, qword [rbx + 0x50]
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], r14d
call qword [sym.imp.USER32.dll_GetWindowDisplayAffinity]
cmp byte [0x140114250], r14b
je 0x1400564dc
cmp dword [rsp + 0x40], r14d
jne 0x1400564ef
mov edx, 0x11
jmp 0x1400564e5
cmp dword [rsp + 0x40], 0x11
jne 0x1400564ef
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 [0x1401141f1], r14b
je 0x14005651f
cmp eax, 0x80088
je 0x14005653b
mov r8d, 0x80088
jmp 0x14005652c
cmp eax, 0x800a8
je 0x14005653b
mov r8d, 0x800a8
mov rcx, qword [rbx + 0x50]
mov edx, 0xffffffec
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov ecx, dword [0x14011425c]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
je 0x14005659a
cmp byte [0x1401149c0], r14b
jne 0x14005659a
cmp byte [0x1401141f1], r14b
sete al
mov byte [0x1401141f1], al
test al, al
je 0x140056583
mov rcx, qword [rbx + 0x50]
cmp rbp, rcx
je 0x140056591
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov byte [0x1401149c0], 1
jmp 0x1400565bd
cmp rbp, rdi
je 0x140056591
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov byte [0x1401149c0], 1
jmp 0x1400565bd
mov ecx, dword [0x14011425c]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
jne 0x1400565bd
cmp byte [0x1401149c0], r14b
je 0x1400565bd
mov byte [0x1401149c0], 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 [0x140114200]
mov rcx, qword [rsp + 0x58]
mov r8, qword [rsp + 0x48]
mov r9d, dword [rsp + 0x4c]
cmp dword [rsp + 0x50], eax
jne 0x140056633
mov eax, dword [0x14011420c]
cmp dword [rsp + 0x5c], eax
jne 0x140056633
mov eax, dword [0x140114204]
cmp dword [rsp + 0x54], eax
jne 0x140056633
cmp ecx, dword [0x140114208]
jne 0x140056633
cmp r8d, dword [0x140114210]
jne 0x140056633
cmp r9d, dword [0x140114214]
je 0x140056669
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 [0x140114200], xmm0
mov qword [0x140114210], 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 [0x1401141f0], r14b
jne 0x140056490
jmp 0x14005668a
mov byte [0x1401141f0], 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 0x1400566d5
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x1400566d0
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400566f9
mov rcx, r8
call fcn.1400c134c
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], 0xf
mov byte [rsi], r14b
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400c12f0
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