Function at 0x1400936d0
Capabilities:
Create pipe

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x8c0]
sub rsp, 0x9c0
mov qword [rbp - 0x70], 0xfffffffffffffffe
mov qword [rsp + 0xa10], rbx
mov rax, qword [0x1403644c8]
xor rax, rsp
mov qword [rbp + 0x8b0], rax
mov rsi, r9
mov r14, rdx
mov qword [rbp - 0x40], rdx
mov qword [rbp - 0x68], r9
lea r12, [rcx + 8]
cmp qword [r12 + 0x18], 8
jb 0x14009372a
mov r12, qword [r12]
xor r15d, r15d
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], 0x10000
mov dword [rsp + 0x20], 0x10000
lea edx, [r15 + 3]
mov r9d, 0xff
lea r8d, [r15 + 6]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov rbx, rax
mov qword [rbp - 0x40], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
xor edx, edx
mov r8d, 0x230
cmp rax, 0xffffffffffffffff
jne 0x140093819
lea rcx, [rbp - 0x10]
call sub.VCRUNTIME140.dll_memset
xor r8d, r8d
lea edx, [rbx + 5]
lea rcx, [rbp - 0x10]
call fcn.14025b540
nop
lea rcx, [rbp - 0x10]
call fcn.14025c1a0
test al, al
je 0x1400937c2
lea rdx, str.CreateNamedPipe_error
lea rcx, [rbp - 0x10]
call fcn.140253210
mov rdx, r12
mov rcx, rax
call fcn.140253310
nop
lea rcx, [rbp - 0x10]
call fcn.140252b50
mov qword [r14], r15
mov qword [r14 + 8], r15
mov rcx, qword [rsi + 0x38]
test rcx, rcx
je 0x1400937ec
mov r8, qword [rcx]
cmp rcx, rsi
setne dl
call qword [r8 + 0x20]
mov qword [rsi + 0x38], r15
mov rax, r14
mov rcx, qword [rbp + 0x8b0]
xor rcx, rsp
call fcn.1400e39a0
mov rbx, qword [rsp + 0xa10]
add rsp, 0x9c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, [rbp + 0x220]
call sub.VCRUNTIME140.dll_memset
xor r8d, r8d
lea edx, [r8 + 2]
lea rcx, [rbp + 0x220]
call fcn.14025b540
nop
lea rcx, [rbp + 0x220]
call fcn.14025c1a0
test al, al
je 0x140093868
lea rdx, str.Start_listen
lea rcx, [rbp + 0x220]
call fcn.140253210
mov rdx, r12
mov rcx, rax
call fcn.140253310
nop
lea rcx, [rbp + 0x220]
call fcn.140252b50
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov r13, rax
test rax, rax
jne 0x140093918
xor edx, edx
mov r8d, 0x230
lea rcx, [rbp + 0x450]
call sub.VCRUNTIME140.dll_memset
xor r8d, r8d
lea edx, [r13 + 4]
lea rcx, [rbp + 0x450]
call fcn.14025b540
nop
lea rcx, [rbp + 0x450]
call fcn.14025c1a0
test al, al
je 0x1400938de
lea rdx, str.Pipe_server_cannot_create_event
lea rcx, [rbp + 0x450]
call fcn.140253210
nop
lea rcx, [rbp + 0x450]
call fcn.140252b50
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [r14], r15
mov qword [r14 + 8], r15
mov rcx, qword [rsi + 0x38]
test rcx, rcx
je 0x1400937ec
mov rax, qword [rcx]
cmp rcx, rsi
setne dl
call qword [rax + 0x20]
jmp 0x1400937e8
mov ecx, 0x18
call fcn.1400e351c
mov rdi, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14009394d
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj_struct_std::atomic_bool__.0
mov qword [rdi], rax
mov byte [rdi + 0x10], 0
jmp 0x140093950
mov rdi, r15
lea r15, [rdi + 0x10]
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], rdi
test rdi, rdi
je 0x140093969
lock inc dword [rdi + 8]
mov rbx, qword [rbp - 0x40]
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], rdi
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], r13
mov ecx, 0x20
call fcn.1400e351c
test rax, rax
je 0x1400939a2
mov qword [rax], r15
mov qword [rax + 8], rdi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], r13
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x30]
call fcn.14008db50
nop
mov r15d, 0xffffffff
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140093a0a
mov rbx, qword [rcx + 8]
test rbx, rbx
je 0x1400939ff
mov eax, r15d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400939fa
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r15d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400939fa
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov rcx, qword [rsp + 0x40]
mov edx, 0x20
call fcn.140082ab0
nop
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140093a46
mov eax, r15d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140093a46
mov rbx, qword [rsp + 0x78]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r15d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140093a46
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov ebx, 0x102
mov rcx, qword [rsi + 0x38]
test rcx, rcx
je 0x140093cbe
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
test al, al
jne 0x140093a90
mov rax, qword [rbp - 0x20]
movzx ecx, byte [rax]
test cl, cl
jne 0x140093a90
mov edx, 0x64
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebx, eax
test eax, eax
je 0x140093aa9
mov rcx, qword [rsi + 0x38]
test rcx, rcx
je 0x140093cbe
jmp 0x140093a58
test ebx, ebx
je 0x140093aa9
mov rax, qword [rbp - 0x20]
movzx ecx, byte [rax]
test cl, cl
jne 0x140093aa9
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_CancelSynchronousIo]
cmp dword [rbp - 0x28], 0
jne 0x140093aca
mov ecx, 1
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
cmp dword [rbp - 0x28], 0
jne 0x140093aca
mov ecx, 1
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
call sub.MSVCP140.dll__Thrd_id
mov dword [rsp + 0x68], eax
cmp dword [rbp - 0x28], eax
jne 0x140093ae2
mov ecx, 5
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x50], xmm0
xor edx, edx
lea rcx, [rbp - 0x50]
call sub.MSVCP140.dll__Thrd_join
test eax, eax
je 0x140093b04
mov ecx, 2
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
mov qword [rbp - 0x30], 0
mov dword [rbp - 0x28], 0
mov rax, qword [rbp - 0x20]
movzx ecx, byte [rax]
test cl, cl
je 0x140093bd4
mov ecx, 0x30
call fcn.1400e351c
mov rdx, rax
mov qword [rbp - 0x60], rax
test rax, rax
je 0x140093b6f
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj_class_Exchange::SimpleKeeperSessionData_.0
mov qword [rdx], rax
lea rax, vtable.Exchange::SimpleKeeperSessionData.0
mov qword [rdx + 0x10], rax
mov rcx, qword [rbp - 0x40]
mov qword [rdx + 0x18], rcx
mov qword [rdx + 0x20], rcx
mov word [rdx + 0x28], 0x101
jmp 0x140093b71
xor edx, edx
lea rax, [rdx + 0x10]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rdx
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x58]
call fcn.140074eb0
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140093c41
mov eax, r15d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140093c41
mov rbx, qword [rsp + 0x50]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r15d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140093c41
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
jmp 0x140093c41
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
mov r8d, 0x230
lea rcx, [rbp + 0x680]
call sub.VCRUNTIME140.dll_memset
xor r8d, r8d
lea edx, [r8 + 4]
lea rcx, [rbp + 0x680]
call fcn.14025b540
nop
lea rcx, [rbp + 0x680]
call fcn.14025c1a0
test al, al
je 0x140093c35
lea rdx, str.The_client_could_not_connect__so_close_the_pipe
lea rcx, [rbp + 0x680]
call fcn.140253210
mov rdx, r12
mov rcx, rax
call fcn.140253310
nop
lea rcx, [rbp + 0x680]
call fcn.140252b50
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x58]
mov qword [r14], rax
mov rax, qword [rsp + 0x60]
mov qword [r14 + 8], rax
cmp dword [rbp - 0x28], 0
je 0x140093c68
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
test rdi, rdi
je 0x140093c98
mov eax, r15d
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x140093c98
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], r15d
cmp r15d, 1
jne 0x140093c98
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rcx, qword [rsi + 0x38]
test rcx, rcx
je 0x1400937ec
mov rax, qword [rcx]
cmp rcx, rsi
setne dl
call qword [rax + 0x20]
mov qword [rsi + 0x38], 0
jmp 0x1400937ec
call sub.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_
int3