Function at 0x1400e70fc
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 [0x1401cd290], 0
mov rsi, rdx
mov rdi, rcx
jne 0x1400e718f
mov rcx, qword [0x14019bb50]
lea rdx, str.MENUACC
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov rcx, qword [0x14019bb50]
lea rdx, str.LISTACC
mov qword [0x1401cd290], rax
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov rcx, qword [0x14019bb50]
lea rdx, str.FILEACC
mov qword [0x1401cd298], rax
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov rcx, qword [0x14019bb50]
lea rdx, str.VIEWACC
mov qword [0x1401cd2a0], rax
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov qword [0x1401cd2a8], 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 0x1400e7558
mov eax, dword [0x140168e74]
cmp dword [rbp - 0x28], eax
jne 0x1400e71db
mov rbx, qword [rbp - 0x18]
mov rcx, rbx
mov r8b, byte [rbx + 0x3800]
lea rdx, [rbx + 0x1000]
call fcn.1400d4c30
mov rcx, rbx
call fcn.140103464
jmp 0x1400e7556
call qword [sym.imp.USER32.dll_GetFocus]
mov rbx, rax
test rax, rax
je 0x1400e7542
cmp qword [0x140167d28], 0
je 0x1400e722f
cmp qword [0x1401cd2a8], 0
je 0x1400e722f
mov rcx, rax
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, qword [0x140167d28]
cmp rax, rcx
jne 0x1400e722f
mov rdx, qword [0x1401cd2a8]
lea r8, [rbp - 0x30]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1400e7556
cmp dword [rbp - 0x28], 0x102
jne 0x1400e728d
cmp qword [rbp - 0x20], 0x17
jne 0x1400e728d
mov rcx, qword [0x140167d20]
test rcx, rcx
je 0x1400e728d
mov rax, qword [0x1401cd290]
test rax, rax
je 0x1400e7294
cmp rbx, rcx
je 0x1400e7278
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, qword [0x140167d20]
cmp rax, rcx
jne 0x1400e728d
mov rax, qword [0x1401cd290]
lea r8, [rbp - 0x30]
mov rdx, rax
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1400e7556
mov rax, qword [0x1401cd290]
mov rdx, qword [0x1401cd2a0]
lea rcx, [rbp - 0x30]
mov r8, rax
call fcn.1400d07c4
test al, al
jne 0x1400e7556
mov rcx, qword [0x140167d30]
test rcx, rcx
je 0x1400e72cd
lea rdx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x1400e7556
mov rcx, qword [0x140167d38]
test rcx, rcx
je 0x1400e72eb
lea rdx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x1400e7556
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp dword [rbp - 0x28], 0x100
jne 0x1400e7321
cmp qword [rbp - 0x20], 9
jne 0x1400e7321
neg al
sbb ecx, ecx
and ecx, 0xfffffffe
inc ecx
call fcn.1400e7570
test al, al
jne 0x1400e7556
call fcn.1400e132c
mov ecx, dword [rbp - 0x28]
test eax, eax
je 0x1400e7357
cmp ecx, 0x100
jne 0x1400e7357
cmp qword [rbp - 0x20], 0x70
jne 0x1400e73b2
mov rcx, qword [0x140166d18]
lea rdx, str.HELPArcComment
xor r8d, r8d
call fcn.1400cf34c
jmp 0x1400e7556
mov rax, qword [0x14018f798]
cmp ecx, 0x205
jne 0x1400e736c
cmp qword [rbp - 0x30], rax
je 0x1400e737b
cmp ecx, 0xa5
jne 0x1400e738c
cmp qword [rbp - 0x20], 5
jne 0x1400e73b2
lea rcx, [0x14018f798]
call fcn.1400b4e18
jmp 0x1400e7556
cmp ecx, 0x203
jne 0x1400e73b2
cmp qword [rbp - 0x30], rax
jne 0x1400e73b2
mov rdx, qword [0x140166d18]
lea rcx, [0x14018f798]
call fcn.1400b3114
jmp 0x1400e7556
mov rax, qword [0x14018d570]
cmp rbx, rax
je 0x1400e74a2
cmp rbx, qword [0x140168eb8]
je 0x1400e74a2
mov rcx, qword [0x140167d28]
test rcx, rcx
je 0x1400e73f9
mov rdx, qword [0x1401cd2a8]
test rdx, rdx
je 0x1400e7400
lea r8, [rbp - 0x30]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1400e7556
mov rdx, qword [0x1401cd2a8]
cmp qword [0x140167d30], 0
je 0x1400e7465
call fcn.1400d32d4
cmp eax, 9
jne 0x1400e745e
mov rdx, qword [0x1401cd2a0]
test rdx, rdx
je 0x1400e7439
mov rcx, qword [0x140167d30]
lea r8, [rbp - 0x30]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1400e7556
mov rdx, qword [0x1401cd290]
test rdx, rdx
je 0x1400e745e
mov rcx, qword [0x140167d30]
lea r8, [rbp - 0x30]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1400e7556
mov rdx, qword [0x1401cd2a8]
mov rcx, qword [0x140167d40]
test rcx, rcx
je 0x1400e750e
lea r8, [rbp - 0x30]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1400e7556
mov rcx, qword [0x140167d40]
lea r9, [rbp - 0x30]
xor r8d, r8d
mov edx, 0x8009
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1400e750e
mov rdx, qword [0x1401cd298]
test rdx, rdx
je 0x1400e74cc
cmp rbx, rax
jne 0x1400e74cc
mov rcx, qword [0x140166d18]
lea r8, [rbp - 0x30]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1400e7556
mov rdx, qword [0x1401cd290]
test rdx, rdx
je 0x1400e74ed
mov rcx, qword [0x140166d18]
lea r8, [rbp - 0x30]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1400e7556
mov rdx, qword [0x1401cd2a0]
test rdx, rdx
je 0x1400e750e
mov rcx, qword [0x140166d18]
lea r8, [rbp - 0x30]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1400e7556
test rdi, rdi
je 0x1400e7524
lea rdx, [rbp - 0x30]
mov rcx, rdi
call qword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x1400e7556
test rsi, rsi
je 0x1400e7542
lea r9, [rbp - 0x30]
xor r8d, r8d
mov edx, 0x475
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x1400e7556
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