Function at 0x14000f800
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x948]
sub rsp, 0xa20
mov rax, qword [0x140026730]
xor rax, rsp
mov qword [rbp + 0x910], rax
xor esi, esi
mov word [rbp + 0xdc], 0x100
lea rax, str.DeviceNamedPipe_
mov qword [rbp - 0x58], rsi
mov qword [rbp + 0x80], rax
lea rcx, [rbp + 0xa8]
lea rax, str.Devicemailslot_
mov qword [rbp - 0x50], rsi
mov qword [rbp + 0x90], rax
lea r15d, [rsi + 1]
lea rax, str.DeviceNamedPipeProtectedPrefix
mov dword [rbp + 0xd8], esi
mov qword [rbp], rax
lea r12d, [rsi + 0x40]
lea rax, str.DevicemailslotProtectedPrefix
mov dword [rbp + 0xd0], esi
mov qword [rbp + 0x10], rax
mov edx, r15d
lea rax, str.DeviceNamedPipeProtectedPrefixAdministrators
mov word [rbp + 0xd4], 0x500
mov qword [rbp + 0x20], rax
mov dil, r15b
lea rax, str.DevicemailslotProtectedPrefixAdministrators
mov dword [rbp + 0xe0], esi
mov qword [rbp + 0x30], rax
lea rax, str.DeviceNamedPipeProtectedPrefixLocalService
mov qword [rbp + 0x40], rax
lea rax, str.DevicemailslotProtectedPrefixLocalService
mov qword [rbp + 0x50], rax
lea rax, str.DeviceNamedPipeProtectedPrefixNetWorkService
mov qword [rbp + 0x60], rax
lea rax, str.DevicemailslotProtectedPrefixNetWorkService
mov qword [rbp + 0x70], rax
lea rax, str.DeviceNamedPipeSessions
mov qword [rbp + 0xa0], rax
mov word [rbp + 0xe4], 0x1000
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x48], rsi
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x10], rsi
mov byte [rsp + 0x60], r15b
mov dword [rbp + 0x78], 0x260024
mov dword [rbp + 0x88], 0x240022
mov dword [rbp - 8], 0x440042
mov dword [rbp + 8], 0x420040
mov dword [rbp + 0x18], 0x620060
mov dword [rbp + 0x28], 0x60005e
mov dword [rbp + 0x38], 0x5e005c
mov dword [rbp + 0x48], 0x5c005a
mov dword [rbp + 0x58], 0x620060
mov dword [rbp + 0x68], 0x60005e
mov dword [rbp + 0x98], 0x360034
call qword [sym.imp.ntdll.dll_RtlCreateSecurityDescriptor]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x140010295
lea r14d, [rsi + 2]
mov edx, 0x408
mov r8d, r14d
lea rcx, [rbp + 0xf0]
call qword [sym.imp.ntdll.dll_RtlCreateAcl]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x140010295
xor r9d, r9d
lea r8, [rbp + 0xf0]
mov dl, r15b
lea rcx, [rbp + 0xa8]
call qword [sym.imp.ntdll.dll_RtlSetDaclSecurityDescriptor]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x140010295
mov dword [rsp + 0x50], esi
lea rax, [rbp - 8]
mov qword [rsp + 0x48], rsi
lea r13d, [r15 + 0x7f]
mov dword [rsp + 0x40], r15d
lea r9, [rbp - 0x68]
mov dword [rsp + 0x38], r14d
lea r8, [rsp + 0x68]
mov dword [rbp - 0x80], r12d
lea rcx, [0x140026e40]
mov qword [rsp + 0x78], rax
lea r12d, [rsi + 3]
mov dword [rsp + 0x30], r12d
lea rax, [rbp + 0xa8]
mov dword [rsp + 0x28], r13d
mov edx, 0x1f01ff
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x68], 0x30
mov qword [rsp + 0x70], rsi
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rsi
call qword [sym.imp.ntdll.dll_NtCreateFile]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x140010295
mov dword [rsp + 0x50], esi
lea rax, [rbp + 8]
mov qword [rsp + 0x48], rsi
lea r9, [rbp - 0x68]
mov dword [rsp + 0x40], r15d
lea r8, [rsp + 0x68]
mov dword [rsp + 0x38], r14d
lea rcx, [0x140026e60]
mov dword [rsp + 0x30], r12d
mov edx, 0x1f01ff
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x78], rax
call qword [sym.imp.ntdll.dll_NtCreateFile]
nop dword [rax + rax]
mov ebx, eax
cmp eax, 0xc000003a
jne 0x14000fabe
mov dil, sil
jmp 0x14000fac6
test eax, eax
js 0x140010295
lea rax, [rbp - 0x40]
mov r9d, 0x220
mov qword [rsp + 0x50], rax
lea rcx, [rbp + 0xd0]
mov dword [rsp + 0x48], esi
mov r8d, 0x20
mov dword [rsp + 0x40], esi
mov dl, r14b
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
call qword [sym.imp.ntdll.dll_RtlAllocateAndInitializeSid]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x140010295
mov r9, qword [rbp - 0x40]
lea rcx, [rbp + 0xf0]
mov r8d, r14d
mov edx, r14d
call qword [sym.imp.ntdll.dll_RtlAddAccessAllowedAce]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x140010295
lea rax, [rbp - 0x38]
xor r9d, r9d
mov qword [rsp + 0x50], rax
lea rcx, [rbp + 0xd0]
mov dword [rsp + 0x48], esi
mov dl, r15b
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x38], esi
lea r8d, [r9 + 0x12]
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
call qword [sym.imp.ntdll.dll_RtlAllocateAndInitializeSid]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x140010295
mov r9, qword [rbp - 0x38]
lea rcx, [rbp + 0xf0]
mov r8d, r14d
mov edx, r14d
call qword [sym.imp.ntdll.dll_RtlAddAccessAllowedAce]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x140010295
mov dword [rsp + 0x50], esi
lea rax, [rbp + 0x18]
mov qword [rsp + 0x48], rsi
lea r9, [rbp - 0x68]
mov dword [rsp + 0x40], r15d
lea r8, [rsp + 0x68]
mov dword [rsp + 0x38], r14d
lea rcx, [0x140026e48]
mov dword [rsp + 0x30], r12d
mov edx, 0x1f01ff
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x78], rax
call qword [sym.imp.ntdll.dll_NtCreateFile]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x140010295
test dil, dil
je 0x14000fc50
mov dword [rsp + 0x50], esi
lea rax, [rbp + 0x28]
mov qword [rsp + 0x48], rsi
lea r9, [rbp - 0x68]
mov dword [rsp + 0x40], r15d
lea r8, [rsp + 0x68]
mov dword [rsp + 0x38], r14d
lea rcx, [0x140026e68]
mov dword [rsp + 0x30], r12d
mov edx, 0x1f01ff
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x78], rax
call qword [sym.imp.ntdll.dll_NtCreateFile]
nop dword [rax + rax]
mov r8d, r14d
lea rcx, [rbp + 0xf0]
mov edx, 0x408
call qword [sym.imp.ntdll.dll_RtlCreateAcl]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x140010295
lea rax, [rbp - 0x30]
xor r9d, r9d
mov qword [rsp + 0x50], rax
lea rcx, [rbp + 0xd0]
mov dword [rsp + 0x48], esi
mov dl, r15b
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x38], esi
lea r8d, [r9 + 0x13]
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
call qword [sym.imp.ntdll.dll_RtlAllocateAndInitializeSid]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x140010295
mov r9, qword [rbp - 0x30]
lea rcx, [rbp + 0xf0]
mov r8d, r14d
mov edx, r14d
call qword [sym.imp.ntdll.dll_RtlAddAccessAllowedAce]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x140010295
mov dword [rsp + 0x50], esi
lea rax, [rbp + 0x38]
mov qword [rsp + 0x48], rsi
lea r9, [rbp - 0x68]
mov dword [rsp + 0x40], r15d
lea r8, [rsp + 0x68]
mov dword [rsp + 0x38], r14d
lea rcx, [0x140026e50]
mov dword [rsp + 0x30], r12d
mov edx, 0x1f01ff
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x78], rax
call qword [sym.imp.ntdll.dll_NtCreateFile]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x140010295
test dil, dil
je 0x14000fd95
mov dword [rsp + 0x50], esi
lea rax, [rbp + 0x48]
mov qword [rsp + 0x48], rsi
lea r9, [rbp - 0x68]
mov dword [rsp + 0x40], r15d
lea r8, [rsp + 0x68]
mov dword [rsp + 0x38], r14d
lea rcx, [0x140026e70]
mov dword [rsp + 0x30], r12d
mov edx, 0x1f01ff
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x78], rax
call qword [sym.imp.ntdll.dll_NtCreateFile]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x140010295
mov r8d, r14d
lea rcx, [rbp + 0xf0]
mov edx, 0x408
call qword [sym.imp.ntdll.dll_RtlCreateAcl]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x140010295
lea rax, [rbp - 0x28]
xor r9d, r9d
mov qword [rsp + 0x50], rax
lea rcx, [rbp + 0xd0]
mov dword [rsp + 0x48], esi
mov dl, r15b
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x38], esi
lea r8d, [r9 + 0x14]
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
call qword [sym.imp.ntdll.dll_RtlAllocateAndInitializeSid]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x140010295
mov r9, qword [rbp - 0x28]
lea rcx, [rbp + 0xf0]
mov r8d, r14d
mov edx, r14d
call qword [sym.imp.ntdll.dll_RtlAddAccessAllowedAce]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x140010295
mov dword [rsp + 0x50], esi
lea rax, [rbp + 0x58]
mov qword [rsp + 0x48], rsi
lea r9, [rbp - 0x68]
mov dword [rsp + 0x40], r15d
lea r8, [rsp + 0x68]
mov dword [rsp + 0x38], r14d
lea rcx, [0x140026e58]
mov dword [rsp + 0x30], r12d
mov edx, 0x1f01ff
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x78], rax
call qword [sym.imp.ntdll.dll_NtCreateFile]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x140010295
test dil, dil
je 0x14000feda
mov dword [rsp + 0x50], esi
lea rax, [rbp + 0x68]
mov qword [rsp + 0x48], rsi
lea r9, [rbp - 0x68]
mov dword [rsp + 0x40], r15d
lea r8, [rsp + 0x68]
mov dword [rsp + 0x38], r14d
lea rcx, [0x140026e78]
mov dword [rsp + 0x30], r12d
mov edx, 0x1f01ff
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x78], rax
call qword [sym.imp.ntdll.dll_NtCreateFile]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x140010295
mov r8d, r14d
lea rcx, [rbp + 0xf0]
mov edx, 0x408
call qword [sym.imp.ntdll.dll_RtlCreateAcl]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x140010295
lea rax, [rbp - 0x48]
xor r9d, r9d
mov qword [rsp + 0x50], rax
lea rcx, [rbp + 0xd8]
mov dword [rsp + 0x48], esi
xor r8d, r8d
mov dword [rsp + 0x40], esi
mov dl, r15b
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
call qword [sym.imp.ntdll.dll_RtlAllocateAndInitializeSid]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x140010295
mov r9, qword [rbp - 0x48]
lea rcx, [rbp + 0xf0]
mov r8d, r14d
mov edx, r14d
call qword [sym.imp.ntdll.dll_RtlAddAccessAllowedAce]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x140010295
lea rax, [rbp - 0x10]
xor r9d, r9d
mov qword [rsp + 0x50], rax
lea rcx, [rbp + 0xd0]
mov dword [rsp + 0x48], esi
mov dl, r15b
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x38], esi
lea r8d, [r9 + 0xc]
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
call qword [sym.imp.ntdll.dll_RtlAllocateAndInitializeSid]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x140010295
mov r9, qword [rbp - 0x10]
lea rcx, [rbp + 0xf0]
mov r8d, r14d
mov edx, r14d
call qword [sym.imp.ntdll.dll_RtlAddAccessAllowedAce]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x140010295
lea rax, [rbp - 0x18]
xor r9d, r9d
mov qword [rsp + 0x50], rax
lea rcx, [rbp + 0xd0]
mov dword [rsp + 0x48], esi
mov dl, r15b
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x38], esi
lea r8d, [r9 + 7]
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
call qword [sym.imp.ntdll.dll_RtlAllocateAndInitializeSid]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x140010295
mov r9, qword [rbp - 0x18]
lea rcx, [rbp + 0xf0]
mov r8d, r14d
mov edx, r14d
call qword [sym.imp.ntdll.dll_RtlAddAccessAllowedAce]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x140010295
mov r8d, r14d
lea rcx, [rbp + 0x500]
mov edx, 0x408
call qword [sym.imp.ntdll.dll_RtlCreateAcl]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x140010295
lea rax, [rbp - 0x20]
xor r9d, r9d
mov qword [rsp + 0x50], rax
lea rcx, [rbp + 0xe0]
mov dword [rsp + 0x48], esi
mov r8d, 0x1000
mov dword [rsp + 0x40], esi
mov dl, r15b
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
call qword [sym.imp.ntdll.dll_RtlAllocateAndInitializeSid]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x140010295
mov r9, qword [rbp - 0x20]
lea rcx, [rbp + 0x500]
mov dword [rsp + 0x28], r15d
xor r8d, r8d
mov edx, r14d
mov byte [rsp + 0x20], 0x11
call qword [sym.imp.ntdll.dll_RtlAddMandatoryAce]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x140010295
xor r9d, r9d
lea r8, [rbp + 0x500]
mov dl, r15b
lea rcx, [rbp + 0xa8]
call qword [sym.imp.ntdll.dll_RtlSetSaclSecurityDescriptor]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x140010295
xor r8d, r8d
lea r9, [rsp + 0x60]
mov dl, r15b
lea ecx, [r8 + 8]
call qword [sym.imp.ntdll.dll_RtlAdjustPrivilege]
nop dword [rax + rax]
movzx ecx, byte [rsp + 0x60]
lea r9, [rbp - 0x68]
test eax, eax
mov dword [rsp + 0x28], 0x20
lea rax, [rbp + 0x78]
mov dword [rsp + 0x68], 0x30
cmovs ecx, r15d
mov qword [rsp + 0x70], rsi
mov byte [rsp + 0x60], cl
lea r8, [rsp + 0x68]
xorps xmm0, xmm0
mov dword [rbp - 0x80], 0x40
lea rcx, [rbp - 0x50]
mov qword [rsp + 0x78], rax
mov edx, 0x11e0000
mov dword [rsp + 0x20], r12d
movdqu xmmword [rbp - 0x78], xmm0
call qword [sym.imp.ntdll.dll_NtOpenFile]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x140010295
mov rcx, qword [rbp - 0x50]
lea r8, [rbp + 0xa8]
mov edx, 0x1c
call qword [sym.imp.ntdll.dll_NtSetSecurityObject]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x140010295
test dil, dil
je 0x140010221
lea rax, [rbp + 0x88]
mov dword [rsp + 0x28], 0x20
lea r9, [rbp - 0x68]
mov qword [rsp + 0x78], rax
lea r8, [rsp + 0x68]
mov dword [rsp + 0x20], r12d
mov edx, 0x11e0000
lea rcx, [rbp - 0x58]
call qword [sym.imp.ntdll.dll_NtOpenFile]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x140010295
mov rcx, qword [rbp - 0x58]
lea r8, [rbp + 0xa8]
mov edx, 0x1c
call qword [sym.imp.ntdll.dll_NtSetSecurityObject]
nop dword [rax + rax]
mov dword [rsp + 0x50], esi
lea rax, [rbp + 0x98]
mov qword [rsp + 0x48], rsi
lea r9, [rbp - 0x68]
mov dword [rsp + 0x40], r15d
lea r8, [rsp + 0x68]
mov dword [rsp + 0x38], r14d
lea rcx, [0x140026e80]
mov qword [rsp + 0x78], rax
mov edx, 0x1f01ff
mov rax, qword [0x140026e88]
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x68], 0x30
mov qword [rsp + 0x70], rsi
mov dword [rbp - 0x80], 0x40
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rsi
call qword [sym.imp.ntdll.dll_NtCreateFile]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x1400102aa
call qword [sym.imp.ntdll.dll_NtClose]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x1400102bf
call qword [sym.imp.ntdll.dll_NtClose]
nop dword [rax + rax]
cmp byte [rsp + 0x60], sil
jne 0x1400102df
xor edx, edx
lea r9, [rsp + 0x60]
xor r8d, r8d
lea ecx, [rdx + 8]
call qword [sym.imp.ntdll.dll_RtlAdjustPrivilege]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x1400102f4
call qword [sym.imp.ntdll.dll_RtlFreeSid]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x140010309
call qword [sym.imp.ntdll.dll_RtlFreeSid]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x14001031e
call qword [sym.imp.ntdll.dll_RtlFreeSid]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x140010333
call qword [sym.imp.ntdll.dll_RtlFreeSid]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x140010348
call qword [sym.imp.ntdll.dll_RtlFreeSid]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x14001035d
call qword [sym.imp.ntdll.dll_RtlFreeSid]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x140010372
call qword [sym.imp.ntdll.dll_RtlFreeSid]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x140010387
call qword [sym.imp.ntdll.dll_RtlFreeSid]
nop dword [rax + rax]
mov eax, ebx
mov rcx, qword [rbp + 0x910]
xor rcx, rsp
call fcn.140010a60
lea r11, [rsp + 0xa20]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret