Function at 0x1400dcb64
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 [0x1401adb28], 0
mov rsi, rdx
mov rdi, rcx
jne 0x1400dcbf7
mov rcx, qword [0x14017f140]
lea rdx, str.MENUACC
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov rcx, qword [0x14017f140]
lea rdx, str.LISTACC
mov qword [0x1401adb28], rax
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov rcx, qword [0x14017f140]
lea rdx, str.FILEACC
mov qword [0x1401adb30], rax
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov rcx, qword [0x14017f140]
lea rdx, str.VIEWACC
mov qword [0x1401adb38], rax
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov qword [0x1401adb40], 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 0x1400dcf22
mov eax, dword [0x140149e34]
cmp dword [rbp - 0x28], eax
jne 0x1400dcc3e
cmp qword [rbp - 0x20], 0
mov rbx, qword [rbp - 0x18]
setne dl
mov rcx, rbx
call fcn.1400d3130
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x1400dcf20
call qword [sym.imp.USER32.dll_GetFocus]
mov rbx, rax
test rax, rax
je 0x1400dcf0c
cmp qword [0x140148ce8], 0
je 0x1400dcc92
cmp qword [0x1401adb40], 0
je 0x1400dcc92
mov rcx, rax
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, qword [0x140148ce8]
cmp rax, rcx
jne 0x1400dcc92
mov rdx, qword [0x1401adb40]
lea r8, [rbp - 0x30]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1400dcf20
mov rdx, qword [0x1401adb38]
lea rcx, [rbp - 0x30]
call fcn.1400c7074
test al, al
jne 0x1400dcf20
mov rcx, qword [0x140148cf0]
test rcx, rcx
je 0x1400dccc8
lea rdx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x1400dcf20
mov rcx, qword [0x140148cf8]
test rcx, rcx
je 0x1400dcce6
lea rdx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x1400dcf20
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp dword [rbp - 0x28], 0x100
jne 0x1400dcd1c
cmp qword [rbp - 0x20], 9
jne 0x1400dcd1c
neg al
sbb ecx, ecx
and ecx, 0xfffffffe
inc ecx
call fcn.1400dcf38
test al, al
jne 0x1400dcf20
call fcn.1400d6660
mov ecx, dword [rbp - 0x28]
test eax, eax
je 0x1400dcd52
cmp ecx, 0x100
jne 0x1400dcd52
cmp qword [rbp - 0x20], 0x70
jne 0x1400dcdad
mov rcx, qword [0x140147cd8]
lea rdx, str.HELPArcComment
xor r8d, r8d
call fcn.1400c5de8
jmp 0x1400dcf20
mov rax, qword [0x1401703b0]
cmp ecx, 0x205
jne 0x1400dcd67
cmp qword [rbp - 0x30], rax
je 0x1400dcd76
cmp ecx, 0xa5
jne 0x1400dcd87
cmp qword [rbp - 0x20], 5
jne 0x1400dcdad
lea rcx, [0x1401703b0]
call fcn.1400accfc
jmp 0x1400dcf20
cmp ecx, 0x203
jne 0x1400dcdad
cmp qword [rbp - 0x30], rax
jne 0x1400dcdad
mov rdx, qword [0x140147cd8]
lea rcx, [0x1401703b0]
call fcn.1400aaf8c
jmp 0x1400dcf20
mov rax, qword [0x14016e180]
cmp rbx, rax
je 0x1400dce6c
cmp rbx, qword [0x1401546f0]
je 0x1400dce6c
mov rcx, qword [0x140148ce8]
test rcx, rcx
je 0x1400dcdf4
mov rdx, qword [0x1401adb40]
test rdx, rdx
je 0x1400dcdfb
lea r8, [rbp - 0x30]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1400dcf20
mov rdx, qword [0x1401adb40]
mov rcx, qword [0x140148cf0]
test rcx, rcx
je 0x1400dce2f
mov rax, qword [0x1401adb38]
test rax, rax
je 0x1400dce2f
lea r8, [rbp - 0x30]
mov rdx, rax
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1400dcf20
mov rdx, qword [0x1401adb40]
mov rcx, qword [0x140148d00]
test rcx, rcx
je 0x1400dced8
lea r8, [rbp - 0x30]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1400dcf20
mov rcx, qword [0x140148d00]
lea r9, [rbp - 0x30]
xor r8d, r8d
mov edx, 0x8009
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1400dced8
mov rdx, qword [0x1401adb30]
test rdx, rdx
je 0x1400dce96
cmp rbx, rax
jne 0x1400dce96
mov rcx, qword [0x140147cd8]
lea r8, [rbp - 0x30]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1400dcf20
mov rdx, qword [0x1401adb28]
test rdx, rdx
je 0x1400dceb7
mov rcx, qword [0x140147cd8]
lea r8, [rbp - 0x30]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1400dcf20
mov rdx, qword [0x1401adb38]
test rdx, rdx
je 0x1400dced8
mov rcx, qword [0x140147cd8]
lea r8, [rbp - 0x30]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1400dcf20
test rdi, rdi
je 0x1400dceee
lea rdx, [rbp - 0x30]
mov rcx, rdi
call qword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x1400dcf20
test rsi, rsi
je 0x1400dcf0c
lea r9, [rbp - 0x30]
xor r8d, r8d
mov edx, 0x475
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x1400dcf20
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