Function at 0x1400047a0
Capabilities:
Connect pipe
Create pipe
Create thread
Print debug messages

Disassembly:
mov r11, rsp
push rbp
push rsi
push r14
push r15
lea rbp, [r11 - 0x4f8]
sub rsp, 0x5d8
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x4c0], rax
mov rsi, qword [0x1400326e8]
mov r15, rcx
mov r14, qword [0x140032740]
test rsi, rsi
je 0x140004a38
cmp dword [0x1400325b8], 0
jne 0x140004a38
mov qword [r11 + 0x18], rdi
mov qword [r11 - 0x28], r12
xor r12d, r12d
mov qword [r11 + 0x10], rbx
nop
xor edx, edx
mov dword [rsp + 0x40], r12d
mov r8d, 0x104
lea rcx, [rbp + 0x1a0]
call fcn.14001f350
xor edx, edx
lea rcx, [rbp - 0x70]
mov r8d, 0x104
call fcn.14001f350
xor eax, eax
mov dword [rsp + 0x4c], r12d
xorps xmm0, xmm0
mov dword [rsp + 0x5c], r12d
lea rcx, [rsp + 0x60]
mov qword [rbp - 0x80], rax
movups xmmword [rsp + 0x60], xmm0
lea edx, [rax + 1]
movups xmmword [rsp + 0x70], xmm0
call qword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
xor r9d, r9d
lea rcx, [rsp + 0x60]
xor r8d, r8d
lea edx, [r9 + 1]
call qword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
lea rax, [rsp + 0x60]
mov dword [rsp + 0x58], r12d
mov r8, r15
mov qword [rsp + 0x50], rax
lea rdx, str..pipe_s
mov dword [rsp + 0x48], 0x18
lea rcx, [rbp - 0x70]
call fcn.1400010d0
mov edx, 3
lea rax, [rsp + 0x48]
mov qword [rsp + 0x38], rax
lea rcx, [rbp - 0x70]
mov dword [rsp + 0x30], 0x3e8
mov r9d, 0xff
mov dword [rsp + 0x28], 0x200
lea r8d, [rdx + 3]
mov dword [rsp + 0x20], 0x200
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400049ca
test rax, rax
je 0x140004a20
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x140004909
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x217
je 0x140004909
mov rcx, rdi
jmp 0x1400049b5
mov edx, 0x18
lea ecx, [rdx - 0x17]
call fcn.14000f544
mov rbx, rax
lea r8, [0x140004a60]
mov r9, rbx
xor edx, edx
xor ecx, ecx
mov qword [rax + 8], rsi
mov qword [rax + 0x10], r14
mov qword [rax], rdi
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r12d
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
jne 0x1400049b2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.CreateThread_failed__GLE_d._n
lea rcx, [rbp + 0x1a0]
call fcn.1400010d0
xor edx, edx
lea rcx, [rbp - 0x70]
mov r8d, 0x208
call fcn.14001f350
lea r9, [rbp + 0x1a0]
mov edx, 0x208
lea r8, [0x14002a91c]
lea rcx, [rbp - 0x70]
call fcn.140004740
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call fcn.14000f528
jmp 0x1400049bb
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x1400325b8], r12d
je 0x140004800
jmp 0x140004a20
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.CreateNamedPipe_failed_with_error__d_n
lea rcx, [rbp - 0x70]
call fcn.1400010d0
xor edx, edx
lea rcx, [rbp + 0x2b0]
mov r8d, 0x208
call fcn.14001f350
lea r9, [rbp - 0x70]
mov edx, 0x208
lea r8, [0x14002a91c]
lea rcx, [rbp + 0x2b0]
call fcn.140004740
lea rcx, [rbp + 0x2b0]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rbx, qword [rsp + 0x608]
mov rdi, qword [rsp + 0x610]
mov r12, qword [rsp + 0x5d0]
mov rcx, qword [rbp + 0x4c0]
xor rcx, rsp
call fcn.140005350
add rsp, 0x5d8
pop r15
pop r14
pop rsi
pop rbp
ret