Function at 0x140045990
Capabilities:
Create pipe

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x100]
sub rsp, 0x200
mov rax, qword [0x1405c7418]
xor rax, rsp
mov qword [rbp + 0xf0], rax
mov r13, r9
mov r12, r8
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x10], rdx
mov rax, qword [rbp + 0x178]
mov qword [rbp - 0x70], rax
mov rdi, qword [rbp + 0x180]
movzx eax, byte [rbp + 0x190]
mov byte [rsp + 0x68], al
xor ebx, ebx
mov dword [rbp - 0x78], ebx
mov qword [rbp - 0x80], rbx
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x60], rbx
cmp byte [rcx + 0x70], bl
je 0x140045a3f
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rbx, rax
mov rcx, qword [rsp + 0x70]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140045a31
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x70], rbx
mov rcx, qword [rsp + 0x60]
xor ebx, ebx
jmp 0x140045aba
mov rcx, qword [rcx]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140045a55
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsi], rbx
mov rcx, qword [rsp + 0x60]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140045a6f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x60], rbx
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x140045d80
mov r8b, 1
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x60]
call fcn.140042d50
mov rcx, qword [rsp + 0x60]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140045aba
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
mov qword [rsp + 0x60], rbx
cmp byte [rsi + 0x71], 0
jne 0x140045b3b
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140045ad5
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x60], rbx
mov rcx, qword [rsi + 8]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140045af1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsi + 8], 0
lea rax, [rsi + 0x10]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x60]
lea rcx, [rsi + 8]
call fcn.14004d250
mov r8b, 1
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x60]
call fcn.140042d50
mov rcx, qword [rsp + 0x60]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140045b3b
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
mov qword [rsp + 0x60], rcx
cmp byte [rsi + 0x72], 0
jne 0x140045bc7
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140045b5e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x60], 0
mov rcx, qword [rsi + 0x30]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140045b7a
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsi + 0x30], 0
lea rax, [rsi + 0x38]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x60]
lea rcx, [rsi + 0x30]
call fcn.14004d250
mov r8b, 1
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x60]
call fcn.140042d50
mov rcx, qword [rsp + 0x60]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140045bc7
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x60], 0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp], rax
mov dword [rbp - 0x60], 0x68
mov dword [rbp - 0x24], 0x100
mov rax, qword [rsp + 0x70]
mov qword [rbp - 0x10], rax
cmp byte [rsi + 0x71], 0
je 0x140045c12
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
jmp 0x140045c16
mov rax, qword [rbp - 0x80]
mov qword [rbp - 8], rax
cmp byte [rsi + 0x72], 0
je 0x140045c2d
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
jmp 0x140045c32
mov rax, qword [rsp + 0x78]
mov qword [rbp], rax
lea rax, [0x1403f71b8]
cmp byte [rbp + 0x198], 0
cmove rax, qword [rbp - 0x50]
mov qword [rbp - 0x50], rax
movzx ebx, byte [rsi + 0x73]
lea rax, [rbp + 0x20]
mov qword [rbp + 0x18], rax
mov rdx, rdi
lea rcx, [rbp + 0x20]
call fcn.1400053c0
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetPriorityClass]
mov r9d, eax
mov eax, dword [rbp + 0x170]
bts eax, 0x1b
test bl, bl
cmove eax, dword [rbp + 0x170]
or r9d, eax
lea rcx, [rsi + 0x58]
movzx eax, byte [rsp + 0x68]
mov byte [rsp + 0x58], al
movzx eax, byte [rbp + 0x188]
mov byte [rsp + 0x50], al
mov qword [rsp + 0x48], rcx
lea rax, [rbp - 0x60]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov rax, qword [rbp - 0x70]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r9d
movzx eax, byte [rbp + 0x168]
mov byte [rsp + 0x20], al
mov r9, qword [rbp + 0x160]
mov r8, r13
mov rdx, r12
mov rcx, r14
call fcn.140045e00
mov dword [rbp - 0x78], 1
mov rcx, qword [rsp + 0x60]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140045d0e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
mov qword [rsp + 0x60], rbx
jmp 0x140045d10
xor ebx, ebx
mov rcx, qword [rsp + 0x78]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140045d2a
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x78], rbx
mov rcx, qword [rsp + 0x70]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140045d44
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x70], rbx
mov rcx, qword [rbp - 0x80]
lea rdx, [rcx - 1]
cmp rdx, 0xfffffffffffffffd
ja 0x140045d5c
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 0x80], rbx
mov rax, r14
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.1400ab7b0
add rsp, 0x200
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rdx, str.RunTime::Execute::start
lea rcx, [rbp + 0x20]
call fcn.140005380
nop
lea rcx, [rbp + 0x40]
call fcn.140005740
nop
mov r9d, 0x2e1
lea r8, [rbp + 0x20]
mov rdx, rax
lea rcx, [rbp + 0xa0]
call fcn.1400057f0
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rcx, [rbp + 0x60]
call fcn.140005740
nop
lea r8, [0x1403f7188]
mov rdx, rax
lea rcx, [rbp + 0x80]
call fcn.1400034a0
nop
mov rcx, rax
call fcn.1400083b0
mov r8, rdi
mov edx, ebx
mov rcx, rax
call fcn.14001f0f0
int3