Function at 0x1400570b0
Capabilities:
Log keystrokes via polling

Disassembly:
mov r11, rsp
push rsi
push r14
sub rsp, 0x78
mov rax, qword [0x140115040]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor r14d, r14d
mov qword [r11 + 0x20], rdi
cmp byte [0x1401151f0], r14b
mov rsi, rdx
mov rdi, qword [0x140115978]
je 0x140057352
mov qword [r11 + 8], rbx
mov qword [r11 - 0x18], r15
mov r15d, 8
mov qword [r11 + 0x18], rbp
nop dword [rax]
cmp qword [rsi + 0x18], 0xf
mov rcx, rsi
jbe 0x14005710d
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.USER32.dll_FindWindowA]
mov rbx, rax
test rax, rax
je 0x140057336
mov rcx, qword [rdi + 0x50]
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], r14d
call qword [sym.imp.USER32.dll_GetWindowDisplayAffinity]
cmp byte [0x140115251], r14b
je 0x14005714c
cmp dword [rsp + 0x40], r14d
jne 0x14005715f
mov edx, 0x11
jmp 0x140057155
cmp dword [rsp + 0x40], 0x11
jne 0x14005715f
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 rbp, rax
call qword [sym.imp.USER32.dll_GetWindowLongA]
cmp byte [0x1401151f1], r14b
je 0x140057193
cmp rbp, rbx
mov r8d, r14d
cmovne r8d, r15d
or r8d, 0x80080
jmp 0x140057199
mov r8d, 0x800a0
mov rcx, qword [rdi + 0x50]
mov edx, 0xffffffec
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov ecx, dword [0x14011525c]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
je 0x140057207
cmp byte [0x1401159c0], r14b
jne 0x140057207
cmp byte [0x1401151f1], r14b
sete al
mov byte [0x1401151f1], al
test al, al
je 0x1400571f0
mov rcx, qword [rdi + 0x50]
cmp rbp, rcx
je 0x1400571fe
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov byte [0x1401159c0], 1
jmp 0x14005722a
cmp rbp, rbx
je 0x1400571fe
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov byte [0x1401159c0], 1
jmp 0x14005722a
mov ecx, dword [0x14011525c]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
jne 0x14005722a
cmp byte [0x1401159c0], r14b
je 0x14005722a
mov byte [0x1401159c0], r14b
xorps xmm0, xmm0
mov qword [rsp + 0x48], r14
lea rdx, [rsp + 0x50]
mov rcx, rbx
movups xmmword [rsp + 0x50], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
lea rdx, [rsp + 0x48]
mov rcx, rbx
call qword [sym.imp.USER32.dll_ClientToScreen]
mov ecx, dword [0x140115200]
mov rax, qword [rsp + 0x48]
cmp dword [rsp + 0x50], ecx
jne 0x14005729c
mov ecx, dword [0x14011520c]
cmp dword [rsp + 0x5c], ecx
jne 0x14005729c
mov ecx, dword [0x140115204]
cmp dword [rsp + 0x54], ecx
jne 0x14005729c
mov ecx, dword [0x140115208]
cmp dword [rsp + 0x58], ecx
jne 0x14005729c
cmp eax, dword [0x140115210]
jne 0x14005729c
mov ecx, dword [0x140115214]
cmp dword [rsp + 0x4c], ecx
je 0x1400572ed
movups xmm0, xmmword [rsp + 0x50]
mov edx, 3
mov qword [0x140115210], rax
mov rcx, rbx
movaps xmmword [0x140115200], xmm0
call qword [sym.imp.USER32.dll_GetWindow]
mov ecx, dword [0x14011520c]
mov rdx, rax
mov r9d, dword [rsp + 0x4c]
mov r8d, dword [rsp + 0x48]
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], ecx
mov ecx, dword [0x140115208]
mov dword [rsp + 0x20], ecx
mov rcx, qword [rdi + 0x50]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [rdi + 0x50]
mov rdx, r14
mov dword [rsp + 0x30], 3
cmp rbp, rbx
mov dword [rsp + 0x28], r14d
sete dl
mov dword [rsp + 0x20], r14d
add rdx, 0xfffffffffffffffe
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x1401151f0], r14b
jne 0x140057100
jmp 0x14005733d
mov byte [0x1401151f0], r14b
mov rbp, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0x90]
mov r15, qword [rsp + 0x70]
mov rdx, qword [rsi + 0x18]
mov rdi, qword [rsp + 0xa8]
cmp rdx, 0xf
jbe 0x140057390
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x14005738b
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400573b4
mov rcx, r8
call fcn.1400c203c
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], 0xf
mov byte [rsi], r14b
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400c1fe0
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