Function at 0x4af100
Capabilities:
Run powershell expression

Disassembly:
lea r12, [rsp - 0x100]
cmp r12, qword [r14 + 0x10]
jbe 0x4afc61
push rbp
mov rbp, rsp
sub rsp, 0x178
movq qword [rsp + 0x170], xmm15
mov byte [rsp + 0x47], 0
movups xmmword [rsp + 0x70], xmm15
cmp qword [rax + 0xa0], 0
nop word [rax + rax]
jne 0x4af9c1
mov qword [rsp + 0x188], rax
mov byte [rsp + 0x46], 0
movups xmmword [rsp + 0x120], xmm15
mov qword [rsp + 0x130], 0
lea rcx, [sym.os_exec._Cmd_.Start.func1]
mov qword [rsp + 0x120], rcx
mov qword [rsp + 0x128], rax
lea rcx, [rsp + 0x46]
mov qword [rsp + 0x130], rcx
lea rcx, [rsp + 0x120]
mov qword [rsp + 0x170], rcx
mov byte [rsp + 0x47], 1
cmp qword [rax + 8], 0
jne 0x4af215
cmp qword [rax + 0xc0], 0
jne 0x4af215
cmp qword [rax + 0x150], 0
jne 0x4af215
lea rax, [0x004c4080]
call sym.runtime.newobject
mov qword [rax + 8], 0x10
lea rcx, [0x004da485]
mov qword [rax], rcx
lea rcx, [0x00501ce8]
mov rdx, qword [rsp + 0x188]
mov qword [rdx + 0xc0], rcx
cmp dword [0x0061c240], 0
je 0x4af20c
call sym.runtime.gcWriteBarrier2
mov qword [r11], rax
mov rsi, qword [rdx + 0xc8]
mov qword [r11 + 8], rsi
mov qword [rdx + 0xc8], rax
jmp 0x4af21f
lea rcx, [0x00501ce8]
mov rdx, rax
mov rsi, qword [rdx + 0xc0]
test rsi, rsi
jne 0x4af235
cmp qword [rdx + 0x150], 0
je 0x4af2b1
mov rax, qword [rdx + 0x150]
nop dword [rax]
test rax, rax
je 0x4af27b
mov rcx, qword [rdx + 0x158]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rcx
mov byte [rsp + 0x47], 0
mov rdx, qword [rsp + 0x170]
mov rax, qword [rdx]
call rax
mov rax, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x78]
add rsp, 0x178
pop rbp
ret
mov rax, qword [rdx + 0xc8]
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rax
mov byte [rsp + 0x47], 0
mov rdx, qword [rsp + 0x170]
mov rax, qword [rdx]
call rax
mov rax, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x78]
add rsp, 0x178
pop rbp
ret
mov rbx, qword [rdx + 8]
mov qword [rsp + 0x48], rbx
mov rax, qword [rdx]
mov qword [rsp + 0xa8], rax
call sym.path_filepath.IsAbs
test al, al
je 0x4af2dd
mov rbx, qword [rsp + 0x48]
mov rax, qword [rsp + 0xa8]
jmp 0x4af309
mov rdx, qword [rsp + 0x188]
mov rax, qword [rdx]
mov rbx, qword [rdx + 8]
mov rcx, qword [rdx + 0x40]
mov rdi, qword [rdx + 0x48]
call sym.os_exec.lookExtensions
nop dword [rax]
test rcx, rcx
jne 0x4af991
mov rdx, qword [rsp + 0x188]
cmp qword [rdx + 0xd0], 0
je 0x4af379
cmp qword [rdx + 0xb0], 0
jne 0x4af379
lea rax, [0x004c4080]
call sym.runtime.newobject
mov qword [rax + 8], 0x47
lea rcx, [0x004e2c19]
mov qword [rax], rcx
lea rcx, [0x00501ce8]
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x78], rax
mov byte [rsp + 0x47], 0
mov rdx, qword [rsp + 0x170]
mov rcx, qword [rdx]
call rcx
mov rax, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x78]
add rsp, 0x178
pop rbp
ret
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0x48], rbx
mov rsi, qword [rdx + 0xb0]
test rsi, rsi
je 0x4af3b9
mov rax, qword [rdx + 0xb8]
mov rcx, qword [rsi + 0x20]
call rcx
mov rbx, rax
xor eax, eax
call sym.runtime.selectnbrecv
test al, al
jne 0x4af944
mov rdx, qword [rsp + 0x188]
mov rcx, qword [rdx + 0x88]
mov qword [rsp + 0x68], rcx
lea rsi, [rcx + 3]
mov qword [rsp + 0x58], rsi
lea rax, [0x004d4700]
xor ebx, ebx
mov rcx, rsi
call sym.runtime.makeslice
mov qword [rsp + 0x168], rax
mov rax, qword [rsp + 0x188]
call sym.os_exec._Cmd_.childStdin
test rbx, rbx
jne 0x4af915
mov qword [rsp + 0x88], rax
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xfffffffffffffffd
je 0x4af41f
mov rax, qword [rsp + 0x168]
mov rcx, qword [rsp + 0x58]
jmp 0x4af43d
mov rax, qword [rsp + 0x168]
mov ebx, 1
xor ecx, ecx
mov rdi, rbx
lea rsi, [0x004d4700]
call sym.runtime.growslice
mov qword [rsp + 0x58], rcx
cmp dword [0x0061c240], 0
jne 0x4af455
mov rdx, qword [rsp + 0x88]
jmp 0x4af46c
call sym.runtime.gcWriteBarrier2
mov rdx, qword [rsp + 0x88]
mov qword [r11], rdx
mov rsi, qword [rax]
mov qword [r11 + 8], rsi
mov qword [rsp + 0xc0], rax
mov qword [rax], rdx
mov rdx, qword [rsp + 0x188]
mov rbx, qword [rdx + 0x60]
mov rcx, qword [rdx + 0x68]
nop
mov rax, rdx
call sym.os_exec._Cmd_.writerDescriptor
test rbx, rbx
jne 0x4af8e4
mov rcx, qword [rsp + 0x58]
nop
cmp rcx, 2
jb 0x4af4b0
mov rdx, qword [rsp + 0xc0]
jmp 0x4af4e1
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0xc0]
mov ebx, 2
mov edi, 1
lea rsi, [0x004d4700]
call sym.runtime.growslice
mov rdx, rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x58], rcx
cmp dword [0x0061c240], 0
je 0x4af4ff
call sym.runtime.gcWriteBarrier2
mov qword [r11], rax
mov rsi, qword [rdx + 8]
mov qword [r11 + 8], rsi
mov qword [rsp + 0xc0], rdx
mov qword [rdx + 8], rax
mov rbx, rax
mov rax, qword [rsp + 0x188]
call sym.os_exec._Cmd_.childStderr
nop dword [rax + rax]
test rbx, rbx
jne 0x4af8b5
mov rcx, qword [rsp + 0x58]
cmp rcx, 3
jb 0x4af53e
mov rdx, qword [rsp + 0xc0]
jmp 0x4af570
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0xc0]
mov ebx, 3
mov edi, 1
lea rsi, [0x004d4700]
nop
call sym.runtime.growslice
mov rdx, rax
mov rax, qword [rsp + 0x90]
cmp dword [0x0061c240], 0
je 0x4af589
call sym.runtime.gcWriteBarrier2
mov qword [r11], rax
mov r8, qword [rdx + 0x10]
mov qword [r11 + 8], r8
mov qword [rdx + 0x10], rax
mov r8, qword [rsp + 0x188]
mov rbx, qword [r8 + 0x88]
lea r9, [rbx + 3]
mov rdi, qword [r8 + 0x80]
cmp rcx, r9
jae 0x4af5e1
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x160], rdi
mov rax, rdx
mov rdi, rbx
lea rsi, [0x004d4700]
mov rbx, r9
call sym.runtime.growslice
mov rdi, qword [rsp + 0x160]
mov r9, rbx
mov rdx, rax
mov rbx, qword [rsp + 0x68]
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x50], r9
mov qword [rsp + 0xc0], rdx
lea r8, [r9 - 3]
lea r10, [rcx - 3]
neg r10
sar r10, 0x3f
and r10d, 0x18
add r10, rdx
lea rax, [0x004d4700]
mov rsi, rbx
mov rbx, r10
mov rcx, r8
call sym.runtime.typedslicecopy
mov rax, qword [rsp + 0x188]
call sym.os_exec._Cmd_.environ
test rdi, rdi
jne 0x4af886
mov rdx, qword [rsp + 0x188]
mov r9, qword [rdx + 0x18]
test r9, r9
je 0x4af64f
mov r10, qword [rdx + 0x10]
mov r11, qword [rdx + 0x20]
jmp 0x4af683
movups xmmword [rsp + 0x110], xmm15
mov r12, qword [rdx]
mov r13, qword [rdx + 8]
mov qword [rsp + 0x118], r13
mov qword [rsp + 0x110], r12
mov r11d, 1
mov r9d, 1
lea r10, [rsp + 0x110]
movups xmmword [rsp + 0xc8], xmm15
movups xmmword [rsp + 0xd0], xmm15
movups xmmword [rsp + 0xe0], xmm15
movups xmmword [rsp + 0xf0], xmm15
movups xmmword [rsp + 0x100], xmm15
mov r12, qword [rdx + 0x40]
mov r13, qword [rdx + 0x48]
mov qword [rsp + 0xd0], r13
mov qword [rsp + 0xc8], r12
mov r12, qword [rsp + 0x50]
mov qword [rsp + 0xf8], r12
mov r12, qword [rsp + 0x58]
mov qword [rsp + 0x100], r12
mov r12, qword [rsp + 0xc0]
mov qword [rsp + 0xf0], r12
mov qword [rsp + 0xe0], rbx
mov qword [rsp + 0xe8], rcx
mov qword [rsp + 0xd8], rax
mov r12, qword [rdx + 0x98]
mov qword [rsp + 0x108], r12
mov rax, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0x48]
mov rcx, r10
mov rdi, r9
mov rsi, r11
lea r8, [rsp + 0xc8]
call sym.os.StartProcess
cmp dword [0x0061c240], 0
jne 0x4af74f
mov rsi, qword [rsp + 0x188]
jmp 0x4af76a
call sym.runtime.gcWriteBarrier2
mov qword [r11], rax
mov rsi, qword [rsp + 0x188]
mov rdi, qword [rsi + 0xa0]
mov qword [r11 + 8], rdi
mov qword [rsi + 0xa0], rax
test rbx, rbx
jne 0x4af857
mov byte [rsp + 0x46], 1
cmp qword [rsi + 0x118], 0
je 0x4afa03
lea rax, [0x004bdb80]
mov ebx, 1
call sym.runtime.makechan
cmp dword [0x0061c240], 0
jne 0x4af7b1
mov rcx, qword [rsp + 0x188]
jmp 0x4af7cc
call sym.runtime.gcWriteBarrier2
mov qword [r11], rax
mov rcx, qword [rsp + 0x188]
mov rdx, qword [rcx + 0x128]
mov qword [r11 + 8], rdx
mov qword [rsp + 0xb0], rax
mov qword [rcx + 0x128], rax
mov ebx, 1
lea rax, [0x004bdc00]
call sym.runtime.makechan
mov qword [rsp + 0x98], rax
mov rcx, qword [rsp + 0x188]
mov rdx, qword [rcx + 0x118]
movups xmmword [rsp + 0x138], xmm15
mov qword [rsp + 0x148], 0
mov qword [rsp + 0x138], rdx
lea rbx, [rsp + 0x138]
call sym.runtime.chansend1
mov rcx, qword [rsp + 0x188]
mov rdx, qword [rcx + 0x110]
mov qword [rsp + 0x158], rdx
mov rsi, qword [rcx + 0x118]
mov qword [rsp + 0x68], rsi
xor eax, eax
jmp 0x4afb48
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rcx
mov byte [rsp + 0x47], 0
mov rdx, qword [rsp + 0x170]
mov rax, qword [rdx]
call rax
mov rax, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x78]
add rsp, 0x178
pop rbp
ret
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], rsi
mov byte [rsp + 0x47], 0
mov rdx, qword [rsp + 0x170]
mov rax, qword [rdx]
call rax
mov rax, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x78]
add rsp, 0x178
pop rbp
ret
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rcx
mov byte [rsp + 0x47], 0
mov rdx, qword [rsp + 0x170]
mov rax, qword [rdx]
call rax
mov rax, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x78]
add rsp, 0x178
pop rbp
ret
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rcx
mov byte [rsp + 0x47], 0
mov rdx, qword [rsp + 0x170]
mov rax, qword [rdx]
nop
call rax
mov rax, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x78]
add rsp, 0x178
pop rbp
ret
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rcx
mov byte [rsp + 0x47], 0
mov rdx, qword [rsp + 0x170]
mov rax, qword [rdx]
call rax
mov rax, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x78]
add rsp, 0x178
pop rbp
ret
mov rcx, qword [rsp + 0x188]
mov rdx, qword [rcx + 0xb0]
mov rax, qword [rcx + 0xb8]
mov rcx, qword [rdx + 0x28]
nop
call rcx
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rbx
mov byte [rsp + 0x47], 0
mov rdx, qword [rsp + 0x170]
mov rcx, qword [rdx]
call rcx
mov rax, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x78]
add rsp, 0x178
pop rbp
ret
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x78], rdi
mov byte [rsp + 0x47], 0
mov rdx, qword [rsp + 0x170]
mov rax, qword [rdx]
call rax
mov rax, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x78]
add rsp, 0x178
pop rbp
nop
ret
lea rax, [0x004c4080]
call sym.runtime.newobject
mov qword [rax + 8], 0x15
lea rcx, [0x004dbaee]
mov qword [rax], rcx
lea rcx, [0x00501ce8]
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x78]
add rsp, 0x178
pop rbp
ret
cmp qword [rsi + 0xd0], 0
jne 0x4afa1b
cmp qword [rsi + 0xd8], 0
je 0x4afaf3
mov rcx, qword [rsi + 0xb0]
test rcx, rcx
je 0x4afaf3
mov rax, qword [rsi + 0xb8]
mov rcx, qword [rcx + 0x20]
call rcx
nop dword [rax + rax]
test rax, rax
je 0x4afaf3
lea rax, [0x004bdbc0]
xor ebx, ebx
call sym.runtime.makechan
cmp dword [0x0061c240], 0
nop
jne 0x4afa6c
mov rcx, qword [rsp + 0x188]
jmp 0x4afa87
call sym.runtime.gcWriteBarrier2
mov qword [r11], rax
mov rcx, qword [rsp + 0x188]
mov rdx, qword [rcx + 0x130]
mov qword [r11 + 8], rdx
mov qword [rsp + 0xa0], rax
mov qword [rcx + 0x130], rax
lea rax, [0x004c9400]
nop dword [rax]
call sym.runtime.newobject
lea rcx, [sym.os_exec._Cmd_.Start.gowrap2]
mov qword [rax], rcx
cmp dword [0x0061c240], 0
jne 0x4afaca
mov rcx, qword [rsp + 0x188]
mov rdx, qword [rsp + 0xa0]
jmp 0x4afae6
call sym.runtime.gcWriteBarrier2
mov rcx, qword [rsp + 0x188]
mov qword [r11], rcx
mov rdx, qword [rsp + 0xa0]
mov qword [r11 + 8], rdx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
call sym.runtime.newproc
movups xmmword [rsp + 0x70], xmm15
mov byte [rsp + 0x47], 0
mov rdx, qword [rsp + 0x170]
mov rax, qword [rdx]
call rax
mov rbx, qword [rsp + 0x78]
mov rax, qword [rsp + 0x70]
add rsp, 0x178
pop rbp
ret
mov qword [rax + 8], rdx
mov qword [rax + 0x10], rbx
call sym.runtime.newproc
mov rax, qword [rsp + 0x60]
inc rax
mov rcx, qword [rsp + 0x188]
mov rdx, qword [rsp + 0x158]
mov rsi, qword [rsp + 0x68]
cmp rax, rsi
jge 0x4afc15
mov qword [rsp + 0x60], rax
mov rcx, qword [rdx + rax*8]
mov qword [rsp + 0xb8], rcx
lea rax, [0x004c92c0]
call sym.runtime.newobject
lea rcx, [sym.os_exec._Cmd_.Start.func2]
mov qword [rax], rcx
cmp dword [0x0061c240], 0
nop
jne 0x4afb94
mov rdx, qword [rsp + 0x98]
mov rbx, qword [rsp + 0xb0]
jmp 0x4afbb0
call sym.runtime.gcWriteBarrier2
mov rdx, qword [rsp + 0x98]
mov qword [r11], rdx
mov rbx, qword [rsp + 0xb0]
mov qword [r11 + 8], rbx
mov qword [rsp + 0x150], rax
mov qword [rax + 8], rdx
mov qword [rax + 0x10], rbx
lea rax, [0x004c94a0]
call sym.runtime.newobject
lea rcx, [sym.os_exec._Cmd_.Start.gowrap1]
mov qword [rax], rcx
cmp dword [0x0061c240], 0
jne 0x4afbf4
mov rdx, qword [rsp + 0x150]
mov rbx, qword [rsp + 0xb8]
jmp 0x4afb1e
call sym.runtime.gcWriteBarrier2
mov rdx, qword [rsp + 0x150]
mov qword [r11], rdx
mov rbx, qword [rsp + 0xb8]
mov qword [r11 + 8], rbx
jmp 0x4afb1e
movups xmmword [rcx + 0x118], xmm15
cmp dword [0x0061c240], 0
je 0x4afc35
mov rbx, qword [rcx + 0x110]
call sym.runtime.gcWriteBarrier1
mov qword [r11], rbx
mov qword [rcx + 0x110], 0
mov rsi, rcx
jmp 0x4afa03
mov qword [rsp + 8], rax
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
jmp sym.os_exec._Cmd_.Start