Function at 0x1800023b0
Capabilities:
Create thread
Delete file
Get session user name

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x780]
sub rsp, 0x880
xor edx, edx
lea rcx, [rbp + 0x570]
mov r8d, 0x208
call fcn.180025f60
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
call fcn.180025f60
mov rcx, qword [0x18004cec0]
lea rdx, [rbp + 0x570]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rbp + 0x570]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea r8, [rbp + 0x570]
lea rdx, str._smeclogexts.dll
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea r8, [rbp + 0x570]
lea rdx, str._s_atomx.dll
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
call fcn.180025f60
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r8d, 0x104
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov rcx, rax
lea rdx, str.lsass.exe
call fcn.180028c5c
test eax, eax
jne 0x180002554
call fcn.180002220
test al, al
jne 0x1800026f7
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
call fcn.180025f60
mov rcx, qword [0x18004cec0]
lea rdx, [rsp + 0x40]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea r8, str.MSSYS.lck
mov edx, 0x104
lea rcx, [rsp + 0x40]
call fcn.180028840
xor ebx, ebx
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x30], rbx
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0xc0000000
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileW]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x1800026f7
xor ecx, ecx
call fcn.180002010
mov rbx, qword [rsp + 0x898]
add rsp, 0x880
pop rbp
ret
xor edx, edx
lea rcx, [rbp + 0x150]
mov r8d, 0x208
call fcn.180025f60
lea rdx, [rbp + 0x790]
mov dword [rbp + 0x790], 0x104
lea rcx, [rbp + 0x150]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea rdx, str.LOCAL_SERVICE
lea rcx, [rbp + 0x150]
call fcn.180028c5c
test eax, eax
je 0x1800026f7
lea rdx, str.NETWORK_SERVICE
lea rcx, [rbp + 0x150]
call fcn.180028c5c
test eax, eax
je 0x1800026f7
lea rcx, [rbp + 0x150]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
cmp word [rcx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x1800025d0
cmp word [rbp + rax*2 + 0x14e], 0x24
je 0x1800026f7
lea rdx, [0x18003f148]
lea rcx, [rbp + 0x150]
call fcn.180028c5c
xor ebx, ebx
test eax, eax
je 0x180002621
mov qword [rsp + 0x28], rbx
lea r8, [0x180002ad0]
xor r9d, r9d
mov dword [rsp + 0x20], ebx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
xor edx, edx
lea rcx, [rbp + 0x360]
mov r8d, 0x208
call fcn.180025f60
mov rcx, qword [0x18004cec0]
lea rdx, [rbp + 0x360]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rbp + 0x360]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea r8, [0x18003f144]
mov edx, 0x104
lea rcx, [rbp + 0x360]
call fcn.180028840
lea r8, [rbp + 0x150]
mov edx, 0x104
lea rcx, [rbp + 0x360]
call fcn.180028840
lea r8, str._XPS.lck
mov edx, 0x104
lea rcx, [rbp + 0x360]
call fcn.180028840
mov qword [rsp + 0x30], rbx
lea rcx, [rbp + 0x360]
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 2
mov edx, 0xc0000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x1800026f7
mov qword [rsp + 0x28], rbx
lea r8, [0x1800021e0]
xor r9d, r9d
mov dword [rsp + 0x20], ebx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, qword [rsp + 0x898]
add rsp, 0x880
pop rbp
ret