Function at 0x180022400
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x70
mov rax, qword [0x180037020]
xor rax, rsp
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rcx, qword [0x180037f28]
lea rdx, [rsp + 0x48]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov esi, dword [rsp + 0x48]
mov ebp, dword [rsp + 0x4c]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp qword [0x180037f28], rax
mov ebx, 1
jne 0x1800224ad
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jae 0x1800224ad
mov rax, qword [rsp + 0x40]
lea ecx, [rsi + 0x320]
cmp eax, ecx
jge 0x1800224ad
cmp eax, esi
jle 0x1800224ad
mov ecx, dword [rsp + 0x44]
lea eax, [rbp + 0x258]
cmp ecx, eax
jge 0x1800224ad
cmp ecx, ebp
jle 0x1800224ad
movzx eax, byte [0x180037fac]
cmp byte [0x180037e43], 0
cmove eax, ebx
mov byte [0x180037fac], al
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor r14d, r14d
cmp qword [0x180037f28], rax
jne 0x18002258b
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jae 0x18002258b
cmp byte [0x180037fac], r14b
je 0x18002258b
mov rax, qword [rsp + 0x40]
mov rcx, qword [0x180037f10]
mov edi, dword [rsp + 0x48]
mov ebx, dword [rsp + 0x4c]
cmp eax, ecx
je 0x180022501
mov edi, eax
sub edi, ecx
add edi, esi
mov eax, dword [rsp + 0x44]
mov ecx, dword [0x180037f14]
cmp eax, ecx
je 0x180022515
mov ebx, eax
sub ebx, ecx
add ebx, ebp
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
lea rdx, [rsp + 0x58]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [rsp + 0x60]
lea ecx, [rdi + 0x320]
mov edx, dword [rsp + 0x64]
cmp ecx, eax
mov ecx, r14d
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], 0x258
lea r9d, [rax - 0x320]
cmovle r9d, edi
lea r8d, [rdx - 0x258]
test ebx, ebx
cmovns ecx, ebx
lea eax, [rcx + 0x258]
cmp eax, edx
mov edx, r14d
cmovle r8d, ecx
mov rcx, qword [0x180037f28]
test r9d, r9d
cmovns edx, r9d
mov r9d, 0x320
call qword [sym.imp.USER32.dll_MoveWindow]
jmp 0x180022592
mov byte [0x180037fac], r14b
mov rcx, qword [0x180038018]
mov r9d, 3
mov rax, qword [rsp + 0x40]
xor r8d, r8d
movss xmm0, dword [0x18002e8fc]
xor edx, edx
mov qword [0x180037f10], rax
mov rax, qword [rcx]
mov dword [rsp + 0x30], r14d
movss dword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], r14d
call qword [rax + 0x158]
mov rcx, qword [0x180038018]
mov rax, qword [rcx]
call qword [rax + 0x148]
mov rax, qword [0x180037f28]
mov r9d, 0x320
mov r8, qword [0x180038028]
mov rdx, qword [0x180038008]
mov rcx, qword [0x180038018]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x258
call fcn.18001dc10
mov rcx, qword [0x180038018]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x180038018]
xor r8d, r8d
mov r9, qword [0x180037f28]
xor edx, edx
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
mov rax, qword [rcx]
call qword [rax + 0x3c8]
xor eax, eax
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.180029c20
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret