Function at 0x140097fd4
Capabilities:
Create pipe

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r14
lea rbp, [rsp - 0x37]
sub rsp, 0xc0
mov rax, qword [0x140198190]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rdi, rdx
mov rsi, rcx
cmp qword [rcx + 0x38], 0
jg 0x140098074
lea r8, [rcx + 0x18]
lea rdx, str..pipe_
lea rcx, [rbp + 7]
call fcn.1400518b0
cmp qword [rax + 0x18], 8
jb 0x140098025
mov rax, qword [rax]
and qword [rsp + 0x38], 0
and dword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
mov edx, 3
lea r9d, [rdx - 2]
lea r8d, [rdx + 1]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov rbx, rax
mov rcx, qword [rsi + 0x38]
cmp rax, rcx
je 0x14009806b
test rcx, rcx
jle 0x140098067
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsi + 0x38], rbx
lea rcx, [rbp + 7]
call fcn.1400089c0
call fcn.140076a94
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 9], xmm1
xor r8d, r8d
lea rdx, [0x140175828]
lea rcx, [rbp - 0x19]
call fcn.1400099b0
nop
lea rdx, [rbp - 0x19]
mov rcx, rbx
call fcn.140094114
nop
mov rdx, qword [rbp - 1]
cmp rdx, 8
jb 0x1400980ec
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400980e7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140098269
call fcn.14010f640
call fcn.140076a94
mov rcx, qword [rsi]
mov edx, dword [rcx + 8]
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
movups xmmword [rbp + 0x17], xmm0
and dword [rbp - 0x49], 0
cmp qword [rax], 0xffffffffffffffff
jne 0x140098116
mov edi, 0xc00000c0
jmp 0x140098244
mov dword [rbp - 0x11], edx
mov qword [rbp - 0x19], rdi
mov dword [rbp - 0xd], 1
and qword [rsp + 0x38], 0
lea rcx, [rbp - 0x49]
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], reloc.WLDAP32.dll_Ordinal_32
lea rcx, [rbp + 7]
mov qword [rsp + 0x20], rcx
mov r9d, reloc.WS2_32.dll_recv
lea r8, [rbp - 0x19]
mov edx, 0x8005e01c
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x140098164
xor edi, edi
jmp 0x14009817b
mov rax, qword gs:[0x30]
mov edi, dword [rax + 0x1250]
test edi, edi
js 0x140098244
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x41], xmm0
mov qword [rbp - 0x31], rax
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x29], xmm1
lea r12d, [rax + 0x38]
mov ecx, r12d
call fcn.14010f648
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbp - 0x29], rax
call fcn.140076a94
mov rcx, qword [rsi]
lea rdx, [rbp - 0x41]
mov qword [rsp + 0x20], rdx
lea r8, [rsi + 0x18]
mov edx, dword [rcx + 8]
mov rcx, rax
call fcn.140094438
test eax, eax
js 0x140098202
lea rdx, [rsi + 8]
lea rax, [rbp - 0x29]
cmp rdx, rax
je 0x140098202
mov r8, qword [rdx]
mov rax, qword [rbp - 0x29]
mov qword [rdx], rax
mov qword [rbp - 0x29], r8
mov rcx, qword [rdx + 8]
mov rax, qword [rbp - 0x21]
mov qword [rdx + 8], rax
mov qword [rbp - 0x21], rcx
jmp 0x140098206
mov r8, qword [rbp - 0x29]
mov rbx, qword [r8 + 8]
cmp byte [rbx + 0x19], 0
jne 0x140098239
mov r8, qword [rbx + 0x10]
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x29]
call fcn.1400987a4
mov rcx, rbx
mov rbx, qword [rbx]
mov rdx, r12
call fcn.14010f640
cmp byte [rbx + 0x19], 0
je 0x140098210
mov r8, qword [rbp - 0x29]
mov rdx, r12
mov rcx, r8
call fcn.14010f640
mov eax, edi
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14010f620
mov rbx, qword [rsp + 0x100]
add rsp, 0xc0
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140118cb4
int3