Function at 0x14004ff10
Capabilities:
Connect pipe
Read pipe
Write pipe

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x818]
sub rsp, 0x8f0
mov qword [rbp - 0x70], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x1404680d8]
xor rax, rsp
mov qword [rbp + 0x7c0], rax
mov r15, rdx
xor r12d, r12d
mov dword [rsp + 0x40], r12d
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x50], xmm0
movdqa xmm1, xmmword [0x1403e1a40]
movdqu xmmword [rbp - 0x50], xmm1
mov byte [rbp - 0x60], r12b
mov dword [rbp - 0x68], r12d
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp - 0x40]
call fcn.140286140
mov dword [rsp + 0x30], 0x3e8
lea rax, [rbp - 0x68]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x800
lea r9, [rbp - 0x40]
lea r8d, [r12 + 0x10]
lea rdx, str.NeedAKey
lea rcx, str..pipeMBLG
call qword [sym.imp.KERNEL32.dll_CallNamedPipeW]
test eax, eax
jne 0x140050293
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x68]
call fcn.14004c2f0
nop
lea r9d, [r12 + 0x2f]
lea r8, str.CallNamedPipe_failed__will_try_bridge___Error:
xor edx, edx
mov rcx, rax
call fcn.14003f590
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
movups xmm6, xmmword [rax]
movups xmmword [rsp + 0x48], xmm6
movups xmm7, xmmword [rax + 0x10]
movdqu xmmword [rsp + 0x58], xmm7
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], r12b
mov dword [rsp + 0x40], 1
lea rcx, [rbp - 0x60]
call fcn.14000bc00
movups xmmword [rbp - 0x60], xmm6
movdqu xmmword [rbp - 0x50], xmm7
movdqa xmm0, xmmword [0x1403e1a40]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], r12b
mov eax, 1
and eax, 0xfffffffe
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x48]
call fcn.14000bc00
nop
lea rcx, [rsp + 0x68]
call fcn.14000bc00
lea rax, [rsp + 0x48]
mov qword [rbp - 0x78], rax
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], r12
lea r14, [rbp - 0x60]
movq rcx, xmm6
mov qword [rbp - 0x60], rcx
movdqa xmm0, xmm7
psrldq xmm0, 8
movq rax, xmm0
mov qword [rbp - 0x48], rax
cmp rax, 0x10
cmovae r14, rcx
lea rbx, [r12 - 1]
movq rsi, xmm7
mov qword [rbp - 0x50], rsi
cmp rsi, 0x10
jae 0x1400500cc
movups xmm0, xmmword [r14]
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
jmp 0x140050145
mov rdi, rsi
or rdi, 0xf
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
cmova rdi, rax
lea rax, [rdi + 1]
cmp rax, 0x1000
jb 0x14005011a
lea rcx, [rax + 0x27]
cmp rcx, rax
cmovbe rcx, rbx
call fcn.140282c3c
mov rcx, rax
test rax, rax
je 0x14005031a
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x14005012c
test rax, rax
je 0x140050129
mov rcx, rax
call fcn.140282c3c
jmp 0x14005012c
mov rax, r12
mov qword [rsp + 0x48], rax
lea r8, [rsi + 1]
mov rdx, r14
mov rcx, rax
call fcn.140285b80
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x58], rsi
lea rcx, [rsp + 0x48]
call fcn.14004c6e0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
movdqa xmm1, xmmword [0x1403e1a30]
movdqu xmmword [rsp + 0x78], xmm1
mov word [rsp + 0x68], r12w
mov r8d, 8
lea rdx, str.NeedAKey
lea rcx, [rsp + 0x68]
call fcn.14000d3a0
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
movdqa xmm1, xmmword [0x1403e1a30]
movdqu xmmword [rsp + 0x58], xmm1
mov word [rsp + 0x48], r12w
mov r8d, reloc.WS2_32.dll_listen
lea rdx, str..pipeMBLG
lea rcx, [rsp + 0x48]
call fcn.14000d3a0
nop
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], r12d
mov r9d, 0x3e8
mov r8, r15
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x48]
call fcn.140015a60
movsxd rdi, eax
lea rcx, [rsp + 0x48]
call fcn.14000c340
nop
lea rcx, [rsp + 0x68]
call fcn.14000c340
test edi, edi
jne 0x14005023f
lea rax, [rsp + 0x68]
mov qword [rbp - 0x78], rax
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x68], dil
lea r8d, [rdi + 0x10]
lea rdx, str.Bridge_succeeded
lea rcx, [rsp + 0x68]
call fcn.14000bc80
nop
lea rcx, [rsp + 0x68]
call fcn.14004c6e0
jmp 0x1400502da
lea rdx, str.Bridge_failed:
add rdx, rdi
nop dword [rax]
inc rbx
cmp byte [rdx + rbx], 0
jne 0x140050250
mov r8, rbx
lea rcx, [rbp - 0x60]
call fcn.14000bc80
lea rax, [rsp + 0x68]
mov qword [rbp - 0x78], rax
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x68]
call fcn.14000b920
nop
mov rcx, rax
call fcn.14004c6e0
nop
lea rcx, [rbp - 0x60]
call fcn.14000bc00
xor al, al
jmp 0x1400502e5
mov eax, dword [rbp - 0x68]
cmp eax, 0x400
je 0x1400502af
and rax, 0xfffffffffffffffe
cmp rax, 0x800
jae 0x140050320
mov word [rbp + rax - 0x40], r12w
lea rax, [rbp - 0x40]
mov rbx, 0xffffffffffffffff
nop word [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1400502c0
mov r8, rbx
lea rdx, [rbp - 0x40]
mov rcx, r15
call fcn.14000d3a0
nop
lea rcx, [rbp - 0x60]
call fcn.14000bc00
mov al, 1
mov rcx, qword [rbp + 0x7c0]
xor rcx, rsp
call fcn.140282c10
lea r11, [rsp + 0x8f0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.14028ea2c
nop
call fcn.140283490
int3