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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x1c]
cmp eax, dword [ecx + 8]
jbe 0x4c540d
sub esp, 0x9c
xor eax, eax
lea edi, [esp + 0x7c]
call fcn.00449e68
lea eax, [0x638972]
mov dword [esp], eax
mov dword [esp + 4], 7
call dbg.os.Getenv
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
test eax, eax
je 0x4c53eb
mov dword [esp], ecx
mov dword [esp + 4], eax
call dbg.strings.ToLower
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x637c14]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
call dbg.strings.Split
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x38], ecx
xor edx, edx
xor ebx, ebx
xor ebp, ebp
xor esi, esi
mov dword [esp + 0x34], edx
mov dword [esp + 0x58], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x54], esi
cmp edx, ecx
jge 0x4c4fed
mov edi, dword [eax]
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x4c4ef6
add eax, 8
inc edx
mov ecx, dword [esp + 0x38]
jmp 0x4c4ec7
movzx edx, byte [edi]
cmp dl, 0x2e
jne 0x4c4faa
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x48], edi
lea edx, [ebx + 1]
cmp edx, ebp
jg 0x4c4f68
mov dword [esp + 0x3c], esi
mov dword [esp + 0x30], edx
mov dword [esp + 0x28], ebp
shl ebx, 3
mov dword [esi + ebx + 4], ecx
mov ecx, dword [esp + 0x24]
lea ecx, [esi + ecx*8]
mov dword [esp + 0x50], ecx
mov ecx, dword [0x7e38e0]
test ecx, ecx
jne 0x4c4f46
mov dword [esi + ebx], edi
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
jmp 0x4c4eec
mov ecx, dword [esp + 0x50]
mov dword [esp], ecx
mov dword [esp + 4], edi
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x30]
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x3c]
jmp 0x4c4f3c
lea eax, [0x5fc520]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], edx
call dbg.runtime.growslice
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea edx, [eax + 1]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x48]
jmp 0x4c4f11
mov dword [esp], 0
lea edx, [0x637c0f]
mov dword [esp + 4], edx
mov dword [esp + 8], 1
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ecx
call dbg.runtime.concatstring2
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x58]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x54]
jmp 0x4c4f02
mov dword [esp + 0x28], ebp
mov dword [esp + 0x54], esi
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
mov ecx, dword [esp + 0xa4]
mov dword [esp + 4], ecx
lea edx, [0x637d96]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 3
call dbg.strings.ContainsAny
movzx eax, byte [esp + 0x10]
test al, al
jne 0x4c52c0
lea edi, [esp + 0x6c]
lea esi, [0x659660]
call fcn.0044a358
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0x78], ecx
lea edx, [esp + 0x6c]
mov dword [esp], edx
mov dword [esp + 4], 2
mov dword [esp + 8], 2
call dbg.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 + 0x54]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x10], edx
call dbg.os/exec.findExecutable
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
test edx, edx
je 0x4c5295
lea eax, [0x6381cd]
mov dword [esp], eax
mov dword [esp + 4], 4
call dbg.os.Getenv
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call dbg.path/filepath.SplitList
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x38], ecx
xor edx, edx
mov dword [esp + 0x34], edx
mov dword [esp + 0x58], eax
cmp edx, ecx
jge 0x4c51bc
mov ebx, dword [eax]
mov ebp, dword [eax + 4]
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebp
mov ebx, dword [esp + 0xa0]
mov dword [esp + 0x64], ebx
mov ebp, dword [esp + 0xa4]
mov dword [esp + 0x68], ebp
lea esi, [esp + 0x5c]
mov dword [esp], esi
mov dword [esp + 4], 2
mov dword [esp + 8], 2
call dbg.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 + 0x54]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x10], edx
call dbg.os/exec.findExecutable
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
test edx, edx
je 0x4c526a
mov ebx, dword [esp + 0x58]
lea eax, [ebx + 8]
mov ebx, dword [esp + 0x34]
lea edx, [ebx + 1]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x34], edx
mov dword [esp + 0x58], eax
cmp edx, ecx
jl 0x4c50fb
lea eax, [0x60c5c0]
mov dword [esp], eax
call dbg.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0xa4]
mov dword [eax + 4], ecx
mov ecx, dword [0x7e38e0]
test ecx, ecx
jne 0x4c5251
mov ecx, dword [esp + 0xa0]
mov dword [eax], ecx
mov ecx, dword [0x7d2168]
mov edx, dword [0x7d216c]
mov dword [eax + 8], ecx
mov ecx, dword [0x7e38e0]
lea ebx, [eax + 0xc]
test ecx, ecx
jne 0x4c523f
mov dword [eax + 0xc], edx
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
lea ecx, [0x724e90]
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], eax
add esp, 0x9c
ret
mov dword [esp], ebx
mov dword [esp + 4], edx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x4c]
jmp 0x4c520e
mov dword [esp], eax
mov ecx, dword [esp + 0xa0]
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x4c]
jmp 0x4c51ef
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
add esp, 0x9c
ret
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
add esp, 0x9c
ret
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
mov ecx, dword [esp + 0xa4]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x54]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x10], edx
call dbg.os/exec.findExecutable
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x40], edx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x44], ebx
test edx, edx
je 0x4c53c0
lea eax, [0x60c5c0]
mov dword [esp], eax
call dbg.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0xa4]
mov dword [eax + 4], ecx
mov ecx, dword [0x7e38e0]
test ecx, ecx
jne 0x4c53a7
mov ecx, dword [esp + 0xa0]
mov dword [eax], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 8], ecx
mov ecx, dword [0x7e38e0]
lea edx, [eax + 0xc]
test ecx, ecx
jne 0x4c5391
mov ecx, dword [esp + 0x44]
mov dword [eax + 0xc], ecx
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
lea ecx, [0x724e90]
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], eax
add esp, 0x9c
ret
mov dword [esp], edx
mov ecx, dword [esp + 0x44]
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x4c]
jmp 0x4c5360
mov dword [esp], eax
mov ecx, dword [esp + 0xa0]
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x4c]
jmp 0x4c5345
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
add esp, 0x9c
ret
lea edi, [esp + 0x7c]
lea esi, [0x6599e0]
call fcn.0044a330
mov ebp, 4
lea esi, [esp + 0x7c]
mov ebx, 4
jmp 0x4c4fed
call dbg.runtime.morestack_noctxt
jmp dbg.os/exec.LookPath