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

Disassembly:
mov ecx, dword [0x5d53a4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x34]
cmp eax, dword [ecx + 8]
jbe 0x4bd7b7
sub esp, 0xb4
lea eax, [0x4f0743]
mov dword [esp], eax
mov dword [esp + 4], 7
call sym.os.Getenv
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4bcf5f
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, [0x4f019d]
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 0x4bd6c3
lea edi, [esp + 0x94]
xor eax, eax
call fcn.00466458
mov dword [esp + 0x98], 4
lea ecx, [0x4f033b]
mov dword [esp + 0x94], ecx
mov dword [esp + 0xa0], 4
lea ecx, [0x4f033f]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa8], 4
lea ecx, [0x4f0343]
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xb0], 4
lea ecx, [0x4f0347]
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, [0x4f0200]
mov dword [esp + 8], esi
mov dword [esp + 0xc], 3
call sym.strings.IndexAny
mov eax, dword [esp + 0x10]
test eax, eax
jge 0x4bd240
lea eax, [0x4f787c]
mov dword [esp], eax
mov dword [esp + 4], 0x22
call sym.syscall.Getenv
movzx eax, byte [esp + 0x10]
test al, al
je 0x4bd04e
xor eax, eax
xor ecx, ecx
xor edx, edx
xor ebx, ebx
jmp 0x4bd1ef
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, [0x4f0199]
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 0x4bd10e
xor eax, eax
xor ecx, ecx
xor edx, edx
xor ebx, ebx
jmp 0x4bd1ef
mov eax, dword [0x5ac34c]
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 0x4bd17d
mov eax, dword [esp + 4]
cmp byte [eax], 0x30
jne 0x4bd17d
mov eax, dword [0x5ac34c]
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, [0x4e0a20]
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 [0x5d54a0]
test edx, edx
jne 0x4bd1ac
mov edx, dword [esp + 0xb8]
jmp 0x4bd1ba
call sym.runtime.gcWriteBarrier1
mov edx, dword [esp + 0xb8]
mov dword [edi], edx
mov dword [eax], edx
mov ebx, dword [0x5ac4e8]
mov ebp, dword [0x5ac4ec]
mov dword [eax + 8], ebx
mov ebx, dword [0x5d54a0]
test ebx, ebx
je 0x4bd1dc
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, [0x51930c]
mov dword [esp + 0x68], ebx
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x6c], ecx
lea ebp, [0x4f034b]
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 0x4bd365
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 0x4bd323
mov dword [esp + 0x70], edx
mov dword [esp + 0x5c], ecx
lea eax, [0x4e0a20]
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 [0x5d54a0]
test ecx, ecx
jne 0x4bd2bd
mov ecx, dword [esp + 0xb8]
jmp 0x4bd2cb
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 [0x5d54a0]
test ecx, ecx
jne 0x4bd2e4
mov ecx, dword [esp + 0x5c]
jmp 0x4bd2ef
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, [0x51930c]
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 0x4bd5f0
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 0x4bd356
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 0x4bd4ae
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 0x4bd5bd
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4bd5bd
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 0x4bd5bd
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 0x4bd58a
mov eax, dword [0x5ac34c]
mov dword [esp], eax
call sym.internal_godebug._Setting_.Value
cmp dword [esp + 8], 1
jne 0x4bd4e9
mov eax, dword [esp + 4]
cmp byte [eax], 0x30
je 0x4bd57c
lea eax, [0x4e0a20]
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 [0x5d54a0]
test ecx, ecx
jne 0x4bd518
mov ecx, dword [esp + 0xb8]
jmp 0x4bd526
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0xb8]
mov dword [edi], ecx
mov dword [eax], ecx
mov ecx, dword [0x5ac4e8]
mov edx, dword [0x5ac4ec]
mov dword [eax + 8], ecx
mov ecx, dword [0x5d54a0]
test ecx, ecx
je 0x4bd548
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, [0x51930c]
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], eax
add esp, 0xb4
ret
mov eax, dword [0x5ac34c]
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 0x4bd68f
lea eax, [0x4e0a20]
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 [0x5d54a0]
test ecx, ecx
jne 0x4bd62b
mov ecx, dword [esp + 0xb8]
jmp 0x4bd639
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0xb8]
mov dword [edi], ecx
mov dword [eax], ecx
mov ecx, dword [0x5ac4f0]
mov edx, dword [0x5ac4f4]
mov dword [eax + 8], ecx
mov ecx, dword [0x5d54a0]
test ecx, ecx
je 0x4bd65b
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, [0x51930c]
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 0x4bd7ac
lea edi, [eax + edx*8]
mov eax, dword [edi + 4]
test eax, eax
je 0x4bd6be
mov dword [esp + 0x48], edx
mov edi, dword [edi]
cmp byte [edi], 0x2e
je 0x4bd72e
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], esi
mov dword [esp + 0x58], ebp
mov dword [esp], 0
lea ecx, [0x4f0199]
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 0x4bd779
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, [0x4dad20]
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 [0x5d54a0]
lea ecx, [ebp + esi*8 - 8]
test eax, eax
je 0x4bd7a1
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 0x4bd6be
mov eax, esi
mov ecx, ebx
mov edx, ebp
jmp 0x4bcfde
call sym.runtime.morestack_noctxt
jmp sym.os_exec.LookPath