Function at 0x1401002c8
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
mov rbp, rsp
sub rsp, 0x50
cmp qword [0x1401fa9c8], 0
mov r14, rdx
mov rsi, rcx
jne 0x140100399
mov rcx, qword [0x1401c9660]
lea rdx, str.MENUACC
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov rcx, qword [0x1401c9660]
lea rdx, str.LISTACC
mov qword [0x1401fa9c8], rax
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov rcx, qword [0x1401c9660]
lea rdx, str.FILEACC
mov qword [0x1401fa9d0], rax
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov rcx, qword [0x1401c9660]
lea rdx, str.VIEWACC
mov qword [0x1401fa9d8], rax
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov rcx, qword [0x1401c9660]
lea rdx, str.ERRACC
mov qword [0x1401fa9e0], rax
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov rcx, qword [0x1401c9660]
lea rdx, [0x140156748]
mov qword [0x1401fa9e8], rax
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov qword [0x1401fa9f0], 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 0x14010072f
mov eax, dword [0x14018a878]
cmp dword [rbp - 0x28], eax
jne 0x1401003e5
mov rbx, qword [rbp - 0x18]
mov rcx, rbx
mov r8b, byte [rbx + 0x3800]
lea rdx, [rbx + 0x1000]
call fcn.1400ecb9c
mov rcx, rbx
call fcn.140123a48
jmp 0x14010072d
mov rbx, qword [rbp - 0x30]
test rbx, rbx
je 0x140100719
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, qword [0x1401897e0]
mov rdi, rax
test rcx, rcx
je 0x14010042d
mov rdx, qword [0x1401fa9e0]
test rdx, rdx
je 0x140100434
cmp rax, rcx
jne 0x140100434
lea r8, [rbp - 0x30]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x14010072d
mov rdx, qword [0x1401fa9e0]
mov rcx, qword [0x1401897f0]
test rcx, rcx
je 0x140100463
test rdx, rdx
je 0x140100463
cmp rdi, rcx
jne 0x140100463
mov rdx, qword [0x1401fa9e8]
lea r8, [rbp - 0x30]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x14010072d
mov rcx, qword [0x1401897d8]
test rcx, rcx
je 0x140100497
mov rdx, qword [0x1401fa9f0]
test rdx, rdx
je 0x140100497
cmp rbx, rcx
je 0x140100485
cmp rdi, rcx
jne 0x140100497
lea r8, [rbp - 0x30]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x14010072d
mov r8, qword [0x1401fa9c8]
lea rcx, [rbp - 0x30]
mov rdx, qword [0x1401fa9d8]
call fcn.1400e85e0
test al, al
jne 0x14010072d
mov rcx, qword [0x1401897e8]
test rcx, rcx
je 0x1401004d4
lea rdx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x14010072d
mov rcx, qword [0x1401897f0]
test rcx, rcx
je 0x1401004f2
lea rdx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x14010072d
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
mov edi, 0x100
shr ecx, 0xf
cmp dword [rbp - 0x28], edi
jne 0x14010052d
cmp qword [rbp - 0x20], 9
jne 0x14010052d
not ecx
and ecx, 1
lea ecx, [rcx*2 - 1]
call fcn.14010074c
test al, al
jne 0x14010072d
call fcn.1400f9de4
mov ecx, dword [rbp - 0x28]
test eax, eax
je 0x14010055f
cmp ecx, edi
jne 0x14010055f
cmp qword [rbp - 0x20], 0x70
jne 0x1401005ba
mov rcx, qword [0x1401897d0]
lea rdx, str.HELPArcComment
xor r8d, r8d
call fcn.1400e6f5c
jmp 0x14010072d
mov rax, qword [0x1401be668]
cmp ecx, 0x205
jne 0x140100574
cmp qword [rbp - 0x30], rax
je 0x140100583
cmp ecx, 0xa5
jne 0x140100594
cmp qword [rbp - 0x20], 5
jne 0x1401005ba
lea rcx, [0x1401be668]
call fcn.1400c91b4
jmp 0x14010072d
cmp ecx, 0x203
jne 0x1401005ba
cmp qword [rbp - 0x30], rax
jne 0x1401005ba
mov rdx, qword [0x1401897d0]
lea rcx, [0x1401be668]
call fcn.1400c74d0
jmp 0x14010072d
mov rax, qword [0x1401bc440]
cmp rbx, rax
je 0x140100679
cmp rbx, qword [0x14019a518]
je 0x140100679
cmp qword [0x1401897e8], 0
je 0x140100635
call fcn.1400eb254
cmp eax, 9
jne 0x140100635
mov rdx, qword [0x1401fa9d8]
test rdx, rdx
je 0x140100610
mov rcx, qword [0x1401897e8]
lea r8, [rbp - 0x30]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x14010072d
mov rdx, qword [0x1401fa9c8]
test rdx, rdx
je 0x140100635
mov rcx, qword [0x1401897e8]
lea r8, [rbp - 0x30]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x14010072d
mov rcx, qword [0x1401897f8]
test rcx, rcx
je 0x1401006e5
mov rdx, qword [0x1401fa9e0]
lea r8, [rbp - 0x30]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x14010072d
mov rcx, qword [0x1401897f8]
lea r9, [rbp - 0x30]
xor r8d, r8d
mov edx, 0x8009
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1401006e5
mov rdx, qword [0x1401fa9d0]
test rdx, rdx
je 0x1401006a3
cmp rbx, rax
jne 0x1401006a3
mov rcx, qword [0x1401897d0]
lea r8, [rbp - 0x30]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x14010072d
mov rdx, qword [0x1401fa9c8]
test rdx, rdx
je 0x1401006c4
mov rcx, qword [0x1401897d0]
lea r8, [rbp - 0x30]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x14010072d
mov rdx, qword [0x1401fa9d8]
test rdx, rdx
je 0x1401006e5
mov rcx, qword [0x1401897d0]
lea r8, [rbp - 0x30]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x14010072d
test rsi, rsi
je 0x1401006fb
lea rdx, [rbp - 0x30]
mov rcx, rsi
call qword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x14010072d
test r14, r14
je 0x140100719
lea r9, [rbp - 0x30]
xor r8d, r8d
mov edx, 0x475
mov rcx, r14
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x14010072d
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]
mov r14, qword [rsp + 0x78]
add rsp, 0x50
pop rbp
ret