Function at 0x1400013e0
Capabilities:
Terminate process

Disassembly:
push rbp
push rbx
push r14
push r15
lea rbp, [rsp - 0xd8]
sub rsp, 0x1d8
mov rax, qword [0x140007008]
xor rax, rsp
mov qword [rbp + 0xc0], rax
lea rax, [rbp - 0x30]
xor r15d, r15d
mov qword [rsp + 0x38], rax
lea r9, [rbp - 0x10]
lea rax, [rbp - 0x28]
mov qword [rbp - 0x30], r15
mov qword [rsp + 0x30], rax
mov rbx, rdx
lea rax, [rbp - 0x20]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea edx, [r15 + 1]
lea rax, [rbp - 0x18]
mov r14, rcx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_GetSecurityInfo]
test eax, eax
je 0x140001464
lea rcx, str.____Failed_GetSecurityInfo_n
call fcn.140001010
lea ecx, [r15 + 2]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xor edx, edx
mov qword [rsp + 0x1d0], rdi
lea r9, [rbp - 0x40]
mov dword [rbp - 0x40], r15d
xor r8d, r8d
lea ecx, [rdx + 1]
call qword [sym.imp.ADVAPI32.dll_CreateWellKnownSid]
mov edx, dword [rbp - 0x40]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
xor edx, edx
lea r9, [rbp - 0x40]
mov r8, rax
mov rdi, rax
lea ecx, [rdx + 1]
call qword [sym.imp.ADVAPI32.dll_CreateWellKnownSid]
test eax, eax
jne 0x1400014c1
lea rcx, str.____Failed_CreateWellKnownSid__n
call fcn.140001010
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xor edx, edx
mov qword [rsp + 0x210], rsi
lea r9, [rbp - 0x40]
xor r8d, r8d
lea ecx, [rdx + 0x54]
call qword [sym.imp.ADVAPI32.dll_CreateWellKnownSid]
mov edx, dword [rbp - 0x40]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
xor edx, edx
lea r9, [rbp - 0x40]
mov r8, rax
mov rsi, rax
lea ecx, [rdx + 0x54]
call qword [sym.imp.ADVAPI32.dll_CreateWellKnownSid]
test eax, eax
jne 0x14000151a
lea rcx, str.____Failed_CreateWellKnownSid2__n
call fcn.140001010
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xor eax, eax
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x40], r15
lea rdx, str.winsta0
mov qword [rsp + 0x48], r15
mov rcx, r15
movaps xmm0, xmmword [rsp + 0x40]
movaps xmmword [rbp + 0x10], xmm0
mov qword [rsp + 0x58], rdi
movaps xmm1, xmmword [rsp + 0x50]
movaps xmmword [rbp + 0x20], xmm1
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], r15
movaps xmm0, xmmword [rsp + 0x60]
movaps xmmword [rbp + 0x40], xmm0
mov qword [rsp + 0x78], rsi
movaps xmm1, xmmword [rsp + 0x70]
movaps xmmword [rbp + 0x50], xmm1
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], r15
movaps xmm0, xmmword [rbp - 0x80]
mov qword [rbp - 0x68], rdi
movaps xmm1, xmmword [rbp - 0x70]
movaps xmmword [rbp + 0x70], xmm0
movaps xmmword [rbp + 0x80], xmm1
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x58], r15
movaps xmm0, xmmword [rbp - 0x60]
mov qword [rbp - 0x48], rsi
movaps xmm1, xmmword [rbp - 0x50]
movaps xmmword [rbp + 0xa0], xmm0
movaps xmmword [rbp + 0xb0], xmm1
mov qword [rbp + 8], rax
mov qword [rbp + 0x38], rax
mov dword [rbp], 0xf0000000
mov dword [rbp + 4], 1
mov dword [rbp + 0x30], 0xf0000000
mov dword [rbp + 0x34], 1
mov qword [rbp + 0x68], rax
mov qword [rbp + 0x98], rax
mov dword [rbp + 0x60], 0xf0000000
mov dword [rbp + 0x64], 1
mov dword [rbp + 0x90], 0xf0000000
mov dword [rbp + 0x94], 1
mov qword [rbp - 0x38], r15
movzx eax, byte [rbx + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x14000164f
cmp rcx, 8
jne 0x140001610
xor r8d, r8d
lea r9, [rbp - 0x38]
lea rdx, [rbp]
lea ecx, [r8 + 2]
call qword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
test eax, eax
jne 0x140001711
mov rdx, rbx
lea rcx, str._n___Changed_ACL__s
call fcn.140001010
mov rcx, r15
lea rdx, str.default
nop dword [rax]
movzx eax, byte [rbx + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x14000169f
cmp rcx, 8
jne 0x140001660
xor r8d, r8d
lea r9, [rbp - 0x38]
lea rdx, [rbp + 0x60]
lea ecx, [r8 + 2]
call qword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
test eax, eax
jne 0x140001711
mov rdx, rbx
lea rcx, str._n___Changed_ACL__s
call fcn.140001010
mov rax, qword [rbp - 0x38]
xor r9d, r9d
mov qword [rsp + 0x30], r15
mov rcx, r14
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea edx, [r9 + 7]
lea r8d, [r9 + 4]
call qword [sym.imp.ADVAPI32.dll_SetSecurityInfo]
test eax, eax
lea rdx, str._n____Failed_To_Call_SetSecurityInfo_n
lea rcx, str._n___Called_SetSecurityInfo_n
cmovne rcx, rdx
call fcn.140001010
mov eax, 1
mov rsi, qword [rsp + 0x210]
mov rdi, qword [rsp + 0x1d0]
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.140002f60
add rsp, 0x1d8
pop r15
pop r14
pop rbx
pop rbp
ret
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.____Error:
call fcn.140001820
mov rcx, rax
lea rdx, [fcn.140001230]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___void_const____ptr64____ptr64]
mov rcx, rax
lea rdx, [0x140004544]
call fcn.140001820
xor eax, eax
jmp 0x1400016e4