Function at 0x1400e9254
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
mov rbp, rsp
sub rsp, 0x50
cmp qword [0x140206cd0], 0
mov r14, rdx
mov rsi, rcx
jne 0x1400e9325
mov rcx, qword [0x1401d5590]
lea rdx, str.MENUACC
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov rcx, qword [0x1401d5590]
lea rdx, str.LISTACC
mov qword [0x140206cd0], rax
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov rcx, qword [0x1401d5590]
lea rdx, str.FILEACC
mov qword [0x140206cd8], rax
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov rcx, qword [0x1401d5590]
lea rdx, str.VIEWACC
mov qword [0x140206ce0], rax
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov rcx, qword [0x1401d5590]
lea rdx, str.ERRACC
mov qword [0x140206ce8], rax
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov rcx, qword [0x1401d5590]
lea rdx, [0x14015d8d8]
mov qword [0x140206cf0], rax
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov qword [0x140206cf8], 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 0x1400e96b7
mov eax, dword [0x14019c75c]
cmp dword [rbp - 0x28], eax
jne 0x1400e9371
mov rbx, qword [rbp - 0x18]
mov rcx, rbx
mov r8b, byte [rbx + 0x3800]
lea rdx, [rbx + 0x1000]
call fcn.1400d66f0
mov rcx, rbx
call fcn.140127084
jmp 0x1400e96b5
mov rbx, qword [rbp - 0x30]
test rbx, rbx
je 0x1400e96a1
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, qword [0x14019b700]
mov rdi, rax
test rcx, rcx
je 0x1400e93b9
mov rdx, qword [0x140206ce8]
test rdx, rdx
je 0x1400e93c0
cmp rax, rcx
jne 0x1400e93c0
lea r8, [rbp - 0x30]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1400e96b5
mov rdx, qword [0x140206ce8]
mov rcx, qword [0x14019b710]
test rcx, rcx
je 0x1400e93ef
test rdx, rdx
je 0x1400e93ef
cmp rdi, rcx
jne 0x1400e93ef
mov rdx, qword [0x140206cf0]
lea r8, [rbp - 0x30]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1400e96b5
mov rcx, qword [0x14019b6f8]
test rcx, rcx
je 0x1400e9423
mov rdx, qword [0x140206cf8]
test rdx, rdx
je 0x1400e9423
cmp rbx, rcx
je 0x1400e9411
cmp rdi, rcx
jne 0x1400e9423
lea r8, [rbp - 0x30]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1400e96b5
mov r8, qword [0x140206cd0]
lea rcx, [rbp - 0x30]
mov rdx, qword [0x140206ce0]
call fcn.1400d218c
test al, al
jne 0x1400e96b5
mov rcx, qword [0x14019b708]
test rcx, rcx
je 0x1400e9460
lea rdx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x1400e96b5
mov rcx, qword [0x14019b710]
test rcx, rcx
je 0x1400e947e
lea rdx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x1400e96b5
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov edi, 0x100
and al, 1
cmp dword [rbp - 0x28], edi
jne 0x1400e94b5
cmp qword [rbp - 0x20], 9
jne 0x1400e94b5
neg al
sbb ecx, ecx
and ecx, 0xfffffffe
inc ecx
call fcn.1400e96d4
test al, al
jne 0x1400e96b5
call fcn.1400e33bc
mov ecx, dword [rbp - 0x28]
test eax, eax
je 0x1400e94e7
cmp ecx, edi
jne 0x1400e94e7
cmp qword [rbp - 0x20], 0x70
jne 0x1400e9542
mov rcx, qword [0x14019b6f0]
lea rdx, str.HELPArcComment
xor r8d, r8d
call fcn.1400d0b6c
jmp 0x1400e96b5
mov rax, qword [0x1401c91d8]
cmp ecx, 0x205
jne 0x1400e94fc
cmp qword [rbp - 0x30], rax
je 0x1400e950b
cmp ecx, 0xa5
jne 0x1400e951c
cmp qword [rbp - 0x20], 5
jne 0x1400e9542
lea rcx, [0x1401c91d8]
call fcn.1400b5f78
jmp 0x1400e96b5
cmp ecx, 0x203
jne 0x1400e9542
cmp qword [rbp - 0x30], rax
jne 0x1400e9542
mov rdx, qword [0x14019b6f0]
lea rcx, [0x1401c91d8]
call fcn.1400b4274
jmp 0x1400e96b5
mov rax, qword [0x1401c6fb0]
cmp rbx, rax
je 0x1400e9601
cmp rbx, qword [0x14019c7d8]
je 0x1400e9601
cmp qword [0x14019b708], 0
je 0x1400e95bd
call fcn.1400d4d88
cmp eax, 9
jne 0x1400e95bd
mov rdx, qword [0x140206ce0]
test rdx, rdx
je 0x1400e9598
mov rcx, qword [0x14019b708]
lea r8, [rbp - 0x30]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1400e96b5
mov rdx, qword [0x140206cd0]
test rdx, rdx
je 0x1400e95bd
mov rcx, qword [0x14019b708]
lea r8, [rbp - 0x30]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1400e96b5
mov rcx, qword [0x14019b718]
test rcx, rcx
je 0x1400e966d
mov rdx, qword [0x140206ce8]
lea r8, [rbp - 0x30]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1400e96b5
mov rcx, qword [0x14019b718]
lea r9, [rbp - 0x30]
xor r8d, r8d
mov edx, 0x8009
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1400e966d
mov rdx, qword [0x140206cd8]
test rdx, rdx
je 0x1400e962b
cmp rbx, rax
jne 0x1400e962b
mov rcx, qword [0x14019b6f0]
lea r8, [rbp - 0x30]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1400e96b5
mov rdx, qword [0x140206cd0]
test rdx, rdx
je 0x1400e964c
mov rcx, qword [0x14019b6f0]
lea r8, [rbp - 0x30]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1400e96b5
mov rdx, qword [0x140206ce0]
test rdx, rdx
je 0x1400e966d
mov rcx, qword [0x14019b6f0]
lea r8, [rbp - 0x30]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1400e96b5
test rsi, rsi
je 0x1400e9683
lea rdx, [rbp - 0x30]
mov rcx, rsi
call qword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x1400e96b5
test r14, r14
je 0x1400e96a1
lea r9, [rbp - 0x30]
xor r8d, r8d
mov edx, 0x475
mov rcx, r14
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x1400e96b5
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]
mov r14, qword [rsp + 0x78]
add rsp, 0x50
pop rbp
ret