Function at 0x140024d20
Capabilities:
Check if file exists
Create pipe

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0x90
mov qword [rax + 8], rbp
mov rbx, rcx
mov qword [rax + 0x10], rsi
mov ebp, r8d
mov qword [rax + 0x18], rdi
mov esi, edx
mov qword [rax - 0x50], rcx
mov edi, r9d
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x140024d50
mov dword [rsp + 0x40], eax
lea rdx, [rsp + 0x40]
bts eax, 0x1e
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x44], eax
call fcn.14002eae0
mov eax, dword [rsp + 0x44]
shr eax, 0x1f
test al, al
je 0x140024d89
mov rcx, qword [rsp + 0x48]
call fcn.14006bcf0
mov qword [rsp + 0xb8], r12
mov qword [rsp + 0x88], r14
mov qword [rsp + 0x80], r15
bt ebp, 0xc
jae 0x140024e07
mov r9, rbx
lea r8, [0x1400d5a70]
lea rdx, str._spipe_s
lea rcx, [rsp + 0x60]
call fcn.14002e280
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.14002eae0
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140028650
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140024ded
call fcn.14006bcf0
cmp esi, 1
jbe 0x140024e22
mov eax, dword [rsp + 0x64]
shr eax, 0x1f
test al, al
je 0x140024e07
mov rcx, qword [rsp + 0x68]
call fcn.14006bcf0
mov r8d, ebp
mov r15d, 4
and r8d, 0x20
je 0x140024f6b
mov r9d, r15d
jmp 0x140024f7d
xor r15b, r15b
mov ecx, ebp
and ecx, 1
mov edx, ecx
or edx, 2
test bpl, 2
cmove edx, ecx
mov edi, edx
bts edi, 0x13
cmp esi, 1
cmovne edi, edx
xor ebx, ebx
mov esi, ebx
lea r14d, [rbx + 1]
bt ebp, 0xb
jae 0x140024e5a
bts edi, 0x1e
movzx r15d, r14b
jmp 0x140024e63
bt ebp, 0xa
jae 0x140024e63
mov esi, r14d
lea rcx, [rsp + 0x50]
call fcn.140033830
mov qword [rsp + 0x38], rbx
mov rcx, rax
mov dword [rsp + 0x30], ebx
mov r9d, 0xff
mov dword [rsp + 0x28], 0x2000
mov r8d, esi
mov edx, edi
mov dword [rsp + 0x20], 0x2000
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x140024ec2
mov rdi, qword [rsp + 0xc0]
test rdi, rdi
je 0x140024f4d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rdi], r14d
jmp 0x140024f4d
mov rax, qword [rsp + 0xc0]
test rax, rax
je 0x140024ed1
mov dword [rax], ebx
mov r9d, 0xb85
lea r8, str.C:JenkinsworkspaceBeefBeefySysLibplatformwinPlatform.cpp
mov edx, r14d
mov ecx, 0x18
call fcn.1400387a8
mov rdi, rax
test rax, rax
je 0x140024efc
mov qword [rax + 8], rbx
mov byte [rax + 0x11], bl
jmp 0x140024eff
mov rdi, rbx
mov qword [rdi], rsi
mov byte [rdi + 0x10], r14b
test r15b, r15b
je 0x140024f4a
mov r9d, 0xb8b
lea r8, str.C:JenkinsworkspaceBeefBeefySysLibplatformwinPlatform.cpp
mov edx, r14d
mov ecx, 8
call fcn.1400387a8
mov rsi, rax
test rax, rax
je 0x140024f43
xor r9d, r9d
xor r8d, r8d
mov edx, r14d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsi], rax
jmp 0x140024f46
mov rsi, rbx
mov qword [rdi + 8], rsi
mov rbx, rdi
mov eax, dword [rsp + 0x64]
shr eax, 0x1f
test al, al
je 0x14002512a
mov rcx, qword [rsp + 0x68]
call fcn.14006bcf0
jmp 0x14002512a
mov r9d, ebp
shl r9d, 0x1f
test bpl, 2
je 0x140024f7d
bts r9d, 0x1e
mov ecx, ebp
shr ecx, 2
and ecx, 1
mov edx, ecx
or edx, 2
test bpl, 8
cmove edx, ecx
mov r12d, edx
or r12d, r15d
test bpl, 0x10
cmove r12d, edx
xor ebx, ebx
lea r14d, [rbx + 1]
test esi, esi
jne 0x140024fb7
test r8d, r8d
mov eax, 2
cmove r15d, eax
jmp 0x140024fcf
cmp esi, r14d
jne 0x140024fc1
mov r15d, r14d
jmp 0x140024fcf
cmp esi, 3
mov r15d, ebx
sete r15b
add r15d, 3
test dil, 0xe
je 0x140024ff1
mov rax, qword [rsp + 0xc0]
test rax, rax
je 0x14002512a
mov dword [rax], 5
jmp 0x14002512a
mov ecx, edi
shr ecx, 7
and ecx, r14d
mov edx, ecx
or edx, 2
test dil, 0x10
cmove edx, ecx
mov ecx, edx
or ecx, 0x20
test dil, 2
cmove ecx, edx
mov edx, ecx
or edx, 0x40
test dil, 4
cmove edx, ecx
mov ecx, edx
bts ecx, 7
bt edi, 8
cmovae ecx, edx
mov edx, ecx
bts edx, 8
bt edi, 0xc
cmovae edx, ecx
mov r8d, edx
bts r8d, 9
bt edi, 0xe
cmovae r8d, edx
mov ecx, r8d
bts ecx, 0xa
test dil, 0x20
cmove ecx, r8d
mov esi, ecx
or esi, 0x10
test r14b, dil
cmove esi, ecx
mov ecx, r9d
bts ecx, 0x1f
test bpl, 0x80
cmove ecx, r9d
mov edx, ecx
bts edx, 0x1a
bt ebp, 8
cmovae edx, ecx
lea rcx, [rsp + 0x50]
mov edi, edx
bts edi, 0x1d
and ebp, 0x200
cmove edi, edx
call fcn.140033830
mov qword [rsp + 0x30], rbx
mov rcx, rax
mov dword [rsp + 0x28], esi
xor r9d, r9d
mov r8d, r12d
mov dword [rsp + 0x20], r15d
mov edx, edi
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400250ee
mov rdi, qword [rsp + 0xc0]
test rdi, rdi
je 0x14002512a
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x1400250e6
cmp eax, 0x20
mov ecx, 9
cmovne ecx, r14d
mov dword [rdi], ecx
jmp 0x14002512a
mov dword [rdi], 8
jmp 0x14002512a
mov rax, qword [rsp + 0xc0]
test rax, rax
je 0x1400250fd
mov dword [rax], ebx
mov r9d, 0xbe4
lea r8, str.C:JenkinsworkspaceBeefBeefySysLibplatformwinPlatform.cpp
mov edx, r14d
mov ecx, 0x18
call fcn.1400387a8
test rax, rax
je 0x140025127
mov qword [rax + 8], rbx
mov word [rax + 0x10], bx
mov rbx, rax
mov qword [rbx], rdi
mov rcx, qword [rsp + 0x50]
mov r15, qword [rsp + 0x80]
mov r14, qword [rsp + 0x88]
mov r12, qword [rsp + 0xb8]
mov rdi, qword [rsp + 0xb0]
mov rsi, qword [rsp + 0xa8]
mov rbp, qword [rsp + 0xa0]
test rcx, rcx
je 0x140025169
call fcn.14006bcf0
mov rax, rbx
add rsp, 0x90
pop rbx
ret