Function at 0x1400da370
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 0x1400da403
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 0x1400da72e
mov eax, dword [0x140147e34]
cmp dword [rbp - 0x28], eax
jne 0x1400da44a
cmp qword [rbp - 0x20], 0
mov rbx, qword [rbp - 0x18]
setne dl
mov rcx, rbx
call fcn.1400d1e68
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x1400da72c
call qword [sym.imp.USER32.dll_GetFocus]
mov rbx, rax
test rax, rax
je 0x1400da718
cmp qword [0x140146ce8], 0
je 0x1400da49e
cmp qword [0x1401abb30], 0
je 0x1400da49e
mov rcx, rax
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, qword [0x140146ce8]
cmp rax, rcx
jne 0x1400da49e
mov rdx, qword [0x1401abb30]
lea r8, [rbp - 0x30]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1400da72c
mov rdx, qword [0x1401abb28]
lea rcx, [rbp - 0x30]
call fcn.1400c6c90
test al, al
jne 0x1400da72c
mov rcx, qword [0x140146cf0]
test rcx, rcx
je 0x1400da4d4
lea rdx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x1400da72c
mov rcx, qword [0x140146cf8]
test rcx, rcx
je 0x1400da4f2
lea rdx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x1400da72c
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp dword [rbp - 0x28], 0x100
jne 0x1400da528
cmp qword [rbp - 0x20], 9
jne 0x1400da528
neg al
sbb ecx, ecx
and ecx, 0xfffffffe
inc ecx
call fcn.1400da744
test al, al
jne 0x1400da72c
call fcn.1400d5374
mov ecx, dword [rbp - 0x28]
test eax, eax
je 0x1400da55e
cmp ecx, 0x100
jne 0x1400da55e
cmp qword [rbp - 0x20], 0x70
jne 0x1400da5b9
mov rcx, qword [0x140145cd8]
lea rdx, str.HELPArcComment
xor r8d, r8d
call fcn.1400c5a04
jmp 0x1400da72c
mov rax, qword [0x14016e3b0]
cmp ecx, 0x205
jne 0x1400da573
cmp qword [rbp - 0x30], rax
je 0x1400da582
cmp ecx, 0xa5
jne 0x1400da593
cmp qword [rbp - 0x20], 5
jne 0x1400da5b9
lea rcx, [0x14016e3b0]
call fcn.1400ac9cc
jmp 0x1400da72c
cmp ecx, 0x203
jne 0x1400da5b9
cmp qword [rbp - 0x30], rax
jne 0x1400da5b9
mov rdx, qword [0x140145cd8]
lea rcx, [0x14016e3b0]
call fcn.1400aaca8
jmp 0x1400da72c
mov rax, qword [0x14016c180]
cmp rbx, rax
je 0x1400da678
cmp rbx, qword [0x1401526f0]
je 0x1400da678
mov rcx, qword [0x140146ce8]
test rcx, rcx
je 0x1400da600
mov rdx, qword [0x1401abb30]
test rdx, rdx
je 0x1400da607
lea r8, [rbp - 0x30]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1400da72c
mov rdx, qword [0x1401abb30]
mov rcx, qword [0x140146cf0]
test rcx, rcx
je 0x1400da63b
mov rax, qword [0x1401abb28]
test rax, rax
je 0x1400da63b
lea r8, [rbp - 0x30]
mov rdx, rax
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1400da72c
mov rdx, qword [0x1401abb30]
mov rcx, qword [0x140146d00]
test rcx, rcx
je 0x1400da6e4
lea r8, [rbp - 0x30]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1400da72c
mov rcx, qword [0x140146d00]
lea r9, [rbp - 0x30]
xor r8d, r8d
mov edx, 0x8009
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1400da6e4
mov rdx, qword [0x1401abb20]
test rdx, rdx
je 0x1400da6a2
cmp rbx, rax
jne 0x1400da6a2
mov rcx, qword [0x140145cd8]
lea r8, [rbp - 0x30]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1400da72c
mov rdx, qword [0x1401abb18]
test rdx, rdx
je 0x1400da6c3
mov rcx, qword [0x140145cd8]
lea r8, [rbp - 0x30]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1400da72c
mov rdx, qword [0x1401abb28]
test rdx, rdx
je 0x1400da6e4
mov rcx, qword [0x140145cd8]
lea r8, [rbp - 0x30]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1400da72c
test rdi, rdi
je 0x1400da6fa
lea rdx, [rbp - 0x30]
mov rcx, rdi
call qword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x1400da72c
test rsi, rsi
je 0x1400da718
lea r9, [rbp - 0x30]
xor r8d, r8d
mov edx, 0x475
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x1400da72c
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