Function at 0x14002e2d0
Capabilities:
Create pipe

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x100
mov qword [rbp - 0x41], 0xfffffffffffffffe
mov qword [rsp + 0x140], rbx
mov rax, qword [0x140095080]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r14, rdx
mov rdi, rcx
xor r15d, r15d
mov dword [rsp + 0x40], r15d
cmp qword [rcx + 0x38], r15
jg 0x14002e40e
lea rbx, [rcx + 0x18]
movdqa xmm0, xmmword [0x140084720]
movdqu xmmword [rbp - 0x71], xmm0
mov word [rsp + 0x48], r15w
mov dword [rsp + 0x40], 1
mov rdx, qword [rbx + 0x10]
add rdx, 9
lea rcx, [rsp + 0x48]
call fcn.14001b9c0
lea r8d, [r15 + 9]
lea rdx, str..pipe_
lea rcx, [rsp + 0x48]
call fcn.14001ba80
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 8
jb 0x14002e36e
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.14001ba80
lea rcx, [rsp + 0x48]
cmp qword [rbp - 0x69], 8
cmovae rcx, qword [rsp + 0x48]
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
mov edx, 3
lea r9d, [rdx - 2]
lea r8d, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov rbx, rax
mov rcx, qword [rdi + 0x38]
cmp rax, rcx
je 0x14002e3cd
test rcx, rcx
jle 0x14002e3c9
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 0x38], rbx
mov rdx, qword [rbp - 0x69]
cmp rdx, 8
jb 0x14002e40e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002e409
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002e6c7
call fcn.14004654c
mov esi, 4
mov rax, qword gs:[0x58]
add rsi, qword [rax]
mov eax, dword [rsi]
cmp dword [0x140098a04], eax
jle 0x14002e46e
lea rcx, [0x140098a04]
call fcn.14004612c
cmp dword [0x140098a04], 0xffffffff
jne 0x14002e46e
mov dword [0x140098a14], r15d
mov qword [0x140098a08], r15
mov dword [0x140098a10], 0xc0000225
lea rcx, [0x14006c7c0]
call fcn.140046534
lea rcx, [0x140098a04]
call fcn.1400460cc
movdqa xmm0, xmmword [0x140084720]
movdqu xmmword [rbp - 0x51], xmm0
mov word [rbp - 0x61], r15w
xor r8d, r8d
lea rdx, [0x140082fcc]
lea rcx, [rbp - 0x61]
call fcn.140002410
nop
lea rdx, [rbp - 0x61]
lea rcx, [0x140098a08]
call fcn.1400291e0
nop
mov rdx, qword [rbp - 0x49]
cmp rdx, 8
jb 0x14002e4e5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x61]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002e4e0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002e6c1
call fcn.14004654c
mov eax, dword [rsi]
cmp dword [0x140098a04], eax
jle 0x14002e534
lea rcx, [0x140098a04]
call fcn.14004612c
cmp dword [0x140098a04], 0xffffffff
jne 0x14002e534
mov dword [0x140098a14], r15d
mov qword [0x140098a08], r15
mov dword [0x140098a10], 0xc0000225
lea rcx, [0x14006c7c0]
call fcn.140046534
lea rcx, [0x140098a04]
call fcn.1400460cc
mov rax, qword [rdi]
mov edx, dword [rax + 8]
xor eax, eax
mov qword [rbp + 7], rax
mov qword [rbp + 0xf], rax
mov qword [rbp + 0x17], rax
mov qword [rbp + 0x1f], rax
mov dword [rbp - 0x39], r15d
mov rcx, qword [0x140098a08]
cmp rcx, 0xffffffffffffffff
jne 0x14002e567
mov ebx, 0xc00000c0
jmp 0x14002e69c
mov dword [rbp - 1], edx
mov qword [rbp - 9], r14
mov dword [rbp + 3], 1
mov qword [rsp + 0x38], r15
lea rax, [rbp - 0x39]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x20
lea rax, [rbp + 7]
mov qword [rsp + 0x20], rax
mov r9d, 0x10
lea r8, [rbp - 9]
mov edx, 0x8005e01c
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x14002e5b2
mov ebx, r15d
jmp 0x14002e5c9
mov rax, qword gs:[0x30]
mov ebx, dword [rax + 0x1250]
test ebx, ebx
js 0x14002e69c
xor eax, eax
mov qword [rbp - 0x31], rax
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x21], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x19], xmm0
call fcn.14002edd0
mov qword [rbp - 0x19], rax
mov eax, dword [rsi]
cmp dword [0x140098a04], eax
jle 0x14002e637
lea rcx, [0x140098a04]
call fcn.14004612c
cmp dword [0x140098a04], 0xffffffff
jne 0x14002e637
mov dword [0x140098a14], r15d
mov qword [0x140098a08], r15
mov dword [0x140098a10], 0xc0000225
lea rcx, [0x14006c7c0]
call fcn.140046534
lea rcx, [0x140098a04]
call fcn.1400460cc
mov rax, qword [rdi]
lea r8, [rdi + 0x18]
lea rdx, [rbp - 0x31]
mov qword [rsp + 0x20], rdx
mov edx, dword [rax + 8]
lea rcx, [0x140098a08]
call fcn.140029760
test eax, eax
js 0x14002e685
lea r8, [rdi + 8]
lea rax, [rbp - 0x19]
cmp r8, rax
je 0x14002e685
mov rcx, qword [r8]
mov rax, qword [rbp - 0x19]
mov qword [r8], rax
mov qword [rbp - 0x19], rcx
mov rdx, qword [r8 + 8]
mov rcx, qword [rbp - 0x11]
mov qword [r8 + 8], rcx
mov qword [rbp - 0x11], rdx
lea rcx, [rbp - 0x19]
call fcn.14002ece0
mov edx, 0x38
mov rcx, qword [rbp - 0x19]
call fcn.14004654c
mov eax, ebx
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140045ef0
mov rbx, qword [rsp + 0x140]
add rsp, 0x100
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.14004cff4
int3
call fcn.14004cff4
int3