Function at 0x1400cb574
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
cmp qword [0x140192d30], 0
mov rsi, rdx
mov rdi, rcx
jne 0x1400cb5ff
mov rcx, qword [0x140149ef8]
lea rdx, str.MENUACC
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov rcx, qword [0x140149ef8]
lea rdx, str.LISTACC
mov qword [0x140192d30], rax
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov rcx, qword [0x140149ef8]
lea rdx, str.FILEACC
mov qword [0x140192d28], rax
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov rcx, qword [0x140149ef8]
lea rdx, str.VIEWACC
mov qword [0x140192d20], rax
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov qword [0x140192d18], 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 0x1400cb94c
mov eax, dword [0x1401561b0]
cmp dword [rsp + 0x28], eax
jne 0x1400cb64a
mov rbx, qword [rsp + 0x38]
cmp qword [rsp + 0x30], 0
setne dl
mov rcx, rbx
call fcn.1400c53ac
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x1400cb94a
call qword [sym.imp.USER32.dll_GetFocus]
mov rbx, rax
test rax, rax
je 0x1400cb934
cmp qword [0x1401582a0], 0
je 0x1400cb69f
cmp qword [0x140192d18], 0
je 0x1400cb69f
mov rcx, rax
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, qword [0x1401582a0]
cmp rax, rcx
jne 0x1400cb69f
mov rdx, qword [0x140192d18]
lea r8, [rsp + 0x20]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1400cb94a
mov rdx, qword [0x140192d20]
lea rcx, [rsp + 0x20]
call fcn.1400b7360
test al, al
jne 0x1400cb94a
mov rcx, qword [0x1401561a8]
test rcx, rcx
je 0x1400cb6d7
lea rdx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x1400cb94a
mov rcx, qword [0x140157268]
test rcx, rcx
je 0x1400cb6f6
lea rdx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x1400cb94a
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 0x1400cb736
cmp qword [rsp + 0x30], 9
jne 0x1400cb736
neg r11b
sbb ecx, ecx
and ecx, 0xfffffffe
inc ecx
call fcn.1400c9988
test al, al
jne 0x1400cb94a
call fcn.1400be2ac
mov ecx, dword [rsp + 0x28]
test eax, eax
je 0x1400cb76e
cmp ecx, 0x100
jne 0x1400cb76e
cmp qword [rsp + 0x30], 0x70
jne 0x1400cb7cc
mov rcx, qword [0x140158330]
lea rdx, str.HELPArcComment
xor r8d, r8d
call fcn.1400b6020
jmp 0x1400cb94a
mov rax, qword [0x140168ab0]
cmp ecx, 0x205
jne 0x1400cb784
cmp qword [rsp + 0x20], rax
je 0x1400cb794
cmp ecx, 0xa5
jne 0x1400cb7a5
cmp qword [rsp + 0x30], 5
jne 0x1400cb7cc
lea rcx, [0x140168ab0]
call fcn.1400a6d54
jmp 0x1400cb94a
cmp ecx, 0x203
jne 0x1400cb7cc
cmp qword [rsp + 0x20], rax
jne 0x1400cb7cc
mov rdx, qword [0x140158330]
lea rcx, [0x140168ab0]
call fcn.1400a8ed0
jmp 0x1400cb94a
mov rax, qword [0x140162c10]
cmp rbx, rax
je 0x1400cb88f
cmp rbx, qword [0x140162ba8]
je 0x1400cb88f
mov rcx, qword [0x1401582a0]
test rcx, rcx
je 0x1400cb814
mov rdx, qword [0x140192d18]
test rdx, rdx
je 0x1400cb81b
lea r8, [rsp + 0x20]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1400cb94a
mov rdx, qword [0x140192d18]
mov rcx, qword [0x1401561a8]
test rcx, rcx
je 0x1400cb850
mov rax, qword [0x140192d20]
test rax, rax
je 0x1400cb850
lea r8, [rsp + 0x20]
mov rdx, rax
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1400cb94a
mov rdx, qword [0x140192d18]
mov rcx, qword [0x140157270]
test rcx, rcx
je 0x1400cb8fe
lea r8, [rsp + 0x20]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1400cb94a
mov rcx, qword [0x140157270]
lea r9, [rsp + 0x20]
xor r8d, r8d
mov edx, 0x8009
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1400cb8fe
mov rdx, qword [0x140192d28]
test rdx, rdx
je 0x1400cb8ba
cmp rbx, rax
jne 0x1400cb8ba
mov rcx, qword [0x140158330]
lea r8, [rsp + 0x20]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1400cb94a
mov rdx, qword [0x140192d30]
test rdx, rdx
je 0x1400cb8dc
mov rcx, qword [0x140158330]
lea r8, [rsp + 0x20]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1400cb94a
mov rdx, qword [0x140192d20]
test rdx, rdx
je 0x1400cb8fe
mov rcx, qword [0x140158330]
lea r8, [rsp + 0x20]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1400cb94a
test rdi, rdi
je 0x1400cb915
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x1400cb94a
test rsi, rsi
je 0x1400cb934
lea r9, [rsp + 0x20]
xor r8d, r8d
mov edx, 0x475
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x1400cb94a
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