Function at 0x140055b90
Capabilities:
Create pipe

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov rax, qword [0x1400ee020]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r15, rdx
mov rsi, rcx
xor edi, edi
mov dword [rbp - 0x29], edi
cmp qword [rcx + 0x38], rdi
jg 0x140055d54
lea r14, [rcx + 0x18]
mov qword [rbp - 0x11], rdi
mov qword [rbp - 9], 7
mov word [rbp - 0x21], di
mov dword [rbp - 0x29], 1
mov rax, qword [rcx + 0x28]
add rax, 9
cmp rax, 8
jb 0x140055c97
movabs rbx, 0x7ffffffffffffffe
cmp rax, rbx
ja 0x140055f47
or rax, 7
cmp rax, rbx
ja 0x140055c23
mov rbx, rax
mov ecx, 0xa
cmp rax, rcx
cmovb rbx, rcx
lea rcx, [rbx + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x140055f59
add rcx, rcx
cmp rcx, 0x1000
jb 0x140055c72
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140055f59
mov rcx, rax
call fcn.14006a79c
test rax, rax
je 0x140055f4d
lea rcx, [rax + 0x27]
and rcx, 0xffffffffffffffe0
mov qword [rcx - 8], rax
jmp 0x140055c84
test rcx, rcx
je 0x140055c81
call fcn.14006a79c
mov rcx, rax
jmp 0x140055c84
mov rcx, rdi
mov qword [rbp - 9], rbx
movzx eax, word [rbp - 0x21]
mov word [rcx], ax
mov qword [rbp - 0x21], rcx
mov qword [rbp - 0x11], rdi
mov r8d, 9
lea rdx, str..pipe_
lea rcx, [rbp - 0x21]
call fcn.1400094c0
cmp qword [rsi + 0x30], 8
jb 0x140055cb7
mov r14, qword [r14]
mov r8, qword [rsi + 0x28]
mov rdx, r14
lea rcx, [rbp - 0x21]
call fcn.1400094c0
lea rcx, [rbp - 0x21]
cmp qword [rbp - 9], 8
cmovae rcx, qword [rbp - 0x21]
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
mov edx, 3
lea r9d, [rdx - 2]
lea r8d, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov rbx, rax
mov rcx, qword [rsi + 0x38]
cmp rax, rcx
je 0x140055d14
test rcx, rcx
jle 0x140055d10
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsi + 0x38], rbx
mov rdx, qword [rbp - 9]
cmp rdx, 8
jb 0x140055d54
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140055d4f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140055f53
call fcn.14006a794
call fcn.140013488
mov rbx, rax
mov qword [rbp - 0x11], rdi
mov qword [rbp - 9], 7
mov word [rbp - 0x21], di
lea rdx, [0x1400d6dac]
lea rcx, [rbp - 0x21]
call fcn.1400068b8
nop
lea rdx, [rbp - 0x21]
mov rcx, rbx
call fcn.140025750
nop
mov rdx, qword [rbp - 9]
cmp rdx, 8
jb 0x140055dca
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140055dc5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140055f41
call fcn.14006a794
call fcn.140013488
mov rcx, qword [rax]
mov rax, qword [rsi]
mov edx, dword [rax + 8]
xorps xmm0, xmm0
movups xmmword [rbp - 1], xmm0
movups xmmword [rbp + 0xf], xmm0
mov dword [rbp - 0x29], edi
cmp rcx, 0xffffffffffffffff
jne 0x140055df6
mov edi, 0xc00000c0
jmp 0x140055f1c
mov dword [rbp - 0x19], edx
mov qword [rbp - 0x21], r15
mov dword [rbp - 0x15], 1
mov qword [rsp + 0x38], rdi
lea rax, [rbp - 0x29]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x20
lea rax, [rbp - 1]
mov qword [rsp + 0x20], rax
mov r9d, 0x10
lea r8, [rbp - 0x21]
mov edx, 0x8005e01c
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x140055e53
mov rax, qword gs:[0x30]
mov edi, dword [rax + 0x1250]
test edi, edi
js 0x140055f1c
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 1], xmm0
mov qword [rbp + 0xf], rax
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x17], xmm1
lea ecx, [rax + 0x38]
call fcn.14006a79c
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbp + 0x17], rax
call fcn.140013488
mov rcx, rax
mov rax, qword [rsi]
lea r8, [rsi + 0x18]
lea rdx, [rbp - 1]
mov qword [rsp + 0x20], rdx
mov edx, dword [rax + 8]
call fcn.140025d70
test eax, eax
js 0x140055ed6
add rsi, 8
lea rax, [rbp + 0x17]
cmp rsi, rax
je 0x140055ed6
mov r8, qword [rsi]
mov rax, qword [rbp + 0x17]
mov qword [rsi], rax
mov qword [rbp + 0x17], r8
mov rcx, qword [rsi + 8]
mov rax, qword [rbp + 0x1f]
mov qword [rsi + 8], rax
mov qword [rbp + 0x1f], rcx
jmp 0x140055eda
mov r8, qword [rbp + 0x17]
mov rbx, qword [r8 + 8]
cmp byte [rbx + 0x19], 0
jne 0x140055f0f
mov r8, qword [rbx + 0x10]
lea rdx, [rbp + 0x17]
lea rcx, [rbp + 0x17]
call fcn.140056540
mov rcx, rbx
mov rbx, qword [rbx]
mov edx, 0x38
call fcn.14006a794
cmp byte [rbx + 0x19], 0
je 0x140055ee4
mov r8, qword [rbp + 0x17]
mov edx, 0x38
mov rcx, r8
call fcn.14006a794
mov eax, edi
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14006a770
mov rbx, qword [rsp + 0xe0]
add rsp, 0xa0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.140095e24
nop
call fcn.1400094ac
nop
call fcn.140095e24
nop
call fcn.140095e24
nop
call fcn.1400011a0
int3