Function at 0x1400494e0
Capabilities:
Create pipe
Terminate process

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x1401f3030]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov ebx, r9d
mov r15, r8
mov r14, rdx
mov rdi, rcx
mov qword [rsp + 0x38], rcx
mov rsi, qword [rbp + 0x88]
xor r12d, r12d
mov dword [rsp + 0x30], r12d
mov qword [rcx], r12
mov qword [rcx + 0x10], r12
mov qword [rcx + 0x18], 7
mov word [rcx], r12w
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r12
mov dword [rbp - 0x78], SafeArrayCopy
mov qword [rbp - 0x70], r12
mov dword [rbp - 0x68], 1
xor r9d, r9d
lea r8, [rbp - 0x78]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x140049731
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140049731
cmp qword [rsp + 0x68], r12
je 0x140049731
xor r8d, r8d
lea edx, [r12 + 1]
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rax
xorps xmm1, xmm1
movups xmmword [rbp - 0x5c], xmm1
movups xmmword [rbp - 0x4c], xmm1
movups xmmword [rbp - 0x3c], xmm1
movups xmmword [rbp - 0x2c], xmm1
mov qword [rbp - 0x1c], rax
mov dword [rbp - 0x14], eax
mov dword [rbp - 0x60], 0x68
mov rax, qword [rsp + 0x68]
mov qword [rbp], rax
mov qword [rbp - 8], rax
mov qword [rbp - 0x10], 0xffffffffffffffff
psrldq xmm1, 8
movd eax, xmm1
bts eax, 8
mov dword [rbp - 0x24], eax
mov qword [rsp + 0x28], rsi
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x70]
mov r8, r15
mov rdx, r14
xor ecx, ecx
call fcn.140048da0
test al, al
je 0x140049704
mov edx, ebx
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebx, eax
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x68], r12
cmp ebx, 0x102
jne 0x140049665
cmp byte [rbp + 0x80], r12b
je 0x140049665
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140049665
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x1400496c1
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.140048390
mov rdx, rax
mov rcx, rdi
call fcn.14001e1a0
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x1400496c1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400496bc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140049752
call fcn.140149194
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1400496d9
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r12
mov qword [rsp + 0x60], rcx
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x1400496f1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x140049709
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
test rsi, rsi
je 0x140049711
mov qword [rsi], r12
test rcx, rcx
je 0x140049721
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x60], r12
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140049731
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rdi
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.140149500
add rsp, 0x120
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1401501d4
int3