Function at 0x1400dc46c
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 [0x1401ae718], 0
mov rsi, rdx
mov rdi, rcx
jne 0x1400dc4ff
mov rcx, qword [0x14017f0f0]
lea rdx, str.MENUACC
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov rcx, qword [0x14017f0f0]
lea rdx, str.LISTACC
mov qword [0x1401ae718], rax
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov rcx, qword [0x14017f0f0]
lea rdx, str.FILEACC
mov qword [0x1401ae720], rax
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov rcx, qword [0x14017f0f0]
lea rdx, str.VIEWACC
mov qword [0x1401ae728], rax
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov qword [0x1401ae730], 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 0x1400dc82f
mov eax, dword [0x140149d38]
cmp dword [rbp - 0x28], eax
jne 0x1400dc54b
mov rbx, qword [rbp - 0x18]
mov rcx, rbx
mov r8b, byte [rbx + 0x3800]
lea rdx, [rbx + 0x1000]
call fcn.1400ca50c
mov rcx, rbx
call fcn.1400f7868
jmp 0x1400dc82d
call qword [sym.imp.USER32.dll_GetFocus]
mov rbx, rax
test rax, rax
je 0x1400dc819
cmp qword [0x140148ba0], 0
je 0x1400dc59f
cmp qword [0x1401ae730], 0
je 0x1400dc59f
mov rcx, rax
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, qword [0x140148ba0]
cmp rax, rcx
jne 0x1400dc59f
mov rdx, qword [0x1401ae730]
lea r8, [rbp - 0x30]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1400dc82d
mov rdx, qword [0x1401ae728]
lea rcx, [rbp - 0x30]
call fcn.1400c6540
test al, al
jne 0x1400dc82d
mov rcx, qword [0x140148ba8]
test rcx, rcx
je 0x1400dc5d5
lea rdx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x1400dc82d
mov rcx, qword [0x140148bb0]
test rcx, rcx
je 0x1400dc5f3
lea rdx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x1400dc82d
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp dword [rbp - 0x28], 0x100
jne 0x1400dc629
cmp qword [rbp - 0x20], 9
jne 0x1400dc629
neg al
sbb ecx, ecx
and ecx, 0xfffffffe
inc ecx
call fcn.1400dc844
test al, al
jne 0x1400dc82d
call fcn.1400d6714
mov ecx, dword [rbp - 0x28]
test eax, eax
je 0x1400dc65f
cmp ecx, 0x100
jne 0x1400dc65f
cmp qword [rbp - 0x20], 0x70
jne 0x1400dc6ba
mov rcx, qword [0x140148b90]
lea rdx, str.HELPArcComment
xor r8d, r8d
call fcn.1400c5280
jmp 0x1400dc82d
mov rax, qword [0x140170340]
cmp ecx, 0x205
jne 0x1400dc674
cmp qword [rbp - 0x30], rax
je 0x1400dc683
cmp ecx, 0xa5
jne 0x1400dc694
cmp qword [rbp - 0x20], 5
jne 0x1400dc6ba
lea rcx, [0x140170340]
call fcn.1400abbb8
jmp 0x1400dc82d
cmp ecx, 0x203
jne 0x1400dc6ba
cmp qword [rbp - 0x30], rax
jne 0x1400dc6ba
mov rdx, qword [0x140148b90]
lea rcx, [0x140170340]
call fcn.1400a9ebc
jmp 0x1400dc82d
mov rax, qword [0x14016e110]
cmp rbx, rax
je 0x1400dc779
cmp rbx, qword [0x140154620]
je 0x1400dc779
mov rcx, qword [0x140148ba0]
test rcx, rcx
je 0x1400dc701
mov rdx, qword [0x1401ae730]
test rdx, rdx
je 0x1400dc708
lea r8, [rbp - 0x30]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1400dc82d
mov rdx, qword [0x1401ae730]
mov rcx, qword [0x140148ba8]
test rcx, rcx
je 0x1400dc73c
mov rax, qword [0x1401ae728]
test rax, rax
je 0x1400dc73c
lea r8, [rbp - 0x30]
mov rdx, rax
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1400dc82d
mov rdx, qword [0x1401ae730]
mov rcx, qword [0x140148bb8]
test rcx, rcx
je 0x1400dc7e5
lea r8, [rbp - 0x30]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1400dc82d
mov rcx, qword [0x140148bb8]
lea r9, [rbp - 0x30]
xor r8d, r8d
mov edx, 0x8009
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1400dc7e5
mov rdx, qword [0x1401ae720]
test rdx, rdx
je 0x1400dc7a3
cmp rbx, rax
jne 0x1400dc7a3
mov rcx, qword [0x140148b90]
lea r8, [rbp - 0x30]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1400dc82d
mov rdx, qword [0x1401ae718]
test rdx, rdx
je 0x1400dc7c4
mov rcx, qword [0x140148b90]
lea r8, [rbp - 0x30]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1400dc82d
mov rdx, qword [0x1401ae728]
test rdx, rdx
je 0x1400dc7e5
mov rcx, qword [0x140148b90]
lea r8, [rbp - 0x30]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1400dc82d
test rdi, rdi
je 0x1400dc7fb
lea rdx, [rbp - 0x30]
mov rcx, rdi
call qword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x1400dc82d
test rsi, rsi
je 0x1400dc819
lea r9, [rbp - 0x30]
xor r8d, r8d
mov edx, 0x475
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x1400dc82d
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