Function at 0x140017f10
Capabilities:
Access the windows event log

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x14005a318]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov r14, rcx
xor r12d, r12d
mov qword [rsp + 0x58], r12
mov dword [rsp + 0x50], r12d
lea r15d, [r12 - 1]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
xor edx, edx
xor ecx, ecx
lea r8d, [r12 + 1]
call qword [sym.imp.WTSAPI32.dll_WTSEnumerateSessionsW]
mov edx, r12d
mov r11, qword [rsp + 0x58]
mov r8d, dword [rsp + 0x50]
test r8d, r8d
je 0x140017fc0
nop dword [rax]
mov eax, edx
lea rcx, [rax + rax*2]
movups xmm0, xmmword [r11 + rcx*8]
movups xmmword [rsp + 0x70], xmm0
movsd xmm1, qword [r11 + rcx*8 + 0x10]
movsd qword [rbp - 0x80], xmm1
cmp dword [rbp - 0x80], r12d
je 0x140017fbb
inc edx
cmp edx, r8d
jb 0x140017f90
jmp 0x140017fc0
mov r15d, dword [rsp + 0x70]
lea rsi, [r14 + 0x2e8]
mov rax, qword [rsi]
mov rbx, qword [rax]
cmp rbx, rax
je 0x1400180f0
mov r13d, 2
nop dword [rax]
mov r10d, r12d
mov eax, r12d
test r8d, r8d
je 0x14001800b
mov r9d, dword [rbx + 0x10]
nop
mov ecx, eax
lea rdx, [rcx + rcx*2]
cmp dword [r11 + rdx*8], r9d
je 0x140018005
inc eax
cmp eax, r8d
jb 0x140017ff0
jmp 0x14001800b
mov r10d, 1
test r10d, r10d
jne 0x1400180e4
mov r9d, dword [rbx + 0x10]
lea r8, str.SessionId:_d_no_longer_exist_remove_it_n
mov edx, 0x104
lea rcx, [rbp - 0x60]
call fcn.14000ea00
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov rdx, qword [r14 + 0x58]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov rdi, rax
test rax, rax
je 0x140018099
mov rax, qword [r14 + 0x58]
mov qword [rsp + 0x60], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x68], rax
mov edx, 4
lea r8d, [rdx - 3]
mov qword [rsp + 0x40], r12
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], r12d
mov word [rsp + 0x28], r13w
mov qword [rsp + 0x20], r12
xor r9d, r9d
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1400180ac
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x18], r12
mov rdi, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rax], rdi
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
dec qword [r14 + 0x2f0]
mov edx, 0x28
mov rcx, rbx
call fcn.1400243b8
mov rbx, rdi
mov r11, qword [rsp + 0x58]
mov r8d, dword [rsp + 0x50]
jmp 0x1400180e7
mov rbx, qword [rbx]
cmp rbx, qword [rsi]
jne 0x140017fe0
mov edi, r12d
test r8d, r8d
je 0x1400181bd
movabs r14, 0x666666666666666
nop word [rax + rax]
mov eax, edi
lea rcx, [rax + rax*2]
movups xmm0, xmmword [r11 + rcx*8]
movups xmmword [rsp + 0x70], xmm0
mov r9d, 1
mov rbx, qword [rsi]
mov rax, qword [rbx]
mov edx, dword [rsp + 0x70]
cmp rax, rbx
je 0x14001814a
cmp edx, dword [rax + 0x10]
je 0x140018147
mov rcx, qword [rax]
mov rax, rcx
cmp rcx, rbx
jne 0x140018135
jmp 0x14001814a
mov r9d, r12d
test r9d, r9d
je 0x1400181b2
mov dword [rbp - 0x78], edx
mov qword [rbp - 0x70], r12
mov dword [rbp - 0x68], r12d
cmp qword [rsi + 8], r14
je 0x1400181f9
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], r12
mov ecx, 0x28
call fcn.1400243ec
mov rcx, rax
movups xmm0, xmmword [rbp - 0x78]
movups xmmword [rax + 0x10], xmm0
movsd xmm1, qword [rbp - 0x68]
movsd qword [rax + 0x20], xmm1
inc qword [rsi + 8]
mov rax, qword [rbx + 8]
mov qword [rcx], rbx
mov qword [rcx + 8], rax
mov qword [rsp + 0x68], r12
mov qword [rbx + 8], rcx
mov qword [rax], rcx
mov r11, qword [rsp + 0x58]
mov r8d, dword [rsp + 0x50]
inc edi
cmp edi, r8d
jb 0x140018110
mov rcx, r11
call qword [sym.imp.WTSAPI32.dll_WTSFreeMemory]
mov eax, r15d
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.140023ea0
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea rcx, str.list_too_long
call fcn.1400251f4
int3