Function at 0x1400ac2c0
Capabilities:
Log keystrokes via polling

Disassembly:
mov r11, rsp
push rbp
push rbx
lea rbp, [r11 - 0x5f]
sub rsp, 0x98
mov rax, qword [0x14029e8b8]
xor rax, rsp
mov qword [rbp + 0x37], rax
movzx eax, byte [rcx + 0x4e0]
mov rbx, rcx
test al, al
jne 0x1400ac62d
mov qword [r11 + 0x10], rsi
mov eax, 1
xchg byte [rcx + 0x4e0], al
mov qword [r11 + 0x18], rdi
mov qword [r11 - 0x18], r14
call fcn.14000cd00
xor edx, edx
mov rcx, rax
call fcn.14007d350
mov rcx, rbx
call fcn.1400ac210
mov rcx, qword [rbx + 0x4d8]
call fcn.1400e8ee0
mov rcx, qword [rbx + 8]
mov rdx, rax
call fcn.14002f350
mov rcx, qword [rbx + 8]
xor r14d, r14d
lea edx, [r14 + 4]
cmp byte [rbx + 0x4e1], r14b
je 0x1400ac4b1
call qword [sym.imp.USER32.dll_GetWindow]
mov rcx, qword [rbx + 8]
xor edx, edx
mov rdi, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rbx + 8]
xor r9d, r9d
mov edx, 0x7dc
mov r8d, 0x320
call qword [sym.imp.USER32.dll_SetTimer]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableWindow]
mov rbx, qword [rbx + 8]
xor eax, eax
mov rcx, rbx
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x21], rax
mov esi, r14d
mov qword [rbp - 0x19], rax
mov qword [rbp - 0x11], rax
mov qword [rbp - 9], rax
mov qword [rbp - 1], rax
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1400ac488
nop dword [rax + rax]
xor r9d, r9d
lea rcx, [rbp - 0x29]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x1400ac488
mov rax, qword [rbp - 0x21]
cmp eax, 0x10
jne 0x1400ac40b
cmp qword [rbp - 0x29], rbx
jne 0x1400ac44c
mov r14d, dword [rbp - 0x19]
lea edx, [rax - 0xf]
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableWindow]
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetFocus]
mov rax, qword [rbp - 0x21]
mov esi, 1
cmp eax, 0x20a
jne 0x1400ac41a
test byte [rbp - 0x19], 8
jne 0x1400ac473
jmp 0x1400ac44c
cmp eax, 0x100
jne 0x1400ac44c
cmp qword [rbp - 0x19], 0x74
je 0x1400ac473
mov ecx, reloc.COMCTL32.dll_InitCommonControls
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1400ac44c
mov rax, qword [rbp - 0x19]
cmp rax, 0x46
je 0x1400ac46d
add rax, 0xffffffffffffffb1
cmp rax, 1
jbe 0x1400ac46d
lea rcx, [rbp - 0x29]
call fcn.1400e8960
test al, al
jne 0x1400ac46d
lea rcx, [rbp - 0x29]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x29]
call qword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [rbp - 0x21], 0x12
je 0x1400ac488
test esi, esi
jne 0x1400ac488
mov rcx, rbx
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x1400ac3c0
mov edx, 1
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableWindow]
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetFocus]
cmp dword [rbp - 0x21], 0x12
jne 0x1400ac5fe
mov ecx, dword [rbp - 0x19]
jmp 0x1400ac5f8
call qword [sym.imp.USER32.dll_GetWindow]
mov rcx, qword [rbx + 8]
mov edx, 1
mov rdi, rax
call qword [sym.imp.USER32.dll_ShowWindow]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableWindow]
mov rbx, qword [rbx + 8]
xor eax, eax
mov rcx, rbx
mov qword [rbp + 7], rax
mov qword [rbp + 0xf], rax
mov esi, r14d
mov qword [rbp + 0x17], rax
mov qword [rbp + 0x1f], rax
mov qword [rbp + 0x27], rax
mov qword [rbp + 0x2f], rax
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1400ac5d8
nop word [rax + rax]
xor r9d, r9d
lea rcx, [rbp + 7]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x1400ac5d8
mov rax, qword [rbp + 0xf]
cmp eax, 0x10
jne 0x1400ac55b
cmp qword [rbp + 7], rbx
jne 0x1400ac59c
mov r14d, dword [rbp + 0x17]
lea edx, [rax - 0xf]
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableWindow]
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetFocus]
mov rax, qword [rbp + 0xf]
mov esi, 1
cmp eax, 0x20a
jne 0x1400ac56a
test byte [rbp + 0x17], 8
jne 0x1400ac5c3
jmp 0x1400ac59c
cmp eax, 0x100
jne 0x1400ac59c
cmp qword [rbp + 0x17], 0x74
je 0x1400ac5c3
mov ecx, reloc.COMCTL32.dll_InitCommonControls
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1400ac59c
mov rax, qword [rbp + 0x17]
cmp rax, 0x46
je 0x1400ac5bd
add rax, 0xffffffffffffffb1
cmp rax, 1
jbe 0x1400ac5bd
lea rcx, [rbp + 7]
call fcn.1400e8960
test al, al
jne 0x1400ac5bd
lea rcx, [rbp + 7]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 7]
call qword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [rbp + 0xf], 0x12
je 0x1400ac5d8
test esi, esi
jne 0x1400ac5d8
mov rcx, rbx
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x1400ac510
mov edx, 1
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableWindow]
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetFocus]
cmp dword [rbp + 0xf], 0x12
jne 0x1400ac5fe
mov ecx, dword [rbp + 0x17]
call qword [sym.imp.USER32.dll_PostQuitMessage]
call fcn.14000cd00
mov edx, 1
mov rcx, rax
call fcn.14007d350
mov rdi, qword [rsp + 0xc0]
mov eax, r14d
mov r14, qword [rsp + 0x90]
mov rsi, qword [rsp + 0xb8]
jmp 0x1400ac664
call fcn.1400ac210
mov rcx, qword [rbx + 0x4d8]
call fcn.1400e8ee0
mov rcx, qword [rbx + 8]
mov rdx, rax
call fcn.14002f350
mov rcx, qword [rbx + 8]
mov edx, 1
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rbx + 8]
call fcn.1400311d0
xor eax, eax
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140160a40
add rsp, 0x98
pop rbx
pop rbp
ret