Function at 0x1400cb578
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
cmp qword [0x140192d50], 0
mov rsi, rdx
mov rdi, rcx
jne 0x1400cb603
mov rcx, qword [0x140149f18]
lea rdx, str.MENUACC
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov rcx, qword [0x140149f18]
lea rdx, str.LISTACC
mov qword [0x140192d50], rax
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov rcx, qword [0x140149f18]
lea rdx, str.FILEACC
mov qword [0x140192d48], rax
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov rcx, qword [0x140149f18]
lea rdx, str.VIEWACC
mov qword [0x140192d40], rax
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov qword [0x140192d38], rax
lea rcx, [rsp + 0x20]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x1400cb950
mov eax, dword [0x1401561d0]
cmp dword [rsp + 0x28], eax
jne 0x1400cb64e
mov rbx, qword [rsp + 0x38]
cmp qword [rsp + 0x30], 0
setne dl
mov rcx, rbx
call fcn.1400c53b8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x1400cb94e
call qword [sym.imp.USER32.dll_GetFocus]
mov rbx, rax
test rax, rax
je 0x1400cb938
cmp qword [0x1401582c0], 0
je 0x1400cb6a3
cmp qword [0x140192d38], 0
je 0x1400cb6a3
mov rcx, rax
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, qword [0x1401582c0]
cmp rax, rcx
jne 0x1400cb6a3
mov rdx, qword [0x140192d38]
lea r8, [rsp + 0x20]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1400cb94e
mov rdx, qword [0x140192d40]
lea rcx, [rsp + 0x20]
call fcn.1400b7390
test al, al
jne 0x1400cb94e
mov rcx, qword [0x1401561c8]
test rcx, rcx
je 0x1400cb6db
lea rdx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x1400cb94e
mov rcx, qword [0x140157288]
test rcx, rcx
je 0x1400cb6fa
lea rdx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x1400cb94e
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
mov r11w, ax
shr r11d, 0xf
and r11b, 1
cmp dword [rsp + 0x28], 0x100
jne 0x1400cb73a
cmp qword [rsp + 0x30], 9
jne 0x1400cb73a
neg r11b
sbb ecx, ecx
and ecx, 0xfffffffe
inc ecx
call fcn.1400c9990
test al, al
jne 0x1400cb94e
call fcn.1400be2c8
mov ecx, dword [rsp + 0x28]
test eax, eax
je 0x1400cb772
cmp ecx, 0x100
jne 0x1400cb772
cmp qword [rsp + 0x30], 0x70
jne 0x1400cb7d0
mov rcx, qword [0x140158350]
lea rdx, str.HELPArcComment
xor r8d, r8d
call fcn.1400b6038
jmp 0x1400cb94e
mov rax, qword [0x140168ad0]
cmp ecx, 0x205
jne 0x1400cb788
cmp qword [rsp + 0x20], rax
je 0x1400cb798
cmp ecx, 0xa5
jne 0x1400cb7a9
cmp qword [rsp + 0x30], 5
jne 0x1400cb7d0
lea rcx, [0x140168ad0]
call fcn.1400a6e04
jmp 0x1400cb94e
cmp ecx, 0x203
jne 0x1400cb7d0
cmp qword [rsp + 0x20], rax
jne 0x1400cb7d0
mov rdx, qword [0x140158350]
lea rcx, [0x140168ad0]
call fcn.1400a8f80
jmp 0x1400cb94e
mov rax, qword [0x140162c30]
cmp rbx, rax
je 0x1400cb893
cmp rbx, qword [0x140162bb8]
je 0x1400cb893
mov rcx, qword [0x1401582c0]
test rcx, rcx
je 0x1400cb818
mov rdx, qword [0x140192d38]
test rdx, rdx
je 0x1400cb81f
lea r8, [rsp + 0x20]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1400cb94e
mov rdx, qword [0x140192d38]
mov rcx, qword [0x1401561c8]
test rcx, rcx
je 0x1400cb854
mov rax, qword [0x140192d40]
test rax, rax
je 0x1400cb854
lea r8, [rsp + 0x20]
mov rdx, rax
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1400cb94e
mov rdx, qword [0x140192d38]
mov rcx, qword [0x140157290]
test rcx, rcx
je 0x1400cb902
lea r8, [rsp + 0x20]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1400cb94e
mov rcx, qword [0x140157290]
lea r9, [rsp + 0x20]
xor r8d, r8d
mov edx, 0x8009
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1400cb902
mov rdx, qword [0x140192d48]
test rdx, rdx
je 0x1400cb8be
cmp rbx, rax
jne 0x1400cb8be
mov rcx, qword [0x140158350]
lea r8, [rsp + 0x20]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1400cb94e
mov rdx, qword [0x140192d50]
test rdx, rdx
je 0x1400cb8e0
mov rcx, qword [0x140158350]
lea r8, [rsp + 0x20]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1400cb94e
mov rdx, qword [0x140192d40]
test rdx, rdx
je 0x1400cb902
mov rcx, qword [0x140158350]
lea r8, [rsp + 0x20]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1400cb94e
test rdi, rdi
je 0x1400cb919
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x1400cb94e
test rsi, rsi
je 0x1400cb938
lea r9, [rsp + 0x20]
xor r8d, r8d
mov edx, 0x475
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x1400cb94e
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_DispatchMessageW]
mov al, 1
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret