Function at 0x140017cd0
Capabilities:
Create pipe

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0xf0]
sub rsp, 0x1f0
mov rax, qword [0x14006b020]
xor rax, rsp
mov qword [rbp + 0xe0], rax
mov r14, r9
mov rbx, r8
mov rsi, rdx
mov qword [rbp - 0x70], rbx
lea r12, vtable.CTracePie.0
mov qword [rbp + 0x20], r12
xor r15d, r15d
mov qword [rbp + 0xc8], r15
mov word [rbp + 0xd0], 0x100
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rbp + 0xc8], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rbp + 0xcc], eax
lea r9d, [r15 + 0x26]
lea r8, str.OsExecute::ExecCmd
lea edx, [r15 + 0x78]
lea rcx, [rbp + 0x28]
call fcn.1400133b0
lea r9d, [r15 + 0x16]
lea r8, str.PIE_Common
lea edx, [r15 + 0x28]
lea rcx, [rbp + 0xa0]
call fcn.1400133b0
cmp byte [rbp + 0xd1], 1
jne 0x140017d8e
lea r8, [0x14005a24c]
lea edx, [r15 + 5]
lea rcx, [rbp + 0x20]
call fcn.1400134a0
lea rax, vtable.CTracePieCommon.0
mov qword [rbp + 0x20], rax
mov dword [rsp + 0x78], 0x18
mov qword [rbp - 0x80], r15
mov dword [rbp - 0x78], 1
xor r9d, r9d
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x140017e89
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea r8, str.CreatePipe_failed__errorCode___d
mov edx, 2
lea rcx, [rbp + 0x20]
call fcn.1400134a0
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140017dff
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x50], r15
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140017e14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x58], r15
mov qword [rbp + 0x20], r12
cmp byte [rbp + 0xd1], 1
jne 0x140017e40
cmp byte [rbp + 0xd0], 0
jne 0x140017e40
lea r8, [0x14005a254]
mov edx, 5
lea rcx, [rbp + 0x20]
call fcn.1400134a0
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x140017e7f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140017e7a
add rdx, 0x27
mov rdi, qword [rcx - 8]
sub rcx, rdi
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001800e
mov rcx, rdi
call fcn.140022904
mov eax, 0xe6
jmp 0x140017fdd
lea rdi, [rsp + 0x60]
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
lea rdi, [rbp - 0x60]
mov ecx, 0x68
rep stosb byte [rdi], al
or dword [rbp - 0x24], 0x100
mov rax, qword [rsp + 0x50]
mov qword [rbp - 8], rax
mov qword [rbp], rax
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.140008520
lea rcx, [rbp - 0x60]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x60]
mov r8, rax
mov rdx, rsi
call fcn.140017010
mov esi, eax
test eax, eax
jne 0x140017f20
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x58]
lea rdx, [rsp + 0x60]
call fcn.1400178a0
mov esi, eax
lea rdx, [rbp + 0x10]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov r9d, dword [rbp + 0x10]
lea r8, str.Process_return_code:__d
mov edx, 4
lea rcx, [rbp + 0x20]
call fcn.1400134a0
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140017f35
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x50], r15
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140017f4a
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x58], r15
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140017f5f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x60], r15
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140017f74
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x68], r15
mov qword [rbp + 0x20], r12
cmp byte [rbp + 0xd1], 1
jne 0x140017fa0
cmp byte [rbp + 0xd0], 0
jne 0x140017fa0
lea r8, [0x14005a254]
mov edx, 5
lea rcx, [rbp + 0x20]
call fcn.1400134a0
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x140017fdb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140017fd6
add rdx, 0x27
mov rdi, qword [rcx - 8]
sub rcx, rdi
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001800e
mov rcx, rdi
call fcn.140022904
mov eax, esi
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.1400223c0
add rsp, 0x1f0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14002c5b4
int3