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

Disassembly:
mov ecx, dword [0x621238]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x34]
cmp eax, dword [ecx + 8]
jbe 0x4ec287
sub esp, 0xb4
lea eax, [0x51e90d]
mov dword [esp], eax
mov dword [esp + 4], 7
call sym.os.Getenv
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4eba2f
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, [0x51e25b]
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 0x4ec193
lea edi, [esp + 0x94]
xor eax, eax
call fcn.004669b8
lea ecx, [0x51e472]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], 4
lea ecx, [0x51e476]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], 4
lea ecx, [0x51e47a]
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], 4
lea ecx, [0x51e47e]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], 4
mov eax, 4
mov ecx, 4
lea edx, [esp + 0x94]
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x58], edx
mov ebx, dword [esp + 0xb8]
mov dword [esp], ebx
mov ebp, dword [esp + 0xbc]
mov dword [esp + 4], ebp
lea esi, [0x51e2fa]
mov dword [esp + 8], esi
mov dword [esp + 0xc], 3
call sym.strings.IndexAny
mov eax, dword [esp + 0x10]
test eax, eax
jge 0x4ebd10
lea eax, [0x5275b5]
mov dword [esp], eax
mov dword [esp + 4], 0x22
call sym.syscall.Getenv
movzx eax, byte [esp + 0x10]
test al, al
je 0x4ebb1e
xor eax, eax
xor ecx, ecx
xor edx, edx
xor ebx, ebx
jmp 0x4ebcbf
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
lea eax, [0x54c4fc]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], 1
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x8c], eax
mov ecx, dword [esp + 0xbc]
mov dword [esp + 0x90], 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 0x4ebbde
xor eax, eax
xor ecx, ecx
xor edx, edx
xor ebx, ebx
jmp 0x4ebcbf
mov eax, dword [0x5f44b4]
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 0x4ebc4d
mov eax, dword [esp + 4]
cmp byte [eax], 0x30
jne 0x4ebc4d
mov eax, dword [0x5f44b4]
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, [0x50a200]
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 [0x6213a0]
test edx, edx
jne 0x4ebc7c
mov edx, dword [esp + 0xb8]
jmp 0x4ebc8a
call sym.runtime.gcWriteBarrier1
mov edx, dword [esp + 0xb8]
mov dword [edi], edx
mov dword [eax], edx
mov ebx, dword [0x5f47a0]
mov ebp, dword [0x5f47a4]
mov dword [eax + 8], ebx
mov ebx, dword [0x6213a0]
test ebx, ebx
je 0x4ebcac
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, [0x54d8dc]
mov dword [esp + 0x44], eax
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x40], edx
lea ebp, [0x51e482]
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 0x4ebe35
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 0x4ebdf3
mov dword [esp + 0x70], edx
mov dword [esp + 0x5c], ecx
lea eax, [0x50a200]
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 [0x6213a0]
test ecx, ecx
jne 0x4ebd8d
mov ecx, dword [esp + 0xb8]
jmp 0x4ebd9b
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 [0x6213a0]
test ecx, ecx
jne 0x4ebdb4
mov ecx, dword [esp + 0x5c]
jmp 0x4ebdbf
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, [0x54d8dc]
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 0x4ec0c0
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 + 0x74], ebx
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0xb8]
mov dword [esp + 0x7c], ecx
mov ebx, dword [esp + 0xbc]
mov dword [esp + 0x80], 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 0x4ebe26
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 0x4ebf7e
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 0x4ec08d
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4ec08d
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 0x4ec08d
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 0x4ec05a
mov eax, dword [0x5f44b4]
mov dword [esp], eax
call sym.internal_godebug._Setting_.Value
cmp dword [esp + 8], 1
jne 0x4ebfb9
mov eax, dword [esp + 4]
cmp byte [eax], 0x30
je 0x4ec04c
lea eax, [0x50a200]
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 [0x6213a0]
test ecx, ecx
jne 0x4ebfe8
mov ecx, dword [esp + 0xb8]
jmp 0x4ebff6
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0xb8]
mov dword [edi], ecx
mov dword [eax], ecx
mov ecx, dword [0x5f47a0]
mov edx, dword [0x5f47a4]
mov dword [eax + 8], ecx
mov ecx, dword [0x6213a0]
test ecx, ecx
je 0x4ec018
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, [0x54d8dc]
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], eax
add esp, 0xb4
ret
mov eax, dword [0x5f44b4]
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 0x4ec15f
lea eax, [0x50a200]
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 [0x6213a0]
test ecx, ecx
jne 0x4ec0fb
mov ecx, dword [esp + 0xb8]
jmp 0x4ec109
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0xb8]
mov dword [edi], ecx
mov dword [eax], ecx
mov ecx, dword [0x5f47a8]
mov edx, dword [0x5f47ac]
mov dword [eax + 8], ecx
mov ecx, dword [0x6213a0]
test ecx, ecx
je 0x4ec12b
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, [0x54d8dc]
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 0x4ec27c
lea edi, [eax + edx*8]
mov eax, dword [edi + 4]
test eax, eax
je 0x4ec18e
mov dword [esp + 0x48], edx
mov edi, dword [edi]
cmp byte [edi], 0x2e
je 0x4ec1fe
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], esi
mov dword [esp + 0x58], ebp
mov dword [esp], 0
lea ecx, [0x54c4fc]
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 0x4ec249
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, [0x503480]
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 [0x6213a0]
lea ecx, [ebp + esi*8 - 8]
test eax, eax
je 0x4ec271
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 0x4ec18e
mov eax, ebx
mov ecx, esi
mov edx, ebp
jmp 0x4ebaae
call sym.runtime.morestack_noctxt
jmp sym.os_exec.LookPath