Function at 0x1400503a0
Capabilities:
Create pipe
Create process on windows
Create process suspended
Enumerate processes
Read file on windows
Read pipe
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x12f0]
mov eax, 0x13f0
call fcn.1400870e0
sub rsp, rax
movaps xmmword [rsp + 0x13e0], xmm6
mov rax, qword [0x1400aa0c0]
xor rax, rsp
mov qword [rbp + 0x12d0], rax
mov rbx, rcx
xor r14d, r14d
mov dword [rsp + 0x58], r14d
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x4c], xmm0
movups xmmword [rbp - 0x3c], xmm0
movups xmmword [rbp - 0x2c], xmm0
movups xmmword [rbp - 0x1c], xmm0
movups xmmword [rbp - 0xc], xmm0
mov dword [rbp + 4], eax
mov dword [rbp - 0x50], 0x68
psrldq xmm0, 8
movd eax, xmm0
bts eax, 8
mov dword [rbp - 0x14], eax
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x70], r14
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x70], xmm0
mov qword [rbp + 0x80], rax
mov dword [rbp + 0x70], 0x18
mov dword [rbp + 0x80], 1
xor r9d, r9d
lea r8, [rbp + 0x70]
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x1400508d3
mov rax, qword [rbp - 0x70]
mov qword [rbp + 8], rax
mov qword [rbp + 0x10], rax
mov rcx, qword [rbx + 0x10]
movabs r15, 0x7fffffffffffffff
mov rax, r15
sub rax, rcx
cmp rax, 0x60
jb 0x14005090b
mov r9, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14005049b
mov r9, qword [rbx]
mov qword [rsp + 0x30], 0x60
lea rax, str.__VERYSILENT__SUPPRESSMSGBOXES__NORESTART__NOCANCEL__NOCLOSEAPPLICATIONS__FORCECLOSEAPPLICATIONS
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov r8, rbx
movzx edx, byte [rsp + 0x50]
lea rcx, [rbp + 0x50]
call fcn.14006de60
mov edi, 2
lea rdx, [rbp + 0x50]
cmp qword [rbp + 0x68], 0xf
cmova rdx, qword [rbp + 0x50]
lea rax, [rbp - 0x68]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x140050880
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movabs r12, 0x7ffffffffa0a1eff
movss xmm6, dword [0x140097d0c]
nop word [rax + rax]
mov qword [rsp + 0x28], r14
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
je 0x1400505b6
cmp dword [rbp + 0x20], 0
jbe 0x1400505b6
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0x24]
mov r8d, 0xfff
lea rdx, [rbp + 0x2d0]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400505b6
mov eax, dword [rbp + 0x24]
test eax, eax
je 0x1400505b6
cmp rax, 0x1000
jae 0x140050905
mov byte [rbp + rax + 0x2d0], 0
movaps xmm0, xmm6
movss dword [0x1400dd050], xmm6
jmp 0x1400505be
movss xmm0, dword [0x1400dd050]
comiss xmm0, xmm6
jb 0x140050748
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r14
mov r8d, 0xe
lea rdx, str.Steamtools.exe
lea rcx, [rsp + 0x60]
call fcn.140037960
nop
or edi, 1
mov dword [rsp + 0x58], edi
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140050748
mov dword [rbp + 0x90], 0x238
xor sil, sil
lea rdx, [rbp + 0x90]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400506ea
nop word [rax + rax]
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x70]
add r8, rdx
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rdx, qword [rsp + 0x60]
lea rcx, [rbp + 0x30]
call fcn.140065db0
lea rcx, [rbp + 0x30]
cmp qword [rbp + 0x48], 7
cmova rcx, qword [rbp + 0x30]
lea rdx, [rbp + 0xbc]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
mov rdx, qword [rbp + 0x48]
test eax, eax
je 0x1400506fc
cmp rdx, 7
jbe 0x1400506d2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400506cd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400507e3
call fcn.14008514c
lea rdx, [rbp + 0x90]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140050640
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test sil, sil
je 0x140050748
mov bl, 1
jmp 0x14005074a
mov sil, 1
cmp rdx, 7
jbe 0x1400506ea
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050736
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400507e3
call fcn.14008514c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
jmp 0x14005074a
xor bl, bl
test dil, 1
je 0x14005078c
and edi, 0xfffffffe
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x14005078c
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050787
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400507ea
call fcn.14008514c
mov rcx, qword [rbp - 0x68]
test bl, bl
jne 0x1400507f1
mov edx, 0x64
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1400507f9
lea rcx, [rbp - 0x80]
call fcn.140039370
mov rax, qword [rbp - 0x80]
cmp rax, r12
jge 0x1400507cf
add rax, 0x5f5e100
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x58]
call fcn.140070840
jmp 0x140050540
mov qword [rsp + 0x58], r15
lea rcx, [rsp + 0x58]
call fcn.140070840
jmp 0x140050540
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edx, 0xffffffff
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [rbp + 0x28]
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1400dd050], 0x3f800000
mov rdx, qword [rbp + 0x68]
cmp rdx, 0xf
jbe 0x14005087c
inc rdx
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050877
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140050877
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008514c
mov al, 1
jmp 0x1400508d5
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbp + 0x68]
cmp rdx, 0xf
jbe 0x1400508d3
inc rdx
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400508ce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400508ce
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008514c
xor al, al
mov rcx, qword [rbp + 0x12d0]
xor rcx, rsp
call fcn.140084a20
lea r11, [rsp + 0x13f0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.140084c68
nop
call fcn.140035cb0
int3