Function at 0x140023e60
Capabilities:
Create thread

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x140050028]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdi, r9
movzx r15d, r8b
mov r14d, edx
mov rbp, rcx
mov qword [rsp + 0x58], r9
mov edx, 0x208
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rsi, rax
lea r8, str..pipe_
mov ebx, 0x104
mov edx, ebx
mov rcx, rax
call fcn.140001c30
mov r8, rdi
cmp qword [rdi + 0x18], 8
jb 0x140023ec6
mov r8, qword [rdi]
mov rdx, rbx
mov rcx, rsi
call fcn.140001b70
mov rcx, rbx
mov rax, rsi
cmp word [rax], 0
je 0x140023ee7
add rax, 2
sub rcx, 1
jne 0x140023ed7
mov rax, rbx
sub rax, rcx
xor r12d, r12d
test rcx, rcx
cmove rax, r12
je 0x140023f3f
sub rbx, rax
lea rcx, [rsi + rax*2]
je 0x140023f30
mov eax, 0x7ffffffe
lea r8, str.pipe_srvsvc
sub r8, rcx
test rax, rax
je 0x140023f30
movzx edx, word [r8 + rcx]
test dx, dx
je 0x140023f30
mov word [rcx], dx
add rcx, 2
dec rax
sub rbx, 1
jne 0x140023f11
lea rax, [rcx - 2]
test rbx, rbx
cmovne rax, rcx
mov word [rax], r12w
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], r12d
lea r9, [rsp + 0x30]
lea r8, [0x140023070]
xor edx, edx
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.140001500
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [rsp + 0x30], r12
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
lea rdx, str.ncalrpc
xor ecx, ecx
call qword [sym.imp.RPCRT4.dll_RpcStringBindingComposeW]
mov ebx, eax
test eax, eax
je 0x140023fe4
lea rdx, str.____An_error_has_occurred_during_the_binding_:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140028fa0
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, [0x14002a880]
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]
jmp 0x140024037
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.RPCRT4.dll_RpcBindingFromStringBindingW]
mov ebx, eax
test eax, eax
je 0x14002408a
lea rdx, str.____An_error_has_occurred_during_the_binding_:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140028fa0
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, [0x14002a880]
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.140001500
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x140024083
lea rdx, [rdx*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14002407e
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140024172
mov rcx, r8
call fcn.140031f10
xor eax, eax
jmp 0x140024146
lea rcx, [rsp + 0x30]
call qword [sym.imp.RPCRT4.dll_RpcStringFreeW]
mov ebx, eax
test eax, eax
je 0x1400240c9
lea rdx, str.____An_error_has_occurred_during_the_binding_:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140028fa0
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, [0x14002a880]
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.140001500
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.140027080
mov r9, rax
movzx r8d, r15b
mov edx, r14d
mov rcx, qword [rsp + 0x50]
call fcn.1400231f0
mov ebx, r12d
test eax, eax
sete bl
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x140024144
lea rdx, [rdx*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14002413f
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140024172
mov rcx, r8
call fcn.140031f10
mov eax, ebx
mov word [rdi], r12w
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], r12
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140031660
add rsp, 0x70
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3