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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rax - 0x848]
sub rsp, 0x930
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
mov rax, qword [0x14049f3c0]
xor rax, rsp
mov qword [rbp + 0x800], rax
mov rsi, rdx
xor r14d, r14d
mov dword [rsp + 0x40], r14d
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x30], r14
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x30], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x48], r14b
mov dword [rbp - 0x50], r14d
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp]
call fcn.14030b3a0
mov dword [rsp + 0x30], 0x3e8
lea rax, [rbp - 0x50]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x800
lea r9, [rbp]
lea r8d, [r14 + 0x10]
lea rdx, str.NeedAKey
lea rcx, [0x140423010]
call qword [sym.imp.KERNEL32.dll_CallNamedPipeW]
test eax, eax
jne 0x140068031
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea r9, [rbp - 0xb]
nop
dec r9
mov eax, 0xcccccccd
mul ecx
mov r8d, edx
shr r8d, 3
movzx eax, r8b
shl al, 2
lea edx, [rax + r8]
add dl, dl
sub cl, dl
add cl, 0x30
mov byte [r9], cl
mov ecx, r8d
test r8d, r8d
jne 0x140067cd0
lea r8, [rbp - 0xb]
mov rdx, r9
lea rcx, [rsp + 0x70]
call fcn.140060870
mov edi, 2
mov dword [rsp + 0x40], edi
and edi, 0xfffffffd
mov dword [rsp + 0x40], edi
or edi, 1
mov dword [rsp + 0x40], edi
mov r9d, 0x2f
lea r8, str.CallNamedPipe_failed__will_try_bridge___Error:
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.140015db0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
movups xmm6, xmmword [rax]
movups xmmword [rsp + 0x50], xmm6
movups xmm7, xmmword [rax + 0x10]
movdqu xmmword [rsp + 0x60], xmm7
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
or edi, 4
mov dword [rsp + 0x40], edi
mov rdx, qword [rbp - 0x30]
cmp rdx, 0xf
jbe 0x140067dab
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140067da6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400680b4
call fcn.1402ba9fc
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x30], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x48], 0
movups xmmword [rbp - 0x48], xmm6
movups xmmword [rbp - 0x38], xmm7
movdqa xmm0, xmmword [0x1404459a0]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
and edi, 0xfffffffb
mov dword [rsp + 0x40], edi
lea rcx, [rsp + 0x50]
call fcn.140016400
and edi, 0xfffffffe
mov dword [rsp + 0x40], edi
lea rcx, [rsp + 0x70]
call fcn.140016400
lea rcx, [rbp - 0x70]
call fcn.1400098d0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x140067e10
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404b5d00]
call fcn.140035a10
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 0xf
cmova rdx, qword [rbp - 0x48]
mov r8, qword [rbp - 0x38]
mov rcx, rax
call fcn.140035a10
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140035dd0
movzx edx, al
mov rcx, rbx
call fcn.140035860
mov rcx, rbx
call fcn.14002eff0
nop
lea rcx, [rbp - 0x70]
call fcn.140016400
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
mov r8d, 8
lea rdx, str.NeedAKey
lea rcx, [rsp + 0x70]
call fcn.140031e00
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov r8d, reloc.WS2_32.dll_listen
lea rdx, [0x140423010]
lea rcx, [rsp + 0x50]
call fcn.140031e00
nop
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], r14d
mov r9d, 0x3e8
mov r8, rsi
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.14003bbf0
mov ebx, eax
lea rcx, [rsp + 0x50]
call fcn.1400166f0
nop
lea rcx, [rsp + 0x70]
call fcn.1400166f0
test ebx, ebx
jne 0x140067fa4
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r14
mov qword [rbp - 8], r14
lea r8d, [rbx + 0x10]
lea rdx, str.Bridge_succeeded
lea rcx, [rbp - 0x20]
call fcn.140015370
nop
lea rcx, [rbp - 0x70]
call fcn.1400098d0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x140067f3b
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404b5d00]
call fcn.140035a10
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 0xf
cmova rdx, qword [rbp - 0x20]
mov r8, qword [rbp - 0x10]
mov rcx, rax
call fcn.140035a10
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140035dd0
movzx edx, al
mov rcx, rbx
call fcn.140035860
mov rcx, rbx
call fcn.14002eff0
nop
lea rcx, [rbp - 0x70]
call fcn.140016400
nop
lea rcx, [rbp - 0x20]
call fcn.140016400
jmp 0x140068078
mov dword [rsp + 0x78], ebx
movabs rax, 0x2000000000000000
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x50], 1
lea rax, [rsp + 0x70]
mov qword [rsp + 0x58], rax
lea rax, str.Bridge_failed:_:08X
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], reloc.WS2_32.dll_setsockopt
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm0
movaps xmm1, xmmword [rbp - 0x20]
movdqa xmmword [rbp - 0x20], xmm1
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x70]
call fcn.140009a30
or edi, 8
mov dword [rsp + 0x40], edi
lea rcx, [rbp - 0x70]
call fcn.1400614b0
and edi, 0xfffffff7
mov dword [rsp + 0x40], edi
lea rcx, [rbp - 0x70]
call fcn.140016400
nop
lea rcx, [rbp - 0x48]
call fcn.140016400
xor al, al
jmp 0x140068083
mov eax, dword [rbp - 0x50]
cmp eax, 0x400
je 0x14006804d
and rax, 0xfffffffffffffffe
cmp rax, 0x800
jae 0x1400680ba
mov word [rbp + rax], r14w
lea rax, [rbp]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140068060
lea rdx, [rbp]
mov rcx, rsi
call fcn.140031b60
nop
lea rcx, [rbp - 0x48]
call fcn.140016400
mov al, 1
mov rcx, qword [rbp + 0x800]
xor rcx, rsp
call fcn.1402ba9b0
lea r11, [rsp + 0x930]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.1402caabc
nop
call fcn.1402bb134
int3