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

Disassembly:
mov ecx, dword [0x7b1178]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x38]
cmp eax, dword [ecx + 8]
jbe 0x5d2452
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 0x5d1b13
inc eax
cmp ebx, eax
jle 0x5d1b70
lea ebp, [edx + eax*8]
mov esi, dword [ebp + 4]
cmp esi, 3
jne 0x5d1b12
mov dword [esp + 0x2c], eax
mov eax, dword [ebp]
mov dword [esp], eax
lea eax, [0x61d74e]
mov dword [esp + 4], eax
mov dword [esp + 8], esi
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5d1b5c
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0xc8]
mov ebx, dword [esp + 0xcc]
jmp 0x5d1b12
mov edx, dword [esp + 0xc8]
mov ebx, dword [esp + 0xcc]
mov eax, dword [esp + 0x2c]
jmp 0x5d1b75
mov eax, 0xffffffff
test eax, eax
jl 0x5d2072
lea ebp, [ebx - 1]
cmp ebx, ebp
jbe 0x5d243c
lea esi, [edx + ebx*8 - 8]
cmp dword [esi + 4], 1
jne 0x5d204e
mov esi, dword [esi]
cmp byte [esi], 0x2d
je 0x5d1bc4
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 0x5d2094
mov dword [esp + 0x2c], eax
mov dword [esp + 0x4c], ebp
mov dword [esp], 0
mov dword [esp + 4], 0
lea eax, [0x6210d7]
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 0x5d1c64
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
je 0x5d1c21
mov eax, dword [eax + 4]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], edx
lea eax, [0x61d62b]
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 + 0x12c]
mov dword [esp + 0x50], edx
mov ebx, dword [eax + 0x130]
mov dword [esp + 0x24], ebx
test ecx, ecx
je 0x5d1c90
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, [0x61d649]
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 0x5d1d83
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 0x5d1d40
mov eax, dword [eax + 4]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x98], eax
lea eax, [0x61d62b]
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
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, [0x61d649]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 2
call sym.runtime.concatstring2
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
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 0x5d2437
lea eax, [edx + 1]
mov ecx, dword [esp + 0x4c]
cmp eax, ecx
ja 0x5d2432
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 0x5d1ea0
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, [0x5ed6a0]
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, [0x5ed6a0]
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 0x5d1ef8
mov ebx, dword [esp + 0x58]
mov edx, ecx
jmp 0x5d1f2a
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, [0x5ed6a0]
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 [0x7b12d0]
lea ebp, [ebx + eax*8 - 0x10]
lea esi, [ebx + eax*8 - 8]
lea edi, [ebx + eax*8 - 4]
test ecx, ecx
je 0x5d1f73
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, [0x61d64b]
mov dword [ebp], eax
mov dword [edi], 1
lea eax, [0x66c340]
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, [0x61d649]
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 0x5d1fd3
mov ebp, dword [esp + 0x58]
jmp 0x5d201f
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, [0x5ed6a0]
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 [0x7b12d0]
lea esi, [ebp + eax*8 - 8]
test edx, edx
je 0x5d203f
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 0x5d2094
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 0x5d2094
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 0x5d2426
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, [0x5ff960]
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 [0x7b12d0]
test ecx, ecx
jne 0x5d211c
mov ecx, dword [esp + 0x68]
jmp 0x5d2127
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, [0x66e0e4]
mov edx, dword [esp + 0x54]
mov dword [edx + 0x28], ecx
mov ecx, dword [0x7b12d0]
test ecx, ecx
je 0x5d2162
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, [0x5ff8e0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0xa8], eax
lea ecx, [0x5ff8e0]
mov dword [esp], ecx
call sym.runtime.newobject
mov eax, dword [esp + 4]
lea ecx, [0x66e0f4]
mov edx, dword [esp + 0x54]
mov dword [edx + 0x30], ecx
mov ebx, dword [0x7b12d0]
test ebx, ebx
jne 0x5d21b0
mov ebx, dword [esp + 0xa8]
jmp 0x5d21cd
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 0x5d2219
mov dword [esp + 4], ecx
mov dword [esp + 0xc], 1
lea eax, [0x5ed6a0]
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 [0x7b12d0]
lea ebp, [edx + ecx*8 - 8]
test ebx, ebx
jne 0x5d2237
mov ebx, dword [esp + 0x54]
jmp 0x5d224e
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, [0x61ee95]
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 0x5d2338
lea ebx, [0x66e104]
cmp eax, ebx
je 0x5d2338
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, [0x5ed6a0]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x38]
test eax, eax
je 0x5d22f5
mov eax, dword [eax + 4]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x90], eax
lea eax, [0x61fbcf]
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 0x5d2421
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 0x5d2418
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 0x5d23fa
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 0x5d2411
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