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

Disassembly:
mov ecx, dword [0x5fc28c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x34]
cmp eax, dword [ecx + 8]
jbe 0x4e16e7
sub esp, 0xb4
lea eax, [0x50b2ab]
mov dword [esp], eax
mov dword [esp + 4], 7
call sym.os.Getenv
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4e0e8f
mov ecx, dword [esp + 8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.strings.ToLower
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x50ac7c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0xffffffff
call sym.strings.genSplit
mov eax, dword [esp + 0x18]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x28], ecx
xor edx, edx
xor ebx, ebx
xor ebp, ebp
xor esi, esi
jmp 0x4e15f3
lea edi, [esp + 0x94]
xor eax, eax
call fcn.00469a38
mov dword [esp + 0x98], 4
lea ecx, [0x50ae56]
mov dword [esp + 0x94], ecx
mov dword [esp + 0xa0], 4
lea ecx, [0x50ae5a]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa8], 4
lea ecx, [0x50ae5e]
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xb0], 4
lea ecx, [0x50ae62]
mov dword [esp + 0xac], ecx
mov eax, 4
mov ecx, 4
lea edx, [esp + 0x94]
mov dword [esp + 0x30], eax
mov dword [esp + 0x58], edx
mov dword [esp + 0x34], ecx
mov ebx, dword [esp + 0xb8]
mov dword [esp], ebx
mov ebp, dword [esp + 0xbc]
mov dword [esp + 4], ebp
lea esi, [0x50acf2]
mov dword [esp + 8], esi
mov dword [esp + 0xc], 3
call sym.strings.IndexAny
mov eax, dword [esp + 0x10]
test eax, eax
jge 0x4e1170
lea eax, [0x51270e]
mov dword [esp], eax
mov dword [esp + 4], 0x22
call sym.syscall.Getenv
movzx eax, byte [esp + 0x10]
test al, al
je 0x4e0f7e
xor eax, eax
xor ecx, ecx
xor edx, edx
xor ebx, ebx
jmp 0x4e111f
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x88], 1
lea eax, [0x535454]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x90], eax
mov ecx, dword [esp + 0xb8]
mov dword [esp + 0x8c], ecx
lea edx, [esp + 0x84]
mov dword [esp], edx
mov dword [esp + 4], 2
mov dword [esp + 8], 2
call sym.path_filepath.join
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x58]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x10], edx
call sym.os_exec.findExecutable
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4e103e
xor eax, eax
xor ecx, ecx
xor edx, edx
xor ebx, ebx
jmp 0x4e111f
mov eax, dword [0x5d3194]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x68], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x40], edx
mov dword [esp], eax
call sym.internal_godebug._Setting_.Value
cmp dword [esp + 8], 1
jne 0x4e10ad
mov eax, dword [esp + 4]
cmp byte [eax], 0x30
jne 0x4e10ad
mov eax, dword [0x5d3194]
mov dword [esp], eax
call sym.internal_godebug._Setting_.IncNonDefault
mov eax, dword [esp + 0x68]
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
add esp, 0xb4
ret
lea eax, [0x4f76e0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xbc]
mov dword [eax + 4], ecx
mov edx, dword [0x5fc3f0]
test edx, edx
jne 0x4e10dc
mov edx, dword [esp + 0xb8]
jmp 0x4e10ea
call sym.runtime.gcWriteBarrier1
mov edx, dword [esp + 0xb8]
mov dword [edi], edx
mov dword [eax], edx
mov ebx, dword [0x5d33c8]
mov ebp, dword [0x5d33cc]
mov dword [eax + 8], ebx
mov ebx, dword [0x5fc3f0]
test ebx, ebx
je 0x4e110c
call sym.runtime.gcWriteBarrier1
mov dword [edi], ebp
mov dword [eax + 0xc], ebp
mov ecx, eax
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x68]
lea eax, [0x536480]
mov dword [esp + 0x68], ebx
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x6c], ecx
lea ebp, [0x50ae66]
mov dword [esp], ebp
mov dword [esp + 4], 4
call sym.os.Getenv
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.path_filepath.splitList
mov eax, dword [esp + 8]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x24], ecx
xor edx, edx
jmp 0x4e1295
mov eax, dword [esp + 0xb8]
mov dword [esp], eax
mov ecx, dword [esp + 0xbc]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x58]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x10], edx
call sym.os_exec.findExecutable
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
test eax, eax
je 0x4e1253
mov dword [esp + 0x70], edx
mov dword [esp + 0x5c], ecx
lea eax, [0x4f76e0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xbc]
mov dword [eax + 4], ecx
mov ecx, dword [0x5fc3f0]
test ecx, ecx
jne 0x4e11ed
mov ecx, dword [esp + 0xb8]
jmp 0x4e11fb
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0xb8]
mov dword [edi], ecx
mov dword [eax], ecx
mov ecx, dword [esp + 0x70]
mov dword [eax + 8], ecx
mov ecx, dword [0x5fc3f0]
test ecx, ecx
jne 0x4e1214
mov ecx, dword [esp + 0x5c]
jmp 0x4e121f
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x5c]
mov dword [edi], ecx
mov dword [eax + 0xc], ecx
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
lea ecx, [0x536480]
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], eax
add esp, 0xb4
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
add esp, 0xb4
ret
mov ebx, dword [esp + 0x48]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x24]
cmp edx, ecx
jge 0x4e1520
mov dword [esp + 0x48], edx
lea ecx, [eax + edx*8]
mov ebx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x78], ecx
mov dword [esp + 0x74], ebx
mov ecx, dword [esp + 0xbc]
mov dword [esp + 0x80], ecx
mov ebx, dword [esp + 0xb8]
mov dword [esp + 0x7c], ebx
lea ebp, [esp + 0x74]
mov dword [esp], ebp
mov dword [esp + 4], 2
mov dword [esp + 8], 2
call sym.path_filepath.join
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x58]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x10], edx
call sym.os_exec.findExecutable
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x4e1286
mov eax, dword [esp + 0x14]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x44]
test edx, edx
je 0x4e13de
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], ecx
call sym.os.Lstat
mov eax, dword [esp + 0x10]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x70], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x64], edx
mov ebx, dword [esp + 0x54]
mov dword [esp], ebx
mov ebp, dword [esp + 0x2c]
mov dword [esp + 4], ebp
call sym.os.Lstat
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x4e14ed
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4e14ed
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
call sym.os.SameFile
movzx eax, byte [esp + 0x10]
test al, al
je 0x4e14ed
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.path_filepath.IsAbs
movzx eax, byte [esp + 8]
test al, al
jne 0x4e14ba
mov eax, dword [0x5d3194]
mov dword [esp], eax
call sym.internal_godebug._Setting_.Value
cmp dword [esp + 8], 1
jne 0x4e1419
mov eax, dword [esp + 4]
cmp byte [eax], 0x30
je 0x4e14ac
lea eax, [0x4f76e0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xbc]
mov dword [eax + 4], ecx
mov ecx, dword [0x5fc3f0]
test ecx, ecx
jne 0x4e1448
mov ecx, dword [esp + 0xb8]
jmp 0x4e1456
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0xb8]
mov dword [edi], ecx
mov dword [eax], ecx
mov ecx, dword [0x5d33c8]
mov edx, dword [0x5d33cc]
mov dword [eax + 8], ecx
mov ecx, dword [0x5fc3f0]
test ecx, ecx
je 0x4e1478
call sym.runtime.gcWriteBarrier1
mov dword [edi], edx
mov dword [eax + 0xc], edx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0xc0], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xc4], ecx
lea ecx, [0x536480]
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], eax
add esp, 0xb4
ret
mov eax, dword [0x5d3194]
mov dword [esp], eax
call sym.internal_godebug._Setting_.IncNonDefault
mov eax, dword [esp + 0x54]
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
add esp, 0xb4
ret
mov eax, dword [esp + 0x68]
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xcc], eax
add esp, 0xb4
ret
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x4e15bf
lea eax, [0x4f76e0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xbc]
mov dword [eax + 4], ecx
mov ecx, dword [0x5fc3f0]
test ecx, ecx
jne 0x4e155b
mov ecx, dword [esp + 0xb8]
jmp 0x4e1569
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0xb8]
mov dword [edi], ecx
mov dword [eax], ecx
mov ecx, dword [0x5d33d0]
mov edx, dword [0x5d33d4]
mov dword [eax + 8], ecx
mov ecx, dword [0x5fc3f0]
test ecx, ecx
je 0x4e158b
call sym.runtime.gcWriteBarrier1
mov dword [edi], edx
mov dword [eax + 0xc], edx
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
lea ecx, [0x536480]
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], eax
add esp, 0xb4
ret
mov ecx, dword [esp + 0x68]
mov dword [esp + 0xc0], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xcc], eax
add esp, 0xb4
ret
inc edx
mov eax, dword [esp + 0x50]
cmp edx, ecx
jge 0x4e16dc
lea edi, [eax + edx*8]
mov eax, dword [edi + 4]
test eax, eax
je 0x4e15ee
mov dword [esp + 0x48], edx
mov edi, dword [edi]
cmp byte [edi], 0x2e
je 0x4e165e
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], esi
mov dword [esp + 0x58], ebp
mov dword [esp], 0
lea ecx, [0x535454]
mov dword [esp + 4], ecx
mov dword [esp + 8], 1
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], eax
call sym.runtime.concatstring2
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x58]
mov esi, dword [esp + 0x30]
inc esi
cmp ebx, esi
jae 0x4e16a9
mov dword [esp + 0x38], eax
mov dword [esp + 0x60], edi
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x4f0e20]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x60]
lea ecx, [ebp + esi*8 - 4]
mov dword [ecx], eax
mov eax, dword [0x5fc3f0]
lea ecx, [ebp + esi*8 - 8]
test eax, eax
je 0x4e16d1
mov eax, edi
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov edx, dword [ecx]
mov dword [edi + 4], edx
mov edx, dword [esp + 0x48]
mov edi, eax
mov dword [ecx], edi
mov ecx, dword [esp + 0x28]
jmp 0x4e15ee
mov eax, esi
mov ecx, ebx
mov edx, ebp
jmp 0x4e0f0e
call sym.runtime.morestack_noctxt
jmp sym.os_exec.LookPath