Function at 0x14009d4f0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
cmp qword [0x14012b9c8], 0
mov rsi, rdx
mov rdi, rcx
jne 0x14009d57b
mov rcx, qword [0x1400ec660]
lea rdx, str.MENUACC
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov rcx, qword [0x1400ec660]
lea rdx, str.LISTACC
mov qword [0x14012b9c8], rax
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov rcx, qword [0x1400ec660]
lea rdx, str.FILEACC
mov qword [0x14012b9c0], rax
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov rcx, qword [0x1400ec660]
lea rdx, str.VIEWACC
mov qword [0x14012b9b8], rax
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov qword [0x14012b9b0], 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 0x14009d7f8
mov eax, dword [0x1400fec10]
cmp dword [rsp + 0x28], eax
jne 0x14009d5bd
mov rbx, qword [rsp + 0x38]
mov rcx, rbx
call fcn.140095a4c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x14009d7f6
call qword [sym.imp.USER32.dll_GetFocus]
mov rbx, rax
test rax, rax
je 0x14009d7e0
cmp qword [0x1400ffce0], 0
je 0x14009d612
cmp qword [0x14012b9b0], 0
je 0x14009d612
mov rcx, rax
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, qword [0x1400ffce0]
cmp rax, rcx
jne 0x14009d612
mov rdx, qword [0x14012b9b0]
lea r8, [rsp + 0x20]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x14009d7f6
mov rdx, qword [0x14012b9b8]
lea rcx, [rsp + 0x20]
call fcn.1400879f8
test al, al
jne 0x14009d7f6
mov rcx, qword [0x1400fec08]
test rcx, rcx
je 0x14009d64a
lea rdx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x14009d7f6
mov rcx, qword [0x1400ff4c0]
test rcx, rcx
je 0x14009d669
lea rdx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x14009d7f6
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 0x14009d6a9
cmp qword [rsp + 0x30], 9
jne 0x14009d6a9
neg r11b
sbb ecx, ecx
and ecx, 0xfffffffe
inc ecx
call fcn.14009b310
test al, al
jne 0x14009d7f6
call fcn.14008edd0
mov ecx, dword [rsp + 0x28]
test eax, eax
je 0x14009d6e1
cmp ecx, 0x100
jne 0x14009d6e1
cmp qword [rsp + 0x30], 0x70
jne 0x14009d73f
mov rcx, qword [0x1400ffd80]
lea rdx, str.HELPArcComment
xor r8d, r8d
call fcn.140086e90
jmp 0x14009d7f6
mov rax, qword [0x1401082f8]
cmp ecx, 0x205
jne 0x14009d6f7
cmp qword [rsp + 0x20], rax
je 0x14009d707
cmp ecx, 0xa5
jne 0x14009d718
cmp qword [rsp + 0x30], 5
jne 0x14009d73f
lea rcx, [0x1401082f8]
call fcn.14006f404
jmp 0x14009d7f6
cmp ecx, 0x203
jne 0x14009d73f
cmp qword [rsp + 0x20], rax
jne 0x14009d73f
mov rdx, qword [0x1400ffd80]
lea rcx, [0x1401082f8]
call fcn.140071570
jmp 0x14009d7f6
mov rax, qword [0x140105570]
cmp rbx, rax
je 0x14009d808
cmp rbx, qword [0x140105540]
je 0x14009d808
mov rcx, qword [0x1400ffce0]
test rcx, rcx
je 0x14009d783
mov rdx, qword [0x14012b9b0]
test rdx, rdx
je 0x14009d783
lea r8, [rsp + 0x20]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x14009d7f6
mov rcx, qword [0x1400fec08]
test rcx, rcx
je 0x14009d7aa
mov rdx, qword [0x14012b9b8]
test rdx, rdx
je 0x14009d7aa
lea r8, [rsp + 0x20]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x14009d7f6
test rdi, rdi
je 0x14009d7c1
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x14009d7f6
test rsi, rsi
je 0x14009d7e0
lea r9, [rsp + 0x20]
xor r8d, r8d
mov edx, 0x475
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x14009d7f6
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
mov rdx, qword [0x14012b9c0]
test rdx, rdx
je 0x14009d82f
cmp rbx, rax
jne 0x14009d82f
mov rcx, qword [0x1400ffd80]
lea r8, [rsp + 0x20]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x14009d7f6
mov rdx, qword [0x14012b9c8]
test rdx, rdx
je 0x14009d851
mov rcx, qword [0x1400ffd80]
lea r8, [rsp + 0x20]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x14009d7f6
mov rdx, qword [0x14012b9b8]
test rdx, rdx
je 0x14009d7aa
mov rcx, qword [0x1400ffd80]
jmp 0x14009d79b