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

Disassembly:
mov ecx, dword [0x776294]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 4]
cmp eax, dword [ecx + 8]
jbe 0x58e288
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, [0x5c2b40]
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 0x58de00
inc ebp
mov edx, dword [esp + 0x74]
mov dword [esp + 0x40], esi
cmp ebp, ecx
jge 0x58df05
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 0x58de35
mov dword [esp + 0x54], eax
xor eax, eax
mov byte [esp + 0x37], al
mov eax, dword [esp + 0x54]
jmp 0x58de7c
mov dword [esp + 0x6c], eax
mov dword [esp + 0x60], ebx
mov dword [esp], edi
lea eax, [0x5ecce8]
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 0x58ddfb
inc esi
cmp ebx, esi
jae 0x58deca
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x5c2b40]
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 [0x776350]
lea edi, [eax + esi*8 - 8]
test edx, edx
je 0x58defa
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 0x58ddfb
lea edx, [esi - 1]
cmp esi, edx
jbe 0x58e27e
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 [0x776350]
mov ebp, dword [esp + 0x9c]
lea edi, [ebp + esi]
test edx, edx
je 0x58df51
mov dword [esp + 0x5c], edi
mov edx, dword [ecx]
call sym.runtime.gcWriteBarrier1
mov dword [edi], edx
mov edi, dword [esp + 0x5c]
lea edx, [0x5ece19]
mov dword [ecx], edx
cmp ebx, edi
jae 0x58df92
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
lea eax, [0x5c2b40]
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, [0x5c2b40]
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 0x58dfed
mov ecx, eax
mov eax, dword [esp + 0x6c]
mov ebx, dword [esp + 0x44]
jmp 0x58e01f
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, [0x5c2b40]
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 [0x776350]
lea ebp, [eax + ecx*8 - 8]
test edx, edx
jne 0x58e03d
mov edx, dword [esp + 0x70]
jmp 0x58e04e
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 [0x736da4]
movzx edx, byte [edx]
test dl, dl
je 0x58e1a3
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, [0x6340d0]
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, [0x5c2b40]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
mov eax, dword [0x736e3c]
lea edx, [0x634a04]
mov dword [esp], edx
mov dword [esp + 4], eax
lea eax, [0x5eef27]
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 [0x736e3c]
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, [0x5c2b40]
mov dword [esp + 0x7c], eax
lea eax, [0x6341cc]
mov dword [esp + 0x80], eax
mov eax, dword [0x736e3c]
lea ecx, [0x634a04]
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 [0x736da4]
movzx eax, byte [eax]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
test al, al
je 0x58e24d
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 [0x736e3c]
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 [0x736e3c]
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