Function at 0x1400b74c4
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
cmp qword [0x140190650], 0
mov rsi, rdx
mov rdi, rcx
jne 0x1400b754f
mov rcx, qword [0x140134b88]
lea rdx, str.MENUACC
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov rcx, qword [0x140134b88]
lea rdx, str.LISTACC
mov qword [0x140190650], rax
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov rcx, qword [0x140134b88]
lea rdx, str.FILEACC
mov qword [0x140190648], rax
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov rcx, qword [0x140134b88]
lea rdx, str.VIEWACC
mov qword [0x140190640], rax
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov qword [0x140190638], 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 0x1400b7893
mov eax, dword [0x140148970]
cmp dword [rsp + 0x28], eax
jne 0x1400b7591
mov rbx, qword [rsp + 0x38]
mov rcx, rbx
call fcn.1400b1654
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x1400b7891
call qword [sym.imp.USER32.dll_GetFocus]
mov rbx, rax
test rax, rax
je 0x1400b787b
cmp qword [0x14014aa48], 0
je 0x1400b75e6
cmp qword [0x140190638], 0
je 0x1400b75e6
mov rcx, rax
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, qword [0x14014aa48]
cmp rax, rcx
jne 0x1400b75e6
mov rdx, qword [0x140190638]
lea r8, [rsp + 0x20]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1400b7891
mov rdx, qword [0x140190640]
lea rcx, [rsp + 0x20]
call fcn.1400a398c
test al, al
jne 0x1400b7891
mov rcx, qword [0x140148968]
test rcx, rcx
je 0x1400b761e
lea rdx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x1400b7891
mov rcx, qword [0x140149a20]
test rcx, rcx
je 0x1400b763d
lea rdx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x1400b7891
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 0x1400b767d
cmp qword [rsp + 0x30], 9
jne 0x1400b767d
neg r11b
sbb ecx, ecx
and ecx, 0xfffffffe
inc ecx
call fcn.1400b59b8
test al, al
jne 0x1400b7891
call fcn.1400aa97c
mov ecx, dword [rsp + 0x28]
test eax, eax
je 0x1400b76b5
cmp ecx, 0x100
jne 0x1400b76b5
cmp qword [rsp + 0x30], 0x70
jne 0x1400b7713
mov rcx, qword [0x14014aae0]
lea rdx, str.HELPArcComment
xor r8d, r8d
call fcn.1400a2af0
jmp 0x1400b7891
mov rax, qword [0x14015b380]
cmp ecx, 0x205
jne 0x1400b76cb
cmp qword [rsp + 0x20], rax
je 0x1400b76db
cmp ecx, 0xa5
jne 0x1400b76ec
cmp qword [rsp + 0x30], 5
jne 0x1400b7713
lea rcx, [0x14015b380]
call fcn.140084e78
jmp 0x1400b7891
cmp ecx, 0x203
jne 0x1400b7713
cmp qword [rsp + 0x20], rax
jne 0x1400b7713
mov rdx, qword [0x14014aae0]
lea rcx, [0x14015b380]
call fcn.140086ff4
jmp 0x1400b7891
mov rax, qword [0x140155380]
cmp rbx, rax
je 0x1400b77d6
cmp rbx, qword [0x140155360]
je 0x1400b77d6
mov rcx, qword [0x14014aa48]
test rcx, rcx
je 0x1400b775b
mov rdx, qword [0x140190638]
test rdx, rdx
je 0x1400b7762
lea r8, [rsp + 0x20]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1400b7891
mov rdx, qword [0x140190638]
mov rcx, qword [0x140148968]
test rcx, rcx
je 0x1400b7797
mov rax, qword [0x140190640]
test rax, rax
je 0x1400b7797
lea r8, [rsp + 0x20]
mov rdx, rax
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1400b7891
mov rdx, qword [0x140190638]
mov rcx, qword [0x140149a28]
test rcx, rcx
je 0x1400b7845
lea r8, [rsp + 0x20]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1400b7891
mov rcx, qword [0x140149a28]
lea r9, [rsp + 0x20]
xor r8d, r8d
mov edx, 0x8009
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1400b7845
mov rdx, qword [0x140190648]
test rdx, rdx
je 0x1400b7801
cmp rbx, rax
jne 0x1400b7801
mov rcx, qword [0x14014aae0]
lea r8, [rsp + 0x20]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1400b7891
mov rdx, qword [0x140190650]
test rdx, rdx
je 0x1400b7823
mov rcx, qword [0x14014aae0]
lea r8, [rsp + 0x20]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1400b7891
mov rdx, qword [0x140190640]
test rdx, rdx
je 0x1400b7845
mov rcx, qword [0x14014aae0]
lea r8, [rsp + 0x20]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1400b7891
test rdi, rdi
je 0x1400b785c
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x1400b7891
test rsi, rsi
je 0x1400b787b
lea r9, [rsp + 0x20]
xor r8d, r8d
mov edx, 0x475
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x1400b7891
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