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

Disassembly:
mov ecx, dword [0x776294]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x38]
cmp eax, dword [ecx + 8]
jbe 0x5a9ac5
sub esp, 0xb8
mov eax, 0
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov byte [esp + 0x22], 0
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], 0
mov byte [esp + 0xec], 0
mov edx, dword [esp + 0xc8]
mov ebx, dword [esp + 0xcc]
xor eax, eax
jmp 0x5a9153
inc eax
cmp ebx, eax
jle 0x5a91b0
lea ebp, [edx + eax*8]
mov esi, dword [ebp + 4]
cmp esi, 3
jne 0x5a9152
mov dword [esp + 0x2c], eax
mov eax, dword [ebp]
mov dword [esp], eax
lea eax, [0x5ece13]
mov dword [esp + 4], eax
mov dword [esp + 8], esi
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5a919c
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0xc8]
mov ebx, dword [esp + 0xcc]
jmp 0x5a9152
mov edx, dword [esp + 0xc8]
mov ebx, dword [esp + 0xcc]
mov eax, dword [esp + 0x2c]
jmp 0x5a91b5
mov eax, 0xffffffff
test eax, eax
jl 0x5a96e5
lea ebp, [ebx - 1]
cmp ebx, ebp
jbe 0x5a9aaf
lea esi, [edx + ebx*8 - 8]
cmp dword [esi + 4], 1
jne 0x5a96c1
mov esi, dword [esi]
cmp byte [esi], 0x2d
je 0x5a9204
mov eax, ebx
mov ebp, edx
mov ebx, dword [esp + 0xd0]
mov ecx, dword [esp + 0xbc]
mov edx, dword [esp + 0xc4]
mov esi, dword [esp + 0xc0]
xor edi, edi
jmp 0x5a9707
mov dword [esp + 0x2c], eax
mov dword [esp + 0x4c], ebp
mov dword [esp], 0
mov dword [esp + 4], 0
lea eax, [0x5f0224]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0xe
call sym.os.CreateTemp
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
test eax, eax
je 0x5a92a4
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
je 0x5a9261
mov eax, dword [eax + 4]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], edx
lea eax, [0x5eccf0]
mov dword [esp], eax
mov dword [esp + 4], 2
lea ecx, [esp + 0x94]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call sym.main.fatalf
mov ecx, dword [esp + 0x5c]
mov eax, dword [ecx]
nop
nop
mov edx, dword [eax + 0x134]
mov dword [esp + 0x50], edx
mov ebx, dword [eax + 0x138]
mov dword [esp + 0x24], ebx
test ecx, ecx
je 0x5a92d0
mov dword [esp], eax
call sym.os._file_.close
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x24]
mov dword [esp], 0
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
lea eax, [0x5ecd0a]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
call sym.runtime.concatstring2
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0xbc]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0x1b6
call sym.os.WriteFile
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
test eax, eax
je 0x5a93c3
mov dword [esp + 0x64], ecx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 4], ecx
call sym.os.Remove
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x5a9380
mov eax, dword [eax + 4]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x98], eax
lea eax, [0x5eccf0]
mov dword [esp], eax
mov dword [esp + 4], 2
lea eax, [esp + 0x94]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call sym.main.fatalf
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea eax, [sym.main.run.deferwrap1]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x7c], ecx
lea edx, [esp + 0x78]
mov dword [esp + 0xb0], edx
mov byte [esp + 0x22], 1
mov dword [esp], 0
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
lea edx, [0x5ecd0a]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 2
call sym.runtime.concatstring2
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
lea edx, [sym.main.run.deferwrap2]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x70], eax
lea eax, [esp + 0x6c]
mov dword [esp + 0xb4], eax
mov byte [esp + 0x22], 3
mov ebx, dword [esp + 0xd0]
mov edx, dword [esp + 0x2c]
cmp ebx, edx
jb 0x5a9aaa
lea eax, [edx + 1]
mov ecx, dword [esp + 0x4c]
cmp eax, ecx
ja 0x5a9aa5
mov ecx, dword [esp + 0xcc]
lea ebp, [ecx - 2]
mov esi, ecx
sub ecx, edx
sub ebx, edx
dec ebx
neg ebx
shl eax, 3
sar ebx, 0x1f
and eax, ebx
mov ebx, dword [esp + 0xc8]
add eax, ebx
lea edi, [ecx - 2]
mov dword [esp + 0x4c], edi
cmp edx, ebp
jae 0x5a9513
mov dword [esp + 0x48], ecx
mov dword [esp + 0xa4], eax
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], edi
lea eax, [0x5c2b40]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0xcc]
mov edi, dword [esp + 0x4c]
mov edx, ecx
mov ebx, eax
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x34], edx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x58], ebx
lea edi, [0x5c2b40]
mov dword [esp], edi
sub esi, ecx
sub ebp, esi
sub edx, esi
neg edx
shl esi, 3
sar edx, 0x1f
and esi, edx
lea edx, [ebx + esi]
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x10], eax
call sym.runtime.typedslicecopy
mov eax, dword [esp + 0x30]
add eax, 2
mov ecx, dword [esp + 0x34]
cmp ecx, eax
jb 0x5a956b
mov ebx, dword [esp + 0x58]
mov edx, ecx
jmp 0x5a959d
mov edx, dword [esp + 0x58]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 2
lea eax, [0x5c2b40]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
lea ecx, [ebx + eax*8 - 0xc]
mov dword [ecx], 2
mov ecx, dword [0x776350]
lea ebp, [ebx + eax*8 - 0x10]
lea esi, [ebx + eax*8 - 8]
lea edi, [ebx + eax*8 - 4]
test ecx, ecx
je 0x5a95e6
mov dword [esp + 0xa0], edi
mov ecx, dword [ebp]
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov ecx, dword [esi]
mov dword [edi + 4], ecx
mov edi, dword [esp + 0xa0]
lea eax, [0x5ecd0c]
mov dword [ebp], eax
mov dword [edi], 1
lea eax, [0x5ecc82]
mov dword [esi], eax
mov dword [esp], 0
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 8], eax
lea eax, [0x5ecd0a]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
call sym.runtime.concatstring2
mov eax, dword [esp + 0x30]
inc eax
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x34]
cmp ebx, eax
jb 0x5a9646
mov ebp, dword [esp + 0x58]
jmp 0x5a9692
mov dword [esp + 0x4c], edx
mov dword [esp + 0x9c], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x5c2b40]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x9c]
mov ebp, ebx
mov ebx, edx
mov edx, dword [esp + 0x4c]
lea esi, [ebp + eax*8 - 4]
mov dword [esi], edx
mov edx, dword [0x776350]
lea esi, [ebp + eax*8 - 8]
test edx, edx
je 0x5a96b2
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov edx, dword [esi]
mov dword [edi + 4], edx
mov dword [esi], ecx
xor ecx, ecx
xor edx, edx
xor esi, esi
mov edi, 3
jmp 0x5a9707
mov eax, ebx
mov ebp, edx
mov ebx, dword [esp + 0xd0]
mov ecx, dword [esp + 0xbc]
mov edx, dword [esp + 0xc4]
mov esi, dword [esp + 0xc0]
xor edi, edi
jmp 0x5a9707
mov eax, ebx
mov ebp, edx
mov ebx, dword [esp + 0xd0]
mov ecx, dword [esp + 0xbc]
mov edx, dword [esp + 0xc4]
mov esi, dword [esp + 0xc0]
xor edi, edi
cmp eax, 1
jb 0x5a9a99
mov dword [esp + 0xa4], ebp
xchg edi, eax
mov byte [esp + 0x23], al
xchg edi, eax
mov dword [esp + 0x44], edx
mov dword [esp + 0x40], esi
mov dword [esp + 0x68], ecx
mov ecx, dword [ebp]
mov edx, dword [ebp + 4]
mov dword [esp], ecx
mov dword [esp + 4], edx
lea ecx, [ebx - 1]
dec eax
mov edx, ecx
neg ecx
sar ecx, 0x1f
and ecx, 8
add ecx, ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
call sym.os_exec.Command
mov eax, dword [esp + 0x14]
mov dword [esp + 0x54], eax
lea ecx, [0x5d2a60]
mov dword [esp], ecx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x40]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 8], ecx
mov ecx, dword [0x776350]
test ecx, ecx
jne 0x5a978f
mov ecx, dword [esp + 0x68]
jmp 0x5a979a
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x68]
mov dword [edi], ecx
mov dword [eax], ecx
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xffffffff
lea ecx, [0x634a18]
mov edx, dword [esp + 0x54]
mov dword [edx + 0x28], ecx
mov ecx, dword [0x776350]
test ecx, ecx
je 0x5a97d5
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov ecx, dword [edx + 0x2c]
mov dword [edi + 4], ecx
mov dword [edx + 0x2c], eax
lea eax, [0x5d29e0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0xa8], eax
lea ecx, [0x5d29e0]
mov dword [esp], ecx
call sym.runtime.newobject
mov eax, dword [esp + 4]
lea ecx, [0x634a2c]
mov edx, dword [esp + 0x54]
mov dword [edx + 0x30], ecx
mov ebx, dword [0x776350]
test ebx, ebx
jne 0x5a9823
mov ebx, dword [esp + 0xa8]
jmp 0x5a9840
call sym.runtime.gcWriteBarrier4
mov ebx, dword [esp + 0xa8]
mov dword [edi], ebx
mov ebp, dword [edx + 0x34]
mov dword [edi + 4], ebp
mov dword [edi + 8], eax
mov ebp, dword [edx + 0x3c]
mov dword [edi + 0xc], ebp
mov dword [esp + 0xac], eax
mov dword [edx + 0x34], ebx
mov dword [edx + 0x38], ecx
mov dword [edx + 0x3c], eax
call sym.syscall.Environ
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
inc ecx
mov edx, dword [esp]
cmp eax, ecx
jae 0x5a988c
mov dword [esp + 4], ecx
mov dword [esp + 0xc], 1
lea eax, [0x5c2b40]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
lea ebx, [edx + ecx*8 - 4]
mov dword [ebx], 9
mov ebx, dword [0x776350]
lea ebp, [edx + ecx*8 - 8]
test ebx, ebx
jne 0x5a98aa
mov ebx, dword [esp + 0x54]
jmp 0x5a98c1
mov ebx, dword [ebp]
call sym.runtime.gcWriteBarrier3
mov dword [edi], ebx
mov dword [edi + 4], edx
mov ebx, dword [esp + 0x54]
mov esi, dword [ebx + 0x14]
mov dword [edi + 8], esi
lea esi, [0x5ee396]
mov dword [ebp], esi
mov dword [ebx + 0x18], ecx
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x14], edx
mov dword [esp], ebx
call sym.os_exec._Cmd_.Run
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
test eax, eax
je 0x5a99ab
lea ebx, [0x634a40]
cmp eax, ebx
je 0x5a99ab
mov dword [esp + 0x38], eax
mov dword [esp + 0x60], ecx
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x5c2b40]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x38]
test eax, eax
je 0x5a9968
mov eax, dword [eax + 4]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x90], eax
lea eax, [0x5eefab]
mov dword [esp], eax
mov dword [esp + 4], 0xb
lea eax, [esp + 0x84]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call sym.main.fatalf
mov ebx, dword [esp + 0x54]
mov ebx, dword [ebx + 0x54]
mov ebx, dword [ebx + 4]
nop
test ebx, ebx
sete bl
mov byte [esp + 0xec], bl
mov ebx, dword [esp + 0xa8]
mov ecx, dword [ebx + 4]
mov eax, dword [ebx + 0xc]
cmp eax, ecx
ja 0x5a9a94
mov ebp, dword [ebx]
mov ebx, dword [ebx + 8]
sub ebx, eax
mov dword [esp + 0x28], ebx
neg ebx
sar ebx, 0x1f
and ebx, eax
mov edi, dword [esp + 0xac]
mov edx, dword [edi + 4]
mov esi, dword [edi + 0xc]
sub ecx, eax
add ebx, ebp
cmp edx, esi
jb 0x5a9a8b
mov eax, dword [edi]
mov ebp, dword [edi + 8]
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xd8], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0xdc], ecx
sub ebp, esi
sub edx, esi
mov ecx, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, esi
add eax, ebp
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], edx
mov dword [esp + 0xe8], ecx
movzx eax, byte [esp + 0x23]
test al, 2
je 0x5a9a6d
and eax, 0xfffffffd
mov byte [esp + 0x23], al
mov byte [esp + 0x22], al
mov edx, dword [esp + 0xb4]
mov ecx, dword [edx]
call ecx
movzx eax, byte [esp + 0x23]
test al, 1
je 0x5a9a84
and eax, 0xfffffffe
mov byte [esp + 0x22], al
mov edx, dword [esp + 0xb0]
mov eax, dword [edx]
call eax
add esp, 0xb8
ret
mov eax, esi
mov ecx, edx
call sym.runtime.panicSliceB
call sym.runtime.panicSliceB
mov eax, 1
xor ecx, ecx
call sym.runtime.panicSliceB
call sym.runtime.panicSliceB
call sym.runtime.panicSlice3Acap
mov eax, ebp
mov ecx, ebx
call sym.runtime.panicIndex
nop
call sym.runtime.deferreturn
add esp, 0xb8
ret
call sym.runtime.morestack_noctxt
jmp sym.main.run