Function at 0x140102368
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 [0x1401fc9c8], 0
mov r14, rdx
mov rsi, rcx
jne 0x140102439
mov rcx, qword [0x1401cb660]
lea rdx, str.MENUACC
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov rcx, qword [0x1401cb660]
lea rdx, str.LISTACC
mov qword [0x1401fc9c8], rax
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov rcx, qword [0x1401cb660]
lea rdx, str.FILEACC
mov qword [0x1401fc9d0], rax
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov rcx, qword [0x1401cb660]
lea rdx, str.VIEWACC
mov qword [0x1401fc9d8], rax
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov rcx, qword [0x1401cb660]
lea rdx, str.ERRACC
mov qword [0x1401fc9e0], rax
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov rcx, qword [0x1401cb660]
lea rdx, [0x140158978]
mov qword [0x1401fc9e8], rax
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov qword [0x1401fc9f0], 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 0x1401027cf
mov eax, dword [0x14018c878]
cmp dword [rbp - 0x28], eax
jne 0x140102485
mov rbx, qword [rbp - 0x18]
mov rcx, rbx
mov r8b, byte [rbx + 0x3800]
lea rdx, [rbx + 0x1000]
call fcn.1400eed1c
mov rcx, rbx
call fcn.140125bf8
jmp 0x1401027cd
mov rbx, qword [rbp - 0x30]
test rbx, rbx
je 0x1401027b9
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, qword [0x14018b7e0]
mov rdi, rax
test rcx, rcx
je 0x1401024cd
mov rdx, qword [0x1401fc9e0]
test rdx, rdx
je 0x1401024d4
cmp rax, rcx
jne 0x1401024d4
lea r8, [rbp - 0x30]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1401027cd
mov rdx, qword [0x1401fc9e0]
mov rcx, qword [0x14018b7f0]
test rcx, rcx
je 0x140102503
test rdx, rdx
je 0x140102503
cmp rdi, rcx
jne 0x140102503
mov rdx, qword [0x1401fc9e8]
lea r8, [rbp - 0x30]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1401027cd
mov rcx, qword [0x14018b7d8]
test rcx, rcx
je 0x140102537
mov rdx, qword [0x1401fc9f0]
test rdx, rdx
je 0x140102537
cmp rbx, rcx
je 0x140102525
cmp rdi, rcx
jne 0x140102537
lea r8, [rbp - 0x30]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1401027cd
mov r8, qword [0x1401fc9c8]
lea rcx, [rbp - 0x30]
mov rdx, qword [0x1401fc9d8]
call fcn.1400ea760
test al, al
jne 0x1401027cd
mov rcx, qword [0x14018b7e8]
test rcx, rcx
je 0x140102574
lea rdx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x1401027cd
mov rcx, qword [0x14018b7f0]
test rcx, rcx
je 0x140102592
lea rdx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x1401027cd
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 0x1401025cd
cmp qword [rbp - 0x20], 9
jne 0x1401025cd
not ecx
and ecx, 1
lea ecx, [rcx*2 - 1]
call fcn.1401027ec
test al, al
jne 0x1401027cd
call fcn.1400fbe84
mov ecx, dword [rbp - 0x28]
test eax, eax
je 0x1401025ff
cmp ecx, edi
jne 0x1401025ff
cmp qword [rbp - 0x20], 0x70
jne 0x14010265a
mov rcx, qword [0x14018b7d0]
lea rdx, str.HELPArcComment
xor r8d, r8d
call fcn.1400e90dc
jmp 0x1401027cd
mov rax, qword [0x1401c0668]
cmp ecx, 0x205
jne 0x140102614
cmp qword [rbp - 0x30], rax
je 0x140102623
cmp ecx, 0xa5
jne 0x140102634
cmp qword [rbp - 0x20], 5
jne 0x14010265a
lea rcx, [0x1401c0668]
call fcn.1400cb104
jmp 0x1401027cd
cmp ecx, 0x203
jne 0x14010265a
cmp qword [rbp - 0x30], rax
jne 0x14010265a
mov rdx, qword [0x14018b7d0]
lea rcx, [0x1401c0668]
call fcn.1400c9420
jmp 0x1401027cd
mov rax, qword [0x1401be440]
cmp rbx, rax
je 0x140102719
cmp rbx, qword [0x14019c518]
je 0x140102719
cmp qword [0x14018b7e8], 0
je 0x1401026d5
call fcn.1400ed3d4
cmp eax, 9
jne 0x1401026d5
mov rdx, qword [0x1401fc9d8]
test rdx, rdx
je 0x1401026b0
mov rcx, qword [0x14018b7e8]
lea r8, [rbp - 0x30]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1401027cd
mov rdx, qword [0x1401fc9c8]
test rdx, rdx
je 0x1401026d5
mov rcx, qword [0x14018b7e8]
lea r8, [rbp - 0x30]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1401027cd
mov rcx, qword [0x14018b7f8]
test rcx, rcx
je 0x140102785
mov rdx, qword [0x1401fc9e0]
lea r8, [rbp - 0x30]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1401027cd
mov rcx, qword [0x14018b7f8]
lea r9, [rbp - 0x30]
xor r8d, r8d
mov edx, 0x8009
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x140102785
mov rdx, qword [0x1401fc9d0]
test rdx, rdx
je 0x140102743
cmp rbx, rax
jne 0x140102743
mov rcx, qword [0x14018b7d0]
lea r8, [rbp - 0x30]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1401027cd
mov rdx, qword [0x1401fc9c8]
test rdx, rdx
je 0x140102764
mov rcx, qword [0x14018b7d0]
lea r8, [rbp - 0x30]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1401027cd
mov rdx, qword [0x1401fc9d8]
test rdx, rdx
je 0x140102785
mov rcx, qword [0x14018b7d0]
lea r8, [rbp - 0x30]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1401027cd
test rsi, rsi
je 0x14010279b
lea rdx, [rbp - 0x30]
mov rcx, rsi
call qword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x1401027cd
test r14, r14
je 0x1401027b9
lea r9, [rbp - 0x30]
xor r8d, r8d
mov edx, 0x475
mov rcx, r14
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x1401027cd
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