Function at 0x140016d70
Capabilities:
Log keystrokes

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x60
mov qword [rax - 0x18], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rsi, rcx
call fcn.14002da88
mov r8d, 0x1f
lea rdx, [0x1401ea8f0]
mov rcx, qword [rax + 0x10]
call fcn.140002830
call fcn.14000bd30
mov rcx, rsi
call fcn.140016fc0
test eax, eax
je 0x140016dc2
xor eax, eax
jmp 0x140016fa1
xor ebp, ebp
mov qword [0x1402a06f8], rbp
mov rbx, qword [0x14029b350]
mov rcx, qword [0x14029b358]
cmp rbx, rcx
jae 0x140016dfd
nop
mov rax, qword [rbx]
test rax, rax
je 0x140016df4
mov cl, 1
call qword [rax + 0x38]
mov rcx, qword [0x14029b358]
add rbx, 8
cmp rbx, rcx
jb 0x140016de0
mov rcx, rsi
call fcn.1400165d0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetPriorityClass]
mov r8d, eax
lea rdx, str.MicTray_priority__d_n
mov ecx, 0x1d
call fcn.140002ae0
mov ecx, 0xab0
call fcn.14001aae0
mov qword [rsp + 0x78], rax
test rax, rax
je 0x140016e49
mov rcx, rax
call fcn.140006340
mov rbx, rax
jmp 0x140016e4c
mov rbx, rbp
mov qword [rsi + 0x40], rbx
cmp dword [0x14029b3e8], 0
je 0x140016e65
mov ecx, dword [0x140293044]
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rax, qword [rbx]
mov qword [rsp + 0x40], rbp
mov dword [rsp + 0x38], ebp
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbp
lea rcx, [0x140293588]
mov qword [rsp + 0x20], rcx
mov r9d, 0xcf0000
lea r8, [0x1401e4428]
xor edx, edx
mov rcx, rbx
call qword [rax + 0x2c8]
test eax, eax
je 0x140016dbb
mov rcx, qword [rsi + 0x40]
cmp dword [0x14029b3e8], 0
je 0x140016f87
mov edx, 5
call fcn.140026cbc
mov rcx, qword [rsi + 0x40]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_UpdateWindow]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
xor edx, edx
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebx, eax
mov r8d, 1
mov edx, edi
mov ecx, eax
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov rcx, qword [rsi + 0x40]
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], ebp
xor r9d, r9d
xor r8d, r8d
lea rdx, [r9 - 1]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [rsi + 0x40]
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], ebp
xor r9d, r9d
xor r8d, r8d
lea rdx, [r9 - 2]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [rsi + 0x40]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
xor r8d, r8d
mov edx, edi
mov ecx, ebx
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov rcx, qword [rsi + 0x40]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SetFocus]
mov rcx, qword [rsi + 0x40]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SetActiveWindow]
jmp 0x140016f9c
xor edx, edx
call fcn.140026cbc
mov rcx, qword [rsi + 0x40]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret