Function at 0x140023b50
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x14004f028]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, edx
mov rdi, rcx
mov edx, 0x208
mov ecx, 0x40
movzx esi, r8b
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
lea r8, str..pipecoercedpipe_srvsvc
mov edx, 0x104
mov rcx, rax
mov rbx, rax
call fcn.140001bc0
mov qword [rsp + 0x30], rdi
lea r9, [rsp + 0x30]
xor edi, edi
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x28], rdi
lea r8, [0x140023230]
xor edx, edx
mov dword [rsp + 0x20], edi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, qword [rsp + 0x38]
lea rcx, str._PIPESERVER__Creating_a_thread_launching_a_server_pipe_listening_on_Named_Pipe__s._r_n
call fcn.140001550
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rax
lea rdx, str.ncalrpc
xor r9d, r9d
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.RPCRT4.dll_RpcStringBindingComposeW]
mov ebx, eax
test eax, eax
je 0x140023c52
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.____An_error_has_occurred_during_the_binding_:
call fcn.140028350
mov rcx, rax
mov edx, ebx
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___long_int____ptr64]
mov rcx, rax
lea rdx, [0x140029c30]
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___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rcx, str._RPCBIND__An_error_has_occurred_during_the_RPC_binding__r_n
call fcn.140001550
xor eax, eax
jmp 0x140023d1f
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x40]
call qword [sym.imp.RPCRT4.dll_RpcBindingFromStringBindingW]
mov ebx, eax
test eax, eax
je 0x140023cb1
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.____An_error_has_occurred_during_the_binding_:
call fcn.140028350
mov rcx, rax
mov edx, ebx
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___long_int____ptr64]
mov rcx, rax
lea rdx, [0x140029c30]
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___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rcx, [rsp + 0x30]
call qword [sym.imp.RPCRT4.dll_RpcStringFreeW]
lea rcx, str._RPCBIND__An_error_has_occurred_during_the_RPC_binding__r_n
call fcn.140001550
xor eax, eax
jmp 0x140023d1f
lea rcx, [rsp + 0x30]
call qword [sym.imp.RPCRT4.dll_RpcStringFreeW]
mov ebx, eax
test eax, eax
je 0x140023cf0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.____An_error_has_occurred_during_the_binding_:
call fcn.140028350
mov rcx, rax
mov edx, ebx
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___long_int____ptr64]
mov rcx, rax
lea rdx, [0x140029c30]
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___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rcx, str.___RPC_binding_with_localhost_done__r_n
call fcn.140001550
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rsp + 0x40]
movzx r8d, sil
mov edx, ebp
call fcn.1400233b0
test eax, eax
sete dil
mov eax, edi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140030a10
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret