Function at 0x140092e40
Capabilities:
Create pipe
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x440]
sub rsp, 0x540
mov rax, qword [0x140344548]
xor rax, rsp
mov qword [rbp + 0x430], rax
mov rdi, r9
mov r14, rdx
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x70], r9
mov dword [rsp + 0x40], 1
lea r15, [rcx + 8]
cmp qword [r15 + 0x18], 8
jb 0x140092e96
mov r15, qword [r15]
xor esi, esi
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], 0x10000
mov dword [rsp + 0x20], 0x10000
lea edx, [rsi + 3]
mov r9d, 0xff
lea r8d, [rsi + 6]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov r13, rax
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14], rsi
mov qword [r14 + 8], rsi
mov dword [rsp + 0x40], 1
xor edx, edx
mov r8d, 0x230
lea rcx, [rbp - 0x30]
cmp rax, 0xffffffffffffffff
jne 0x140092f58
call sub.VCRUNTIME140.dll_memset
xor r8d, r8d
lea edx, [rsi + 4]
lea rcx, [rbp - 0x30]
call fcn.14025e800
nop
lea rcx, [rbp - 0x30]
call fcn.14025f760
test al, al
je 0x140092f30
lea rdx, str.CreateNamedPipe_error
lea rcx, [rbp - 0x30]
call fcn.140255d20
mov rdx, r15
mov rcx, rax
call fcn.140255e00
nop
lea rcx, [rbp - 0x30]
call fcn.140255600
nop
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x14009302c
mov rax, qword [rcx]
cmp rcx, rdi
setne dl
call qword [rax + 0x20]
jmp 0x140093028
call sub.VCRUNTIME140.dll_memset
xor r8d, r8d
lea edx, [r8 + 2]
lea rcx, [rbp - 0x30]
call fcn.14025e800
nop
lea rcx, [rbp - 0x30]
call fcn.14025f760
test al, al
je 0x140092f97
lea rdx, str.Start_listen
lea rcx, [rbp - 0x30]
call fcn.140255d20
mov rdx, r15
mov rcx, rax
call fcn.140255e00
nop
lea rcx, [rbp - 0x30]
call fcn.140255600
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov r12, rax
test rax, rax
jne 0x140093059
xor edx, edx
mov r8d, 0x230
lea rcx, [rbp - 0x30]
call sub.VCRUNTIME140.dll_memset
xor r8d, r8d
lea edx, [r12 + 4]
lea rcx, [rbp - 0x30]
call fcn.14025e800
nop
lea rcx, [rbp - 0x30]
call fcn.14025f760
test al, al
je 0x140092fff
lea rdx, str.Pipe_server_cannot_create_event
lea rcx, [rbp - 0x30]
call fcn.140255d20
nop
lea rcx, [rbp - 0x30]
call fcn.140255600
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x14009302c
mov r8, qword [rcx]
cmp rcx, rdi
setne dl
call qword [r8 + 0x20]
mov qword [rdi + 0x38], rsi
mov rax, r14
mov rcx, qword [rbp + 0x430]
xor rcx, rsp
call fcn.140266400
mov rbx, qword [rsp + 0x590]
add rsp, 0x540
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x18
call fcn.140265ffc
mov rbx, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140093094
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj2_struct_std::atomic_bool__.0
mov qword [rbx], rax
mov byte [rbx + 0x10], 0
jmp 0x140093097
mov rbx, rsi
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov dword [rsp + 0x40], 3
lea rax, [rbx + 0x10]
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rbx
test rbx, rbx
je 0x1400930bb
lock inc dword [rbx + 8]
mov rsi, qword [rbp - 0x60]
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], r12
mov ecx, 0x20
call fcn.140265ffc
test rax, rax
je 0x140093104
mov qword [rax], rsi
mov qword [rax + 8], rbx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], r12
psrldq xmm0, 8
movq rbx, xmm0
mov qword [rbp - 0x40], rax
mov dword [rsp + 0x40], 7
lea rcx, [rbp - 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x14008d510]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x50], rax
test rax, rax
je 0x1400933c1
mov esi, 0xffffffff
test rbx, rbx
je 0x14009317c
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14009317c
mov rbx, qword [rsp + 0x50]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14009317c
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov ebx, 0x102
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x1400933bb
nop
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
test al, al
jne 0x1400931cd
mov rax, qword [rbp - 0x60]
movzx ecx, byte [rax]
nop
test cl, cl
jne 0x1400931c9
mov edx, 0x64
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebx, eax
test eax, eax
je 0x1400931e3
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x1400933bb
jmp 0x140093190
test ebx, ebx
je 0x1400931e3
mov rax, qword [rbp - 0x60]
movzx edx, byte [rax]
nop
test dl, dl
jne 0x1400931e3
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_CancelSynchronousIo]
cmp dword [rbp - 0x48], 0
je 0x1400933d3
call sub.MSVCP140.dll__Thrd_id
cmp dword [rbp - 0x48], eax
je 0x1400933de
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x80], xmm0
xor edx, edx
lea rcx, [rbp - 0x80]
call sub.MSVCP140.dll__Thrd_join
test eax, eax
jne 0x1400933b0
xorps xmm0, xmm0
movaps xmmword [rbp - 0x70], xmm0
movdqa xmmword [rbp - 0x50], xmm0
mov rax, qword [rbp - 0x60]
movzx ecx, byte [rax]
nop
test cl, cl
je 0x1400932d1
mov ecx, 0x30
call fcn.140265ffc
mov rcx, rax
mov qword [rsp + 0x78], rax
test rax, rax
je 0x140093283
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj2_class_Exchange::SimpleKeeperSessionData_.0
mov qword [rcx], rax
lea rax, vtable.Exchange::SimpleKeeperSessionData.0
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], r13
mov qword [rcx + 0x20], r13
mov word [rcx + 0x28], 0x101
jmp 0x140093285
xor ecx, ecx
or dword [rsp + 0x40], 8
lea rax, [rcx + 0x10]
mov qword [r14], rax
mov rbx, qword [r14 + 8]
mov qword [r14 + 8], rcx
test rbx, rbx
je 0x14009333d
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14009333d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14009333d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
jmp 0x14009333d
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
mov r8d, 0x230
lea rcx, [rbp + 0x200]
call sub.VCRUNTIME140.dll_memset
xor r8d, r8d
lea edx, [r8 + 4]
lea rcx, [rbp + 0x200]
call fcn.14025e800
nop
lea rcx, [rbp + 0x200]
call fcn.14025f760
test al, al
je 0x140093331
lea rdx, str.The_client_could_not_connect__so_close_the_pipe
lea rcx, [rbp + 0x200]
call fcn.140255d20
mov rdx, r15
mov rcx, rax
call fcn.140255e00
nop
lea rcx, [rbp + 0x200]
call fcn.140255600
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp dword [rbp - 0x48], 0
je 0x140093354
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x14009338a
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14009338a
mov rbx, qword [rbp - 0x58]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x14009338a
mov rcx, qword [rbp - 0x58]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x14009302c
mov rax, qword [rcx]
cmp rcx, rdi
setne dl
call qword [rax + 0x20]
mov qword [rdi + 0x38], 0
jmp 0x14009302c
mov ecx, 2
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
call sub.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_
nop
mov dword [rbp - 0x48], 0
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov ecx, 1
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
mov ecx, 5
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3