Function at 0x1400da46c
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
cmp qword [0x1401abb18], 0
mov rsi, rdx
mov rdi, rcx
jne 0x1400da4ff
mov rcx, qword [0x14017d140]
lea rdx, str.MENUACC
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov rcx, qword [0x14017d140]
lea rdx, str.LISTACC
mov qword [0x1401abb18], rax
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov rcx, qword [0x14017d140]
lea rdx, str.FILEACC
mov qword [0x1401abb20], rax
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov rcx, qword [0x14017d140]
lea rdx, str.VIEWACC
mov qword [0x1401abb28], rax
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov qword [0x1401abb30], rax
xor r9d, r9d
lea rcx, [rbp - 0x30]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x1400da82a
mov eax, dword [0x140147e34]
cmp dword [rbp - 0x28], eax
jne 0x1400da546
cmp qword [rbp - 0x20], 0
mov rbx, qword [rbp - 0x18]
setne dl
mov rcx, rbx
call fcn.1400d1ff0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x1400da828
call qword [sym.imp.USER32.dll_GetFocus]
mov rbx, rax
test rax, rax
je 0x1400da814
cmp qword [0x140146ce8], 0
je 0x1400da59a
cmp qword [0x1401abb30], 0
je 0x1400da59a
mov rcx, rax
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, qword [0x140146ce8]
cmp rax, rcx
jne 0x1400da59a
mov rdx, qword [0x1401abb30]
lea r8, [rbp - 0x30]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1400da828
mov rdx, qword [0x1401abb28]
lea rcx, [rbp - 0x30]
call fcn.1400c6dfc
test al, al
jne 0x1400da828
mov rcx, qword [0x140146cf0]
test rcx, rcx
je 0x1400da5d0
lea rdx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x1400da828
mov rcx, qword [0x140146cf8]
test rcx, rcx
je 0x1400da5ee
lea rdx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x1400da828
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp dword [rbp - 0x28], 0x100
jne 0x1400da624
cmp qword [rbp - 0x20], 9
jne 0x1400da624
neg al
sbb ecx, ecx
and ecx, 0xfffffffe
inc ecx
call fcn.1400da840
test al, al
jne 0x1400da828
call fcn.1400d54ac
mov ecx, dword [rbp - 0x28]
test eax, eax
je 0x1400da65a
cmp ecx, 0x100
jne 0x1400da65a
cmp qword [rbp - 0x20], 0x70
jne 0x1400da6b5
mov rcx, qword [0x140145cd8]
lea rdx, str.HELPArcComment
xor r8d, r8d
call fcn.1400c5b70
jmp 0x1400da828
mov rax, qword [0x14016e3b0]
cmp ecx, 0x205
jne 0x1400da66f
cmp qword [rbp - 0x30], rax
je 0x1400da67e
cmp ecx, 0xa5
jne 0x1400da68f
cmp qword [rbp - 0x20], 5
jne 0x1400da6b5
lea rcx, [0x14016e3b0]
call fcn.1400acab0
jmp 0x1400da828
cmp ecx, 0x203
jne 0x1400da6b5
cmp qword [rbp - 0x30], rax
jne 0x1400da6b5
mov rdx, qword [0x140145cd8]
lea rcx, [0x14016e3b0]
call fcn.1400aad40
jmp 0x1400da828
mov rax, qword [0x14016c180]
cmp rbx, rax
je 0x1400da774
cmp rbx, qword [0x1401526f0]
je 0x1400da774
mov rcx, qword [0x140146ce8]
test rcx, rcx
je 0x1400da6fc
mov rdx, qword [0x1401abb30]
test rdx, rdx
je 0x1400da703
lea r8, [rbp - 0x30]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1400da828
mov rdx, qword [0x1401abb30]
mov rcx, qword [0x140146cf0]
test rcx, rcx
je 0x1400da737
mov rax, qword [0x1401abb28]
test rax, rax
je 0x1400da737
lea r8, [rbp - 0x30]
mov rdx, rax
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1400da828
mov rdx, qword [0x1401abb30]
mov rcx, qword [0x140146d00]
test rcx, rcx
je 0x1400da7e0
lea r8, [rbp - 0x30]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1400da828
mov rcx, qword [0x140146d00]
lea r9, [rbp - 0x30]
xor r8d, r8d
mov edx, 0x8009
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1400da7e0
mov rdx, qword [0x1401abb20]
test rdx, rdx
je 0x1400da79e
cmp rbx, rax
jne 0x1400da79e
mov rcx, qword [0x140145cd8]
lea r8, [rbp - 0x30]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1400da828
mov rdx, qword [0x1401abb18]
test rdx, rdx
je 0x1400da7bf
mov rcx, qword [0x140145cd8]
lea r8, [rbp - 0x30]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1400da828
mov rdx, qword [0x1401abb28]
test rdx, rdx
je 0x1400da7e0
mov rcx, qword [0x140145cd8]
lea r8, [rbp - 0x30]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1400da828
test rdi, rdi
je 0x1400da7f6
lea rdx, [rbp - 0x30]
mov rcx, rdi
call qword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x1400da828
test rsi, rsi
je 0x1400da814
lea r9, [rbp - 0x30]
xor r8d, r8d
mov edx, 0x475
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x1400da828
lea rcx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_DispatchMessageW]
mov al, 1
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
add rsp, 0x50
pop rbp
ret