Function at 0x58c7c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x58ccb7
sub esp, 0x68
mov eax, dword [esp + 0x70]
test eax, eax
je 0x58cb79
lea ecx, [0x6e5d50]
cmp ecx, eax
jne 0x58cb6f
mov ecx, dword [esp + 0x74]
je 0x58cb54
call dbg.os.Pipe
mov eax, dword [esp + 8]
mov ecx, dword [esp]
mov edx, dword [esp + 4]
mov ebx, dword [esp + 0xc]
test eax, eax
jne 0x58cb3d
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 0x6c]
mov ebx, dword [eax + 0x80]
mov ebp, dword [eax + 0x7c]
mov esi, dword [eax + 0x78]
lea edi, [eax + 0x78]
mov dword [esp + 0x64], edi
lea edi, [ebp + 1]
cmp edi, ebx
jg 0x58cac3
lea ebx, [ebp + 1]
mov dword [eax + 0x7c], ebx
lea ebx, [esi + ebp*8]
lea edi, [0x6e5cf0]
mov dword [ebx], edi
mov ebx, dword [0x728500]
lea ebp, [esi + ebp*8 + 4]
test ebx, ebx
jne 0x58caa0
mov dword [ebp], edx
mov ebx, dword [eax + 0x8c]
mov ebp, dword [eax + 0x88]
mov esi, dword [eax + 0x84]
lea edx, [eax + 0x84]
mov dword [esp + 0x60], edx
lea edx, [ebp + 1]
cmp edx, ebx
jg 0x58ca21
lea edx, [ebp + 1]
mov dword [eax + 0x88], edx
lea edx, [esi + ebp*8]
mov dword [edx], edi
lea edx, [esi + ebp*8 + 4]
mov ebx, dword [0x728500]
test ebx, ebx
jne 0x58ca10
mov dword [edx], ecx
lea eax, [0x5cace0]
mov dword [esp], eax
call dbg.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x5c], eax
lea ecx, [0x58e720]
mov dword [eax], ecx
mov ecx, dword [esp + 0x70]
mov dword [eax + 4], ecx
mov ecx, dword [0x728500]
lea edx, [eax + 8]
lea ebx, [eax + 0xc]
test ecx, ecx
jne 0x58c9df
mov ecx, dword [esp + 0x74]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx + 0x98]
mov ebx, dword [ecx + 0x90]
mov ebp, dword [ecx + 0x94]
lea esi, [ecx + 0x90]
lea edi, [ebp + 1]
cmp edi, edx
jg 0x58c962
lea edx, [ebp + 1]
mov dword [ecx + 0x94], edx
lea ecx, [ebx + ebp*4]
mov edx, dword [0x728500]
test edx, edx
jne 0x58c954
mov dword [ebx + ebp*4], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
add esp, 0x68
ret
mov dword [esp], ecx
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
jmp 0x58c935
mov dword [esp + 0x58], esi
lea eax, [0x5b3b80]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], edi
call dbg.runtime.growslice
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x6c]
mov dword [ebx + 0x98], edx
mov edx, dword [0x728500]
test edx, edx
jne 0x58c9b9
mov dword [ebx + 0x90], eax
mov ebp, ecx
mov ecx, ebx
mov ebx, eax
mov eax, dword [esp + 0x5c]
jmp 0x58c91c
mov dword [esp + 0x54], eax
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp], ecx
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x6c]
jmp 0x58c9aa
mov dword [esp + 0x50], ebx
mov dword [esp], edx
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x5c]
jmp 0x58c8f9
mov dword [esp], edx
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
jmp 0x58c8b2
lea eax, [0x5c5080]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call dbg.runtime.growslice
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x6c]
mov dword [ebx + 0x8c], edx
mov edx, dword [0x728500]
test edx, edx
jne 0x58ca7a
mov dword [ebx + 0x84], eax
lea edi, [0x6e5cf0]
mov ebp, ecx
mov esi, eax
mov eax, ebx
mov ecx, dword [esp + 0x30]
jmp 0x58c890
mov dword [esp + 0x4c], eax
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp], ecx
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x6c]
jmp 0x58ca65
mov dword [esp], ebp
mov dword [esp + 4], edx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
lea edi, [0x6e5cf0]
jmp 0x58c869
lea eax, [0x5c5080]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edi
call dbg.runtime.growslice
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x6c]
mov dword [ebx + 0x80], edx
mov edx, dword [0x728500]
test edx, edx
jne 0x58cb17
mov dword [ebx + 0x78], eax
mov edx, dword [esp + 0x2c]
mov ebp, ecx
mov esi, eax
mov eax, ebx
mov ecx, dword [esp + 0x30]
jmp 0x58c843
mov dword [esp + 0x48], eax
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x6c]
jmp 0x58cb04
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ebx
add esp, 0x68
ret
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
add esp, 0x68
ret
mov ecx, 0
jmp 0x58c7f7
lea eax, [0x5f678e]
mov dword [esp], eax
mov dword [esp + 4], 3
mov dword [esp + 8], 1
mov dword [esp + 0xc], 0
call dbg.os.OpenFile
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
test edx, edx
jne 0x58cca4
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], edx
mov ebx, dword [esp + 0x6c]
mov ebp, dword [ebx + 0x78]
mov esi, dword [ebx + 0x7c]
mov edi, dword [ebx + 0x80]
lea ecx, [ebx + 0x78]
mov dword [esp + 0x38], ecx
lea ecx, [esi + 1]
cmp ecx, edi
jg 0x58cc2c
lea ecx, [esi + 1]
mov dword [ebx + 0x7c], ecx
lea ecx, [ebp + esi*8]
lea ebx, [0x6e5cf0]
mov dword [ecx], ebx
lea ecx, [ebp + esi*8 + 4]
mov ebx, dword [0x728500]
test ebx, ebx
jne 0x58cc16
mov dword [ecx], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edx
mov eax, dword [esp + 0x40]
mov dword [esp + 0x80], eax
add esp, 0x68
ret
mov dword [esp], ecx
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x3c]
jmp 0x58cbff
lea eax, [0x5c5080]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ecx
call dbg.runtime.growslice
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x6c]
mov dword [ebx + 0x80], edx
mov edx, dword [0x728500]
test edx, edx
jne 0x58cc7e
mov dword [ebx + 0x78], eax
mov edx, dword [esp + 0x3c]
mov esi, ecx
mov ebp, eax
mov eax, dword [esp + 0x44]
jmp 0x58cbdd
mov dword [esp + 0x34], eax
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp], ecx
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x6c]
jmp 0x58cc6d
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], ecx
add esp, 0x68
ret
call dbg.runtime.morestack_noctxt
jmp dbg.os/exec.(*Cmd).writerDescriptor