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

Disassembly:
mov ecx, dword [0x7762b4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 4]
cmp eax, dword [ecx + 8]
jbe 0x58e708
sub esp, 0x84
mov eax, dword [esp + 0x88]
mov dword [esp], eax
call sym.main._Package_.gccCmd
mov eax, dword [esp + 8]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x9c]
lea edx, [ecx + eax]
mov dword [esp + 0x44], edx
mov ebx, dword [esp + 4]
mov dword [esp + 0x74], ebx
lea ebp, [0x5c2b80]
mov dword [esp], ebp
mov dword [esp + 4], 0
mov dword [esp + 8], edx
call sym.runtime.makeslice
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x74]
mov ebx, dword [esp + 0x44]
xor ebp, ebp
xor esi, esi
jmp 0x58e280
inc ebp
mov edx, dword [esp + 0x74]
mov dword [esp + 0x40], esi
cmp ebp, ecx
jge 0x58e385
mov dword [esp + 0x64], ebp
lea edi, [edx + ebp*8]
mov edx, dword [edi + 4]
mov dword [esp + 0x50], edx
mov edi, dword [edi]
mov dword [esp + 0x78], edi
cmp edx, 2
jge 0x58e2b5
mov dword [esp + 0x54], eax
xor eax, eax
mov byte [esp + 0x37], al
mov eax, dword [esp + 0x54]
jmp 0x58e2fc
mov dword [esp + 0x6c], eax
mov dword [esp + 0x60], ebx
mov dword [esp], edi
lea eax, [0x5ecd88]
mov dword [esp + 4], eax
mov dword [esp + 8], 2
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x64]
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x78]
mov byte [esp + 0x37], al
mov eax, dword [esp + 0x6c]
movzx edi, byte [esp + 0x37]
xchg edi, eax
test al, al
xchg edi, eax
jne 0x58e27b
inc esi
cmp ebx, esi
jae 0x58e34a
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x5c2b80]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
mov ebp, dword [esp + 0x64]
lea edi, [eax + esi*8 - 4]
mov dword [edi], edx
mov edx, dword [0x776370]
lea edi, [eax + esi*8 - 8]
test edx, edx
je 0x58e37a
mov edx, edi
call sym.runtime.gcWriteBarrier2
mov ebp, dword [esp + 0x78]
mov dword [edi], ebp
mov ecx, dword [edx]
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x64]
mov edi, edx
mov edx, dword [esp + 0x78]
mov dword [edi], edx
jmp 0x58e27b
lea edx, [esi - 1]
cmp esi, edx
jbe 0x58e6fe
lea ecx, [eax + esi*8 - 8]
lea edx, [eax + esi*8 - 4]
mov ebp, dword [ecx]
mov dword [esp + 0x70], ebp
mov edi, dword [ecx + 4]
mov dword [esp + 0x48], edi
mov dword [edx], 3
mov edx, dword [0x776370]
mov ebp, dword [esp + 0x9c]
lea edi, [ebp + esi]
test edx, edx
je 0x58e3d1
mov dword [esp + 0x5c], edi
mov edx, dword [ecx]
call sym.runtime.gcWriteBarrier1
mov dword [edi], edx
mov edi, dword [esp + 0x5c]
lea edx, [0x5eceb9]
mov dword [ecx], edx
cmp ebx, edi
jae 0x58e412
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
lea eax, [0x5c2b80]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x9c]
mov esi, dword [esp + 0x40]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], ebx
lea ecx, [0x5c2b80]
mov dword [esp], ecx
sub edi, esi
sub ebx, esi
neg ebx
shl esi, 3
sar ebx, 0x1f
and esi, ebx
lea ebx, [eax + esi]
mov dword [esp + 4], ebx
mov dword [esp + 8], edi
mov ebx, dword [esp + 0x98]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call sym.runtime.typedslicecopy
mov eax, dword [esp + 0x40]
inc eax
mov ecx, dword [esp + 0x44]
cmp ecx, eax
jb 0x58e46d
mov ecx, eax
mov eax, dword [esp + 0x6c]
mov ebx, dword [esp + 0x44]
jmp 0x58e49f
mov edx, dword [esp + 0x6c]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x5c2b80]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea edx, [eax + ecx*8 - 4]
mov ebp, dword [esp + 0x48]
mov dword [edx], ebp
mov edx, dword [0x776370]
lea ebp, [eax + ecx*8 - 8]
test edx, edx
jne 0x58e4bd
mov edx, dword [esp + 0x70]
jmp 0x58e4ce
call sym.runtime.gcWriteBarrier2
mov edx, dword [esp + 0x70]
mov dword [edi], edx
mov esi, dword [ebp]
mov dword [edi + 4], esi
mov dword [ebp], edx
mov edx, dword [0x736dc4]
movzx edx, byte [edx]
test dl, dl
je 0x58e623
mov dword [esp + 0x6c], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ebx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
lea edx, str._:C2
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 1
call sym.strings.Join
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x5c2b80]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
mov eax, dword [0x736e5c]
lea edx, [0x634b54]
mov dword [esp], edx
mov dword [esp + 4], eax
lea eax, [0x5eefce]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0xb
lea eax, [esp + 0x7c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 1
call sym.fmt.Fprintf
mov eax, dword [0x736e5c]
mov dword [esp], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x90]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x94]
mov dword [esp + 0xc], edx
call sym.os._File_.Write
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea eax, [0x5c2b80]
mov dword [esp + 0x7c], eax
lea eax, [0x634320]
mov dword [esp + 0x80], eax
mov eax, dword [0x736e5c]
lea ecx, [0x634b54]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [esp + 0x7c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call sym.fmt.Fprint
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
mov edx, dword [esp + 0x8c]
mov dword [esp], edx
mov edx, dword [esp + 0x90]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x94]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebx
call sym.main.run
mov eax, dword [0x736dc4]
movzx eax, byte [eax]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
test al, al
je 0x58e6cd
mov dword [esp + 0x38], edx
mov dword [esp + 0x68], ecx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x3c], ebx
mov ebp, dword [0x736e5c]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call sym.os._File_.Write
mov eax, dword [0x736e5c]
mov dword [esp], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x38]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0xc], edx
call sym.os._File_.Write
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x38]
mov dword [esp], 0
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call sym.runtime.slicebytetostring
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], ecx
add esp, 0x84
ret
mov eax, edx
mov ecx, esi
call sym.runtime.panicIndex
nop
call sym.runtime.morestack_noctxt
jmp sym.main._Package_.gccErrors