Function at 0x1400341c0
Capabilities:
Create pipe

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov rax, qword [0x14008d030]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r12, rdx
mov rsi, rcx
xor edi, edi
cmp qword [rcx + 0x38], rdi
jg 0x1400342ac
lea rcx, str..pipe_
call fcn.140004b50
mov rcx, rax
call fcn.1400032c0
mov rbx, rax
mov r15, qword [rsi + 0x28]
lea rcx, [rsi + 0x18]
call fcn.140006750
sub rax, r15
cmp rax, rbx
jb 0x140034471
lea rcx, [rsi + 0x18]
call fcn.140003d90
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, str..pipe_
lea r8, [rsi + 0x18]
lea rcx, [rbp + 7]
call fcn.14001a120
lea rcx, [rbp + 7]
call fcn.140003d90
mov rcx, rax
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
lea edx, [rdi + 3]
lea r9d, [rdi + 1]
lea r8d, [rdi + 4]
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov rbx, rax
mov rcx, qword [rsi + 0x38]
cmp rax, rcx
je 0x1400342a3
test rcx, rcx
jle 0x14003429f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsi + 0x38], rbx
lea rcx, [rbp + 7]
call fcn.140003de0
call fcn.1400075f0
mov rbx, rax
movzx edx, byte [rbp - 0x29]
lea rcx, [rbp + 7]
call fcn.140003290
nop
lea rcx, [0x14007f264]
call fcn.140004b50
mov rcx, rax
call fcn.1400032c0
mov r8, rax
lea rdx, [0x14007f264]
lea rcx, [rbp + 7]
call fcn.14000ecc0
nop
lea rdx, [rbp + 7]
mov rcx, rbx
call fcn.140023360
nop
lea rcx, [rbp + 7]
call fcn.140003de0
call fcn.1400075f0
mov rcx, qword [rax]
mov rax, qword [rsi]
mov edx, dword [rax + 8]
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
movups xmmword [rbp - 0x11], xmm0
mov dword [rbp - 0x25], edi
cmp rcx, 0xffffffffffffffff
jne 0x14003432c
mov edi, 0xc00000c0
jmp 0x140034447
mov dword [rbp + 0xf], edx
mov qword [rbp + 7], r12
mov dword [rbp + 0x13], 1
mov qword [rsp + 0x38], rdi
lea rax, [rbp - 0x25]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x20
lea rax, [rbp - 0x21]
mov qword [rsp + 0x20], rax
mov r9d, 0x10
lea r8, [rbp + 7]
mov edx, 0x8005e01c
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x140034389
mov rax, qword gs:[0x30]
mov edi, dword [rax + 0x1250]
test edi, edi
js 0x140034447
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x21], xmm0
mov qword [rbp - 0x11], rax
lea rcx, [rbp - 9]
call fcn.140034860
nop
call fcn.1400075f0
mov rcx, rax
mov rax, qword [rsi]
lea rdx, [rbp - 0x21]
mov qword [rsp + 0x20], rdx
lea r8, [rsi + 0x18]
mov edx, dword [rax + 8]
call fcn.1400236c0
test eax, eax
js 0x1400343fb
lea rbx, [rsi + 8]
lea rax, [rbp - 9]
cmp rbx, rax
je 0x1400343fb
lea rdx, [rbp - 9]
mov rcx, rbx
call fcn.140001860
mov rcx, qword [rbx]
mov rax, qword [rbp - 9]
mov qword [rbx], rax
mov qword [rbp - 9], rcx
mov rcx, qword [rbx + 8]
mov rax, qword [rbp - 1]
mov qword [rbx + 8], rax
mov qword [rbp - 1], rcx
lea rcx, [rbp - 9]
call fcn.140001850
mov rcx, qword [rbp - 9]
mov rbx, qword [rcx + 8]
cmp byte [rbx + 0x19], 0
jne 0x14003443d
mov r8, qword [rbx + 0x10]
lea rdx, [rbp - 9]
lea rcx, [rbp - 9]
call fcn.140034980
mov rcx, rbx
mov rbx, qword [rbx]
mov edx, 0x38
call fcn.140005ea0
cmp byte [rbx + 0x19], 0
je 0x140034412
mov rcx, qword [rbp - 9]
mov edx, 0x38
call fcn.140005ea0
mov eax, edi
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14003ecb0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.140001920
int3